
Chengdu Ebyte Electronic Technology Co.,Ltd.
【2DI + 2AI + 4DO】MA02-AACX2240 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
35
7 Modbus use
7.1 Register list
Register address
number
The contents of the register
state
data range
Applicable
function code
(00000)0x0000
4
DO status
RW
0x00-0xFF, write to change
the current DO status, read to
get the current DO status.
0x01
、
0x05
、
0x0F
(00100)0x0064
4
The state of the DO when it
is powered on
RW
0x00-0xFF, set the power-on
state of the DO. After
writing, the state of the DO is
the set state after the next
restart.
0x01
、
0x05
、
0x0F
(10000)0x0000
4
DI value
RW
0x00-0xFF, represents the
current level signal of DI.
0x02
(42527)0x09DF
4
DI count value
RW
0x0000-0xFFFF,
writing
means the initial value of the
set count, reading means
reading the already counted
value.
0x03
、
0x06
、
0x10
(41400)0x0578
4
DO working mode
RW
0x0000-0x0002,
0x0000
level mode (default mode),
0x0001 pulse mode, 0x0002
follow mode.
0x03
、
0x06
、
0x10
(41500)0x05DC
4
DO pulse width
RW
0x32-0xFFF (50-65535), the
duration of the pulse, in ms.
0x03
、
0x06
、
0x10
(41318)0x0526
4
DI counting method
RW
0x0000-0x0002,
0x0000
means rising edge count,
0x0001 means falling edge
count, 0x0002 means level
count.
0x03
、
0x06
、
0x10