
Chengdu Ebyte Electronic Technology Co., Ltd.
Copyright ©2012–2019, Chengdu Ebyte Electronic Technology Co.,Ltd
14
3. Modbus
3.1 Register address table
Register address table
(
function code
:
0x01H
、
0x05H
、
0x0FH
、
0x03H
、
0x06H
、
0x10H
)
Register
address
Number of
registers
Register attribute
Register
type
Register
value range
Defaults
Support
function code
00017
(0x0010)
1
DO1 switching
output
Read/write
0x0000 or
0xFF00
(0x05
function
code)
0-1 (0x01,
0x0F
function
code)
--
0x01
0x05
0x0F
00018
(0x0011)
1
DO2 switching
output
Read/write
--
00019
(0x0012)
1
DO3 switching
output
Read/write
--
00020
(0x0013)
1
DO4 switching
output
Read/write
--
00021
(0x0014)
1
DO5 switching
output
Read/write
--
00022
(0x0015)
1
DO6 switching
output
Read/write
--
Reserved
10017
(0x0010)
1
DI1 digital input
Read only
0-1
--
0x02
10018
(0x0011)
1
DI2 digital input
Read only
--
10019
(0x0012)
1
DI3 digital input
Read only
--
10020
(0x0013)
1
DI4 digital input
Read only
--
10021
(0x0014)
1
DI5 digital input
Read only
--
10022
(0x0015)
1
DI6 digital input
Read only
--
Reserved
40049
(0x0030)
1
DI1 pulse count
value
Read only
0-65535
--
0x03
40050
(0x0031)
1
DI2 pulse count
value
Read only
0-65535
--
40051
(0x0032)
1
DI3 pulse count
value
Read only
0-65535
--
40052
(0x0033)
1
DI4 pulse count
value
Read only
0-65535
--
40053
(0x0034)
1
DI5 pulse count
value
Read only
0-65535
--
40054
(0x0035)
1
DI6 pulse count
value
Read only
0-65535
--
Reserved
40065
(0x0040)
1
DI1-DI6 pulse
count clear
Write only
0x00 - 0x3F
--
0x06
Reserved
40078
(0x004D)
1
Device address
Read/write
1 - 247
0x01
0x03
0x06
0x10
40079
(0x004E)
1
Baud rate
Read/write
0 - 7
0x03
40080
(0x004F)
1
Check Digit
Read/write
0 - 2
0x00