Custom Registration Package - Ebyte E831-RTU(6060-4G) Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Modbus TCP protocol write Socket register:
S
e
00 01
00 00
n
d
Transpor
Protoc
Send
t ID
ol ID
00 01
receive
Transport ID Protocol ID

4.4.2 Custom Registration Package

The custom registration package 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 custom registration package is used to store
the registration package type. The value 0x0000 indicates that the registration package is in hex format, and the value
0x0001 indicates that the registration package is in ASCII code format. When the value is 0x0001, the registration
package value is ABCDEFGHIJ, and the corresponding ASCII code value Register package values as shown in the
following table. The second register of the custom registration package is used to store the length of the registration
package value. The length of the registration package value is 10, and the corresponding hexadecimal value is 0x0A.
Like the IP registers, the unused registration packet value registers can be filled with "0" or not filled.
40124(0x007B)
type
00 01
The registration package mechanism has 5 modes:
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
00 37
01
10
00 63
Unit
functi
ID
length
address
on
code
00 00
00 06
length
40125(0x007C)
length
00 0A
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 18
30
00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00
00 00 7B C7 00 01
number
regist
write value
er
of
lengt
bytes
h
01
10
Unit ID
function
address
code
40126(0x007D) -- 40145(0x0090)
register package value
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
23
E78-470LN22S User Manual
00 63
00 18
register length
40146(0x0091)
Registration
package
mechanism
00 01

Advertisement

Table of Contents
loading

Table of Contents