5.3.2 Analog value representation
Resolu-
tion
Analog value - twos complement
High byte (byte 0)
Low byte (byte 1)
Bit number
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Value
SG
2
14
2
13
2
12
2
11
2
10
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
11Bit+sign
SG
Measuring value
X*
X*
X*
X*
*) The lowest value irrelevant bits of the output value (0) are marked with "X".
Here it is essential:
n
Bit 15 = "0":
à
positive value
n
Bit 15 = "1":
à
negative value
As soon as a measured value exceeds the overdrive region respectively falls below the
underdrive region, the following value is issued:
n
Measuring value > end of overdrive region:
32767 (7FFFh)
n
Measuring value < end of underdrive region:
-32768 (8000h)
At a parameterization error the value 32767 (7FFFh) is issued.
When leaving the defined range during analog output 0V respectively 0A is issued.
0 ... 10V
Measuring range
Voltage
(U)
Decimal
(D)
Hex
Range
Formulas
0 ... 10V
> 11.759V
32767
7FFFh
overflow
D: decimal value
U: voltage value
11.759V
32511
7EFFh
overdrive range
10V
27648
6C00h
nominal range
5V
13824
3600h
0V
0
0000h
-0.8V
-2212
F75Ch
underdrive range
< -0.8V
-32768
8000h
underflow
Number representation in
Siemens S7 format
Sign bit (SG)
Behavior at error
Voltage measurement
VIPA System MICRO
Deployment I/O periphery
Analog input > Analog value representation
HB400 | CPU | M13-CCF0000 | en | 16-47
88
Содержание VIPA System MICRO M13-CCF0000
Страница 35: ...3 2 2 Interfaces VIPA System MICRO Hardware description Structure Interfaces HB400 CPU M13 CCF0000 en 16 47 35 ...
Страница 211: ...Appendix VIPA System MICRO Appendix HB400 CPU M13 CCF0000 en 16 47 211 ...
Страница 212: ...Content A System specific event IDs B Integrated blocks VIPA System MICRO Appendix HB400 CPU M13 CCF0000 en 16 47 212 ...