Set Output Bit

Text Language Definition

procedure SetOutputBit(BitNumber:integer; Value:boolean);

Description

The Set Output command establishes the voltage of an IO point that has been configured as an output. The "On" value switches the output to VLogic. "Off" makes the driver inactive similar to a disconnected condition. If an Input
block is used on an output, the Input block will be based on the voltage condition of the point regardless of that condition is created by the output driver or an external sensor.

Escapes

If the value added to OutputBit_ creates a sum outside the available output range an "event not defined" (3001) will be reported.

Examples

Related Topics

Input Bit