Bosch Building Technologies

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    Can the state of an ADAM relay module be changed when the IVA from the camera generates an alarm?

    Question

     

    Let’s suppose that you have one setup which consists in an Adam 6060 I/O module, BVMS and a DINION IP thermal 8000 camera.

    Can the state of an ADAM relay module be changed when the IVA from the camera generates an alarm?

     

    Answer

     

    If you have the ADAM relay module attached to the system, you can use it to enable sirens and spotlights for example, only if conditions that are set up in an IVA-task are met.

    Therefore, please make sure first that you enabled the IVA on the camera, and you have created specific tasks for it. Then, in BVMS (Bosch Video Management System), create first an event, then an alarm and you can configure from there what happens on that alarm.

     

    Afterwards, you can trigger a relay from BVMS via SDK scriptlet. To achieve this, open the script area in the Configuration Client (Tools-Command Script Editor menu)

    You can use the script below, but you need to do some adjustments in the Script, as the name of the relay used, how long the relay to be active etc.

     

    Scriptlet: Open and close a relay

    • This scriptlet opens and closes a specific relay.
    • This scriptlet is meant to be used in a server script.

     

    [Scriptlet("system generated script ID")]

    public void OpenAndCloseRelays()

    {

    //line #1:

    Relay r = Api.RelayManager.GetRelayByName("Relay 1");

    //line #2:

    Api.RelayManager.Open(r);

    //line #3:

    System.Threading.Thread.Sleep(1000);

    //line #4:

    Api.RelayManager.Close(r);

    }

     

    Comments (line-wise):

    1: Get the relay as specified in Bosch VMS (by name)

    2: Open the relay

    3: Wait for 1000 ms = 1 second

    4: Close the relay

     

    You can refer to this document where there is a step-by-step procedure with configuring relay contacts from an ADAM6050 to activate when there is an IVA alarm condition within BVMS from an associated camera.

    Version history
    Last update:
    ‎02-21-2023 10:03 AM
    Updated by:
    Contributors
    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist