ANALOG IN 15 BIT VOLTAGE/CURRENT 8CH IC220ALG221
6226B_GE
33
Standard Method 2
Task:
–
The input channels are to be operated in different configurations.
The channels are to be configured first (4x00
hex
).
After configuration, the measured values are to be read (0x00
hex
).
–
Configuration of the channels:
Procedure:
1
Install the terminal.
2
Connect the voltage (power up).
3
Configure each individual channel in the terminal in turn (initialization phase; e.g., in the
initialization phase of the application program).
4
Read the measured value for each channel in turn.
Initialization phase:
The appearance of the process data output word OUT[0] is as follows for all channels:
The process data output word OUT[1] indicates the parameters for each channel according to the
task: For channel 1, it looks like this:
Parameter
Channel 1
Channel 2
Channel 3
...
Filtering by mean-
value generation:
No filtering
(01
bin
, 1
dec
)
16-sample average
(00
bin
, 0
dec
)
4-sample average
(10
bin
, 2
dec
)
...
Format:
IB IL
(000
bin
, 0
dec
)
IB IL
(000
bin
, 0
dec
)
IB IL
(000
bin
, 0
dec
)
...
Measuring range:
0 V to 50 V
(0110
bin
, 6
dec
)
±5 V
(0011
bin
, 3
dec
)
4 mA to 20 mA
(1010
bin
, 10
dec
)
...
OUT[0]
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Assignment
0
Command
0
0
0
0
0
0
0
0
bin
0
1
0
0
0
Z
2
Z
1
Z
0
0
0
0
0
0
0
0
0
hex
4
x
0
0
OUT[1]
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Assignment
0
0
0
0
0
0
Filter
0
Format
Measuring range
bin
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
hex
0
1
0
6