CTI 2572-A Installation and Operation Guide
94
Command Status Word
The Command Status Word contains bits that are set by the module. The following illustration
indicates how the bits within the word are used.
COMMAND STATUS WORD (WX2)
1 2 3 4 5 6 7 8 9 10
11
12
13
14
15
16
CMD
Err
PLC
Err
CMD
Busy
Abrt
Busy
CMD
Err
PLC
Err
CMD
Busy
Abrt
Busy
CMD
Err
PLC
Err
CMD
Busy
Abrt
Busy
CMD
Err
PLC
Err
CMD
Busy
Abrt
Busy
C
OMMAND
1
C
OMMAND
2
C
OMMAND
3
C
OMMAND
4
CMD Err
Command Error.
The 2572-A sets this bit when it encounters an error
while attempting to execute the command. The 2572-A will write an error
code into Offset 0 of the command block unless PLC
E
RR
is also set (see
below).
PLC Err
PLC Read/Write Error.
The 2572-A sets this bit to indicate that it could
not read a valid command block from V memory. Therefore, there is no
place to write an error word. This may be caused by loading a value in the
Command Slot which is not a valid V memory location (such as 0) or
which points to V memory that does not contain a Command Block.
CMD Busy
Indicates the module is in the process of executing a command.
ABORT Busy
Indicates the module is attempting to abort a command.
Command Slots (WY5-WY8)
Module words WY5, WY6, WY7, and WY8 are called Command Slots. There are four command
slots, one for each possible concurrent command. The value in the command slot points to the V
memory address of a command block as illustrated below. Addresses of 0 or less are invalid.
Addresses greater than 64k cannot be referenced.
COMMAND SLOTS
WY5
Command Slot 1: V Memory Address of Command Block for CMD1
WY6
Command Slot 2: V Memory Address of Command Block for CMD2
WY7
Command Slot 3: V Memory Address of Command Block for CMD3
WY8
Command Slot 4: V Memory Address of Command Block for CMD4
Note that the command slots match up with the command control and command status bits in WY4
and WX2. For example, the command block whose address in Command Slot 1 will be triggered by
setting bit 3 in WY4 (Bit 3 is the Command Trigger for Command 1).
Summary of Contents for 2572-A
Page 8: ......
Page 16: ......
Page 28: ......
Page 32: ......
Page 60: ......
Page 84: ......
Page 96: ......
Page 104: ...CTI 2572 A Installation and Operation Guide 96 WX WY Quick Reference...
Page 112: ......
Page 116: ......
Page 126: ......
Page 130: ...CTI 2572 A Installation and Operation Guide 122 WX WY Quick Reference...