DALI PLC Commissioning Tool
The DALI PLC Commissioning Tool PLC project offers the user the option of configuring DALI devices and up to 36 KL6811/KL6821/EL6821 with the aid of the TwinCAT PLC HMI (see Tc3_DALI_PLC_Commissioning_Tool_V3.9.0.0.zip).
![]() | The TwinCAT project is available for download as *.zip file. This must first be unpacked locally so that the archive (*.tnzip file) is available for import into the TwinCAT project. |
This project can be extended for specific applications, or it can only be used for configuration purposes. It initially supports 36 KL6811/KL6821/EL6821 via the nMaxNumberOfDALI_Lines global variable, but can be reduced or supplemented with additional lines by the user.
Linking of process data
As an array with the number of nMaxNumberOfDALI_Lines is created for each potential terminal, it is important to ensure that the mapping of the terminals in the data array matches the hardware arrangement of the terminals when the hardware is linked.

Application
The basic setting is the result of the options in the Choose Terminal Type screen.
The dialogs offer not only functions for addressing DALI control gears and DALI control devices, but also for writing and reading parameters.
Using the drop-down menu, the user first selects how many DALI terminals are present in the project and which types they are.
To ensure clarity in the project, the nMaxNumberOfDALI_Lines global variable should be reduced to the actual number of DALI lines present in the project.

In the other lines of the drop-down menu, select whether DALI control gears or DALI control devices are to be parameterized.


Addressing of the DALI devices and querying of the addresses that are already assigned is performed in the Addressing tab, which is available for both control gears and control devices.

Parameters can be read based on selected short addresses and can be written, as far as possible.

There are also dialogs for
- Executing DALI commands
- Reading current states
- Reading and configuring group allocations
- Reading and configuring assignments within scenes
- Reading and writing the configuration of DALI control gears:
- Device type 1 (Emergency lighting devices, Part 202) can be read out manually.
- Device type 4 (Regulation of supply voltage of incandescent lamps, Part 205) can be read out manually.
- Device type 6 (LED modules, Part 207) can be read out manually.
- Device type 7 (Switching functions, Part 208) can be read out manually.
- Reading and writing the configuration of DALI control devices:
- Instance type 0 (Generic inputs, Part 103) can be read out manually.
- Instance type 1 (Push button, Part 301) can be read out manually and event-driven.
- Instance type 2 (Absolute value, Part 302) can be read out manually.
- Instance type 3 (Occupancy sensor, Part 303) can be read out manually and event-driven.
- Instance type 4 (Light sensor, Part 304) can be read out manually.
For this purpose, one page is available for reading the configuration and one for writing.
- Adjustment of the fading settings
- Reading and, if the vendor wishes, configuration of the memory banks.
- Memory bank 1 for the control gears (part 102) contains the extension (device type 50).
- The device type 51 (Energy report) is available by querying the memory banks 202, 203 and 204.
- The device type 52 (Diagnostics and maintenance) is available by querying the memory banks 205, 206 and 207.
- Configuration of the KL6821/EL6821 (switching the power supply unit on/off, behavior on triggering of the K-bus or E-bus watchdog, behavior in the event of rising or falling edges on the two digital inputs of the terminal, enablement of the process image after the inputs have been actuated, deactivation of the blocking of the process image when using the digital inputs of the KL6821/EL6821).
As the KL6811 does not support the DALI-2 standard, dialogs that are not available are hidden as follows.

Requirements
Required PLC library | DALI PLC Commissioning Tool |
---|---|
Tc3_DALI from v3.22.0.0 | Tc3_DALI_PLC_Commissioning_Tool v3.9.0.0 |