background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E78-470LN22S User Manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

16

This function of the host mode can realize the device cascading function and the data transmission between the 485 bus
and the network.

4.2 Basic functions of IO

4.2.1 Digital DO output

Read digital DO output
Function code: 01, read coil status
Address range: 00017(0x0010)~00022(0x0015)
Description: The equipment relay is passively output. When the coil is not energized, the relay NC port and COM port
are normally closed, and the NO port and COM port are normally open, and the value is 0; when the coil is energized, the
phenomenon is opposite, the relay NC port and COM port are disconnected Open, NO port and COM port are closed, the
value is 1. Query the relay status by command.
example:
Read the 6-channel switching output status, assuming the return value is 03, corresponding to the binary bit 0000 0011,
the lower six bits represent the switching output status, which are DO6, DO5, DO4, DO3, DO2, DO1 in sequence.
Modbus RTU protocol to read digital output:

send

01

01

00 10

00 06

BD CD

Device ModBus address

function
code

Switch start address

Number of read
switches

CRC

check

code

receive

01

01

01

03

11 89

Summary of Contents for E831-RTU(6060-4G)

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd E831 RTU 6060 4G User Manual 1...

Page 2: ...MPUTER 14 4 PRODUCT FEATURES 15 4 1 WORKING MODE 15 4 1 1 Slave Mode 15 4 1 2 Host Mode 15 4 2 BASIC FUNCTIONS OF IO 16 4 2 1 Digital DO output 16 4 2 2 Reading digital DI input 18 4 3 IO FEATURES 19...

Page 3: ...sclosure 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 li...

Page 4: ...des master mode slave mode the slave can cascade multiple devices through RS485 Support Reload light touch button long press for 5s Modbus device address RS485 serial port baud rate and parity bit are...

Page 5: ...ate according to the instructions They will have a systematic understanding of the module products Users can also choose according to their needs chapter to read Refer to subsequent chapters for speci...

Page 6: ...ating voltage is DC 8 28V 1 2 1 RS485 bus control Select the corresponding model and corresponding port and click Search to search for the device After the device is discovered click Stop At this time...

Page 7: ...IO product that supports 6 channel digital input default dry contact and 6 channel relay output Support Modbus TCP RTU protocol The product is highly usable and users can easily and quickly integrate...

Page 8: ...0 85 Working humidity 5 95 Storage humidity 1 95 Operating Voltage 8V 28V Data interface RS485 1200 115200bps Software parameters Network Type 4G Configuration command Modbus TCP RTU Network protocol...

Page 9: ...round screw connect with the earth connect with the earth 8 Reload reset button Long press for 5s works 9 SIM card slot SIM card slot Insert SIM card connect to the Internet 10 ANT Antenna interface G...

Page 10: ...ch input channel 5 Form dry contact with DIG 16 DIG Switch input ground Can be paired with DI 5 17 DI 6 Digital input channel 6 Form dry contact with DIG 18 DIG Switch input ground Can be paired with...

Page 11: ...cuited 7 DI 5 Switch input channel 5 indication Green LED lights up when DI 5 DIG are short circuited 8 DI 6 Digital input channel 6 indication Green LED lights up when DI 6 DIG are short circuited 9...

Page 12: ...Switch input read only 10019 0x0012 1 DI3 Switch input read only 10020 0x0013 1 DI4 Switch input read only 10021 0x0014 1 DI5 Switch input read only 10022 0x0015 1 DI6 Switch input read only reserve...

Page 13: ...type UDP TCP read wri te 0 1 40124 0x007B 22 custom registration package read wri te 40146 0x0091 1 Registration package mechanism read wri te 0 4 40147 0x0092 22 heartbeat packet read wri te 40169 0x...

Page 14: ...6 57600 7 115200 3 4 RS485 serial port check digit value table Check Digit Value Table 0 default no verification 1 even parity 2 Odd parity 3 5 Configure parameters through the host computer Select th...

Page 15: ...is not the device address the data at the sending end will be discarded In the slave mode the device can directly connect to the device in the master mode through the 485 bus so that when the slave i...

Page 16: ...ort and COM port are normally closed and the NO port and COM port are normally open and the value is 0 when the coil is energized the phenomenon is opposite the relay NC port and COM port are disconne...

Page 17: ...onnected the coil is energized the relay NC port and COM port are disconnected and the NO port and COM port are closed Control relay state by command example Function code 0x05 Write DO2 digital outpu...

Page 18: ...ceive 00 01 00 00 00 06 01 0F 00 11 00 02 Transport ID Protocol ID length Unit ID function code switch address Number of write switches 4 2 2 Reading digital DI input Function code 02 read switch valu...

Page 19: ...e digital input changes from the open state to the closed state and maintains the closing time of more than 10ms and then changes to the open state to complete one pulse count Read pulse count value F...

Page 20: ...ode Modbus TCP protocol clear pulse count value Send 00 01 00 00 00 06 01 06 00 40 00 0a Transport ID Protocol ID length Unit ID Function code address write value Receive 00 01 00 00 00 06 01 06 00 40...

Page 21: ...itch restart output state setting is 40085 0x0054 and its value range is 0x00 0x40 When this register value is 0x40 After power off and restart the last switch output state is maintained when the valu...

Page 22: ...0100 0x0063 40101 0x0064 40121 0x0078 40122 0x0079 40123 0x007A IP or domain name length IP or domain name value server port TCP protocol 00 0D 31 31 36 2E 36 32 2E 34 32 2E 31 39 32 00 00 00 00 00 00...

Page 23: ...ustom registration package is used to store the registration package type The value 0x0000 indicates that the registration package is in hex format and the value 0x0001 indicates that the registration...

Page 24: ...or the first time Modbus RTU protocol write registration packet register Send 01 10 00 7B 00 17 2E 00 01 00 0A 41 42 43 44 45 46 47 48 49 4A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...

Page 25: ...ster of the heartbeat packet is used to store the length of the heartbeat packet value The length of the heartbeat packet value is 10 corresponding to decimal 0x0A Like the custom registration packet...

Page 26: ...at packet duration to 5s as follows Modbus RTU protocol write heartbeat packet time register Send 01 06 00 A8 00 05 C8 29 Device ModBus address function code address write value CRC check code Receive...

Page 27: ...the register is 11 The first register is the SN length and the second to eleventh registers store the SN value For example SN 181101194228B027 the corresponding register value is as shown in the tabl...

Page 28: ...ed without prior notice and the latest version of the manual shall prevail Everyone is responsible for protecting the environment In order to reduce the use of paper this manual only prints the Chines...

Page 29: ...was corrected and replaced with 0x53 About us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any...

Reviews: