244 ● TZ DMC-40x0 Command Reference
TZ
FUNCTION: Tell I/O Status
DESCRIPTION:
The TZ command is used to request the I/O status. This is returned to the user as a text string.
ARGUMENTS: TZ where
USAGE: DEFAULTS:
While Moving Yes Default Value -----
In a Program Yes Default Format -----
Command Line Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
TI Tell Inputs
SB/CB Set/Clear output bits
OP Output port
CO Configure I/O
EXAMPLES:
:TZ Tell current master I/O status
BLOCK 0 (8-1) dedicated as input – value 255 (1111_1111)
BLOCK 0 (8-1) dedicated as output– value 0 (0000_0000)
BLOCK 2 (24-17) configured as input – value 255 (1111_1111)
BLOCK 3 (32-25) configured as input – value 255 (1111_1111)
BLOCK 4 (40-33) configured as input – value 255 (1111_1111)
BLOCK 5 (48-41) configured as input – value 255 (1111_1111)
BLOCK 6 (56-49) configured as input – value 255 (1111_1111)
BLOCK 10 (88-81) dedicated as input – value 255 (1111_1111)