CTI 2572-B / 2500C-2572-B Installation and Operation Manual 42
Offset 10-11 IP Address – These words are used only when UDP is selected and the IP Address Location
bit (offset 4 of the C
REATE SOCKET command block) is set to 1. If the IP Address Location bit is
set to 0, these words are ignored and the IP address contained in the CREATE SOCKET
command block is used. IP address of 0.0.0.0 (0000 0000 hex) or greater than
223.255.255.255 (DFFF FFFF hex) will return an error.
Offset 12 UDP port number – This word is used only when UDP is selected and the IP Address
Location bit (offset 4 of the C
REATE SOCKET command block) is set to 1. If you are accessing a
CTI 2572 or CTI 2572-A module, you will typically set this value to 1505. If you are accessing a
CTI 2500 controller or CTI 2500P-ECC1 module, you may alternately choose 4450. If the IP
Address Location bit is set to 0, this word is ignored and the port number contained in the
C
REATE SOCKET command block is used.
Offset 13-15 Unused - Set to 0.
Word Transfer - Read
This function reads the contents of a designated area of V memory in the remote PLC and writes the values in
a specified area of V memory in the local PLC. You can specify the starting V memory addresses on both the
local and remote PLCs and the number of words to be transferred (up to 256 words). When the command is
triggered, the 2572-B sends a request message to the remote PLC. When the response is returned, the 2572-B
verifies the response. If there is no error, the 2572-B writes the data in local V memory. If an error is
encountered, the 2572-B will post an error which may be processed by PLC logic.
The following command block will cause the 2572-B to read the designated V memory in the remote PLC and
store the result in local V memory.
Connection Number (19221-19228)
Source: Starting V Memory Address in Remote PLC
Number of Words to Transfer (1-256)
Destination: Starting V Memory Address in this PLC
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)
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)
12 UDP Port Number of Remote Device
(UDP Only: IP Address Location bit in the Create