CTI 2572-A Installation and Operation Guide
44
Word Transfer Command Block
The following command block writes 25 words obtained from the local PLC V memory starting at
V100 to a block of V memory starting at V200 in the remote PLC. The target IP address and port is
specified in the command, allowing it to be changed to point to a different PLC in subsequent
execution.
Offset
Description
Hex
Decimal
0 Error
Word
0000
0
1
Command Code (Write)
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 - 9
Unused (Set to 0)
0000
0
10
IP Address of Remote Device - High 16 bits
(UDP Only: IP Address Location bit in the Create Socket
command must be set to 1)
C0A8 49320
11
IP Address of Remote Device - Low 16 bits
(UDP Only: IP Address Location bit in the Create Socket
command must be set to 1)
B103 45315
12
UDP Port Number of Remote Device
(UDP Only: IP Address Location bit must be set to 1)
05E1 1505
13 - 15
Unused (Set to 0)
0000
0
If you need to verify that the command was completed successfully, you can monitor the error status.
If a problem occurs while executing the command, the 2572-A will set the CMD ERR bit and place
the applicable error code in the Error Word. See
Appendix D
for additional information.
Multicast Client Example
This example creates a Multicast Socket which can be used to send data to multiple PLCs
concurrently. The Unacknowledged Write command block is used to send the multicast data.
NOTE:
The 2572-A modules in the PLCs that will participate in the multicast session must be configured to
receive on the same multicast address as the client using to send data.
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...