Chengdu Ebyte Electronic Technology Co.,Ltd.
【2DI + 2AI + 4DO】MA02-AACX2240 User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
37
Table 7-1-1 Register list
7.2 AI related register list
Table 7-2-1 AI related register list
Register
address
Numbe
r
The contents of the
register
State
Data range
Applicable
function code
(10000)0x0000
4
AI raw value
R
0-4095
0x04
(10100)0x0064
4
AI engineering value
R
0-25000
0x04
(40400)0x0190
4
AI high point calibration
value
RW
0-4095
0x03
、
0x06
、
0x10
(40600)0x0258
4
AI low point calibration
value
RW
0-4095
0x03
、
0x06
、
0x10
(41200)0x04B0
1
Filter parameters for all AI
channels
RW
1-16
0x03
、
0x06
、
0x10
(41202)0x04B2
1
Sampling range of all AI
channels
RW
0x0000-0x0001,0x0000mea
ns0-20mA,0x0001means
4-20mA
0x03
、
0x06
、
0x10
7.3 Instruction format (partial)
7.3.1 Read DO output coil status
Use 01 function code to read the output coil status, for example: read the status of two output coils
20
01
00 00
00 02
XX XX
Device ModBus
address
Function code
Register start address
Number of output coils
read
CRC check code
After sending the above command to the device via RS232, the device will return the following values:
20
01
01
02
XX XX
Device ModBus
address
Function code
Number of bytes of data
Status data returned
CRC check code
The status data 02 returned above indicates that the output DO2 is on.
0x0000, that is, no check;
0x0001, that is, odd parity;
0x0002, that is, even parity;