Analog Input Ai Raw Value, Engineering Value; Analog Input Ai Calibration; Switch Output Do; Switch Output Do Description - Ebyte MA02-XACX0440 User Manual

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

4.1.4 Analog input AI raw value, engineering value

There are two ways to read the magnitude of the current signal collected by the device:
Read the original value of AI and calculate the input current based on the input impedance.
The address of the AI original value register is 0x0000~0x0003, the register type is input register,
and the read function code is 0x04. The value returned by this method is 2 bytes representing a
channel, and the range of the value read is 0 ~4095. The method of calculating the current is 0~
4095 corresponding to 0~25mA.
The register type is discrete input register, and the read function code is 0x04.
which is
Read the AI engineering value and directly convert to get the input current.
The address of AI engineering value register is 0x0064~0x0067, the register type is input register,
and the read function code is 0x04. The value returned by this method is 2 bytes representing 1
channel, and the value read is 0 ~ 25000. The method of calculating the current is 0 ~ 25000
corresponding to 0~25mA. which is

4.1.5 Analog input AI calibration

When reading the AI measurement current, when the error is large, it can be calibrated by setting
the high point calibration register and low point calibration register of each channel.
Each channel of AI has an independent high (low) point calibration register. The address of the high
point calibration register is 0x0190~0x0193, and the address of the low point calibration register is
0x0258~0x025C. The register type is holding register, and the function code is 0x06, 0x10.
The calibration method can input an accurate current signal for the AI channel and write the value for
calibration. For example, if the AIx channel corresponding to the calibration device has an actual
input current of 20mA, then read the AI original value of the AIx channel and write the original value
to the high calibration register of the AI channel. Generally, the low point calibration can be set to 0
by default.
Note: This function calibration is only used when the error is large. It is not recommended under
normal circumstances.

4.2 Switch output DO

4.2.1 Switch output DO description

Switch output DO, with level mode, pulse mode, follow mode (only follow DI). Using C-type
relay output (normally open + normally closed), the single-channel output supports a maximum load
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
Original Value
Current =
4095
Engineering Value
Current =
1000
【4AI+4DO】MA02-XACX0440
× 25 (��)
(��)
User Manual
16

Advertisement

Table of Contents
loading

Table of Contents