background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E180-DTU(Z20-ETH) User Manual

Copyright ©2012–2023,Chengdu Ebyte Electronic Technology

Co.,Ltd.

Technology Co., LTD

60

(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). Click "Read parameters" to view the network access information of the
device. At this time, the network status is "connect". If the LINK light is out and the network state is "not have", the module
network fails, check whether the coordinator device is in the distribution state and the distance between the coordinator device
and the router / terminal device is within a reasonable range.

(3) View the router / terminal device information, including the MAC address and the short address. Click the "Device staging
list" on the computer interface of the coordinator device to view the 9 byte SN number of the access device (Note: there may be
multiple SN numbers in a module, each SN number represents one peripheral or function, the more the module function, the
more SN number), SN number can be used to control the device and the device binding transtransmission target.

(4) On the upper computer interface of the coordinator device, click "Device Control Instruction" and click "Refresh the device

Summary of Contents for E180-DTU(Z20-ETH)

Page 1: ...E180 DTU Z20 ETH ...

Page 2: ... 14 3 3 3 Intranet access port 14 3 4 Network working mode 15 3 4 1 TCP server mode 15 3 4 2 TCP client mode 15 3 4 3 The UDP Server mode 16 3 4 4 The UDP client mode 16 3 4 5 HTTP client mode 17 3 4 6 MQTT client mode 23 3 5 Serial port parameters 32 3 6 Advanced Parameters 32 3 6 1 Network disconnection and reconnection function 32 3 6 2 Timeout restart function 33 3 6 3 Configuration tool softw...

Page 3: ...48 3 8 5 Remote upgrade 48 4 Quick Start 50 4 1 Use preparation 50 4 2 Equipment wiring 51 4 3 Ethernet Settings 51 4 3 1 Network test environment 51 4 3 2 Default parameters of Radio Ethernet 52 4 3 3 Network connection test 52 4 4 ZigBee Build a network quickly 53 4 4 1 Preparation of the work 53 4 4 2 Quickly build a ZigBee network 57 4 4 3 Quick addition to a ZigBee network 59 4 4 4 Data trans...

Page 4: ...rty 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 The information contained herein is provided as is and EBYTE assumes no liability for the use of the information No warranty either express or implied is given including but not limited with respect to the accuracy correctness r...

Page 5: ...uction three configuration ways Server mode supports multichannel Socket connections Support for multiple baud rates Support DHCP function after opening DHCP the IP address of the device will be allocated by the router which may cause the inability to determine the IP address is inaccessible generally recommended to use static IP Support DNS domain name resolution can customize the domain name res...

Page 6: ...to set the PANID and channel but only need to trigger the network addition within the window time of the coordinator open network Automatic channel and PANID The coordinator automatically creates a network in the optimal channel and automatically assigns the PANID avoiding duplication with other coordinators Automatic MAC address the coordinator can obtain the node MAC address and short address in...

Page 7: ...erfect shielding design good electromagnetic compatibility strong anti interference ability Power reverse connection protection adoptive protection antenna surge protection and other multiple protection functions greatly increase the reliability of the station Powerful software functions all parameters can be programmed through the setting such as power address ID etc Built in watchdog and precise...

Page 8: ...od Web page parameter configuration tool and AT instruction IP address 192 168 3 7 Customizable User name The admin customizable Password The admin customizable Local port 8887 Customizable Subnet mask 255 255 255 0 Customizable Gateway 192 168 3 1 Customizable Serial cache 1024 Byte Packaging mechanism 512 Byte Serial port port rate 1200 230400 bps default 115200 Note default parameters modificat...

Page 9: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 9 2 2 Size and pin definition ...

Page 10: ... is connected to the device or the PC 3 PWR power light 4 LINK Establish connection indicator green and on for 3 seconds at 4 hz Network is not connected go off Network connected Chang liang 5 DATA Serial signal indicator blue and green indicator flashing at 4 hz for 3 seconds The blue indicator light flashes when there is data input The green indicator light flashes when there is a data output 6 ...

Page 11: ...gBee network consists of one Coordinator along with multiple Router and multiple End_Device 3 2 1 1 Coordinator It has the function of establishing and managing the network controlling whether other nodes are allowed to join the network store the network information and has all the functions of the routing equipment Its main tasks are to manage the network record the information of child nodes and...

Page 12: ...ransmission method E180 DTU Z20 ETH sends three kinds of data transmission methods including unicast broadcast and multicast 3 2 2 1 Broadcast mode 1 In the broadcast mode the transmitting device sends the data received by the serial port to each node in the network including itself and all the devices in the network will receive the data 3 2 2 2 Hoost mode 2 In the multicast mode the group number...

