CTI 2572-A Installation and Operation Guide V1.3
37
Offset
Description
Hex
Decimal
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 Socket
command 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 514 decimal (or 0202 hexadecimal).
Offset 2
Connection Number
- You can specify any connection number that has been previously
established in a C
REATE
S
OCKET
command block.
Offset 3
Source
- The starting address of V memory in the remote PLC which contains the values you
want to transfer. This 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 local 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.
Offset 10-11
IP Address
-
UDP Only.
If you set the IP Address Location bit to 1 (see offset 4 of
the C
REATE
S
OCKET
command block), you must specify the IP address of the remote
device. Since the IP address consists of 32 bits, the address is contained in two 16 bit
words. An IP Address of 0.0.0.0 (0000 0000 hex) or greater than 223.255.255.255
(DFFF FFFF hex) will return an error. If the IP Address Location bit is set to 0, these
words are ignored and the IP address contained in the C
REATE
S
OCKET
command
block is used.
Offset 12
UDP port number
-
UDP Only.
If you set the IP Address Location bit to 1 (see
offset 4 of the C
REATE
S
OCKET
command block), you must specify the UDP port
number of the remote device. If you are accessing another 2572, you will typically
set this value to 1505 (the recommended value for the 2572-A PLC server). If the IP
Address Location bit is set to 0, these words are ignored and the port number
contained in the C
REATE
S
OCKET
command block is used.
Offset 13-15
Unused
- Set to 0.
Word Transfer - Exchange
This function is a combination of the W
RITE
and R
EAD
commands. As the name implies, it is
intended to be used in applications that exchange values between two PLCs or a PLC and a PC. The
command writes the contents of a block of local PLC V memory to a block of memory in the remote
PLC, then reads a block of V memory in the remote PLC and writes the values to a block of V
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...