
Page 43 of 56
King Pigeon Hi-Tech. Co., Ltd.
Ver 2.3
Industrial Ethernet Remote I/O Module
IoT Data Acquisition Module
Return data
70
00 00 00 00 00
00 00 65 C2 A8
00 00 00 00 00
00 00 00 00 00
00 00 00 00 00
00 00 77 9C 3D
00 05 16 15 00
00 00 04 00 00
00 05 00 00 00
06 00 00 00 07
00 00 00 08 00
00 00 09 00 00
00 0A 00 00 00
0B 00 00 00 0CH
Return AI data, Please refer to the holding register
address and corresponding data type analysis data.
16 CRC Verify
2
F6 9DH
CRC0 CRC1 low byte in front, high behind
Example:Query 35 holding registers of the device at the same time, then:
Server send:
01 03 00 00 00 23 04 13
01= Device address;
03= Read holding register;
00 00=Register starting address, please refer to this device register address for detailed address;
00 23 = A total of 35 16-bit addresses are read;
04 13 = 16 Bit CRC verify.
Device answer:
01 03 46 00 00 00 00 00 00 00 65 C2 A8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 77 9C
3D 00 05 16 15 00 00 00 04 00 00 00 05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 09 00 00 00 0A 00 00 00 0B
00 00 00 0C F6 9D
01= Device address;
03= Read holding register;
46= Return the number of bytes;
00 00 00 00 00 00 00 65 C2 A8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 77 9C 3D 00 05 16 15 00
00 00 04 00 00 00 05 00 00 00 06 00 00 00 07 00 00 00 08 00 00 00 09 00 00 00 0A 00 00 00 0B 00 00 00
0C=The returned data is detailed in the following table
:
Types
AO1
AO2
DIN1 Pulse
setting
DIN1Pulse
count
DO1Pulse
count
DO1Pulse
frequency
DO1Pulse
duty cycle
DO2Pulse
output
direction
Received
hexadeci
mal data
00 00
00 00
00 00
00 65 C2
A8
00 00 00
00
00 00
00 00
00 00
Converted
to true
value
0
0
0
6668968
55
66
77
88
Types
DO1Nu
mber of
pulse
output
DO1Pulse
output
control
DIN2Pulse
count
DIN3Pulse
count
DIN4Pulse
count
DIN5Puls
e count
DIN6Pulse
count
DIN7Puls
e count
Received
00 00 00
00 00
00 77 9C
00 05 16 15
00 00 00
00 00 00
00 00 00
00 00 00