EasyManua.ls Logo

CTI 2572-B - Page 56

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 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.
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-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.

Table of Contents