IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
42
Word Transfer Command Block
The following command block can be used to write 25 words from the local PLC V memory starting
at V100 to the PLC associated with connection number 19221(see the previous Create Socket
command). The command requests that the data be written to the remote PLC V memory starting at
V200.
Offset Description Hex Decimal
0 Error Word
0000 0
1 Command Code (Write Remote Memory)
0201 513
2 Connection Number (19221 - 19228)
4B15 19221
3 Source: Starting V Memory Address in this PLC
0064 100
4 Number of Words to Transfer (1-256)
0019 25
5 Destination: Starting V Memory Address in Remote
PLC
00C8 200
6 Command Timeout in seconds
(0 = Use Default)
0000 0
7-15 Unused (Set to 0)
0000 0
If you need to verify that the remote PLC (or a computer system emulating a 2572 PLC server)
actually executed the request to store the data, you can monitor the error status. If a problem occurs
while executing the command, the 2572 will set the CMD ERR bit and place the applicable error
code in the Error Word. See Appendix D for additional information.