ZMIO310 Vertical Bus Expansion Module User Manual V1.0
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) / (5V-0), namely,
Y = 0xFFFF*X / 5V.
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.
02H
IN_GEN_INT2
0
0x0000
~0xFFFF
UNSIGND16
RO
⚫
Get the input state value of AD channel 1.
⚫
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 -5~5V:
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-(5V)] / [5-(-5V)], namely,
Y = 0xFFFF* [X-(5V)] / [5V-(-5V)].
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.
03h
IN_GEN_INT3
0
0x0000
~0xFFFF
UNSIGND16
RO
⚫
Get the input state value of AD channel 2.
⚫
The meaning of date value:
0x0000~0xFFFF means the scale value of analog, which is converted
from gained analog from AD.