Table of Contents

Force Direct Switch

Full Name

DirectSwitch_force

Library

Lib\Unipi

Version

V1.0

Description

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.

Inputs

Input TypeDescription Default value
inp_valueBOOLThe desired DirectSwitch override valueFalse

Outputs

Output TypeDescription
out_valueBOOLConnect to [DO/RO]_X.YY_w
out_forceBOOLConnect to ForceOutput_X.YY_w

Application example