
Chengdu Ebyte Electronic Technology Co.,Ltd.
【4AI+2DO】 MA02-XACX0420
User Manual
Copyright ©2012–2021
,
Chengdu Ebyte Electronic Technology Co.,Ltd.
35
After sending the above command to the device via RS232, the device will return the following
values
:
20
0F
00 00
OOO4
XX XX
Modbus
address of the
device
Function
code
Register address
coil number
CRC CHECK
CODE
DO2,DO3 coil is on.
7.3.7 Read input register
Take collecting the original values of four AI channels as an example, and use 04Function code to
read the original values of four AI channels.
20
04
00 00
00 04
XX XX
Modbus
address of the
device
Read command
initial
address
The number
of AI
channels is
CRC CHECK CODE
After sending the above command to the device via RS232, the device will return the following
values:
20
04
08
00 00 00 00 00 00 00 00
XX XX
Modbus
address of the
device
Function
code
Data bytes
4 AI channel raw value
data, Each two bytes of data
represents one AI channel data,
where the original value of
each channel is 0,0,0,0
respectively.
CRC CHECK CODE
Содержание M02-XACX0420
Страница 1: ... 4AI 2DO MA02 XACX0420 ...