Force Direct Switch

DirectSwitch_force

LIB\Unipi

V1.0

This block allows overriding DirectSwitch behaviour with a specific value. It is edge-triggered; the output will be overridden for one second following a change in the input value. This is because the physical DirectSwitch singals are also edge-based. The block can be used to control outputs which are otherwise tied into a DirectSwitch coupling, explicitly assigning priority to the writing program over physical signals. inp_value is the value written into out_value, with TRUE held on the out_force output following any change.

Input TypeDescription Default value
inp_valueBOOLThe desired DirectSwitch override valueFalse
Output TypeDescription
out_valueBOOLConnect to [DO/RO]_X.YY_w
out_forceBOOLConnect to ForceOutput_X.YY_w

  • © Energocentrum Plus, s.r.o. 2017 - 2024