Chengdu Ebyte Electronic Technology Co., Ltd.
E831-RTU (6060-ETH) User Manual
Transmit
the logo
Protocol
identity
length
Unit
identificatio
n
Function
al codes
The number of
bytes returned
DI1 counts
numeric
values
DI2 counts
numeric values
Zero pulse count value
Function code: 06, write-hold register
Site range: 40065 (0x0040).
Note: The low six bits of the
register value represent
DI6, DI5, DI4, DI3,
respectively
DI2, DI1 count, write "1" to
represent the count to zero, restart the pulse count. Example:
Clears the DI2, DI4 pulse count values and retains DI1, DI3, D5 , D6 pulse count value. The write value should be 0x0a,
corresponding to a binary value of 0000 1010, the Modbus RTU protocol clear pulse count value
Send
01
06
00 40
00 0a
08 19
Provision the ModBus
address
Function
al codes
address
Write a value
CRC check digits
Receivin
g
01
06
00 40
00 0a
08 19
Provision the
ModBus address
Functional
codes
address
Write a value
CRC check digits
The Modbus TCP protocol clears the pulse count value
Send
00 01
00 00
00 06
01
06
00 40
00 0a
Transmit
the logo
Protocol
identity
length
Unit
identificatio
n
Functiona
l codes
address
Write a value
Receivin
g
00 01
00 00
00 06
01
06
00 40
00 0a
Transmit
the logo
Protocol
identity
length
Unit
identificatio
n
Functiona
l codes
address
Write a value
4.3.2 Automatic reporting of switch input DI
The automatic reporting function of the switching input is to transmit the changed value when the switching volume changes.
You can choose to transfer via RS485 or ETH, also
You can turn off the automatic escalation feature.
The modbus register corresponding to the automatic reporting setting
of the
on-off
amount is
40082 (0x0051), and the
value corresponding function is:
The shutdown switch is automatically escalated 0x00
The switch
automatic report is transmitted
0
x 01
via
RS485
The switch is automatically reported over the ETH network for transmission 0x02
The switching change upload protocol is listed in the following table, where the frame header 0xAA, 0xBB is fixed, DI 1, DI 2
、
DI3
、
DI4
、
DI5
、
DI6 The range of values is 0x00, 0x01, 0xFF, where
0x00 means that the switching input is disconnected
0x01 means that the switching input is closed
0xFF indicates that the switching input has not changed
Table DI1, DI2, DI3, DI4, DI5, The value of DI6 represents DI1
,
DI2 status is updated to broken, DI 3 state is updated to closed,
DI4, DI5, DI6 states have not changed. The last two bytes are calculated for modbus CRC16.
Frame
header
DI1
DI2
DI3
DI4
DI5
DI6
Modbus CRC
AA BB
00
00
01
FF
FF
FF
F1 7B
4.3.3 Switching output DO time setting