Directly Represented Variables

The system enables the use of directly represented variables in the source of programs to represent an unwired channel. Unwired channels are those not linked to a declared I/O variable. The identifier of a directly represented variable always begins with the "%" character.
The naming conventions of a directly represented variable for a channel of a single board. "s" is the slot number of the board. "c" is the number of the Channel:
Single board naming conventions
Convention
Description
%IXs.c
unwired channel of a Boolean input board
%IDs.c
unwired channel of an integer input board
%ISs.c
unwired channel of a message input board
%QXs.c
unwired channel of a Boolean output board
%QDs.c
unwired channel of an integer output board
%QSs.c
unwired channel of a message output board
The naming conventions of a directly represented variable for a channel of a complex equipment. "s" is the slot number of the equipment. "b" is the index of the single board within the complex equipment. "c" is the number of the channel:
Complex equipment naming conventions
Convention
Description
%IXs.b.c
unwired channel of a Boolean input board
%IDs.b.c
unwired channel of an integer input board
%ISs.b.c
unwired channel of a message input board
%QXs.b.c
unwired channel of a Boolean output board
%QDs.b.c
unwired channel of an integer output board
%QSs.b.c
unwired channel of a message output board
Example
%QX1.6 6th channel of the board #1 (Boolean output)
%ID2.1.7 7th channel of the board #1 in the equipment #2 (integer input)
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal