MIREK_TO_KELVIN

MIREK_TO_KELVIN 1:

Conversion of the color temperature from Mirek to Kelvin.

Mirek is a color temperature unit used by most DALI commands. The return value of the function is limited to the value range 0…1000001 (see table).

Kelvin = 1000000 / (color temperature in Mirek).

Mirek

Kelvin

0

1000001.0

1

1000000.0

100

10000.0

1000

1000.0

10000

100.0

65534

15.259

65535

0.0

MIREK_TO_KELVIN 2: Inputs

VAR_INPUT
  nMirek    : UINT;
END_VAR

Name

Type

Description

nMirek

UINT

Color temperature in Mirek

Requirements

Development environment

Required PLC library

TwinCAT from v3.1.4024.10

Tc3_DALI from v3.4.0.0