Pages 28 Total 58
Shenzhen King Pigeon Hi-Tech Co.,LED
Ver 1.2
PLC Data acquisition protocol conversion gateway
-D225
00 low bit of protocol identifier
00 High byte of the length of the byte following
04 Low byte of the length of the following byte
01 D225 device address
01 Read the function code of the register
01 Number of data bytes behind
01 data (data of Y0-Y7)
Take the data collected from D0-D31 as an example, D225 device mapping address: 4000-4031,
collection quantity: 32
Modbus Poll: Data sent TX: 07 9D 00 00 00 06 01 03 0F A0 00 20
07 High bit of transaction identifier
9D Low bit of transaction identifier
00 High bit of protocol identifier
00 low bit of protocol identifier
00 High byte of the length of the byte following
06 Low byte of the length of the following byte
01 D225 device address
03 Read the function code of the register
0F start address high
A0 start address low
00 The high number of acquisitions
20 Low acquisition number
D225 Device returns data RX
:
07 9D 00 00 00 43 01 03 40 00 1E 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
07 High bit of transaction identifier
9D Low bit of transaction identifier
00 High bit of protocol identifier
00 low bit of protocol identifier
00 High byte of the length of the byte following
43 Low byte of the length of the following byte
01 D225 device address
03 Read the function code of the register
40 Number of data bytes following
00 High bit of D0 data
1E Low bit of D0 data
00 High bit of D1 data
00 Low bit of D1 data
……
00 D31 High bit of data
00 D31 Low bit of data