Manual VIPA System 200V Chapter 2 Analog input modules
HB97E - SM-AIO - Rev. 12/32 2-3
In S5 format, the input data are stored in one word. The word consists of
the binary value and the information bits.
Please regard only the Siemens S7 format (two's complement) is supported
by the Siemens SIMATIC manager for decimal representation. When the
Siemens S5 format is used the decimal values are incorrectly represented.
Numeric notation:
Byte Bit 7 ... Bit 0
0 Bit 0: overflow bit
0: value within measuring range
1: measuring range overrun
Bit 1: error bit (set at internal error)
Bit 2: activity bit (always 0)
Bit 7 ... 3: binary measured value
1 Bit 6 ... 0: binary measured value
Bit 7: sign
0 positive
1 negative
+/- 10V (two's complement)
Voltage Decimal Hex
-10V -16384 C000
-5V -8192 E000
0V 0 0000
5V 8192 2000
10V 16384 4000
Formulas for the calculation:
10
16384
U
Value ⋅=
,
16384
10
⋅= ValueU
U: voltage, Value: Decimal value
+/- 10V (value and sign)
Voltage Decimal Hex
-10V -16384 C000
-5V -8192 A000
0V 0 0000
5V 8192 2000
10V 16384 4000
High Byte Low Byte
76543210 7 6543210
Numeric notation
value
si
n
0
00
4....20mA (value and sign)
Strom Dezimal Hex
4mA 0 0000
12mA 8192 2000
20mA 16384 4000
+/- 20mA (two's complement)
High Byte Low Byte
76543210 7 6543210
Numeric notation
value
si
n
0
00
Current Decimal Hex
-20mA -16384 C000
-10mA -8192 E000
0mA 0 0000
10mA 8192 2000
20mA 16384 4000
Formula for the calculation:
20
16384
I
Value ⋅=
,
16384
20
⋅=ValueI
I: Current, Value: Decimal value
+/- 20mA (value and sign)
Current Decimal Hex
-20mA -16384 C000
-10mA -8192 A000
0mA 0 0000
10mA 8192 2000
20mA 16384 4000
High Byte Low Byte
76543210 7 6543210
Numeric notation
value
sign
0
00
Numeric notation
in S5 from
Siemens