VLT
®
5000/5000 Flux/6000 HVAC/8000 AQUA PROFIBUS
MG.90.D1.02 – VLT is a registered Danfoss trademark
15
Time difference (to table ”Objects and data types
supported by the VLT”)
The data type time difference is a measure of time
in milliseconds.
Notation: Time difference
Value range: 0 ≤ i ≤ (2
32
-1) milliseconds [ms]
Coding: The time is represented as a binary
32 bit value (4 bytes). The first
4 (MSB) bits are always zero (see
table below).
Data coding of the data type time difference
Bit Byte 4 Byte 3 Byte 2 Byte 1
8 0 ms 2
23
ms 2
15
ms 2
7
ms
7 0 ms 2
22
ms 2
14
ms 2
6
ms
6 0 ms 2
21
ms 2
13
ms 2
5
ms
5 0 ms 2
20
ms 2
12
ms 2
4
ms
42
27
ms 2
19
ms 2
11
ms 2
3
ms
32
26
ms 2
18
ms 2
10
ms 2
2
ms
22
25
ms 2
17
ms 2
9
ms 2
1
ms
12
24
ms 2
16
ms 2
8
ms 2
0
ms
Standardized value
A linear value
0% = 0 (0h), 100% are 2
14
(4000h)
Data type N 2
Range -200% ... 200% – 2
–14
Resolution 2
–14
= 0,0061%
Length 2 bytes
Note: Two’s complement notation
MSB is the first bit after the sign bit of the first
byte.
Sign bit = 0 = positive number
Sign bit = 1 = negative number
Bit 8 7654321
Byte 2 SIGN 2
14
2
13
2
12
2
11
2
10
2
9
2
8
Byte 1 2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
Physical Size Unit of Abbreviation Conversion Conversion
size index measurement index factor
0 No dimension 0 1
Second s 0 1
-1 0,1
-2 0,01
Time 4 Millisecond ms -3 0,001
Minute min 70 60
Hour h 74 3600
Day d 77 86400
Watt-hour Wh 0 1
Energy 8 Kilowatt-hour kWh 3 1000
Megawatt-hour MWh 6 10
6
Milliwatt mW -3 0,001
Power Watt W 0 1
9 Kilowatt kW 3 1000
Megawatt MW 6 10
6
Rotation 11 Revolutions per minute RPM 0 1
Torque 16 Newtonmeter Nm 0 1
Kilonewtonmeter kNm 3 1000
Temperature 17 Degree Celsius °C 0 1
Millivolt mV -3 0,001
Voltage 21 Volt V 0 1
Kilovolt kV 3 1000
Milliampere mA -3 0,001
Current 22 Ampere A 0 1
Kiloampere kA 3 1000
Milliohm mOhm -3 0,001
Resistance 23 Ohm Ohm 0 1
Kiloohm kOhm 3 1000
Relation 24 Percent % 0 1
Relative change 27 Percent % 0 1
Hertz Hz 0 1
Frequency 28 Kilohertz kHz 3 1000
Megahertz MHz 6 10
6
Parameters and data type structures