Page 13: ...tion tool 3 3 1 IP address type The IP address is the identity identification of modules in the LAN and it is unique in the LAN Therefore it cannot be repeated with other devices of the same LAN The IP address of the module has two acquisition methods static IP and DHCP Static IP Static IP needs to be set manually by the user In the process of setting pay attention to write IP subnet mask and gate...

Page 14: ...e 3 3 2 Domain name Resolution DNS Domain name resolution transforms a domain name into a network recognized IP address via the Domain name Resolution DNS server Serial port server domain name resolution DNS server address support user customization in the domain name server exception by custom domain name resolution server implementation domain name resolution device in the domain name resolution...

Page 15: ...ient within the LAN When the Modbus gateway function is turned off the device will send the data received by the serial port to all client devices connected to the device supporting up to 6 clients After the Modbus gateway function is enabled non Modbus data will be cleared without forwarding 3 4 2 TCP client mode TCP Client The TCP client When the device is working it will actively initiate a con...

Page 16: ...icate with the device and the frequency is high and TCP Server cannot meet the conditions Using UDP Server requires the remote UDP device to send the data first otherwise the data cannot be sent normally Note In UDP mode the network should send data to the device less than 512 Bit per package otherwise it will cause data loss 3 4 4 The UDP client mode UDP Client A non connected transmission protoc...

Page 17: ...5 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 3 4 5 HTTP client mode This mode can realize the function of HTTP group package provides GET and POST mode customers can configure URL Header and other parameters sent by equipment serial server realize the rapid communication ...

Page 18: ...3 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 18 1 GET Test the device HTTP GET request in HTTP mode using OneNET multi protocol access as shown in the figure below 1 Return data configuration with header header Data return test 2 Return data configuration without headheader ...

Page 19: ...al Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 19 Data return test 2 POST Test the device HTTP POST request in H TTP mode using One NET multi protocol access as shown in the figure below 1 Return data configuration with header header ...

Page 20: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 20 ...

Page 21: ...byte Electronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 21 Data return test 2 Return data configuration without headheader ...

Page 22: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 22 Data return test ...

Page 23: ...ver 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 24: ...023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 24 1 Standard for MQTT3 1 1 Here standard MQTT3 1 1 connection Take Tencent s standard M QTT 3 server as an example the three elements described in the standard can be obtained from Tencent server as shown in the figure below ...

Page 25: ...ronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 25 The parameter configuration upper computer and webpage is shown in the figure below ...

Page 26: ...on testing 2 Aliyun It is supported to use the three elements of Aliyun to directly connect to the server and obtain the three elements needed to connect to Aliyun as shown in the figure Configure Topic for communication testing Select the corresponding product Customize Topic under the Topic class list please refer to Aliyun documentation for detailed description click Define Topic Class configur...

Page 27: ...gy Co Ltd Technology Co LTD 27 Configure the device connection parameters as shown in the figure below ProductKey a1GlhuTU1yN DeviceName DEV04 DeviceSecret xxxxxxxxxxxxxxxxxxxxxxxxxx Ali Cloud Server Address ProductKey iot as mqtt cn shanghai aliyuncs com 1883 Subscribe to and publish of the Topic a1GlhuTU1yN DEV 04 user 1234 ...

Page 28: ... Ltd Technology Co LTD 28 Ali Cloud M QTT Platform communication test 3 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 connect to Baidu Cloud as shown in the figure Configure the device connection parameters as shown in the figure below ...

Page 29: ...engdu Ebyte Electronic Technology Co Ltd Technology Co LTD 29 Subscription and publishing need to establish a rule engine to realize the return of data First you need to establish a message template as shown in the figure below Create the rules engine for data return as shown in the figure below ...

Page 30: ...gy Co LTD 30 Enable the rule engine device restart re subscribe publish and communication test as shown below 4 OneNET Support using One NET three elements to directly connect to the server to obtain the three elements required to connect to One NET as shown in the figure Configure the device connection parameters as shown in the figure below ...

Page 31: ...tion 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 OneNET Support the automatic generation of To pic with subscription release attributes only need to subscribe to release the same address to realize the data back co...

Page 32: ... keep the serial port connection device to ensure the normal communication Stop bits Set ranges 1 2 3 6 Advanced Parameters 3 6 1 Network disconnection and reconnection function In the client mode the device tries to actively connect the server at the specified time after the network connection If the request times out and the set number of reconnections is not reconnected the device will restart ...

