background image

Chengdu Ebyte Electronic Technology Co.,Ltd

E821-RTU

(0400-ETH)User Manual

E821-RTU(0400-ETH) User Manual

Summary of Contents for E821-RTU

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd E821 RTU 0400 ETH User Manual E821 RTU 0400 ETH User Manual ...

Page 2: ...re 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 c...

Page 3: ...Chengdu Ebyte Electronic Technology Co Ltd E821 RTU 0400 ETH User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 2 2 Important Statement 28 Reversion History 28 About Us 28 ...

Page 4: ...mmands 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 o...

Page 5: ...fore 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...

Page 6: ...r 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 o...

Page 7: ...0400 ETH User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 6 6 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 ...

Page 8: ...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 ...

Page 9: ...ronic Technology Co Ltd 8 8 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 ...

Page 10: ...iption Network parameters Ethernet Specification RJ45 10 100Mbps Network Protocol IP TCP UDP ARP ICMP IPV4 IP acquisition method Static IP DHCP DNS Available Hardware parameters Size H W D 108 75 37mm Weight 230 8 5g Working temperature 20 70 Storage temperature 40 85 Working humidity 5 95 Storage humidity 1 95 Working voltage 8V 28V 8V 143mA 12V 98mA 24V 52mA 28V 45mA Current acquisition range 0m...

Page 11: ...Chengdu Ebyte Electronic Technology Co Ltd E821 RTU 0400 ETH User Manual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 10 10 2 2 Size and Interface description ...

Page 12: ...log signal input channel 1 positive Analog signal input channel used in combination with the negative to collect analog data 11 AI1 Analog signal input channel 1 negative Analog signal input channel used in combination with the positive to collect analog data 12 AI2 Analog signal input channel 2 positive Analog signal input channel used in combination with the negative to collect analog data 13 AI...

Page 13: ...LED is long bright after the Ethernet port TCP UDP connection is successful After power on the green LED is lit indicating that it is initializing 3 DATA RST Data indication reset indication Blue and green two color LED blue LED flashes when data is transmitted and received green LED flashes 3 times after reset Note It is recommended to connect the case to the ground 2 3 Reset button description L...

Page 14: ...e 40084 0x0053 1 Set Analog range Read Write 0 1 01 Reserve 40098 0x0061 3 Set MAC address Read 0x03 0x06 0x10 40104 0x0067 1 Ethernet restart Read Write 40108 0x006B 7 WAN port IP info Read Write Static 192 168 4 101 255 255 255 0 192 168 4 1 40122 0x0079 4 Set DNS info Read Write 61 139 2 69 192 168 4 1 40130 0x0081 4 Set Network protocol parameters Read Write TCPS 192 168 4 10 8886 40146 0x0091...

Page 15: ...e 0 1 Close 40356 0x0163 1 Set timeout restart time Read Write 60 65535 3600 40358 0x0165 4 SN code Read 3 2 Modbus address table Modbus address table 1 default 1 2 2 3 3 245 245 246 246 247 247 3 3 RS485 serial port baud rate code value table Baud rate code value table 0 1200 1 2400 2 4800 3 default 9600 4 19200 5 38400 6 57600 7 115200 3 4 RS485 serial port parity bit value table Parity bit valu...

Page 16: ...ual Copyright 2012 2019 Chengdu Ebyte Electronic Technology Co Ltd 15 15 3 5 Configure parameters by setting software Select the Parameter Setting column to read parameters and write parameters For specific functions please refer to the product function description below ...

Page 17: ...tocol but the data address is different from that of the device the data will be discarded In the slave mode the device can directly connect to the device in master mode through the 485 bus When the slave is not connected to the network the network can also access the data of the slave through the master 4 1 2 Master mode In slave mode register value is 0x00 the data sent to the device by network ...

Page 18: ...analog data input Send 01 03 00 13 00 01 75 CF Device ModBus address Function code Analog data start address Read the number of addresses CRC check code Receive 01 03 02 26 DA 23 BF Device ModBus address Function code Number of bytes returned Analog data input value CRC check code Modbus TCP protocol read analog data input Send 00 01 00 00 00 06 01 03 00 13 00 01 Transmiss ion identifier Protocol ...

