Ebyte E851-RTU Series User Manual page 26

Hide thumbs Also See for E851-RTU Series:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
register value (0x0091)
00 00
00 01
00 02
00 03
00 04
Modbus RTU protocol write register package register:
01
10
send
Device
functi
ModBus
on
address
code
take
01
over
Device ModBus address
Modbus TCP protocol write register package register:
00 01
00 00
00 33
sen
d
Trans
Protoc
missio
length
ol ID
n ID
00 01
00 00
take
Transmissi
Protocol
over
on ID
4.4.3 Heartbeat packet
The heartbeat packet can be ASCII code or hex, the length of hex cannot be greater than 20 bytes, and the length of ASCII code
cannot be greater than 40 bytes. The first register of the heartbeat packet is used to store the data type of the heartbeat packet. The
value 0x0000 means that the heartbeat packet is in hex format, and the value 0x0001 means that the heartbeat packet is in ASCII
format. When the value is 0x0000, the heartbeat packet value is 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09. The
second register of the heartbeat packet is used to store the length of the heartbeat packet value. The length of the heartbeat packet value
is 10, corresponding to decimal 0x0A. Like the custom registration package register, the unused heartbeat package value register can
be filled with "0" or not filled.
40147(0x0092)
Copyright © 2012, Chengdu Ebyte Electronic Technology Co., Ltd.
Close the registration package mechanism
Add MAC/IMEI as registration packet data before the data sent to the server in
each packet
Add custom registration package data before the data sent to the server in each
package
Send a MAC/IMEI registration packet only when connecting to the server for the
first time
Only send a user-defined registration packet when connecting to the server for
the first time
00 7B
00 17
2E
register
address
Bytes
length
10
function code
00
01
10
7B
functi
Unit
addr
on
ID
ess
code
00 06
length
ID
40148(0x0093)
00 01 00 0A 41 42 43 44 45 46 47 48 49 4A 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
write value
00 7B
address
00 01 00 0A 41 42 43 44 45 46 47 48 49 4A
00 17
2E
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01
register
Byte
length
s
01
10
function
Unit ID
code
40149(0x0094) -- 40168(0x00A7)
E851-RTU(4440-ETH) User Manual
00 17
register length
CRC check code
write value
00 7B
address
register length
00 F4
CRC
check
code
F0 1E
00 17
26

Advertisement

Table of Contents
loading

Table of Contents