Ebyte E870-E1 User manual

E870-E1
Edge Collection Cloud IO
Gateway

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
2
Contents
Chapter 1 Product Description ....................................................................................................................................... 4
1.1 Product introduction ....................................................................................................................................... 4
1.2 Functional features ......................................................................................................................................... 4
Chapter 2 Quick Use ...................................................................................................................................................... 5
2.1 Devices Preparation ..........................................................................................................................................5
2.2 Devices Connection ..........................................................................................................................................6
2.2.1. Connect Platform ..................................................................................................................................6
2.2.2. Connect to the self-built serve ..............................................................................................................9
2.2.3. AI Analog input connection ................................................................................................................11
2.2.4. DI Switch input connection ................................................................................................................11
2.2.5. Relay output connection .....................................................................................................................11
2.3 Use of transparent transmission ..................................................................................................................... 12
Chaper 3 Technical Indicators ...................................................................................................................................... 13
3.1 Specifications ................................................................................................................................................. 13
3.2 Mechanical dimension drawing ..................................................................................................................... 14
3.3 Port Description ..............................................................................................................................................15
3.4 LED Indicator Description ............................................................................................................................. 16
3.5 Serial port description .................................................................................................................................... 16
Chapter 4 Product function introduction ......................................................................................................................17
4.1 DO Output ...................................................................................................................................................... 17
4.2 DI input ...........................................................................................................................................................17
4.3 AI input mode .................................................................................................................................................17
4.4 Network transparent transmission mode ........................................................................................................18
4.5 MOQTT Mode ................................................................................................................................................18
4.5.1 Alibaba Cloud ......................................................................................................................................19
4.5.2 Baidu Cloud .........................................................................................................................................19
4.5.3 OneNET ...............................................................................................................................................21
4.5.4 Standard MQTT3.1.1 .......................................................................................................................... 22
Chapter 5 Special Function .......................................................................................................................................... 24
5.1 Ebyte Cloud Modbus to JSON ....................................................................................................................24
5.2 Alibaba Cloud Modbus to JSON .................................................................................................................24
5.3 Edge acquisition ............................................................................................................................................. 24
5.4 Registration packet .........................................................................................................................................24
5.5 Heartbeat packet ............................................................................................................................................. 24
5.6 Firmware upgrade ...........................................................................................................................................25
5.6.1 Network Upgrade: ............................................................................................................................... 25
5.6.2 Serial port upgrade .............................................................................................................................. 26
5.7 Hardware is restored to factory default ..........................................................................................................27
5.8 RTU slave ....................................................................................................................................................... 27
Chapter 6 Configuration methods ............................................................................................................................. 29
Chapter 7 About customization ................................................................................................................................. 29

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
3
Revise history ............................................................................................................................................................... 30
About US ...................................................................................................................................................................... 30

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
4
Chapter 1 Product Description
1.1 Product introduction
E870-E1 is an Ethernet cloud IO gateway developed based on the
communication protocol "Ebyte Cloud Device Communication
Protocol" developed by our company. It can send commands to the
device through the server to achieve control or acquisition functions,
and open 4-way switch value acquisition on the device. ,2-channel
analog (0-20/4-20mA) acquisition, 2-channel A-type relay output,
support multiple protocols (TCP, UDP, MQTT) access to the server,
support heartbeat packet, registration packet settings;
At the same time, the product supports a variety of configuration methods and supports web platform;
Supports acquisition and control of edge RTU nodes, and can also be used as an RTU device to parse Modbus
commands to acquire and control device IO;
Adopt industrial-grade design standards to ensure high reliability of the equipment.
1.2 Functional features
Support "Ebyte Cloud Device Communication Protocol" open protocol
Support remote management of Ebyte cloud platform
Support edge acquisition and control 20 Modbus RTU data points
Support change reporting, periodic reporting and other reporting methods
Supports adding edge computing formulas to upstream and downstream data
Support Alibaba Cloud IoT model JSON protocol reporting
Automatic 10/100M Ethernet interface
Support 4-way Socket independent connection to user-defined server
Support TCPC, UDPC, MQTT3.1.1 protocol
Support registration package and heartbeat package
Support various configuration methods such as Ebyte cloud platform, host computer, network, etc.
Support the host computer to upgrade the device through the network and serial port
2 analog inputs (0-20/4-20mA)
4-way switch input DI (dry contact)
2-way switch output DO (A-type relay)
Support as an RTU device to parse the host Modbus RTU command to collect and control the IO of the control
device
Industrial design supports -40~85℃ working environment

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
5
Chapter 2 Quick Use
[Note] This experiment needs to be carried out with the default factory parameters.
The following two methods are provided for quick access to the server, one is to access the Ebyte cloud platform by
factory settings, and the other is to access the self-built server through the host computer configuration.
2.1 Devices Preparation
The following table shows the materials required for this test:
One computer, one E870-E1 (hereinafter referred to as "device"), one network cable, USB to RS485 converter, and
several wires;
The most important thing is to need a routing environment that can access the Internet, otherwise the Ebyte cloud
control device cannot be used;
PC
E870-E1
Ethernet cable
USB to RS485

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
6
2.2 Devices Connection
2.2.1. Connect Platform
Step 1: Connect the network cable to the device power supply (DC 8-28V) to ensure that the device can access the
Internet normally;
Step 2: Use a browser to log in to cloud.ebyte.com, register and log in to the Ebyte cloud platform, and after
successfully entering the platform:
①Click "Device Management" in the left column box
②Click "Device Model", enter the Create Device Model, select "Add Device Model"
③Enter the relevant parameters, click "Add Slave", select "Ebyte Cloud IO", "Built-in IO", "E870-E1", enter the
name of the slave, click "Save", and click "Confirm Add", you can create a device model.
④Click "Device Instance", enter and click "Add Device"

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
7
⑤The E870-E1 model created before "Device Model" select, then enter the SN code on the back of the device, fill
in other parameters according to your own needs, and click "OK to add" to create the device.
⑥Restart the device, and when the STATE light of the device is always on, you can see that the device is online on
the platform.
⑦Click "Device Operation and Maintenance", "Online Debugging" on the platform, and click "Debug" behind the
device to enter the device debugging interface. Enter the corresponding command to control the device.

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
8
⑧Or click "Device Instance" and click "Device Details" of the online device, you can see the information of the
device data points in the device details, and you can read the data or operate the device on the interface.
Finally, click the DO control button to execute the DO output to the device;

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
9
2.2.2. Connect to the self-built serve
Step 1: Connect the network cable and power supply (DC 8-28V) to ensure that the device and the PC are in the
same local area network environment;
Step 2: Open the host computer, click "Search Device", "Basic Parameters" to configure the network and serial port
parameters, the device uses dynamic IP by default, it is recommended to connect directly to the PC under the same
router:
Step 3: Use "NetAssist" to build a user server:

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
10
Step 4: Fill in the correct server parameters and configure it as TCP client mode, destination address, destination
port, etc., as shown in the following figure:
Step 5: After configuring the parameters, save and restart. When the STATE light is always on, the device has been
connected to the server platform normally, waiting for the device edge to collect parameters to report.

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
11
2.2.3. AI Analog input connection
Figure 7 Schematic diagram of AI acquisition connection
2.2.4. DI Switch input connection
DI acquisition connection diagram
2.2.5. Relay output connection
DO output connection diagram

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
12
2.3 Use of transparent transmission
Select channel 1 to configure TCP/UDP transparent transmission, fill in the target server parameters, select TCPC
mode, target address 192.168.3.100:8887 (users can configure it as their own IP server), target port 8887 (if using
their own IP, fill in the corresponding The port of the server) and other parameters remain default, click Exit
Configuration to enter the transparent transmission mode.
Connect the RS485 interface, open the serial port assistant (XCOM) and the network debugging assistant
(NetAssist), and directly send the transparent data "E870-E1_TSET", which can be used as a serial port server:

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
13
Chaper 3 Technical Indicators
3.1 Specifications
Category
Name
Parameters
power supply
Working voltage
DC 8~28V
Power indicator
Red LED indication
network port
RJ45
10/100 adaptive RJ45 Ethernet interface
serial port
Communication
interface
RS-485
Baud rate
9600bps(default)
Protocol
"Ebyte Cloud Device Communication Protocol",
transparent transmission
DI Input
Number of DI
channels
4 way
Input type
Default dry contact
Collection
frequency
1 kHz
AI Input
Number of AI
channels
2 way
Acquisition
characteristics
single-ended input
Input type
0-20mA(default)/4-20mA
AI acquisition
accuracy
3‰
Collection
frequency
10Hz
DO Output
Number of DO
channels
2 way
DO output type
A type relay
DO output mode
Level output, pulse output
Relay contact
capacity
DC:30V/7A、AC:250V/7A
Others
Product weight
135±5g
Operation
Temp/Humi
-40 ~+85℃、5% ~95%RH(no
condensation)
Installation method
Positioning hole installation

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
14
3.2 Mechanical dimension drawing

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
15
3.3 Port Description
No.
Label
Explanation
1
V+
Positive pole of power input terminal,DC 8V~28V
2
V-
Negative pole of power input terminal,DC 8V~28V
3
485-B
RS485 interface B is connected to the external device
B interface
4
485-A
The RS485 interface A is connected to the external
device A interface
5
Reload
Factory reset button
6
Ethernet
RJ45 Ethernet interface
7
NO1
Relay 1 normally open pin, used with the common
terminal of relay 1
8
COM1
Common terminal of relay 1, used in conjunction with
the normally open pin of relay 1
9
NO2
Relay 2 normally open pin, used in conjunction with
the common terminal of relay 2
10
COM2
Common terminal of relay 2, used in conjunction with
the normally open pin of relay 2
11
DI1
Switch input channel 1
12
DI2
Switch input channel 2
13
DI3
Switch input channel 3
14
DI4
Switch input channel 4
15
DGND
Switch input ground
16
AI1
Analog input channel 1
17
AI2
Analog input channel 2
18
AGND
Analog input ground

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
16
3.4 LED Indicator Description
Label
Color
Explanation
PWR
Red
Power indicator
STATE
Green
Blinking slowly, connecting to the server
Fast blinking, waiting for network cable
or waiting for dynamic IP acquisition
Steady on, the server is connected
DATA
Yellow
Blinking: Server interacts with serial port
data
【Note】
Indicator status during firmware upgrade:
Waiting for the upgrade (host computer, serial port), STATE and TX/RX flash alternately, if the upgrade
package is not sent within 3s, the upgrade wait is exited;
Upgrading, STATE and TX/RX flash alternately slowly;
3.5 Serial port description
The serial port supports the following parameter configurations:
Project
Parameters
Baud rate
1200,2400,4800,9600,19200,
38400,57600,115200,230400
Data bits
8
Check bit
NONE、ODD、EVEN
Stop bit
1、2

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
17
Chapter 4 Product function introduction
4.1 DO Output
Two-way A-type relay outputs are used, and 3.81mm phoenix terminals are used to lead out normally open
contacts and common points respectively, which can shut off AC 250V/7A and DC 30V/7A at most.
It can be turned on or off to switch input DO to collect signals and report actively. The active report function
of DO supports configuration change report, period, change report + period to realize the device's active report
function;
Periodic report: report the current status according to the configured time period, the time interval can be
1-65535, unit: minute;
Change reporting: that is, when the DO status changes, the DO status is reported once, and the range needs to
be set to a non-zero value.
4.2 DI input
Support 4-way dry contact acquisition, switch input DI acquisition signal can be turned on or off to actively
report, DI's active reporting function implementation conditions support configuration change reporting, period,
change reporting + period to realize the active reporting function of the device;
Periodic report: report the current status according to the configured time period, the time interval can be
1-65535, unit: minute;
Change reporting: that is, when the DI status changes, the DI status is reported once, and the range needs to be
set to a non-zero value.
4.3 AI input mode
It supports 2-channel current signal acquisition, adopts high-resolution ADC, and the acquisition accuracy can
reach 3‰. The factory default configuration is 0-20mA. It supports configuring the acquisition range (register
address is 0x044c) and obtaining the current current signal (floating point) through the Modbus RTU command. :
register is 0x00c8, integer: 0x0064), the maximum current cannot exceed 25mA (more than 25mA will cause
equipment damage);
Support mode 0x00 (0-20mA): directly output the collected current signal;
Mode 0x01 (4-20mA): The current input device below 3.5mA is used for disconnection detection to output
0mA, and the current greater than 3.5mA is directly output;
Take the Modbus address of the device as 1 as an example (the edge acquisition function needs to be turned
off to use this function, and the following commands are in hexadecimal):
Read the collected current signal (integer):
Send: 01 04 00 64 00 02 30 14

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
18
Return: 01 04 04 0F A0 13 88 F5 E4 (1st road: 4000uA, 2nd road: 5000uA)
Read the collected current signal (floating point):
Send: 01 04 00 C8 00 04 30 14
Return: 01 04 08 40 80 00 00 40 A0 00 00 B4 17 (The first channel: 4mA, the second channel: 5mA)
Configured as 0-20mA acquisition mode (the first and second channels are configured at the same time):
Send: 01 10 04 4C 00 02 04 00 00 00 00 C5 0A
Configured as 4-20mA acquisition mode (the first and second channels are configured at the same time):
Send: 01 10 04 4C 00 02 04 00 01 00 01 55 0A
[Note] Floating point numbers are stored in IEEE754 single-precision big-endian format (ABCD), for example,
12.5mA uses hexadecimal number 0x41480000;
The switch can be turned on or off to input AI acquisition signals to actively report, and the conditions for the
realization of AI's active reporting function support configuration change reporting, periodical, change
reporting+periodic realization of the device's active reporting function;
Periodic report: report the current status according to the configured time period, the time interval can be
1-65535, unit: minute;
Change reporting: that is, when the AI status changes, the AI status is reported once. The range
condition is a minimum configuration of five decimal places supported.
4.4 Network transparent transmission mode
This product supports TCP client (TCPC) and UDP client (UDPC) transparent communication.
In this mode, the user's serial device can send data to the specified server on the network through this device. The
device can also accept data from the server, and forward the information to the serial device, supporting four-way
independent configuration.
Users do not need to pay attention to the data conversion process between serial port data and network data packets,
and only through simple parameter settings, the data transparent communication between the serial port device and
the network server can be realized.
4.5 MOQTT Mode
Set the corresponding MQTT parameters, including ClientID, server address, port, username, password, and topics
to publish and subscribe to. MQTT connection can be realized.
(1) Product key, device name, device key, device ID, product ID, authentication information, device name, client ID,
user name, password, subscription, and publishing can be configured with a maximum of 128Bit, and Alibaba

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
19
Cloud product key is 64Bit ;
(2) The maximum address can be configured with 128Bit domain name;
(3) Support 0, 1 message release level;
4.5.1 Alibaba Cloud
Supports the use of Alibaba Cloud's "Three Elements" to directly connect to the server to obtain the "Three
Elements" required to connect to Alibaba Cloud, as shown in the figure:
Configure the device connection parameters, as shown in the following figure:
4.5.2 Baidu Cloud
Support the use of Baidu Cloud "Three Elements" to directly connect to the server to obtain the "Three Elements"
required to connect to Baidu Cloud, as shown in the figure:

Chengdu Ebyte Electronic Technology Co., Ltd. E870-E1_User Manual_EN
Copyright ©2012–2022, Chengdu Ebyte Electronic Technology Co., Ltd.
20
Configure the device connection parameters, as shown in the following figure:
Subscription and publishing need to establish a rule engine to realize the return of data. First, a message template
needs to be established, as shown below:
Create a rule engine for data return, as shown in the following figure:
Table of contents
Other Ebyte Modem manuals

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte E95-DTU User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte E180-DTU User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte ECAN-E01S User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte MA02-XACX0440 User manual

Ebyte
Ebyte E32-DTU User manual

Ebyte
Ebyte E90-DTU 230SL22-GPRS User manual

Ebyte
Ebyte E840-DTU User manual

Ebyte
Ebyte E32-DTU User manual

Ebyte
Ebyte E880-IR01 User manual

Ebyte
Ebyte E831-RTU Series User manual

Ebyte
Ebyte E842-DTU User manual

Ebyte
Ebyte E180-DTU User manual

Ebyte
Ebyte E90-DTU User manual

Ebyte
Ebyte NB144 User manual

Ebyte
Ebyte E95-DTU User manual