6.4.2 Analog value representation
Analog values are exclusively processed in a binary format. For this the analog module
transforms every process signal into a digital value and transfers this as word.
Resolution
Analog value
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.
±10V
Meas. range
Voltage
(U)
Decimal
(D)
Hex
Range
Formulas
±10V
> 11.76
32767
7FFFh
overflow
11.76V
32511
7EFFh
overdrive range
10V
27648
6C00h
nominal range
5V
13824
3600h
0V
0
0000h
-5V
-13824
CA00h
-10V
-27648
9400h
-11.76V
-32512
8100h
underdrive range
< -11.76V
-32767
7FFFh
underflow
Representation of analog
values
Sign bit (SG)
Behavior at error
Voltage measurement
VIPA System 300S
+
Deployment I/O periphery
Analog part > Analog value representation
HB140 | CPU-SC | 313-5BF23 | en | 19-01
95