Page 33: ...iple upper computer in the same LAN environment multi network card industrial control machine should be temporarily disabled without using the network card otherwise the upper computer will be abnormal the same equipment displayed for many times the equipment can not be found The upper computer blocks the wireless network card so it must be connected to the network cable to use the upper computer ...

Page 34: ...ing 120s Heartbeat packet sending mode The default is to close the heartbeat packet mode Serial heartbeat package The device sends the heartbeat content to the serial bus at a set heartbeat time interval Netport heartbeat package The device sends the heartbeat content to the netport bus according to the set heartbeat time interval Custom heartbeat package content up to 40 bytes ASCII data 20 bytes...

Page 35: ...tion 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 Simple protocol conversion can work in any mode TCP client TCP server UDP client UDP server MQTT client HTTP client whatever mode it works in Upper computer computer web page confi...

Page 36: ...ctronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 36 Modbus Poll and Modbus Slave software debugging The Software Connection Settings ...

Page 37: ...nual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 37 Software register read and simulation configuration The Poll menu selects Setup Read Write Definition Slave The menu selects the Se tup Slave Definition Communication presentation ...

Page 38: ... 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 It is recommended t...

Page 39: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 39 Upper computer computer web page configuration ...

Page 40: ...l 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 3 7 3 The storage type gateway Storage gateway not only to the bus data arbitration will also store for repeated read instructions when different host ...

Page 41: ... the response speed of the network side characteristic 1 The gateway has a 5K cache for storing instructions and return results reading 10 holding registers for example can store 189 instructions and return results 2 RTU response timeout automatically empty the cache to ensure the real time and authenticity of data 3 Query interval can be customized 0 65535ms 4 The gateway will poll the RTU device...

Page 42: ...uctions 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 Often read instructions can be stored in the gateway in advance shortening the response time query configured instructions Due to the above features the wireless transmission side of the configurable gateway can on...

Page 43: ...DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 43 Instructions store instructions add instruction error and format error cannot be added Instructions struction instruction instructions delete ...

Page 44: ...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 Instruction pre storage refer to configurable gateway instruction storage instructions automatic u...

Page 45: ...Chengdu Ebyte Electronic Technology Co Ltd E180 DTU Z20 ETH User Manual Copyright 2012 2023 Chengdu Ebyte Electronic Technology Co Ltd Technology Co LTD 45 TCP Client Presentation in Modbus RTU format ...

Page 46: ... the web page The ports of the Web server can be customized 2 65535 the default 80 Operation mode Microsoft Edge version 94 0 992 50 as an example it is recommended to use Google kernel browser IE kernel browser is not supported Open the browser address bar input the device IP address default 192 168 3 7 IP address and computer need to maintain the same network segment forget the local IP can be t...

Page 47: ...gain 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 3 8 2 Restore the factory Settings Long press the R e load button of the device until all LED lights are on to release the button 3 8 3 AT instruction configuration Ethernet parameter AT instruction configuration device related...

Page 48: ...ve port as 0 using random native port in server mode otherwise the client cannot establish the connection correctly Using a random port connection to quickly reestablish the connection when the device accidentally breaks the server prevents the server from rejecting the connection for four incomplete waves suggesting a random port in client mode The device automatically enables random ports when c...

Page 49: ... Technology Co Ltd Technology Co LTD 49 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 Step 4 Click Select firmware select the corresponding firmware and then click Open ...

Page 50: ...onic Technology Co Ltd Technology Co LTD 50 Step 5 Select the device to be upgraded click Upgrade and the progress bar starts to change and wait for the upgrade to complete 4 Quick Start 4 1 Use preparation Before using E180 DTU Z20 ETH hereinafter referred to as equipment network cable computer and other related ...

Page 51: ...rocess of the server search failure and can not open the web page and other related problems it is suggested to check the relevant Settings of the computer first 1 Turn off the computer firewall anti virus software 2 Configure the network card connected to the device 3 In this case for the equipment directly connected to the computer test the computer needs to configure the computer as static IP t...

Page 52: ...Server Serial port port rate 115200 modifications not recommended Serial port parameters 8 None 1 modifications not recommended 4 3 3 Network connection test After the above operation steps the network connection can be realized by following the factory default parameters and performing the following operations The operation steps are performed as follows 1 Open the test TCP IP debugging assistant...

