KELVIN_TO_MIREK

Conversion of the color temperature from Kelvin to Mirek.
Mirek is the unit that is used with most DALI commands. The return value is limited and lies within the range from 0 ... 65535 (see table).
Mirek = 1,000,000 / (color temperature in Kelvin).
Kelvin | Mirek |
---|---|
0 | 65535 |
15 | 65535 |
16 | 62500 |
1000 | 1000 |
10000 | 100 |
1000000 | 1 |
1000001 | 0 |
Requirements
Development Environment | PLC library to include |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_DALI from v3.4.3.0 |