E870-E1 UserManual EN V1.0
E870-E1 UserManual EN V1.0
Contents
[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.
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
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.
⑤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.
⑧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;
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 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.
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:
3.1 Specifications
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.
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
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.
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
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:
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:
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:
Enable the rule engine, restart the device (re-subscribe, publish), and the communication test is as follows:
4.5.3 OneNET
Support the use of OneNET's "three elements" to directly connect to the server to obtain the "three elements"
required to connect to OneNET, as shown in the figure:
OneNET supports the automatic generation of topics with subscription and publishing attributes. Data can be
returned only by subscribing and publishing the same address. Communication test:
The standard MQTT3.1.1 connection here takes Tencent's standard MQTT3.1.1 server as an example. The "three
elements" described in the standard can be obtained from the Tencent server as shown in the following figure:
Configure the corresponding subscription publishing address, and use the platform online debugging to send data
for communication testing:
It supports converting the Modbus RTU data of the serial port into the JSON message format of the Ebyte cloud
device communication protocol for data transmission and reception.
It supports converting the serial port Modbus RTU data into the JSON message format of Alibaba Cloud device
communication protocol for data sending and receiving.
Support 20 external data points collection, data points can be established through the host computer or Ebyte cloud
device communication protocol, the server can read or set data points by sending JSON messages through Ebyte
cloud communication protocol or Alibaba cloud protocol, and then The device automatically converts JSON
commands to Modbus commands for setting or reading, and then reports the return value in JSON format.
After the data points are set, the device will poll and read all data points (enable) every one second. If the external
data points are set to report changes, once the data points are changed, they will actively report the status of the data
points or value.
In the network transparent transmission mode (TCPC/UDPC), the user can choose to let the device send the
registration packet to the server. The registration package is used to allow the server to identify the source of the
data, or as a password to obtain authorization for server functions. The registration packet can be sent when the
device establishes a connection with the server, or the registration packet data can be spliced at the front end of
each data packet as the header of a data packet. The data of the registration package can be MAC, FW version
information or custom registration data (support ASCII configuration of custom registration package, ASCII can be
configured up to 128Bit).
In the network transparent transmission mode (TCPC/UDPC), the user can select the module to send heartbeat
packets. The main purpose of sending to the network is to keep alive with the server, so that devices that are idle
(will not send data to the server for a long time) remain connected to the server. The data of the heartbeat packet
can be MAC, FW version information or custom registration data (supports ASCII configuration of custom
registration packets, ASCII can be configured with a maximum of 128Bit).
Firmware upgrade is to write firmware through the host computer, and supports upgrade through the use of serial
ports and network;
Step 2: Open the host computer and select "Device Upgrade Assistant" under "Menu";
Step 3: Select the product firmware provided under the corresponding product details on the official website;
Step 4: Click to search for devices, and click "Stop Search" after finding the device;
Step 1: Use USB to RS-485 to connect the serial port of the device, open the host computer, and select "Serial port
upgrade assistant" under "Menu";
Step 2: Select the serial port number connected to the device, open the serial port, import the upgrade file (the
product firmware provided under the product details on the official website), and click to start the upgrade;
Step 3: Disconnect the power of the device, press and hold the “Reload” of the device to turn on the power, and
wait for the device to upgrade;
To restore the factory default parameters, after power on, press the Reload button for 5~10S until all STATE flashes
rapidly, and then release, the device parameters can be restored to the factory default parameters, and the device
will automatically restart.
When the edge acquisition function is turned off, the device can be used as an RTU slave device, receive Modbus
RTU commands sent by the host device (HMI\SCADA, etc.) and collect the IO status of the control device;
The Modbus address of the device in factory mode is: 1.
Support the configuration of the host computer and the "Ebyte Cloud Device Communication Protocol";
◆Support various public cloud and private cloud platforms to customize IoT gateway access;
◆Supports the customization of various transmission protocols such as Json, Modbus, and private protocols;
◆Support MQTT, TCP, UDP, HTTP various transmission protocol equipment customization;
◆Customization of switch value, analog value and various sensors connected to cloud platform;
◆LoRa, Zigbee, BLE Mesh, WiFi and other local area network access cloud platforms;
◆The company has its own SMT production line, which supports batch customers to customize product
Revise history
About US