Page 53: ...3 0 host our station must be in TCP server TCP Server mode otherwise the station cannot connect to the host 4 4 1 Preparation of the work Before establishing the ZigBee network we need to configure the network parameters of the radio station We prepare 2 3 sets of equipment here choose 3 E180 DTU Z20 ETH radio stations users can also choose to use 1 E180 DTU Z20 ETH radio station the rest choose o...

Page 54: ...dinator radio network parameters remain by default 3 The progress bar displays to 100 indicating a successful parameter configuration submission Router device network parameter configuration 1 Configure the router 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 c...

Page 55: ...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 If the device IP is forgotten we can restore the factory setting of network parameters through the Reload button 3 The progress bar displays to 100 indicating a successful parameter configuration subm...

Page 56: ...uration 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 2 Go to the configuration page change the device IP to 192 168 3 17 keep the remaining parameters by default click Submit ...

Page 57: ...fter 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 3 The progress bar displays to 100 indicating a successful parameter configuration submission 4 4 2 Quickly build a ZigBee network ...

Page 58: ...ct server and see the right window 2 the module factory is HEX instruction configuration mode E180 DTU if in AT command mode need to switch to HEX instruction mode click read parameter message box prompt read parameter success the main network parameters include long address station type default coordinator if not please set to coordinator network status is not have if it is not necessary to exit ...

Page 59: ... 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 4 4 3 Quick addition to a ZigBee network 1 Connect radio 2 to the computer open the upper computer software Yibai ZigBee3 0 upper computer select the device type input the IP address input the port number click the connection server you can see the right...

Page 60: ...state is not have the module network fails check whether the coordinator device is in the distribution state and the distance between the coordinator device and the router terminal device is within a reasonable range 3 View the router terminal device information including the MAC address and the short address Click the Device staging list on the computer interface of the coordinator device to view...

Page 61: ...lished by the other coordinator it needs to carry out the exit the network or restore the factory operation and then set it up again according to the process of 4 4 3 Similarly if the router that has joined the network needs to be changed to a terminal node or the terminal node that has joined the network is changed to a router the exit the network or restore the factory operation is also required...

Page 62: ...and the target port 0 xFF i e 255 means that the device is broadcast by default in the transmission mode 3 Then the router equipment is set to transmit the data to the coordinator equipment in the form of on demand and the coordinator equipment adopts the broadcast mode In the upper computer interface of the router device set the target short address to 00 00 i e 0x00 00 the target port is set to ...

Page 63: ...erial port input any data the other side serial port can completely output the same data Coordinator equipment and the router equipment After entering the transmission mode close the host computer configuration software and open the serial port assistant If either party enters any data the other party will output the same data The party sending the data returns OK for sending success and FAIL or E...

Page 64: ...ving situation of the two devices Coordinator equipment and the router equipment 4 4 5 Data transmission between network access nodes The coordinator of ZigBee 3 0 data transmission module needs to undertake the network management function If it works in the transmission mode it may miss the important messages involving network changes Therefore we suggest that the coordinator work in the HEX inst...

Page 65: ...en 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 and restart and add the terminal node device to the coordinator device network see Section 4 4 3 3 The new node device is successfully configured to enter the network Click Read parameters to...

Page 66: ... interface the terminal node device is set to bind the router device so that the terminal node device can transmit the data to the router device In the upper computer interface of the coordinator device click the network instruction menu fill the short address of the terminal device in the target short address fill in source target SN router SN target virtual SN and cluster ID fill in 08 FC custom...

Page 67: ...C Source SN is the terminal device and Target SN is the binding record of the router device indicating that the binding setting is successful 6 In the upper computer interface of the terminal device set the target short address to FEFF 0 xFFFE is invalid short address set the target short address to invalid short address the device will automatically default the transmission target to binding addr...

Page 68: ...cast address here to group 0x0001 group click Set and the router sends a transmission message to group 0x0001 multicast Then click Enter Transmission Mode Through the above configuration the router device and the terminal device can transmit data to each other and the coordinator no longer receives the data transmitted by them The coordinator can add more devices and set them up to communicate wit...

Page 69: ...te Electronic Technology Co Ltd Technology Co LTD 69 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 Terminal equipment the router equipment ...

Page 70: ... Description Issued by 1 0 2023 5 30 The initial version Bin About Us Technical support support cdebyte com Documents and RF Setting download link https www cdebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte com Phone 86 028 61543675 Web https www cdebyte com Address B5 Mould Park 199 Xiqu Ave High tech District Sichuan China ...

Reviews: