Ebyte E821-RTU User manual

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
11
Contents
Features...................................................................................................................................................................................3
1. Quick start...........................................................................................................................................................................4
1.1 Port Connection........................................................................................................................................................4
1.1.1 RS485 connection......................................................................................................................................... 4
1.1.2 Analog input connection............................................................................................................................... 4
1.2 Basic operation.........................................................................................................................................................5
1.2.1 RS485 Bus control........................................................................................................................................ 5
1.2.2 Ethernet control.............................................................................................................................................7
2. Product description............................................................................................................................................................. 9
2.1 Basic parameters...................................................................................................................................................... 9
2.2 Size and Interface description................................................................................................................................ 10
2.3 Reset button description......................................................................................................................................... 12
3. Modbus............................................................................................................................................................................. 13
3.1 Register Address Table...................................................................................................................................................13
3.2 Modbus address table..................................................................................................................................................... 14
3.3 RS485 serial port baud rate code value table..................................................................................................................14
3.4 RS485 serial port parity bit value table.......................................................................................................................... 14
3.5 Configure parameters by setting software...................................................................................................................... 15
4. Product Function...............................................................................................................................................................16
4.1 Working mode................................................................................................................................................................ 16
4.1.1 Slave mode..................................................................................................................................................16
4.1.2 Master mode................................................................................................................................................16
4.2 RTU basic function.........................................................................................................................................................17
4.2.1 Read analog-data AI input.......................................................................................................................... 17
4.2.2 Analog AI acquisition range setting........................................................................................................... 18
4.3 Network related functions...............................................................................................................................................18
4.3.1 Device MAC address reading..................................................................................................................... 18
4.3.2 Device SN code reading..............................................................................................................................19
4.3.3 Network function parameter validation command (Ethernet restart command)........................................ 19
4.3.4 WAN port IP info configuration................................................................................................................. 20
4.3.5 Set DNS...................................................................................................................................................... 20
4.3.6 Set network protocol parameters................................................................................................................ 21
4.3.7 Set the registration package mode.............................................................................................................. 22
4.3.8 Set the registration package contents..........................................................................................................22
4.3.9 Set heartbeat package mode........................................................................................................................23
4.3.10 Set heartbeat package content...................................................................................................................24
4.3.11 Set heartbeat package time........................................................................................................................24
4.3.12 Clear the cache..........................................................................................................................................25
4.3.13 Set keep-alive parameters......................................................................................................................... 25
4.3.14 Set local port number................................................................................................................................ 26
4.3.15 Set cloud transparent transmission function............................................................................................. 27
4.3.16 Set timeout restart time............................................................................................................................. 27

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
22
Important Statement..............................................................................................................................................................28
Reversion History................................................................................................................................................................. 28
About Us...............................................................................................................................................................................28

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
33
Features
Support 4 analog inputs, default current acquisition;
Support Ethernet port, you can use socket to connect to remote server, support TCP/UDP;
Support Modbus TCP/RTU protocol;
Support Ebyte Cloud, can be controlled by commands;
Support 2 working modes, master mode and slave mode, slave can cascade multiple devices by RS485;
Support Reload touch button, long press for 5s, Modbus device address, RS485 serial port baud rate and check digit
will restore factory settings;
Hardware watchdog with high reliability;
Multiple indicators to show device working status;
The power supply has static and surge level 3 protection, and has over-current, over-voltage, anti-reverse and other
protections.
Note: Support customization of functions, such as conditional control (how to output based on input state)

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
4
1. Quick start
This chapter is a quick introduction to E821-RTU (0400-ETH). It is recommended that users carefully read this
chapter and follow the instructions before using the product. It will have a systematic understanding of the product, and
users can also choose the one you are interested in according to your needs. For specific details and instructions, please
refer to the following sections.
1.1 Port Connection
1.1.1 RS485 connection
The E821-RTU device has a master-slave mode and can be cascaded by the RS485 port.
Note: 120R (matching resistor) is added and not added according to the actual line matching (default is not added).
1.1.2 Analog input connection

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
55
1.2 Basic operation
Connection: The computer connects to E821-RTU (0400-ETH) by USB to RS485 cable or the computer connects to
E821-RTU (0400-ETH) by Ethernet cable.
Power supply: E821-RTU (0400-ETH) working voltage is DC 8~28V, and the power supply has at least 0.2A power
supply capability.E821-RTU(0400-ETH).
1.2.1 RS485 Bus control
Select the device model, port number, set the baud rate check, and click “Search” to search for the device.
After searching for the actual connected device, click “Stop”; the number of connected devices in the example is 1.

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
66
At this time, you can see the address of the current device, check "Auto Refresh" to perform analog input reading.
The example shows that channel 4 has 10mA current input.

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
77
1.2.2 Ethernet control
Click the parameter setting and parameter reading, we can see that the device address is "1", in "slave mode", the
local IP is "192.168.4.101", the subnet mask is "255.255.255.0", the role is "TCP server", and the port number is 8666.
Click Local connection, set the computer IP: "192.168.4.10", subnet mask: "255.255.255.0", gateway: 192.168.4.1.

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
88
Open the network debugging assistant, set the port number and other parameters, click the connection, you can find
that the device LINK light is on to indicate the connection is successful.
Send Modbus command: 01 03 00 10 00 04 45 CC, to read the current value collected by 4 analog channels.

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
99
2. Product description
E821-RTU (0400-ETH) is a data acquisition product which supports four analog (current) inputs and supports
Modbus TCP/RTU protocol. The product is highly easy to use and can be easily and quickly integrated into your system
for remote network-based data acquisition.
2.1 Basic parameters
Item
Description
Network parameters
Ethernet Specification
RJ45, 10/100Mbps
Network Protocol
IP, TCP/UDP, ARP, ICMP, IPV4
IP acquisition method
Static IP, DHCP
DNS
Available
Hardware parameters
Size (H*W*D)
108*75*37mm
Weight
230.8±5g
Working temperature
-20℃~+70℃
Storage temperature
-40℃~+85℃
Working humidity
5%~95%
Storage humidity
1%~95%
Working voltage
8V~28V, 8V/143mA, 12V/98mA, 24V/52mA,
28V/45mA
Current acquisition range
0mA~20mA or 4mA-20mA
Accuracy
0.2%
Data interface
RS485: 1200~115200bps, RJ45: 100M
Software parameters
Network type
Ethernet
Configuration command
Modbus TCP/RTU
Network Protocol
Modbus TCP/RTU
Working mode
Master mode, Slave mode
Data transmission mode
TCP/UDP
Table of contents
Other Ebyte Modem manuals

Ebyte
Ebyte E90-DTU 400SL30-GPRS User manual

Ebyte
Ebyte E800-DTU V8 Series User manual

Ebyte
Ebyte E890-915LG12 User manual

Ebyte
Ebyte Wireless Modem User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte NA111-A User manual

Ebyte
Ebyte E180-DTU User manual

Ebyte
Ebyte M02-XACX0420 User manual

Ebyte
Ebyte E830-DTU(2R2-433L)-V8 User manual

Ebyte
Ebyte E95-DTU433L 485-V8 Series User manual

Ebyte
Ebyte ME31-XAAX0440 User manual

Ebyte
Ebyte E95-DTU User manual

Ebyte
Ebyte NB183 User manual

Ebyte
Ebyte E840-DTU User manual

Ebyte
Ebyte E104-BT5040U User manual

Ebyte
Ebyte E890-868LG12 User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte E34-DTU User manual






















