Chengdu Ebyte Electronic Technology Co., Ltd.
E831-RTU (6060-ETH) User Manual
Power code: 05, write a single coil status; 0F, write multiple coil states
Address range: 00017 (0x0010) ~ 00022 (0x0015)
Description: The passive output of the device relay, the coil is not energized, the relay NC port and the COM port are closed,
and
the
NO port is
disconnected from
the COM port; The coil is energized, the relay NC port is disconnected from the COM port
,
and the
NO port is closed with
the
COM port. Relay status is controlled by command.
Example:
Function code 0x05 Write DO2 switching output to disconnect NC2, COM2, NO2, COM2 is closed with a write value of FF 00; Close
NC2, COM2, NO2, COM2,
and
write values 00 00.
Modbus RTU protocol write switch output:
Send
01
05
00 11
FF 00
DC 3F
Provision the ModBus
address
Functional
codes
The on/off
volume address
Write a value
CRC check digits
Receivin
g
01
05
00 11
FF 00
DC 3F
Provision the ModBus
address
Functional
codes
The on/off
volume
address
Write a value
CRC check digits
Modbus TCP protocol write switch output:
Send
00 01
00 00
00 06
01
05
00 11
FF 00
Transmit the
logo
Protocol
identity
length
Unit
identificatio
n
Functional
codes
The on/off
volume address
Write a
value
Receivin
g
00 01
00 00
00 06
01
05
00 11
FF 00
Transmit the
logo
Protocol
identity
length
Unit
identificatio
n
Functional
codes
The on/off
volume address
Write a
value
Function code 0x0F Write DO2, DO3 switch output, make NC2, COM2 Disconnected, NO2, COM2 closed; Disconnect NC3, COM3,
NO3, COM3 close. The write value should be 0x03, corresponding to the binary bit 0000 0011
Modbus RTU protocol write switch output:
Send
01
0F
00 11
00 02
01
03
62 95
Provision the
ModBus address
Function
al codes
The on/off
volume
address
Number of write
switches
The
number
of word
sections
Write a
value
CRC check
digits
Receivin
g
01
0F
00 11
00 02
84 0F
Provision the
ModBus address
Functional
codes
The on/off
volume address
Write a value
CRC check digits
Modbus TCP protocol write switch output:
Send
00 01
00 00
00 08
01
0F
00 11
00 02
01
03
Transmit
the logo
Protocol
identity
length
Unit
identificati
on
Function
al codes
The on/off
volume
address
Number of
write switches
The
number
of word
sections
Write a
value
Receivi
ng
00 01
00 00
00 06
01
0F
00 11
00 02
Transmit
the logo
Protocol
identity
length
Unit
identificatio
n
Functiona
l codes
The on/off
volume
address
Number of write
switches