Chengdu Ebyte Electronic Technology Co.,Ltd
E851-RTU(4440-ETH) User Manual
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
21
4.2.4. Analog AI range setting
When the value of register 0x40084 (0x0053) is 0, the differential analog input range is 0 -- 20mA;
When the value of register 0x40084 (0x0053) is 1, the differential analog input range is 4 - 20mA;
4.3. IO Feature Function
4.3.1.Pulse count and count clear
The pulse counting will not be saved after power off. The maintenance time of the pulse level must be longer than 10ms before it is
valid. Switch input changes from open state to closed state and maintains a close time of more than 10 ms, then to open state,
completing a pulse count.
4.3.1.1 Read pulse count value
Function code: 03, read hold register
Address range: 40049 (0x0030)~40052 (0x0033)
Description: The maximum pulse count is 65535
Example:
DI1 has detected 16 pulses at present, DI2 has detected 3 pulses at present, and reads the DI1 and DI2 switch input count values.
Modbus RTU protocol read pulse count value
:
Transmit
01
03
00 30
00 02
C4 04
Device ModBus
address
Function code
Initial address
Read quantity
CRC check code
Receive
01
03
04
00 10
00 03
BB F7
Device ModBus address Function code
Return bytes
DI1 count value
DI2 count value
CRC check code
Modbus TCP protocol read pulse count value:
Transmit
00 01
00 00
00 06
01
03
00 30
00 02
Transmission
identifier
Protocol
identifier
length
element ID
Function
code
Initial address
Read quantity