
4 Commissioning
4.5 Acyclic data
DX-NET-SWD...
08/14 MN04012009Z-EN
www.eaton.com
47
4.5.2 Data Types
There are special data types defined for PROFIdrive communications:
PROFIdrive-specific and standard data types.
4.5.2.1 PROFIdrive specific
TimeDifference (13
dec
)
The value used for TimeDifference is stored in the Sampling Time (PNU 962)
parameter.
Example:
100 ms
≙
4971
dec
≙
136B
hex
86400000 ms (= 1 day)
≙
4294967295
dec
≙
FFFFFFFF
hex
Normalised value: N2
N2 is a normalized value for relative scaling. N2 falls within a range of -200%
to +200%.
Conversion examples:
Unsigned bit:
0
dec
= 0x0000
hex
≙
0%
1
dec
= 0x0001
hex
≙
0.0061%
16384
dec
= 0x4000
hex
≙
100%
32767
dec
= 0x7FFF
hex
≙
199.99%
With a sign bit (bit 15):
-1
dec
= 0xFFF
hex
≙
-0.0061%
-16384
dec
= 0xC000
hex
≙
-100%
-32768
dec
= 0x8000
hex
≙
-200%
Values are coded as follows: the most significant bit (MSB) comes directly
after the SN bit (sign bit) in the first octet: SN = 0: positive numbers,
including zero; SN = 1: negative numbers
Data type
Code
(dec)
Code
(hex)
Bytes
Value Range
Resolution
TimeDifference
13
D
2
0
≦
i
≦
4294967295
2
-31
≙
0.021 ms
Data type
Code
(dec)
Code
(hex)
Bytes
Value Range
Resolution
N2 Normalized value (16 Bit) 113
7 1
2
-200 %
≦
i
≦
(200 - 2
-14
) %
2-
14
≙
0.0061 %
Octet
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit3
Bit 2
Bit1
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