Zmotion ZMIO310 Manual page 58

Verticale bus expansion module
Table of Contents

Advertisement

00h
(6001 +
10*
expansion
submodule
address) h
01h
ZMIO310 Vertical Bus Expansion Module User Manual V1.0
Configure the output value of DO/DOP module channel, or get the
output state of DO/DOP module channel.
The usage of data value: 4-digit hexadecimal number is converted
into 16-bit binary number, each 1-bit represents the output status of
each channel.
For example: the configured output value is 0x1FF1, and the content
of the channel status is as follows:
CH
Channel
15
Bit (binary)
0
Hexadecimal
CH
Channel
7
Bit (binary)
1
Hexadecimal
IN_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...
IN_GEN_INT1
Get input state value of AD module channel 0.
The meaning of date value:
0x0000~0xFFFF means the scale value of analog, which is converted
from gained analog AD.
For example: if the current range of AD module is 0~5V:
CH
CH
CH
CH
14
13
12
11
0
0
0
1
1
CH
CH
CH
CH
6
5
4
3
1
1
1
0
F
4
4
UNSIGND8
0x0000
0
UNSIGND16
~0xFFFF
CH
CH
CH
10
9
8
1
1
1
F
CH
CH
CH
2
1
0
0
0
0
1
RO
RO

Advertisement

Table of Contents
loading

Table of Contents