Chengdu Ebyte Electronic Technology Co.,Ltd.
E150-400T30S user manual
Copyright ©2012–2022
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
11
Remote wireless reception return value: 01 01 01 0f 11 8C
5.2 Control coil status
Support the operation of single coil (05) and multiple coils (0f) function codes.
use 05 command to write a single coil, for example: do1 outputs high level
01
05
00 00
FF 00
8C 3A
Device MODBUS
address
Function
code
Register
head
address
Conduction: FF 00
Close: 00 00
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 05 00 00 FF 00 8C 3A
Remote wireless transmission: 01 05 00 00 FF 00 8C 3A
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
05
00 00
FF 00
8C 3A
Device MODBUS
address
Function
code
Register
head address
Operation mode
CRC check
code
Phenomenon: DO1 output high level。
Serial port receiving return value: 01 05 00 00 FF 00 8C 3A
Remote wireless reception return value: 01 01 01 0f 11 8C
use the 0f function code to write commands for multiple coils, for example: do1 ~ do4 output high level
01
0F
00 00
00 04
01
0F
7E 92
Device MODBUS
address
Functio
n code
Starting
address:
Number of
coils
Data bytes
Number of
control coils
Data (bit
operation)
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 0f 00 00 04 01 0f 7e 92
Remote wireless transmission: 01 0f 00 00 00 04 01 0f 7e 92
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
0F
00 00
00 04
C8 3F