EasyManua.ls Logo

CTI 2572-B - Page 72

Default Icon
119 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CTI 2572-B / 2500C-2572-B Installation and Operation Manual 66
So a bit pattern of 0110 will set the command mode bit and the command trigger. Similarly, the bit pattern
1000 will set error acknowledge. Using hexadecimal notation is a convenient way to observe and manipulate
these bits, because each hexadecimal digit represents 4 bits. Thus, bit pattern when command trigger and
command mode are high (0110) is represented by hexadecimal 6 (0+4+2+0). Similarly, an error acknowledge
bit high (1000) is represented by hexadecimal 8.
The command status bits written by the module are located at the second module word (WX2 in this example)
in a bit grouping that matches the command control word.
Bits 1 -4
Bits 5 - 7
Bits 8 - 11
Bits 12 -16
WX2
Command Status
Bits - Slot 1
Command Status
Bits - Slot 2
Command Status
Bits - Slot 3
Command Status
Bits - Slot 4
Hex 0-F
Hex 0 - F
Hex 0 - F
Hex 0 - F
Within each set of four Command Status bits:
The first bit is the Command Error bit,
The second bit is the PLC Error bit,
The third bit is the Command Busy bit,
The fourth bit is the Abort Busy bit.
Therefore, to set a command trigger only (uncoupled mode) for the first command slot, set WY4 to hex 2000.
To set the command trigger for the second slot, set the WY4 to hex 0200. To set the error acknowledge for
the third Command Slot, set WY4 to hex 0080.
When you are using PLC logic to control the PLC, it is often useful to display the module WX/WY words, parts
of the command blocks, and sections of the format specifications as a chart. Following is an example chart.
LOCATION STATUS LOCATION STATUS LOCATION STATUS
WX1 = HEX V100 = HEX V300 = HEX
WX2 = HEX V101 = INTEGER V301 = INTEGER
WY3 = HEX V102 = INTEGER V302 = INTEGER
WY4 = HEX V103 = INTEGER V303 = INTEGER
WY5 = INTEGER V104 = INTEGER V304 = INTEGER
WY6 = INTEGER
WY7 = INTEGER V120 = HEX V2000 = INTEGER
WY8 = INTEGER V121 = INTEGER V2001 =
INTEGER
V122 = INTEGER V2002 = INTEGER
V123 = INTEGER V2003 = INTEGER
V124 = INTEGER V2004 = INTEGER
V2005 = INTEGER
The above chart allows you to examine at the value of the module status word (WX1), the command status
word (WX2), the module control word (WY3), and the command control word (WY4) in hex. It also displays

Table of Contents