E850-DTU(4440-GPRS) datasheet
Copyright ©2012–2018
,成都亿佰特电子科技有限公司
24
Send
01
10
00 63
00 18
30
00 0D 31 31 36 2E 36 32 2E 34
32 2E 31 39 32 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 7B C7 00 01
7B F0
Device
ModBus
address
Functi
on
code
Addre
ss
Registe
r length
Bytes
Write value
CRC
code
Rece
ive
01
10
00 63
00 18
30 1D
Device ModBus
address
Function
code
Address
Register length
CRC code
Modbus TCP protocol write Socket register:
S
e
n
d
00
01
00
00
00
37
01
10
00
63
00 18
30
00 0D 31 31 36 2E 36 32 2E 34 32 2E
31 39 32 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 7B C7 00 01
Tran
smis
sion
ident
ifier
Prot
ocol
ident
ifier
Leng
th
Uni
t
ide
ntifi
er
Fu
nc
tio
n
co
de
Addr
ess
Regis
ter
lengt
h
Byt
es
Write value
Rece
ive
00 01
00 00
00 06
01
10
00 63
00 18
Transm
ission
identifi
er
Protoco
l
identifie
r
Lengt
h
Unit
iden
tifier
Functi
on
code
Address
Register length
4.4.2 User defineddd register
The user-defined registration package can be ASCII code or hex, the length of hex cannot be
longer than 20 bytes, and the length of ASCII code cannot be longer than 40 bytes. The first register
of the user-defined registration packet is used to store the registration packet type. The value 0x0000
indicates that the registration packet is in hex format, and the value 0x0001 indicates that the
registration packet is in ASCII format. When the value is 0x0001, the registration packet value is
ABCDEFGHIJ, and the corresponding ASCII code value is as below table. The second register of the
user-defined registration packet is used to store the length of the registration packet value. The length
of the registration packet value is 10, which corresponds to 0x0A in hexadecimal. Like the IP registers,
unused register value registers can be filled with "0" or not filled
.