Presentation, index 0x8020:02 / 0x8030:02
The measured value is output ex works in two's complement presentation (signed integer).
Index 0x8020:02 or 0x8030:02 offer the possibility to change the presentation of the measured value.
Signed integer presentation
The negative output value is represented in two's complement (negated + 1).
Maximum representation range at 16 bits = -32768 ... +32767dec
Input signal | Value | ||
---|---|---|---|
Decimal | Hexadecimal | ||
10 V | 10 V | 32767 | 0x7FFF |
5 V | 5 V | 16383 | 0x3FFF |
|
|
| 0x0001 |
0 V | 0 V | 0 | 0x0000 |
|
|
| 0xFFFF |
-5 V |
| -16383 | 0xC001 |
-10 V |
| -32768 | 0x8000 |
Unsigned integer presentation
The output value is represented with 15-bit resolution without sign, therefore polarity detection is no longer possible.
Maximum representation range with 16 bits = 0 … +32767dec
Input signal | Value | ||
---|---|---|---|
Decimal | Hexadecimal | ||
10 V | 10 V | 32767 | 0x7FFF |
5 V | 5 V | 16383 | 0x3FFF |
|
|
| 0x0001 |
0 V | 0 V | 0 | 0x0000 |
|
|
| 0x0001 |
-5 V |
| 16383 | 0x3FFF |
-10 V |
| 32767 | 0x7FFF |
Absolute value with MSB as sign presentation
The output value is output in the signed amount representation: MSB=1 (highest bit) for negative values.
Maximum representation range with 16 bits = -32768 ... +32767dec
Input signal | Value | ||
---|---|---|---|
Decimal | Hexadecimal | ||
10 V | 10 V | 32767 | 0x7FFF |
5 V | 5 V | 16383 | 0x3FFF |
|
|
| 0x0001 |
0 V | 0 V | 0 | 0x0000 |
|
|
| 0x8000 |
-5 V |
| [-16383] | 0xBFFF |
-10 V |
| [-32767] | 0xFFFF |
Presentation types The presentation types "Unsigned integer" and "Absolute value with MSB as sign" have no function for unipolar terminals. There is no change in the presentation in the positive range. |