Ebyte E851-RTU Series User Manual page 28

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

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
ID
00 01
take over
Transmissio
n ID
4.4.5 Heartbeat packet mode
The heartbeat packet mode is divided into serial port heartbeat packet and network heartbeat packet (the default is network
heartbeat packet). When writing 0 to this register, it is a network heartbeat packet, and when writing 1, it is a serial port heartbeat
packet.
Modbus RTU protocol write heartbeat packet mode register:
01
send
Device ModBus
address
01
take over
Device ModBus address
Modbus TCP protocol write heartbeat packet mode register:
00 01
send
Transmission
ID
00 01
take over
Transmissio
n ID
4.4.6 Local WAN port IP parameter setting
Local IP acquisition methods are divided into static IP acquisition and dynamic IP acquisition (DHCP), and the related registers
are 34 registers from 0XB1 to 0XD2. When the value in the first register (0XB1) is 1, it is the static IP mode, and when it is 0, it is the
dynamic acquisition mode. A total of 11 registers from 0XB2 to 0XBC store the local ip address, among which 0XB2 stores the length
of the ip address, and 0XB3 to 0XBC store the ASCII code value of the IP address. A total of 11 registers from 0XBD to 0XC7 store
the subnet mask information, among which 0XBD stores the length of the subnet mask address, and 0XBE to 0XC7 store the ASCII
code value of the subnet mask address. A total of 11 registers from 0XC8 to 0XD2 store the gateway address, among which 0XC8
stores the length of the gateway address, and 0XC9 to 0XD2 store the ASCII code value of the gateway address.
You can use the 10 function code to write in one time and appeal the parameter information. Note that it is the same as the server
IP setting, and the unfilled registers are filled with 0. The following command indicates that it is set to static IP, the local IP address is
192.168.4.101, the subnet mask is 255.255.255.0, and the gateway is 192.168.4.1. Note that the corresponding ASCII code value
should be written when writing, and the Convert to hexadecimal.
Modbus RTU protocol configuration WAN port parameters :
send
01
10
Copyright © 2012, Chengdu Ebyte Electronic Technology Co., Ltd.
ID
00 00
00 06
Protocol ID
length
06
function code
06
function code
00 00
00 06
Protocol
length
ID
00 00
00 06
Protocol ID
length
00 B1
00 22
44
code
01
06
function
Unit ID
code
00 A9
address
00 A9
address
01
06
function
Unit ID
code
01
06
function
Unit ID
code
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 35 2E 32 35
35 2E 30 00 00 00 00 00 00 00 00 0B 31 39 32 2E 31 36
E851-RTU(4440-ETH) User Manual
00 A8
address
write value
00 01
98 2A
write value
CRC check code
00 01
98 2A
write value
CRC check code
00 A9
00 00
address
write value
00 A9
address
write value
00 05
00 00
31 16
28

Advertisement

Table of Contents
loading

Table of Contents