background image

Chengdu Ebyte Electronic Technology Co.,Ltd.

E831-RTU(8080T-485) User

Manual

18

Copyright ©2012–2022

Chengdu Ebyte Electronic Technology Co.,Ltd.

binary 0000 0101 , and 8 bits represent the digital input value, which are DI8 , DI7 , DI6 , DI5 , DI4 , DI3 , DI2, DI1.

Modbus RTU protocol to read digital inputs:

sen

d

01

02

00 10

00 08

78 09

Device

ModBus address

functi

on code

Switch start

address

Number of

read switches

CRC check

code

tak

e over

01

02

01

05

61 8B

Device

ModBus address

functi

on code

returns the

number of bytes

digital input

value

CRC check

code

4.3 IO Features

4.3.1 Pulse count and count clear

The device supports 3 pulse counting methods, rising edge counting, falling edge counting and level counting. This value can

be written into the (0x0053) register by writing the corresponding

The value is set. When writing 0 , it means rising edge counting, writing 1 means falling edge counting, and writing 2 means level

counting. For example, when counting on rising edge is selected, it will count only when DI detects that it is a rising edge of level, and

other functions are similar.

In addition, the device also supports input count filtering function, and the signal must be maintained for several adoption cycles

before it can be confirmed. The default value is 15,15 sampling cycles to be confirmed, the range is 1~20 , the value can be set by

writing the corresponding value to the (0x0054) register, and the sampling cycle is 1ms. Note that this function only supports level

counting. The pulse count will not be saved after the power is turned off.

Count clearing also supports manual clearing and automatic clearing functions: automatic clearing after the input count is read, or

manual clearing, which can be set. If it is automatically cleared, the register value will be cleared after

each read. If it is manually

cleared, it will either reach the maximum count of 65536 and clear, or write the register to clear it. Register to (0x0055)

Writing 0 means manual clearing, and writing 1 means automatic clearing. Note that when it is set to automatic clearing,

manual clearing has no effect.

4.3.1.1 Read pulse count value

Function code: 03, read holding register

Address range: 40049 (0x0030)~40056 (0x0037)

Description: The maximum value of pulse count is 65535 Example:

DI1 has detected 16 pulses currently, DI2 has detected 3 pulses currently, read the digital input count value of DI1 and DI2,

and read the pulse count value by Modbus RTU protocol:

sen

d

01

03

00 30

00 02

C4 04

Device

ModBus address

functi

on code

initial address

number of

reads

CRC check

code

t

ake

over

01

03

04

00 10

00 03

BB F7

Device

ModBus address

funct

ion code

retur

ns the

number of

bytes

DI1

count value

DI2

count value

CRC

check code

4.3.1.2 Manual reset pulse count value

Function code: 06, write hold register address range: 40065 (0x0040)

Description: The lower four bits of the register value represent the counts of DI6, DI5, DI4, DI3, DI2, and DI1 respectively.

Writing "1" means the count is cleared and the pulse count is restarted. example:

Содержание E831-RTU Series

Страница 1: ...Chengdu Ebyte Electronic Technology Co Ltd E831 RTU 8080T 485 User Manual 1 Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd E831 RTU 8080T 485 User Manual ...

Страница 2: ...and interface description 8 2 3 Instruction reset description 12 3 Modbus 12 3 1 Modbus address table 12 3 2 Modbus address table 14 3 3 RS485 serial port baud rate code table 15 3 4 RS485 serial port check digit value table 15 3 5 Configure parameters through the host computer 15 4 Product Function 16 4 1 Mode selection 16 4 2 IO basic functions 16 4 2 1 Switch DO output 16 4 2 2 Read switch DI i...

Страница 3: ...eproduction 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 reliability a...

Страница 4: ...tional control determining how to output according to the input state 1 Quick Start This chapter is a quick introduction to the E831 RTU 8080T 485 series products It is recommended that users read this chapter systematically and follow the instructions to have a systematic understanding of the module products Interesting chapters to read Refer to subsequent chapters for specific details and instru...

Страница 5: ...t connection 1 1 3 Digital output NPN transistor open collector output connection 1 2 Simple to use Wiring Connect the computer to E831 RTU 8080T 485 via USB to RS485 Power supply E831 RTU 8080T 485 working voltage is DC 8 28V 12V or 24V is recommended 1 2 1 RS485 bus control Select the corresponding model and port and click Search to search for the device ...

Страница 6: ...anual 6 Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd Once the device is found click Stop At this time you can see the device address of the current device click to read parameters or write parameters you can read parameters and configuration parameters ...

Страница 7: ...automatic refresh when configuring or reading parameters Tick auto refresh to read and configure the input and output ports Note Do not check automatic refresh when reading or writing parameters and check automatic refresh after the configuration or reading is completed otherwise the parameter writing or reading may not be successful 2 Product introduction ...

