Device Profile Area
Manual • Doc.-No.: C.3030.21 / Rev. 1.4
CAN-CBX-AI420
Page 80 of 103
7.10.3 Read Input 16-Bit (6401
h
)
Index
Sub-
index
Description
Value range
Default
Data type
Access
mode
6401
h
0
number_of_entries
4
4
unsigned 8
ro
1
Read_Analog_Input_16_1
8000
h
...7FFF
h
-
integer 16
ro
2
Read_Analog_Input_16_2
8000
h
...7FFF
h
-
integer 16
ro
3
Read_Analog_Input_16_3
8000
h
...7FFF
h
-
integer 16
ro
4
Read_Analog_Input_16_4
8000
h
...7FFF
h
-
integer 16
ro
Assignment of the variable Read_Analog_Input_16_x (x = 1...4):
The last digit of the name of the variable is the number of the respective analog input channel. The
16 higher-order bits of the A/D-converters are used in two’s complement representation. The values
of the variables result from the measured values corrected by averaging, offset and gain and if
necessary addition.
Value of the variable Read_Analog_Input_16_x
measured voltage
Binary (bit
¾¿ÀÀÀÁ
)
Hexadecimal
¾¿
¾Â
¾Ã
¾Ä
¾¾
¾Á
Å
Æ
Ç
È
¿
Â
Ã
Ä
¾
Á
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
8000
h
-10.00 V
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
FFFF
h
-0.3052 mV
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0000
h
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0001
h
+0.3052 mV
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
7FFF
h
+10.0 V - (1 LSB
VARIABLE
)
= 9.99969 V
Resolution of the measured values:
1 LSB based on the variable Read_Analog_Input_16_x (x = 1...4):
1 LSB
VARIABLE
=> 10 V / 8000
h
=> 0.3052 mV
The calculation of the measured value corrected by offset, gain, averaging and if necessary addition
is described from page 82 for Read_Analog_Input_32-Bit (6402
h
).