Communication

With regard to the communication, a distinction is made between three frame types:

Communication 1:

BF: backward frame
FF: forward frame

16-bit frames

16-bit frames are always sent from a DALI controller to a DALI control gear. They are used for configuring the devices, querying parameters or sending control commands. For certain DALI commands the DALI control gear sends an 8-bit backward frame. DALI control gears only send an 8-bit frame when requested.

In the Tc3_DALI library these commands are identified by the PLC function blocks with the prefix FB_DALI102 or FB_DALI2xx, e.g. FB_DALI102QueryActualLevel or FB_DALI207QueryFeatures.

24-bit frames

24-bit frames are always sent from a DALI controller to a DALI control device. They are used for configuring the devices, querying parameters or sending control commands. For certain DALI commands the DALI control device sends an 8-bit backward frame.

In the Tc3_DALI library these commands are identified by the PLC function blocks with the prefix FB_DALI103 or FB_DALI3xx, e.g. FB_DALI103QueryOperatingMode or FB_DALI303SetHoldTimer.

24-bit events

DALI control devices are able to send events. They are always evaluated by the DALI controller and have a length of 24 bits.

Individual events can be filtered out and further processed with the function blocks FB_DALIGetInputNotification and FB_DALIGetPowerCycleNotification.

Communication 2:

Further information on DALI can be found on the homepage of the DALI Alliance (https://www.dali-alliance.org) and in the IEC 62386 standard.

Communication 3:

The KL6811 only supports the first revision of the DALI standard. It is not possible to operate control devices with the KL6811.