Io Features; Pulse Count And Count Clear - Ebyte E831-RTU(6060-4G) Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
Device ModBus address
Modbus TCP protocol to read digital input:
00 01
send
Transport
ID
00 01
Receive
Transport
ID

4.3 IO Features

4.3.1 Pulse count and count clear

The pulse count will not be saved after power off, and the pulse level maintenance time must be greater than 10ms to be
effective. The 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
Function code: 03, read holding register
Address range: 40049 (0x0030)~40054 (0x00335)
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
Modbus RTU protocol read pulse count value:
Send
Device ModBus address function code
Receive
Device ModBus address function
Modbus TCP protocol read pulse count value:
00 01
Send
Transport
ID
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
function
code
00 00
00 06
Protocol
length
ID
00 00
00 04
Protocol
length
ID
01
03
01
03
returns
code
number of bytes
00 00
00 06
Protocol ID
length
returns the number of
Switch input value
bytes
01
02
Unit ID
function code Switch start address
01
02
Unit ID
function code returns the number of
00 30
initial address
04
00 10
the
DI1 count value
01
03
Unit ID
function
code
19
E78-470LN22S User Manual
CRC check code
00 10
Number of read
switches
01
Switch input value
bytes
00 02
number of reads CRC check code
00 03
DI2 count valueCRC check code
00 30
initial address
00 06
05
C4 04
BB F7
00 02
number
of
reads

Advertisement

Table of Contents
loading

Table of Contents