Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
12
Device MODBUS
address
Function
code
Register
head
address
Number of registers
read
CRC check
code
Phenomenon: do1 ~ D04 output high level.
Serial port receiving return value: 01 0f 00 00 00 04 C8 3F
Remote wireless reception return value: 01 0f 00 00 00 04 C8 3F
5.3 Read input register status
use the 04 function code to read one or more input register values, for example: read the current
floating-point voltage value (power supply voltage) of adc3
01
04
00 CC
00 02
B1 F4
Device MODBUS
address
Functio
n code
Register
head address
Number of
registers read
CRC check
code
Note: the CRC check code of the last two bytes of the sending instruction needs to be calculated by
the user.
Serial port sending: 01 04 00 CC 00 02 B1 F4
Remote wireless transmission: 01 04 00 CC 00 02 B1 F4
After sending the above command to the device via serial port or wireless, the device will return the
following values to the serial port or wireless:
01
04
04
40 85 E5 5E
35 00
Device
MODBUS
address
Function code
Number of
bytes of data
Returned data
CRC check
code
Phenomenon: the value of the return power supply voltage is 4.18425v (floating-point type 4085 e55e).
Serial port receive return value: 01 04 04 40 85 E5 5E 35 00
Remote wireless reception return value: 01 04 04 40 85 E5 5E 35 00
5.4 Read hold register
use 03 function code to read one or more register values, for example: read the current baud
rate
01
03
0B 72
00 01
26 35
Device MODBUS
address
Function code
Register
head address
Number of
registers read
CRC check code