MIREK_TO_KELVIN

MIREK_TO_KELVIN 1:

Conversion of the color temperature from Mirek to Kelvin.

Mirek is the unit that is used with most DALI commands. The return value is limited and lies within the range from approx. 15.259 to 1000001 (see table).

Mirek = 1,000,000 / (color temperature in Kelvin).

Mirek

Kelvin

0

1000001

1

1000000

100

10000

1000

1000

10000

100

65534

15.259

65535

15.259

VAR_INPUT

nMirek        : UINT;

nMirek: Color temperature in Mirek.

Requirements

Development environment

Target system

Required libraries

TwinCAT 2.11 R3/x64 from build 2244

PC/CX, BX or BC

TcDALIV2 library from V2.10.0