
Page 50 of 56
King Pigeon Hi-Tech. Co., Ltd.
Ver 2.3
Industrial Ethernet Remote I/O Module
IoT Data Acquisition Module
Value written
2
00 64H
The data sample write value is a decimal number 100
16 CRC Verify
2
98 3EH
CRC0 CRC1 low byte in front, high behind
Receiver Return Data Format:
Content
Bytes
Data
(H: HEX)
Description
Device Address
1
01H
01H Device, according to the data Master send
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
Value written
2
00 64H
Write 100 successfully
16 CRC Verify
2
98 3EH
CRC0 CRC1 low byte in front, high behind
Example: If the data type of the mapped address 20001 and the mapped slave is a signed integer, sorting AB,
rewrite the mapped address 20001 register to 100 then, then:
Server send:
01 06 00 65 00 64 98 3E
01= Device address;
06= Write command function code;
00 65=Write address 101 register value;
00 64 = Write the decimal value 100;
98 3E = CRC verify.
Device answer:
01 06 00 65 00 64 98 3E
01= Device address;
06= Write command function code;
00 65= Write address 101 register value;
00 64 =Has been rewritten to the decimal value 100.
98 3E = CRC verify.
If you need to write multiple data type mapping addresses, please read Modbus protocol 16 function code.
9. Warranty
1) This module is warranted to be free of defects in material and workmanship for one year.
2) This warranty does not extend to any defect, malfunction or failure caused by abuse or misuse by the
Operating Instructions. In no event shall the manufacturer be liable for any module altered by purchasers
The End!
Any questions please help to contact us feel free.