Ebyte E851-RTU Series User Manual page 29

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

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
Device
functi
ModBus
on
address
code
take
01
over
Device ModBus address
Modbus TCP protocol writes WAN port parameters:
00 01
00 00
00 4B
sen
d
Trans
Protoc
missio
length
ol ID
n ID
00 01
00 00
take
Transmissi
Protocol
over
on ID
4.4.7 DNS settings
There are 22 registers starting from 0XD3 to 0XDE, which store DNS information. DNS addresses are divided into preferred
DNS and standby DNS. Register 0xD3 stores the address length of the preferred DNS, and registers 0xD4 to 0xDD store the ASCII
code value of the preferred DNS address. Register 0XDE stores the length of the standby DNS address, and 0XDE to 0XE8 store the
ASCII code value of the standby DNS address.
You can use the 10 function code to configure the preferred DNS and standby DNS at one time. The following table shows that
the preferred and standby DNS are 61.139.2.69 and 192.168.4.1 respectively.
Modbus RTU protocol configuration preferred and alternate DNS :
01
10
send
Device
functi
ModBus
on
address
code
take
01
over
Device ModBus address
Modbus TCP protocol configuration preferred and alternate DNS :
se
00 01
00 00
00 33
nd
Copyright © 2012, Chengdu Ebyte Electronic Technology Co., Ltd.
register
address
Bytes
length
10
function code
00
01
10
B1
Unit
functio
addr
ID
n code
ess
00 06
01
length
Unit ID
ID
00 D3
00 16
2C
register
address
Bytes
length
10
function code
00
01
10
D3
38 2E 34 2E 31 00 00 00 00 00 00 00 00 00
write value
00 B1
address
register length
00 01 00 0D 31 39 32 2E 31 36 38 2E 34 2E 31 30
31 00 00 00 00 00 00 00 00 0D 32 35 35 2E 32 35
00 22
44
35 2E 32 35 35 2E 30 00 00 00 00 00 00 00 00 0B
31 39 32 2E 31 36 38 2E 34 2E 31 00 00 00 00 00
register
Byte
length
s
10
function code
00 0B 36 31 2E 31 33 39 2E 32 2E 36 39 00 00 00 00 00
00 00 00 00 00 0B 31 39 32 2E 31 36 38 2E 34 2E 31 00
00 00 00 00 00 000
write value
00 D3
address
register length
00 0B 36 31 2E 31 33 39 2E 32 2E 36 39 00 00 00
00 16
2C
00 00 00 00 00 00 00 0B 31 39 32 2E 31 36 38 2E
E851-RTU(4440-ETH) User Manual
00 22
10 37
CRC check code
00 00 00 00
write value
00 B1
00 22
address
register length
00 16
B0 3E
CRC check code
CRC
check
code
D9 F2
CRC
check
code
29

Advertisement

Table of Contents
loading

Table of Contents