TR3271 Management Programming Manual

COMMANDS AND RESPONSES
STATUS Command
ZIO-ADDR-PRIM is the I/O address of the primary process.
ZIO-ADDR-BKUP is the I/O address of the backup process.
ZTR3-MAP-STATUS-SU is the extensible structured token that con-
tains status information for the subdevices that have been
queried. It has the token number ZTR3-TNM-STATUS-SU and the DDL
definition ZTR3-DDL-STATUS-SU. This token is in the response
buffer if the SU object (ZCOM-OBJ-SU) was specified in the
command or the LINE object was specified without the ZCOM-VAL-
SUB-NONE modifier.
Each field contains discrete status information. The fields in
the ZTR3-MAP-STATUS-SU token are as follows:
ZSDN is the subdevice number.
ZSTATE is the summary state of the object. The value of this
field can be one of the following:
ZCOM-VAL-SUMSTATE-STARTED The line is in the STARTED
summary state.
ZCOM-VAL-SUMSTATE-STOPPED The line is in the STOPPED
summary state.
ZSTATUS is the status of the subdevice.
ZFLAGS is a bit array that indicates status information for
the subdevice. The status can be a combination of these bits.
When set on, the bits are as follows:
Bit 0 indicates a READ request is pending.
Bit 1 indicates a WRITE request is pending.
Bit 2 indicates a WRITEREAD request is pending.
Bit 3 is not used.
Bit 4 indicates the subdevice is waiting for a buffer.
Bit 5 indicates the subdevice is busy.
Bit 6 is for internal use only.
Bit 7 indicates a two-step READ is pending.
Bit 8 indicates the subdevice is waiting for a real READ.
Bit 9 is for internal use only.
6-104