DALI gateways
Devices that are an MDT DALI Control 1x64 or 2x64 gateway (application programs 0154 and 0155, versions 1.0, 1.1 and 4.0)
have a DALI tab in Devices & places, between Routing and Program. It does what the vendor’s ETS plug-in does:
find the electronic control gears (ECGs) on the DALI line, give them addresses, put them into groups, and write scenes and
time control. The knxdali command does the same from a terminal. The group objects and the parameters
of the gateway are still edited in the other tabs; the DALI tab works on the plan of one DALI channel.
The protocol was taken from the plug-in. It has been run on one real gateway, an MDT SCN-DA642.04: a new installation, writing the ECG configuration and assigning ECGs to groups worked. The rest is tested against a fake gateway only. The tab still says “has not been verified on a device yet”. Read the safety notes; try the reading buttons first and a change on a spare ECG.
The plan can be edited without a connection. Everything that talks to the gateway needs a connection and Allow sending in the top bar. A gateway with two channels has a DALI channel selector. Every channel has its own plan, which stays between runs of the application.
Commissioning
The toolbar reads, installs and writes:
| Button | What it does |
|---|---|
| Read device | Replaces the plan by what the device holds. |
| Synchronize | Merges what the device holds into the plan. |
| Status | Reads errors, values, failure counts and operation hours of ECGs and groups. |
| New installation | The device addresses all ECGs on its DALI line anew. Addresses given before are lost. |
| Post installation | The device finds new ECGs and forgets those that are gone. Options: keep ECGs the plan does not know, delete short addresses set by other tools. |
| Easy replace | The device looks for one failed and one new ECG on the line and gives the new one the address of the failed one. |
| Write assignments | Writes the assignment of ECGs to DALI addresses and groups. The badge counts what was planned and not written yet. |
Put found ECGs into chooses the group the ECGs of an installation go into: no group, one of the groups, or single ECGs.
Below are three tables:
- ECGs on the DALI line: what the device found, with its type, long address, group and state. Each row has On, Off, Blink and Stop buttons to find the lamp, and a × that makes the device forget the short address (a post installation finds the ECG again). Above the table are the same buttons for all ECGs, and Converter inhibit.
- ECGs of the project: the 64 entries of the gateway, which you assign to a DALI address and a group.
- Groups: the 16 groups, with their description and, after a status run, the failed ECGs and lamps.
Every action that changes the device asks you to type the address of the gateway, as for a load. Before the first change the configuration the device holds is saved to a backup file, which the result names. If the configuration has warnings, the run stops and lists them; Continue anyway goes on.
Scenes
The 16 scenes of the channel. A scene has a description, a KNX scene number, a colour fade time and one item per ECG or group with a value and, for gateways with colour control, a colour. Tick value or colour to leave that part as it is. The buttons next to an item set its value and colour on the device now. Run scene on the device runs the scene as the device holds it. Read scenes from the device replaces the scenes of the plan. Write scenes writes all scenes to the device, which then takes them over. A dot marks a scene that is changed and not yet written.
Time control
The time control templates. A template has a description, a mode, a manual override, member groups and ECGs, and commands. A command has a time, weekdays, a function and its value or colour; a mark shows when none of the member groups has the colour control a command needs. Add command, Sort by time, Sort by function and Empty template edit the list, and the gateway sets a limit for the commands of all templates. A command can be run on the members at once. Read templates from the device and Write templates work like those of the scenes.
Files and restore
- Files of the ETS plug-in: import and export the configuration of the channel, the group descriptions and the ECG descriptions in the files of the vendor’s plug-in, so a configuration saved there can be loaded here and the other way round. Single scenes and templates can be imported and exported on their tabs.
- Project: the group assignment of the ECGs, the descriptions and the template modes are parameters of the gateway in the project. They follow the plan after a run that changed it, and Set the parameters of the project from the plan does it by hand. It is a change of the project like any other: it is in the list of changes, and the project is not saved by it. Importing a plug-in file that holds descriptions overwrites those parameters.
- Restore: writes the whole plan (ECGs with their addresses, assignments, scenes and templates) to the device and resets it, for a replacement gateway. It needs a plan that was read from a device, written to one or imported from a file.
Limits
- Confirmed on one gateway only (MDT SCN-DA642.04): new installation, writing the assignments and group assignment. Post installation, easy replace, scenes, time control, status, restore and all other gateways are tested against a fake gateway only. See status.
- Only the six MDT programs are known. Gateways of other manufacturers are not supported.
- The plan is kept in the configuration folder of the application (
dali/), not in the project file as the plug-in does. - Table writes expect the device to answer with the data that was written; a device that answers otherwise fails the write with a verify error.
- The application polls the command status every 2 seconds, because the connection closes after 6 seconds of silence.