Zmotion ZMIO310 Manual page 61

Verticale bus expansion module
Table of Contents

Advertisement

00h
(7001 +
10*
01h
expansion
submodule
address) h
02h
ZMIO310 Vertical Bus Expansion Module User Manual V1.0
X value can be calculated reversely.
OUT_GENERIC
The number of default subindex, the fixed value is 4.
Expansion submodule address: the nearest expansion submodule
address to coupler is 0, addresses of following other modules
accumulate in order, namely, 0, 1, 2, 3...
OUT_GEN_INT1
Get the input state value of DA channel 0.
The meaning of date value:
0x0000~0xFFFF means the scale value of analog, input scale values
from PC output analogs converted from DA.
For example: if the current range of DA module is 0~10V:
Analog converted from DA is represented by Y.
Digital input from PC, namely, the scale value is represented by X.
And DA output value can be calculated from the above graphic: (Y-0)/
(10V-0) = (X-0)/ (0xFFFF -0), namely,
Value X is the known condition of current PC side, then value Y can be
gained through DA conversion. Same, get DA output value firstly, then
calculate value X reversely.
OUT_GEN_INT2
Get the output state value of DA channel 1.
The meaning of date value:
0x0000~0xFFFF means the scale value of analog, input scale values
from PC output analogs converted from DA.
For example: if the current range of DA module is -10~10V:
4
4
UNSIGND8
0x0000
0
UNSIGND16
~0xFFFF
Y = 10*X / 0xFFFF.
0x0000
0
UNSIGND16
~0xFFFF
RO
RW
RW

Advertisement

Table of Contents
loading

Table of Contents