Page 19: ...he number of addresses Receive 00 01 00 00 00 05 01 04 02 26 DA Transmiss ion identifier Protocol identifier Length Unit identifier Functio n code Number of bytes returned Analog data input value 4 2 2 Analog AI acquisition range setting When the value of register 0x40084 0x0053 is 0 the analog input range is 0 20mA When the value of register 0x40084 0x0053 is 1 the analog input range is 4 20mA No...

Page 20: ...check code Modbus TCP protocol read register Send 00 01 00 00 00 06 01 03 01 65 00 04 Transmissio n identifier Protocol identifier Length Unit identifier Functio n code Address Read number Receive 00 01 00 00 00 0B 01 03 08 19 05 21 14 00 13 55 50 Transmissio n identifier Protocol identifier Length Unit identifier Functio n code Number of bytes Read value Note 19 05 21 14 00 13 55 50 is the device...

Page 21: ...e value CRC check code Receive 01 10 00 6B 00 07 F0 17 Device ModBus address Function code Address Register Length CRC check code Modbus TCP protocol write register Se nd 00 01 00 00 00 15 01 10 00 6B 00 07 0E 00 00 C0 A8 04 65 FF FF FF 00 C0 A8 04 01 Transmis sion identifier Protocol identifier Length Unit identifier Function code Address Register Length Number of bytes Write value Recei ve 00 01...

Page 22: ...ngth Unit identifier Function code Address Register length Note 3D 8B 02 45 is preferred DNS server address C0 A8 04 02 is Alternate DNS server address 4 3 6 Set network protocol parameters Modbus RTU protocol write DNS register Send 01 10 00 81 00 04 08 00 00 C0 A8 04 0A 22 B6 81 3B Device ModBus address Function code Address Register length Number of bytes Write value CRC check code Receive 01 1...

Page 23: ...n code Address Write value Receive 00 01 00 00 00 06 01 06 00 91 00 00 Transmission identifier Protocol identifier Length Unit identifier Function code Address Write value Note 00 00 means disable the registration package mechanism 00 01 means that only one user defined registration package is sent when the first link to the server 00 02 means that only a registration packet of 6 byte MAC is sent ...

Page 24: ... 67 AA 00 2A 00 30 00 00 00 00 00 00 00 00 00 00 00 00 11 00 22 00 33 00 44 00 12 33 23 11 10 1D 1C BB AA indicates the contents of the registration package For example send the registration package content ebyte the write value is 01 05 65 62 79 74 65 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4 3 9 Set heartbeat package mode Modbus RT...

Page 25: ... 31 01 10 00 E9 00 15 Transmission identifier Protocol identifier Length Unit identifier Function code Address Register length Note 00 is HEX 01 is ASCII 28 is the content length of the heartbeat packet 41 42 43 68 23 67 AA 00 2A 00 30 00 00 00 00 00 00 00 00 00 00 00 00 11 00 22 00 33 00 44 00 12 33 23 11 10 1D 1C 1B 1A is heartbeat package content For example send the heartbeat package content e...

Page 26: ... is 2 65535 4 3 12 Clear the cache Modbus RTU protocol write register Send 01 06 01 49 00 00 59 E0 Device ModBus address Function code Address Write value CRC check code Receive 01 06 01 49 00 00 59 E0 Device ModBus address Function code Address Write value CRC check code Modbus TCP protocol write register Send 00 01 00 00 00 06 01 06 01 49 00 00 Transmission identifier Protocol identifier Length ...

Page 27: ...ink the detection message will be started 00 00 indicates that the keep alive function is turned off with a value of 2 7200 seconds 02 D1 time interval between the previous detection message and the next detection message is a value of 2 7200 seconds 00 31 is the maximum number of detection failures When the number of sniffing failures reaches this number the TCP connection will be disconnected wi...

Page 28: ...gth Unit identifier Function code Address Write value Receive 00 01 00 00 00 06 01 06 01 61 00 01 Transmission identifier Protocol identifier Length Unit identifier Function code Address Write value Note 00 00 mens cloud transmission function is off 00 01 means on 4 3 16 Set timeout restart time Modbus RTU protocol write register Send 01 06 01 63 FF A0 39 A0 Device ModBus address Function code Add...

Page 29: ...pret and modify this manual belong to Ebyte This manual will be updated based on the upgrade of firmware and hardware please refer to the latest version Please refer to our website for new product information Reversion History Version Edit date Description Issued by 1 0 Initial version 1 1 2019 8 15 Format revision lyl About Us Technical support support cdebyte com Documents and RF Setting downloa...

Reviews: