ZMIO310 Vertical Bus Expansion Module User Manual V1.0
For example: if the current range of AD module is 0~20mA:
Digital converted from AD is represented by Y.
Analog gained from DA is represented by X.
And AD input value can be calculated from the above graphic: (Y-0)/
(0xFFFF-0) = [X-0] / (20mA-0)], namely,
Y = 0xFFFF* / 20mA
.
Value X is the gained known condition of current AD module, value Y is
converted from AD through PC side. Same, value Y is gained from PC, then
X value can be calculated reversely.
04h
IN_GEN_IN4
0
0x0000
~0xFFFF
UNSIGND16
RO
⚫
Get the input state value of AD channel 3.
⚫
The meaning of date value:
0x0000~0xFFFF means the scale value of analog, which is converted
from gained analog from AD.
For example: if the current range of AD module is 4~20mA:
Digital converted from AD is represented by Y.
Analog gained from DA is represented by X.
And AD input value can be calculated from the above graphic: (Y-0)/
(0xFFFF-0) = [X-4mA] / (20mA-4mA)], namely,
Y = 0xFFFF* / (X-4Ma) /
(20mA-4mA).
Value X is the gained known condition of current AD module, value Y is
converted from AD through PC side. Same, value Y is gained from PC, then