Страница 8: ...be Hardware parameters Product size H W D 105 75 30mm product weight 256g interface Crimping method 1 12 5 08mm Operating Voltage DC8V 28V 12V or 24V is recommended over 28V may damage the device prepare Working current 12V 56mA Standby Current 12V 86mA working current Communication Interface RS485 1200 115200bps 8 digital input interfaces Dry contact DI acquisition frequency 1KHz 8 digital output...

Страница 9: ...Chengdu Ebyte Electronic Technology Co Ltd E831 RTU 8080T 485 User Manual 9 Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd ...

Страница 10: ...8V recommended 12V 24V 4 DO8 Digital output channel 8 NPN transistor open collector output channel 8 5 DO7 Digital output channel 7 NPN transistor open collector output channel 7 6 DO6 Digital output channel 6 NPN transistor open collector output channel 6 7 DO5 Digital output channel 5 NPN transistor open collector output channel 5 8 DO4 Digital output channel 4 NPN transistor open collector outp...

Страница 11: ...t channel 6 Form dry contact with DIG 19 DI5 Digital input channel 5 Form dry contact with DIG 20 DI4 Digital input channel 4 Form dry contact with DIG 21 DI3 Digital input channel 3 Form dry contact with DIG 22 DI2 Digital input channel 2 Form dry contact with DIG 23 DI1 Digital input channel 1 Form dry contact with DIG 24 YOU Digital input signal reference ground Digital input signal reference g...

Страница 12: ...N umber of registe rs register properties re gister type register value range Supp ort function code 00017 0x0010 1 DO1 digital output re ad writ e 0x0000 or 0xFF00 0x05 function code 0 1 0x01 0x0F function code 0x01 0x05 0x0F 00018 0x0011 1 DO2 digital output re ad writ e 00019 0x0012 1 DO3 digital output re ad writ e 00020 0x0013 1 DO4 digital output re ad writ e 00021 0x0014 1 DO5 digital outpu...

Страница 13: ...Chengdu Ebyte Electronic Technology Co Ltd E831 RTU 8080T 485 User Manual 13 Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 10022 0x0015 1 DI6 digital input re ad only ...

Страница 14: ... 1 DI6 Pulse count value re ad only 0 65535 40055 0x0036 1 DI7 pulse count value re ad only 0 65535 40056 0x0037 1 DI8 Pulse count value re ad only 0 65535 reserve 40065 0x0040 1 DI1 DI8 pulse count clear ju st write 0x00 0xFF 0x 06 reserve 40078 0x004D 1 Device address re ad writ e 1 247 0x 03 0x 06 0x 10 40079 0x004E 1 baud rate re ad writ e 0 7 40080 0x004F 1 Check Digit re ad writ e 0 2 40082 ...

Страница 15: ...e Baud rate code value table 0 1200 1 2400 2 4800 3 default 9600 4 1920 0 5 3840 0 6 5760 0 7 1152 00 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 the parameter setting column to read and write parameters For specific functions see the product function introductio...

Страница 16: ...r to avoid the situation that the parameter writing is unsuccessful sometimes 4 Product Function 4 1 Mode selection The device supports 3 pulse counting methods rising edge counting falling edge counting and level counting see the pulse counting and clearing section below 4 2 IO basic functions 4 2 1 Switch DO output 4 2 1 1 Read switch DO output Function code 01 read coil status Address range 000...

Страница 17: ...us address functi on code switch address write value CRC check code tak e over 01 05 00 11 FF 00 DC 3F Device ModBus address functi on code switch address write value CRC check code Function code 0x0F Write DO2 DO3 digital output the write value should be 0x03 corresponding to binary bit 0000 0011 note that the starting address here starts from DO2 Modbus RTU protocol to write digital output s end...

Страница 18: ... the sampling cycle is 1ms Note that this function only supports level counting The pulse count will not be saved after the power is turned off Count clearing also supports manual clearing and automatic clearing functions automatic clearing after the input count is read or manual clearing which can be set If it is automatically cleared the register value will be cleared after each read If it is ma...

Страница 19: ...ed to closed and the status of DI4 has not changed The last two bytes are the modbus CRC16 calculation value Note When set to rising edge counting mode trigger once DI value is 00 when set to falling edge counting mode trigger once DI value is 01 Also 0xff means no change frame header DI 1 DI2 DI 3 DI 4 DI5 DI6 DI7 DI8 Modbu s CRC 0xAA 0xBB 0x 00 0x 00 0x 01 0xf f 0x00 0x00 0x00 0x00 0x05 0x97 4 3...

Страница 20: ...se and the English manual only provides electronic documents If necessary please download from our official website we only provide product manuals according to a certain proportion of the order quantity not every digital radio station is equipped with one by one please understand Revise history Version Date Revision Notes Maintenance man 1 0 Initial version 1 1 2019 8 19 Format revision Linson 1 ...

Страница 21: ...Chengdu Ebyte Electronic Technology Co Ltd E831 RTU 8080T 485 User Manual 21 Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd ...

Отзывы: