Configure IO Bit As Output

Text Language Definition

procedure ConfigureIOBitAsOutput(BitIndex:longint; IsOutput:boolean);

Description

Some I/O points can operate as both inputs and outputs. The "Input Bit" expression will report the level of the point whether in is being driven internally by an output driver or driven externally by a sensor. However it is necessary to indicate if the driver should be active as an output. This command turns on the driver so that the output voltage can be controlled. It is recommended that Named IO be used instead of explicit bit index referenced IO for simpler management and improved readability.

Escapes

The Configure IO Bit As Output command does not produce any escapes.

Examples

Related Topics

Input
Set Output