Products, names, logos and designs described herein may in whole or in part be subject to intellectual property rights. Reproduction, use, modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited.
Page 10
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Pin No. Item Description DC_IN Power interface, support 8-28V DC power supply, recommended 12V / 24V The Ethernet interface, the standard RJ 45 interface, is connected to the ETHERNET device or the PC power light Establish connection indicator (green), and on for 3 seconds at 4 hz;...
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3. Introduction of functions 3.1 Typical application model 3.2 ZigBee Basic functions ZigBee The parameters are configured through the billion-tech ZigBee3.0 upper machine!!! 3.2.1 ZigBee Network introduction There are 3 logical device types in the ZigBee network: Coordinator (coordinator), Router (router), and End-Device (terminal).
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.2.1.2 Router The router allows other nodes to be connected to the routing device to expand the coverage of the network. Its main task is to forward messages, relay routing, and have all the functions of the terminal equipment. If there are multiple paths from one node to another node, when one of the paths fails, the network automatically adjusts to the other optimal path for transmission to ensure that the data arrives.
Network parameters can be configured through the EBYTE network configuration tool and web pages!!! EBYTE network configuration tool can click the network configuration button in ebai ZigBee 3.0 upper computer: open ZigBee 3.0 upper computer, click Ethernet connection, click network configuration, enter EBYTE network configuration tool.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual setting the IP address gateway and subnet mask. Disadvantages: Access to no DHCP Serve r network, such as direct connection to the computer, the module will not work properly. The subnet mask is mainly used to determine the network number and host number of the IP address, indicate the number of subnets, and determine whether the module is in the subnet.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.4 Network working mode 3.4.1 TCP server mode TCP Server The TCP server. In TCP Server mode, the device listens to the native port, accepts connection requests from the client and establishes a connection for data communication, usually for the communication with the TCP client within the LAN.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.4.3 The UDP Server mode UDP Server Means that the device does not verify the data source IP address when communicating with the UDP protocol. After you receive each UDP packet, save the source IP address and the source port and set it as the target IP and port, so the data sent by the device only sends the packet to the source IP address and port of the last time that the device receives the data.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual In UDP Client mode, the device will only communicate with the configured (destination IP and destination port) remote UDP device. In this mode, the target address is set to 255.255.255.255, and the sent data will be broadcast in the whole network segment, but the transceiver device should ensure the same port, and the device can also receive the broadcast data.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.4.6 MQTT client mode Serial server support fast access standard MQTT3.1 protocol server (One NET, baidu cloud, Huawei Cloud, user self-built server type) and ali cloud server, support service quality level configuration (Qo s 0, Qo s 1), support super long text configuration, convenient better access network service operators (server address, three elements, subscription and release address support up to 128 characters configuration).
Page 26
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Configure the corresponding subscription release address, and use the platform to online debug and send data for communication testing: Aliyun It is supported to use the "three elements" of Aliyun to directly connect to the server and obtain the "three elements" needed to...
Page 28
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Ali Cloud M QTT Platform communication test: Baidu Cloud Engine Support to use the "three elements" of Baidu Cloud to directly connect to the server and obtain the "three elements" needed to...
Page 30
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Enable the rule engine, device restart (re-subscribe, publish), and communication test as shown below: OneNET Support using One NET "three elements" to directly connect to the server to obtain the "three elements" required to connect to...
Page 31
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Server address: 183.230.40.39:6002 (query information acquisition, platform adjustment may lead to connect) Device name: Device ID filled in the OneNET; User name: fill in the product ID of the OneNET; Password: fill in the device name (M QTTS), fill in the user custom key (M QTT for multi-protocol access);...
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.5 Serial port parameters Note: Customers are advised to use default serial port parameters, not to modify!!! Serial port parameters include: port rate, data bit, check bit, and stop bit. Baud rate: Serial communication rate, configured with 1200,2400,4800,9600,14400,19200,38400,57600,115200 (default), 230400bps.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual The actual time of restart is the network reconnection period times the number of reconnections. No special requirements suggest using the factory default parameters. 3.6.2 Timeout restart function Support the timeout restart function (default: 300 seconds), which is mainly used to ensure the long-term stable operation of the device.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual placed in the cache area. If the serial port receiving cache is 1024 bytes, greater than 1024 bytes will cover the earliest accepted data. After the network connection is successful, select the serial port cache or send the cache through the network.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.7 Modbus gateway 3.7.1 Simple protocol transformation mode Open: transfer the Modbus RTU protocol with the Modbus TCP protocol, and discard the non-Modbus data (RTU / TCP) without conversion. Close: No protocol conversion but verify Modbus data, discard non-Modbus data (RTU / TCP).
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.7.2 Multihost mode Multiple host mode can handle up to 6 Modbus TCP hosts. When multiple Modbus hosts are accessed at the same time, the Modbus gateway will occupy bus scheduling (RS-485 bus can only process one request at a time, while multiple host mode will sort according to TCP request, and other links wait), so as to solve the problem of bus clashes (currently only support 6 host connections), only supports working in TCP server mode, slave only in the serial port, otherwise it cannot work normally.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Modbus Poll and Modbus Slave software debugging: Software configuration and register configuration refer to "simple protocol conversion", and open multiple Modbus Poll software simultaneously (3 channels, for example, up to 6 channels).
Page 41
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual request the same data without the RTU device register status, and directly return to storage area cache data, greatly improve the gateway more host request processing capacity, but also shorten the time consumed by the entire request process. The user can customize the storage area instruction polling interval and the instruction storage time according to the requirements.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual 3.7.4 Configurable gateway The gateway, based on the pre-configured M ODBUS instructions, automatically polls the RTU device register (only supports the configuration of M ODBUS reading instructions), and the non-storage instructions will directly operate the RTU device.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Upper computer computer / web page configuration: 3.7.5 Automatic upload In client mode (TCP client, UDP client, M QTT client, H TTP client), the gateway will automatically poll the instructions in the storage list and upload them to the server. You can select the feedback format (Modbus RTU format or Modbus TCP format) and the instruction polling interval (0-65535ms) according to the requirements.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual TCP Client Presentation (in Modbus TCP format): 3.8 Introduction of basic functions 3.8.1 Web page configuration The built-in web server is convenient for users to set and query parameters through the web page.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Web page pop up the main interface, you can query and set the relevant parameters; Click Submit to save the configuration parameters; The progress bar indicates the configuration schedule, do not refresh the page again after the configuration is completed (refresh the page and enter the configuration mode again, you can enter the communication mode by restart the device or submit again).
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual set". ZigBee AT Instruction configuration: related parameter query modification of equipment, can be completed through AT instruction configuration. For specific AT instructions, please refer to the "E180-ZG120A-AT instruction set". AT instruction mode is a special mode in transmission mode. If the device in transmission mode has no distribution network, it will enter AT command mode after re-power.
Page 49
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Step 3: In the pop-up "Device Network Upgrade Assistant" dialog box, click "Search device" (the computer and the device should be in the same network segment), search for the device and click "Stop Search";...
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual auxiliary materials shall be prepared.details are as follows: E180-DTU(Z20-ETH) parvicostellae computer DC 12V Power supply adapter antenna 4.2 Equipment wiring Connect the E180-DTU (Z20-ETH) device to the antenna, the power supply, and connect the network cable to the computer simultaneously.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual subnet mask is 255.255.255.0, and the configured default gateway is 192.168.3.1. 4.3.2 Default parameters of Radio Ethernet project Default parameter IP address 192.168.3.7 Default local port 8887 subnet mask 255.255.255.0 default gateway 192.168.3.1...
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (3) Wait for the computer to connect the device. After the connection, the LINK light of the device is always on, indicating that the radio station has been connected to the network;...
Page 54
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (2) Enter the configuration page, do not modify, the coordinator radio network parameters remain by default. (3)The progress bar displays to 100%, indicating a successful parameter configuration submission. Router device network parameter configuration ...
Page 55
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (2) Go to the configuration page, change the device IP to 192.168.3.10, keep the remaining parameters by default, click Submit. Note: After the device IP is modified, the configuration page entrance will change the modified IP address, which is 192.168.3.10.
Page 56
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Network parameter configuration of the terminal equipment (1) Configure the terminal device network, connect our device to the computer, open the browser, type 192.168.3.7 in the website input box, click Enter, come to the login page, enter the user name: admin, password: admin, and click log in.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Note: After the device IP is modified, the configuration page entrance will change the modified IP address, which is 192.168.3.17. If the device IP is forgotten, we can restore the factory setting of network parameters through the Reload button.
Page 58
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Combined with the upper computer software to quickly and simply build a ZigBee network, the specific steps are as follows: (1) Connect radio 1 to the computer, open the upper computer software "ZigBee3.0 upper computer", select the device type, input the IP address, input the port number, click the connect server, and see the right window.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (3)Click "Start distribution network" to coordinate and establish an open network. The coordinator will open a new network for 180 seconds, LINK lights flicker at 1Hz, and the router and terminal can join the network within this time.
Page 60
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (2) Click "Start distribution network", and the LINK light of DTU equipment flashes quickly at 10Hz. At this time, ensure that the coordinator equipment is also in the distribution network state (see Section 5.1). Wait for a while, the LINK light of DTU becomes long light or 1Hz flashing (router mode).
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual list", to see the MAC address and short address of the network access device. By this method, several routers and terminal nodes can be added in a coordinator network. matters need attention: If the router or terminal node that has already been added to the network needs to switch to the network established by the other coordinator, it needs to carry out the "exit the network"...
Page 62
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Coordinator equipment, and the router equipment (2) Click "Query" to query the configuration parameters of the equipment. The short address of the transmission target is 0xFFFF, and the target port 0 xFF (i. e. 255) means that the device is broadcast by default in the transmission mode.
Page 63
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (4) Enter the transmission mode. After clicking "Enter transmission mode" on the upper computer interface of the coordinator device and the router device respectively, both can enter the transmission mode. One side serial port input any data, the other side serial port can completely output the same data.
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Coordinator equipment, and the router equipment (6) Enter "test test test" in the data sending window of the network debugging assistant, and click Send, you can see the data sending and receiving situation of the two devices.
Page 65
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (1) Click "Enter the Parameter Configuration" in the upper computer interface, and the coordinator devices and router devices will return to the configuration mode. When the coordinator returns to configuration mode. Coordinator equipment, and the router equipment (2) The coordinator will add several network access nodes, set a new device as "terminal node", click "write parameters"...
Page 66
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (4) On the upper computer interface of the coordinator equipment, click "Refresh the equipment list" to see the new equipment enter the network, and click "Equipment Temporary Storage Table", which also has the new equipment information.
Page 67
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual To ensure that the binding setting is valid, you can click "View regular connection" to confirm whether the binding is successful. As shown in the figure, there is a module where cluster ID is 08 FC, Source SN is the terminal device, and Target SN is the binding record of the router device, indicating that the binding setting is successful.
Page 68
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual (7) In the upper computer interface of the router device, set the target port to "00" (the target port to 0x00 is multicast mode), then set the target short address to "01 00" (the target short address is multicast address, here to group 0x0001 group), click Set, and the router sends a transmission message to group 0x0001 multicast.
Page 69
Chengdu Ebyte Electronic Technology Co.,Ltd. E180-DTU(Z20-ETH) User Manual Terminal equipment, the router equipment (9) Enter "test test test" in the data sending window of the network debugging assistant, and click Send, you can see the data sending and receiving situation of the two devices.