CTI 2572-A Installation and Operation Guide V1.3
93
Command Control and Command Status Words
The command status word and the command control word contains bits that are used to synchronize
and control the execution of module commands. The Command Control Word is located in module
word WY4 and contains bits that are set by the PLC logic. The Command Status Word is located in
WX2 and contains bits that are set by the module.
Since the PLC can send up to four commands to the module per scan, both the Command Control
Word and the Command Status Word contain four sets of bits, one set for each possible concurrent
command. For example, the first four bits (bits 1-4) in both words relate to command Slot 1, the next
four bits (bits 5-8) relate to command Slot 2, etc.
The four command slots execute commands independently. Thus, an error on one command does not
affect processing on the other commands than happen to be executing at the same time. The command
slots can be triggered at different times or some (or all) may be triggered concurrently.
Command Control Word
The Command Control Word contains bits that are set by the PLC logic. The following illustration
indicates how the bits within the word are used.
COMMAND CONTROL WORD (WY4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ERR
Ack
CMD
Mode
CMD
Trig
Abort
Trig
ERR
Ack
CMD
Mode
CMD
Trig
Abort
Trig
ERR
Ack
CMD
Mode
CMD
Trig
Abort
Trig
ERR
Ack
CMD
Mode
CMD
Trig
Abort
Trig
C
OMMAND
1
C
OMMAND
2
C
OMMAND
3
C
OMMAND
4
ERROR Ack
Error Acknowledge.
The PLC sets this bit to acknowledge the error bit which was
set by the 2572.
CMD Mode
Command Mode.
The PLC sets this bit to control how the module command
execution is synchronized with the PLC logic:
0 = Uncoupled mode - The 2572-A command processing is not synchronized
with the PLC logic.
1 = Coupled mode - The 2572-A command processing is synchronized with the
PLC logic.
CMD Trig
Command Trigger.
The PLC sets this bit to initiate a command.
ABORT Trig
Abort Trigger
. The PLC sets this bit to abort a command in progress. In most
applications, use of the abort bit is not required.
Содержание 2572-A
Страница 8: ......
Страница 16: ......
Страница 28: ......
Страница 32: ......
Страница 60: ......
Страница 84: ......
Страница 96: ......
Страница 104: ...CTI 2572 A Installation and Operation Guide 96 WX WY Quick Reference...
Страница 112: ......
Страница 116: ......
Страница 126: ......
Страница 130: ...CTI 2572 A Installation and Operation Guide 122 WX WY Quick Reference...