IBM CTI 2572 Network Card User Manual


 
CTI 2572 Installation and Operation Guide
35
Offset Description Hex Decimal
0 Error Word
0000 0
1 Command Code (Write Remote Memory)
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 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)
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.
Offset 10-11 IP Address - UDP Only, firmware Version 5.0 and greater. If you set the IP
Address Location bit to 1 (see offset 4 of the C
REATE SOCKET 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. If the IP Address Location bit is
set to 0, these words are ignored and the IP address contained in the C
REATE SOCKET
command block is used. 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.