Bosch Building Technologies

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    How to toggle an AMC relay by double-clicking on a floor plan symbol

    · Configure relay outputs
    - assign to any AMC a new door model "DIP/DOP" containing 1 DOP (=digital output/ relay
    output)
    - rename the output to "realRelay"
    - reload BIS and check available right-click command relay set/reset for the address
    AccessEngine.Devices.realRelay.State
    · Configure virtual detector
    - Config Browser-> Infrastructure-> Detector types-> Virtual
    · create new detector type "Relay control"
    · select option "The reported states will be applied to the system without changes"
    · assign command "Set state" and create a copy of it
    · rename the copy of the command to "!toggle" (=fast access command) and assign Parameter State
    "7-Control on"
    - Config Browser-> General settings-> virtual device
    · create a new virtual detector virtualRelay
    · assign detector type "Relay control" to it
    - If no floor plan loaded: Config Browser-> Locations-> Tree structure
    · load any drawing that contains at least one hyperlink
    - Config Browser-> Locations-> Detector placement
    · locate the *VIRTUAL* detector virtuell.virtualRelay on any hyperlink
    · Configure state update of virtual detector
    - Config Browser-> General settings-> Associations
    · create a new job "Toggle relais" containing:
    · Trigger: Address AccessEngine.Devices.realRelay.State changed from * to *
    · Then: Address virtuell.virtualRelay command Virtual.Set state (keep macro)
    file:///C/...Local/Temp/How%20to%20toggle%20AMC%20relay%20by%20double-clicking%20on%20a%20floor%20plan%20symbol.html[5/21/2018 11:33:17 AM]
    · Configure relay toggling if virtual detector was double-clicked
    - Config Browser-> General settings-> Associations
    · add to the above job "Toggle relais" a new Timer "Switch relais"
    · add a new trigger to the same job
    - Trigger: Address virtuell.virtualRelay changed from * to "7-Control on"
    - Then: Timer "Switch relais" start with timeout 1s
    · add a new trigger to the same job
    - Trigger: Timer "Switch relais" changed from * to TimedOut
    - IF: Address AccessEngine.Devices.realRelay.State = "4176-Relay closed"
    - Then: Address AccessEngine.Devices.realRelay.State command Access Engine.Relay
    set/reset with parameter 0
    - ELSE: Address AccessEngine.Devices.realRelay.State command Access Engine.Relay
    set/reset with parameter 1
    · Check behaviour
    - real relay is deactivated
    - state virtualRelay in floor plan = "relay open"
    - double-click virtual detector VirtualRelay in floor plan
    è state changed to "7-Control on"
    è after one second the real relay will be switched on
    è state virtualRelay in floor plan = "relay closed"
    - double-click virtual detector VirtualRelay in floor plan again
    è state changed to "7-Control on"
    è after one second the real relay will be switched off
    è state virtualRelay in floor plan = "relay open"
    · Notes:
    - you may also configure customized states matching the connected hardware like "lights on"/
    "lights off"/ "switching in progress" to make the handling for the operator even more easy
    - you may assign a (customized) symbol to the virtual detector virtualRelay too
    - Instead of a relay output any other address with two different states might be controlled too.

    Version history
    Last update:
    ‎05-21-2018 07:58 PM
    Updated by:
    Anonymous
    Labels (4)
    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