Expansion Example - Zmotion ZMIO310 Manual

Verticale bus expansion module
Table of Contents

Advertisement

04h

6.4. Expansion Example

The data dictionary 5000h must be created, others are created or not according to
connected extended sub-modules.
An extended sub-module is connected each time, a corresponding state value data
dictionary will be created. For AD module and DA module, the corresponding control data
dictionary will also be created.
ZMIO310 Vertical Bus Expansion Module User Manual V1.0
calculate value X reversely.
OUT_GEN_INT4
Get the output state value of DA channel 3.
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 4~20mA:
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-
4mA)/ (20mA-4mA) = (X-0)/ (0xFFFF -0), namely,
0xFFFF + 4mA.
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.
0x0000
0
UNSIGND16
~0xFFFF
RW
Y = (20mA-4mA)*X /

Advertisement

Table of Contents
loading

Table of Contents