Chengdu Ebyte Electronic Technology Co., Ltd.
E831-RTU (6060-ETH) User Manual
Receivi
ng
00 01
00 00
00 0F
01
10
00 81
00 04
Transmit the
logo
Protocol
identity
length
Unit
identification
Functional
codes
address
Register length
Description: 00 00 represents a TCP server, and the value can be: 00 01 for TCP client and 00 02 for a TCP client UDP server, 00
03 represents UDP client. C0 A8 04 0A indicates that the target server is set to "client" IP address or domain name, 22 B6 port
number, local port number in server mode, client mode The remote port number is under the equation.
4. 4.7 Set the enrollment package mode
Modbus RTU protocol write register:
Send
01
06
00 91
00 00
D8 27
Provision the ModBus
address
Functional
codes
address
Write a
value
CRC check digits
Receivin
g
01
06
00 91
00 00
D8 27
Provision the ModBus
address
Functional
codes
address
Write a
value
CRC check digits
Modbus TCP protocol write register:
Send
00 01
00 00
00 06
01
06
00 91
00 00
Transmit the
logo
Protocol
identity
length
Unit
identification
Functional
codes
address
Write a
value
Receivi
ng
00 01
00 00
00 06
01
06
00 91
00 00
Transmit the
logo
Protocol
identity
length
Unit
identification
Functional
codes
address
Write a
value
Description: 00 00 disables the enrollment package mechanism, and a value of 00 01 indicates that only one user-defined
enrollment package is sent the first time the server is linked, 00 02
Indicates that there is
only a
6-byte MAC registration packet sent when first linked to the server
,
and 00 03 indicates that
each packet sent to the server is preceded by a custom annotation packet data 00 04 indicates that each packet sent to the
server is preceded by a 6-byte MAC as registration packet data.
4. 4.8 Set the registration package content
Modbus RTU protocol write register:
Se
nd
01
10
00
95
00 15
2A
00 28 41 42 43 68 23 67 AA 00 2A 00 30
00 00
00 00 00 00 00 00 00 00 00 00 11 00 22 00 33 00
44 00 12 33 23 11 10 1D 1C BB AA
1C 91
Provision a
ModBus
address
functi
on
yard
A
dd
re
ss
Regist
er
lengt
h
The
number
of word
sections
Write a value
CRC
Checksum
code
Receivin
g
01
10
00 95
00 15
11 EA
Provision the ModBus
address
Functional
codes
address
Register length
CRC check digits
Modbus TCP protocol write register:
Se
nd
00 01
00 00
00 31
01
10
00 95
00 15
2A
00 28 41 42 43 68 23 67 AA 00 2A 00 30 00 00
00 00 00 00 00 00 00 00 00 00 11 00 22 00 33
00 44 00 12 33 23 11 10 1D 1C BB AA