Ebyte E821-RTU User Manual

Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU
E821-RTU(0400-ETH) User Manual
(0400-ETH)User Manual
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
11
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
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
22
Important Statement..............................................................................................................................................................28
Reversion History................................................................................................................................................................. 28
About Us...............................................................................................................................................................................28
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
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)
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
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

Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
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.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
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.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
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.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Chengdu Ebyte Electronic Technology Co.,Ltd E821-RTU (0400-ETH)User Manual
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.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
Loading...
+ 20 hidden pages