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 | Type | Description | Default value |
inp_value | BOOL | The desired DirectSwitch override value | False |
Output | Type | Description |
out_value | BOOL | Connect to [DO/RO]_X.YY_w |
out_force | BOOL | Connect to ForceOutput_X.YY_w |