Chengdu Ebyte Electronic Technology Co., Ltd.
E831-RTU (6060-ETH) User Manual
Transmit
the logo
Protocol
identity
length
Unit
identificati
on
Function
al codes
address
Write a value
Description: 00 00
indicates that
the cache data for the SOCKET A1
link
is not cleared
, and
00 01 means that socket A1 is
cleared The cache data for the link, but does not empty the serial port slowly
Save data.
4.4.13
Set the keep-alive parameter
Modbus RTU protocol write register:
Send
01
10
01 4F
00 03
06
02 D1 02 D1 00 31
BD 3D
Provision the
ModBus address
Functio
nal
codes
addres
s
Register
length
The
number of
word
sections
Write a value
CRC check digits
Receivi
ng
01
10
01 4F
00 03
B0 23
Provision the ModBus
address
Functional
codes
address
Register length
CRC check digits
Modbus TCP protocol write register:
Send
00 01
00 00
00 0D
01
10
01 4F
00 03
06
02 D1 02 D1 00 31
Transmit
the logo
Protocol
identity
length Unit
identificati
on
Function
al codes
addres
s
Register
length
The
number
of word
sections
Write a value
Receiv
ing
00 01
00 00
00 0D
01
10
01 4F
00 03
Transmit
the logo
Protocol
identity
length
Unit
identification
Functional
codes
address
Register length
Description: 02 D1 indicates how many seconds after the TCP link has no data packet transmission initiated probe packets,
and 00 00 indicates that the KeepAlive
feature is turned off
, with a value of
2-7200 seconds. 02 D1 The time interval between the previous probe message and the next probe packet, with a value of 2-7200
seconds. 00 31 indicates the maximum number of probe failures when sniffing
When the probe fails
to that
number of times, the TCP connection is dropped with a value of 2-255 times
4. 4.14 Set the local port number
Modbus RTU protocol write register:
Send
01
06
01 5D
11 A1
D4 0C
Provision the
ModBus address
Functional
codes
address
Write a value
CRC check digits
Receivin
g
01
06
01 5D
11 A1
D4 0C
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
01 5D
11 A1
Transmit
the logo
Protocol
identity
length
Unit
identificati
on
Function
al codes
address
Write a value