Text Language Definition
function InputBit(BitNumber:integer):boolean;
Description
The Input Bit commands returns the state of the input bits referenced by the parameter. A non-zero value represents a high voltage and a 0 represents a low voltage.
This commands returns a single bit which is useful for making decisions. However host communication benefits
from packed information. Using a controller resident application program it is an option to consolidate input bit status into a single user word if desired.
Escapes
A Parameter Out Of Range Escape Code will be generated if the parameter references an input beyond the range of the controller.
Examples
Related Topics
Set Output Bit