
Page 49 of 56
King Pigeon Hi-Tech. Co., Ltd.
Ver 2.3
Industrial Ethernet Remote I/O Module
IoT Data Acquisition Module
Return data
20
00 14 00 1E 00
28 00 32 00 4B
00 41 00 0A 00
25 00 14 00 2AH
Return data
16 CRC Verify
2
FB 34H
CRC0 CRC1 low byte in front, high behind
Example:The mapping address startings from 100, and the data of 10 addresses is read, then:
Server send:
01 03 00 64 00 0A 84 12
01= Device address;
03= Read holding register;
00 64=The starting address of the mapping register, the current decimal number is 100;
00 0A = Read 10 register values;
84 12 = 16 Bit CRC verify.
Device answer:
01 03 14 00 14 00 1E 00 28 00 32 00 4B 00 41 00 0A 00 25 00 14 00 2A FB 34
01= Device address;
03= Read holding register;
14= Returns 20 bytes;
00 14 00 1E 00 28 00 32 00 4B 00 41 00 0A 00 25 00 14 00 2A=The returned data is detailed in the following
table
:
Mapping
register
address
100
101
102
103
104
105
106
107
108
109
Hexadecim
al value
00 14 00 1E 00 28 00 32 00 4B 00 41 00 0A 00 25 00 14 00 2A
Decimal
value
20
30
40
50
75
65
10
37
20
42
FB 34 = CRC verify.
8.3.4Write 16-bit mapped address data
If you want to write the data of the connected slave, you must configure the instruction mapping for adding slave
03 function code. After the mapping address value is changed, the corresponding slave address data will be
written.
If the data type of the mapped slave at the mapped address 101 is signed integer, the order is AB.
Because the register address 100 is occupied by the data point of the added slave. We need to create a 101 slave to
execute the write command.
Master Send Data Format:
Content
Bytes
Data
(H: HEX)
Description
Device Address
1
01H
01H Device, Range: 1-247, according to setting address
Function Code
1
06H
Write a single holding register, function code 06
Mapping register
starting address
2
00 65H
For address correspondence, please refer to the
mapping register address