Device Profile Area
CAN-CBX-AI814
Manual • Doc.-No.: C.3020.21 / Rev. 1.5
Page 87 of 108
8.10.5 Read Input Raw Data 16-Bit (6404
h
)
Index
Sub-
index
Description
Value range
Default
Data type
Access
mode
6404
h
0
Number of entries
8
8
unsigned 8
ro
1
Read_Analog_In_Raw_16_1
8000
h
...7FFF
h
-
integer 16
ro
2
Read_Analog_In_Raw_16_2
8000
h
...7FFF
h
-
integer 16
ro
3
Read_Analog_In_Raw_16_3
8000
h
...7FFF
h
-
integer 16
ro
4
Read_Analog_In_Raw_16_4
8000
h
...7FFF
h
-
integer 16
ro
5
Read_Analog_In_Raw_16_5
8000
h
...7FFF
h
-
integer 16
ro
6
Read_Analog_In_Raw_16_6
8000
h
...7FFF
h
-
integer 16
ro
7
Read_Analog_In_Raw_16_7
8000
h
...7FFF
h
-
integer 16
ro
8
Read_Analog_In_Raw_16_8
8000
h
...7FFF
h
-
integer 16
ro
Assignment of the variable Read_Analog_In_Raw_16_x (x = 1...8):
The last digit of the name of the variable is the number of the respective analog input channel.
The data bits are shifted left-aligned in the 16-bit variable.
Calculation of the measured voltage:
The measured voltage is calculated of the value gained by addition and averaging of the variable
Read_Analog_In_Raw_16_x (see also diagram on page 82):
Value of the variable
Read_Analog_In_Raw_16_x
Measured voltage
(object 2402
h
= 3,
object 2403
h
= 4)
Binary (bit
¹º»»»¼
)
Hexadecimal
¹º
¹½
¹¾
¹¿
¹¹
¹¼
À
Á
Â
Ã
º
½
¾
¿
¹
¼
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
8000
h
-10.24 V
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
FFFF
h
-0.3125 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.3125 mV
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
:
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
7FFF
h
+10.24 V - (1 LSB
VARIABLE
)
= 10.2397 V
Resolution of the measured values:
1 LSB based on the variable Read_Analog_Input_16_x (x = 1...8):
1 LSB
VARIABLE
=> 10.24 V / 8000
h
=> 0.3125 mV