Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
13
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 03 0b 72 00 01 26 35
Remote wireless transmission: 01 03 0b 72 00 01 26 35
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
03
02
00 03
F8 45
Device MODBUS
address
Function
code
Number of
bytes of data
Returned data
CRC check
code
Phenomenon: return the baud rate value, 03 represents the baud rate of 9600 bps.
Serial port receiving return value: 01 03 02 00 03 F8 45
Remote wireless reception return value: 01 03 02 00 03 F8 45
5.5 Operation holding register
It supports the function code operation of operating a single register (06) and operating multiple
registers (10).
U
sing 06 function code to write a single holding register, for example: set to change the working
mode of the equipment
01
06
07 E8
00 00
F8 8A
Device MODBUS
address
Function
code
Register
address
Write
value
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 06 07 E8 00 00 F8 8A
Remote wireless transmission: 01 06 07 E8 00 00 F8 8A
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
06
07 E8
00 00
F8 8A
Device MODBUS
address
Function
code
Register
address
Write value
CRC check
code
Phenomenon: switch the working mode of the module to the normal mode.
Serial port receiving return value: 01 06 07 E8 00 00 F8 8A
Remote wireless reception return value: 01 06 07 E8 00 00 F8 8A
command to write multiple holding registers using 10 function code, for example: set the output