Zmotion ZMIO310 Manual page 60

Verticale bus expansion module
Table of Contents

Advertisement

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,
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.
IN_GEN_IN4
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:
04h
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,
(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
ZMIO310 Vertical Bus Expansion Module User Manual V1.0
Y = 0xFFFF* /
0x0000
0
~0xFFFF
20mA.
UNSIGND16
RO
Y = 0xFFFF* / (X-4Ma) /

Advertisement

Table of Contents
loading

Table of Contents