Chengdu Ebyte Electronic Technology Co.,Ltd.
【4AI+2DO】 MA02-XACX0420
User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
31
7.Use Modbus
7.1 Register list
Register
address
Quan
tity
Register contents
st
at
us
scope of data
Suitable for
Function code
(00000)0x0000
4
DO status
R
W
0x00-0xff, write changes the
current DO state, read obtains the
current DO state.
0x01
、
0x05
、
0x0F
(00100)0x0064
4
DO Indicates the power-on
status
R
W
0x00-0xff, set the DO power-on
status. After the data is written, the
DO status will be set after the next
restart.
0x01
、
0x05
、
0x0F
(10000)0x0000
4
DI vaule
R
W
0x00-0xFF indicates the current
level signal of DI.
0x02
(41204)0x04B4
4
DI count
R
W
0x0001-0x0008, write indicates
initial value of set count, read
indicates read already counted
value.
0x03
、
0x06
、
0x10
(41400)0x0578
4
DO working model
R
W
0x0000-0x0002, 0x0000 level mode
(default mode), 0x0001 pulse mode,
0x0002 follow mode.
0x03
、
0x06
、
0x10
(41500)0x05DC
4
DO pulse width
R
W
0x32-0xFFF(50-65535), duration of
pulse in ms.
0x03
、
0x06
、
0x10
(41318)0x0526
4
DI Count way
R
W
0x0000-0x0002,0x0000 indicates
rising edge count, 0x0001 indicates
falling edge count, and 0x0002
indicates level count.
0x03
、
0x06
、
0x10
(41304)0x0518
4
DI Zero counting method
R
W
0x0000-0x0001,0x0000 Automatic
clearing mode, 0x0001 Manual
clearing mode.
0x03
、
0x06
、
0x10
(41311)0x051F
4
Set the zero clearing mode
R
W 0x0001-0x00FF
。
0x03
、
0x06
、
0x10
(41600)0x0640
4
Set the DO follow channel
R
W
0x0001-0x0008
,
0x0001 indicates
the first input.
0x03
、
0x06
、
0x10
(42000)0x07D0
7
The module type
R
See model definition table.
0x03
(42012)0x07DC
2
Firmware version
R
Firmware version number.
0x03
(42014)0x07DE
10
Module name
R
W
Names can be up to 20 bytes long,
including "\0".
0x03
、
0x06
、
0x10
(42027)0X07E8
1
Module software Address
R
W 0x01-0xE0
。
0x03
、
0x06
、
0x10
(42025)0X07E9
1
Restore default parameters
R
W
Write 5BB5 and restore the
Settings to default parameters.
0x03
、
0x06
、
0x10
(42026)0x07EA
1
Device Restart
R
W
Write 5BB5, Restart the device
immediately
0x03
、
0x06
、
0x10
(42100)0x0834
1
Baud rate code
R
W
The default value is 0x0003
,
or,9600
。
0x0000,is1200
;
0x0001,is2400
;
0x0002,is4800
;
0x0003,is9600
;
0x03
、
0x06
、
0x10
Summary of Contents for M02-XACX0420
Page 1: ... 4AI 2DO MA02 XACX0420 ...