4 Commissioning
4.12 Acyclic data
DX-NET-PROFINET2-2
01/22 MN040062EN
www.eaton.com
61
Table 37:
Normalized value N2
Conversion examples
Without sign bit:
0
dec
= 0x0000
hex
≙
0 %
1
dec
= 0x0001
hex
≙
0.0061 %
16384
dec
= 0x4000
hex
≙
100 %
32767
dec
= 0x7FFF
hex
≙
199.99 %
With sign bit (bit 15):
-1
dec
= 0xFFF
hex
≙
-0.0061 %
-16384
dec
= 0xC000
hex
≙
-100 %
-32768
dec
= 0x8000
hex
≙
-200 %
For coding, the most significant bit (MSB) comes directly after the SN bit
(sign bit) in the first octet:
SN = 0: Positive numbers, including 0
SN = 1: Negative numbers
Table 38:
Octet structure
Bit sequence V2
In this bit string, 16 variables of type BOOLEAN are represented in two
octets.
Code: 115
dec
= 73
hex
Table 39:
Bit sequence V2
Data type
Code
[dec]
Code
[hex]
Bytes
Value range
Resolution
Normalized value N2
113
71
2
-200 %
≦
i
≦
(200 - 2
-14
) %
2
-14
≙
0.0061 %
Octet
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
1
SN
2
-0
2
-1
2
-2
2
-3
2
-4
2
-5
2
-6
2
2
-7
2
-8
2
-9
2
-10
2
-11
2
-12
2
-13
2
-14
3
2
-15
2
-16
2
-17
2
-18
2
-19
2
-20
2
-21
2
-22
4
2
-23
2
-24
2
-25
2
-26
2
-27
2
-28
2
-29
2
-30
Octet
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
1
15
14
13
12
11
10
9
8
2
7
6
5
4
3
2
1
0