EasyManua.ls Logo

CTI 2572-B - Page 47

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 41
The following command block is used for the WRITE command.
Description Hex Decimal
0 Error Word 0000 0
1 Command Code (Write) 0201 513
2 Connection Number (19221 - 19228)
3 Source: Starting V Memory Address in the Local PLC
4 Number of Words to Transfer (1-256)
5 Destination: Starting V Memory Address in Remote PLC
6 Offset 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)
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 must be set to 1)
13 - 15 Unused (Set to 0) 0000 0
Offset 0 Error Word - Set to 0 so that any previous error codes are cleared.
Offset 1 Command Code - The Command Code is 513 decimal (or 0201 hexadecimal).
Offset 2 Connection Number - You can specify any connection number that has been previously
established in a C
REATE SOCKET command block.
Offset 3 Source - The starting address of V memory which contains the values you want to transfer.
The address is 1 relative.
Offset 4 Number of Words - This indicates the number of words you want to transfer.
Offset 5 Destination - The starting address of V memory in the remote PLC that you want to update.
This address is 1 relative.
Offset 6 Command Timeout in seconds - When set to 0, the default value of approximately 9 seconds
is selected. A value of 999 specifies an infinite timeout.
Offset 7-9 Unused - Set to 0.

Table of Contents