====== Force Direct Switch ====== {{en:mervis-ide:35-help:dsf.png}} ===== 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 |Type|Description |Default value| |inp_value|BOOL|The desired DirectSwitch override value|False | ===== Outputs ===== |Output |Type|Description | |out_value|BOOL|Connect to [DO/RO]_X.YY_w | |out_force|BOOL|Connect to ForceOutput_X.YY_w| ===== Application example ===== {{en:mervis-ide:35-help:exampdsf.png}}