
4 Data Exchange Example
20
© Copyright Reserved Autonics Co., Ltd.
4.2
XG5000 program
4.2.1
P2P Block definition
We will define 1 P2P block for each value that we want to transfer following the previously table, and
associate a specific conditionnal action flag to the different elements (for read or write).
In the project tree, double click on ‘P2P Block’ under communication module – [P2P 01].
1st
Set the different table elements for the first line as following:
2nd
Item
Setting
Note
Ch
2
XGT Channel number
Driver Setting
Mod. RTU Clt
fixed
P2P function
READ
Read or Write function
Conditional flag
M10
Flag to trigger the communication
Command type
1. Single
Select 2. if want to read several
word registers in 1 command
No. of variables
1
fixed
Data size
Enter value if read several word
registers in 1 command
Destination station
Enable
To define Modbus ID
Destination station number
1
Modbus ID of the targeted device
Содержание TM-XGT
Страница 1: ...Copyright Reserved Autonics Co Ltd iii TM XGT RS485 Solution Guide...
Страница 2: ...ii Copyright Reserved Autonics Co Ltd...
Страница 8: ...8 Copyright Reserved Autonics Co Ltd...
Страница 18: ...3 XGT Project Settings 18 Copyright Reserved Autonics Co Ltd...
Страница 26: ...4 Data Exchange Example 26 Copyright Reserved Autonics Co Ltd...
Страница 32: ...6 Troubleshooting 32 Copyright Reserved Autonics Co Ltd...