CTI 2572-A Installation and Operation Guide
38
memory in the local PLC. Since this is accomplished in one transaction, it is much faster than
executing separate read and write commands.
You can specify the locations of the V memory blocks in the local and the remote PLC, the number of
words to be written to the remote PLC, and the number of words to be read from the remote PLC.
When the command is triggered, the module in the local PLC retrieves the data from the specified
memory and sends a message containing the data to be written to the module in the remote PLC. If
the write was successful, the module in the remote PLC will read the specified V memory and build a
reply message containing the data. When the response message is returned, the local module will
write the data to the local PLC V memory.
If an error is encountered writing the data to the remote PLC, no data will be read from the remote
PLC; an error message indicating the write failed will be returned. If an error is encountered reading
data, an error message indicating the read failed will be returned. In either case, the module will set
the applicable error bit and write the error code into the Command Error Word.
The following command block is used for the Exchange command.
Offset
Description
Hex
Decimal
0
Command Error Word
0000 0
1
Command Code (Exchange)
0203 515
2
Connection Number (19221 - 19228)
3
Write Source: Starting V Memory Address in Local PLC
4
Number of Words to Write (1-254)
5
Write Destination: Starting V Memory Address in Remote PLC
6
Command Timeout in seconds (0=Use Default)
0000
0
7
Read Source: Starting V Memory Address in Remote PLC
8
Number of Words to Read (1-256)
9
Read Destination: Starting V Memory Address in Local PLC.
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 Socket
command must be set to 1)
13 - 15
Unused (Set to 0)
0000
0
Содержание 2572-A
Страница 8: ......
Страница 16: ......
Страница 28: ......
Страница 32: ......
Страница 60: ......
Страница 84: ......
Страница 96: ......
Страница 104: ...CTI 2572 A Installation and Operation Guide 96 WX WY Quick Reference...
Страница 112: ......
Страница 116: ......
Страница 126: ......
Страница 130: ...CTI 2572 A Installation and Operation Guide 122 WX WY Quick Reference...