Chengdu Ebyte Electronic Technology Co.,Ltd
E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
25
25
address
code
Receive
01
06
01 41
01 AA
59 CD
Device ModBus
address
Function
code
Address
Write value
CRC check code
Modbus TCP protocol write register:
Send
00 01
00 00
00 06
01
06
01 41
01 AA
Transmission
identifier
Protocol
identifier
Length
Unit
identifier
Function
code
Address
Write value
Receive
00 01
00 00
00 06
01
06
01 41
01 AA
Transmission
identifier
Protocol
identifier
Length
Unit
identifier
Function
code
Address
Write value
Note: 00 00 is the heartbeat packet time. 00 00 means to turn off the heartbeat packet, the value cannot be 1, and the
range is 2-65535.
4.3.12 Clear the cache
Modbus RTU protocol write register:
Send
01
06
01 49
00 00
59 E0
Device ModBus
address
Function
code
Address
Write value
CRC check code
Receive
01
06
01 49
00 00
59 E0
Device ModBus
address
Function
code
Address
Write value
CRC check code
Modbus TCP protocol write register:
Send
00 01
00 00
00 06
01
06
01 49
00 00
Transmission
identifier
Protocol
identifier
Length
Unit
identifier
Function
code
Address
Write value
Receive
00 01
00 00
00 06
01
06
01 49
00 00
Transmission
identifier
Protocol
identifier
Length
Unit
identifier
Function
code
Address
Write value
Note: 00 00 indicates that the cached data of the SOCKET A1 link is not cleared. 00 01 indicates that the cached
data of the SOCKET A1 link is cleared, but the serial cache data is not cleared.
4.3.13 Set keep-alive parameters
Modbus RTU protocol write register:
Send
01
10
01 4F
00 03
06
02 D1 02 D1 00
31
BD 3D