DALI commands
In accordance with the DIN EN 60929 standard, addresses and commands are transmitted as numbers with a length of two bytes.
These commands take the form YAAA AAAS xxxx xxxx. Each letter here stands for one bit.
- Y: type of address
0bin: Short address
1bin: group address or collective call - A: significant address bit
- S: selection bit (specifies the significance of the following eight bits):
0bin: the 8 xxxx xxxx bits contain a value for direct control of the lamp power
1bin: The 8 xxxx xxxx bits contain a command number.
x: a bit in the lamp power or in the command number
Direct DALI commands for lamp power
These commands take the form YAAA AAA0 xxxx xxxx.
xxxx xxxx: the value representing the lamp power is transmitted in these 8 bits. It is calculated according to this formula:
253 values from 1dec to 254dec are available for transmission in accordance with this formula.
There are also 2 direct DALI commands with special meanings:
Command | Command no. | Description | Answer |
---|---|---|---|
00hex | 0dec | The DALI device dims using the current fade time down to the parameterized MIN value, and then switches off. | - |
FFhex | 254dec | Mask (no change): this value is ignored in what follows, and is therefore not loaded into memory. | - |
Indirect DALI commands for lamp power
These commands take the form YAAA AAA1 xxxx xxxx.
xxxx xxxx: These 8 bits transfer the command number. The available command numbers are listed and explained in the following tables in hexadecimal and decimal formats.
Command | Command no. | Description | Answer |
---|---|---|---|
00hex | 0dec | Switch off lamp immediately (without fading). | - |
01hex | 1dec | Turn brighter for 200 ms with selected step speed. | - |
02hex | 2dec | Turn darker for 200 ms with selected step speed. | - |
03hex | 3dec | Increase the current lamp power value by one step (without fading). If the lamp is switched off, it is not switched on. | - |
04hex | 4dec | Reduce the current lamp power value by one step (without fading), if the lamp is not already at its parameterized minimum value. If the lamp is already at its minimum value, it is not changed and remains switched on. | - |
05hex | 5dec | Set the current lamp power value to the parameterized maximum value. If the lamp is switched off, it is switched on. | - |
06hex | 6dec | Set the current lamp power value to the parameterized minimum value. If the lamp was switched off, it is switched on. | - |
07hex | 7dec | Reduce the current lamp power value by one step (without fading). If the lamp is already at its minimum value, it is switched off. | - |
08hex | 8dec | Increase the current lamp power value by one step (without fading). If the lamp was switched off, it is switched on and set to its parameterized minimum value. | - |
09hex ... 0Fhex | 9dec ... 15dec | reserved | - |
1nhex | 16dec … 31dec | Set the lamp power value to the value stored for the specified scene (n). | - |
Configuration commands
Command | Command no. | Description | Answer |
---|---|---|---|
20hex | 32dec | Reset all parameters to the delivery state. | - |
21hex | 33dec | Save the current brightness value in the DTR (data transfer register). | - |
22hex... 29hex | 34dec... 41dec | reserved | - |
2Ahex | 42dec | Save the current DTR value as maximum lamp power value. | - |
2Bhex | 43dec | Save the current DTR value as minimum lamp power value. | - |
2Chex | 44dec | Save the current DTR value as fault condition lamp power value. | - |
2Dhec | 45dec | Save the current DTR value as switch-on lamp power value. | - |
2Ehex | 46dec | Save the current DTR value as step time. | - |
2Fhex | 47dec | Save the current DTR value as step speed. | - |
30hex ... 3Fhex | 48dec ... 63dec | reserved | - |
4nhex (n: 0hex ... Fhex) | 64dec ... 79dec | Save the current DTR value as selected scene (n). | - |
5nhex (n: 0hex ... F hex) | 80dec ... 95dec | Delete the selected scene (n) from the DALI device. | - |
6nhex (n: 0hex ... F hex) | 96dec ... 111dec | Add the DALI device to the selected group (n). | - |
7nhex (n: 0hex ... F hex) | 112dec ... 127dec | Delete the DALI device from the selected group (n). | - |
80hex | 128dec | Save the current DTR value as short address. | - |
81hex ... 8Fhex | 129dec ... 143dec | reserved | - |
90hex | 144dec | Return the state (XX) of the DALI device. | XX |
91hex | 145dec | Check whether the DALI device is working. | yes/no |
92hex | 146dec | Check whether a lamp has failed. | yes/no |
93hex | 147dec | Check whether the power supply of the lamp is switched on. | yes/no |
94hex | 148dec | Check whether the device has received an invalid value. | yes/no |
95hex | 149dec | Check whether the DALI device is in reset state. | yes/no |
96hex | 150dec | Check whether the DALI device is missing a short address. | yes/no |
97hex | 151dec | Return the version number (XX). | XX |
98hex | 152dec | Return the content (XX) of the DTR. | XX |
99hex | 153dec | Return the devices type (XX). | XX |
9Ahex | 154dec | Return the physical minimum (XX). | XX |
9Bhex | 155dec | Check whether there is a supply error at the DALI device. | yes/no |
9Chex ... 9Fhex | 156dec ... 159dec | reserved | - |
A0hex | 160dec | Return the current lamp power value (XX). | XX |
A1hex | 161dec | Returns the maximum permitted lamp power value (XX). | XX |
A2hex | 162dec | Returns the minimum permitted lamp power value (XX). | XX |
A3hex | 163dec | Returns the switch-on lamp power value (XX). | XX |
A4hex | 164dec | Returns the fault condition lamp power value (XX). | XX |
A5hex | 165dec | Returns the step speed (X) and the step speed (Y). | XY |
A6hex ... AFhex | 166dec ... 175dec | reserved | - |
Bnhex | 176dec ... 191dec | Returns the lamp power value (XX) for the specified scene (n). | XX |
C0hex | 192dec | Returns a bit pattern, which indicates which group (0-7) the DALI device belongs to. | XX |
C1hex | 193dec | Returns a bit pattern, which indicates which group (8-15) the DALI device belongs to. | XX |
C2hex | 194dec | Returns the upper bits of the optional address (HH). | HH |
C3hex | 195dec | Returns the middle bits of the optional address (MM). | MM |
C4hex | 196dec | Returns the lower bits of the optional address (LL). | LL |
C5hex ... DFhex | 197dec ... 223dec | reserved | - |
E0hex ... FFhex | 224dec ... 255dec | Query of the application-related extended commands. |
|
Repetition of DALI commands
|
Special commands
You may find the special commands and further information in the DIN EN 60929 standard.