CTI 2572-B / 2500C-2572-B Installation and Operation Manual 50
Word Transfer – Write 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.
Connection Number (19221 - 19228)
Source: Starting V Memory Address in this PLC
Number of Words to Transfer (1-256)
5 Destination: Starting V Memory Address in Remote
00C8 200
6 Command Timeout in seconds
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
05E1 1505
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-B 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-B 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.