
Product overview
KL6821 15Version: 1.0.0
24-bit telegram without backward frame:
17.0 ms + (25 x 0.833 ms) = 37.8 ms.
24-bit telegram with backward frame:
17.0 ms + (25 x 0.833 ms) + 8.0 ms + (9 x 0.833 ms) = 53.3 ms.
24-bit telegram send-twice:
17.0 ms + (25 x 0.833 ms) + 14.1 ms + (25 x 0.833 ms) = 72.8 ms.
The following table lists the average transmission lengths of the individual telegrams. This results in a
maximum possible number of telegrams per second. The PLC program should be designed in such a way
that the number of telegrams always falls below the maximum.
Telegram Transmission length Telegrams per second
16-bit telegram without backward
frame
31.2ms approx. 32
16-bit telegram with backward
frame
46.7ms approx. 21
16-bit telegram send-twice 59.4ms approx. 16
24-bit telegram without backward
frame
37.8ms approx. 26
24-bit telegram with backward
frame
53.3ms approx. 18
24-bit telegram send-twice 72.8ms approx. 13
2.3.4.3 Collision detection
The generation of the DALI telegrams is achieved in a DALI device by changing between high and low level
within defined times. At a low level, the DALI bus is pulled towards 0V against a current limitation. With a
high level, the DALI connection from the DALI device is high-resistance.
Since DALI is a multi-master system, it may happen that several DALI devices try to send DALI telegrams
independently of each other. For this reason, DALI includes collision avoidance, collision detection and
collision resolution.
Collision avoidance is achieved by using the DALI priorities. Before a DALI device sends a DALI telegram, it
is checked whether the DALI bus is free. Only if the DALI bus is free (high level), a bus access may take
place. Correct use of DALI priorities reduces the probability of simultaneous bus access and thus minimizes
the number of collisions.
Nevertheless, the DALI priorities cannot completely avoid collisions on the DALI bus, since DALI telegrams
from different DALI devices may have the same DALI priority. For this reason, DALI has collision detection
and collision resolution.
The following diagram explains the collision resolution.
If several DALI devices send a high level, this cannot be detected by the DALI devices. The resulting voltage
on the DALI bus is also a high level in this case.
At point A DALI device 1 detects a collision, because an attempt is made to generate a high signal at this
point, but the DALI bus is pulled to low level by DALI device 2. DALI device 1 starts the break sequence for
this reason. During this time the DALI device pulls the DALI bus to low level.
At point B DALI device 2 tries to generate a high level. However, since the DALI bus is pulled to low level by
DALI device 1, DALI device 2 also detects a collision and also starts the break sequence.
At point C the break sequence of DALI device 1 has expired. Subsequently, it is checked whether the DALI
bus is still at low level. Since this is the case, the system waits until the DALI bus is free again. DALI device 1
then starts sending the DALI telegram again, including the settling time.
If the break sequence is finished at DALI device 2, the DALI bus is not occupied by any other DALI device
(point D). Therefore the recover sequence is started at DALI device 2 and then the DALI telegram is sent
again directly (without settling time).