Longo programmable controller LPC-2.DL1
3 OPERATION
LPC-2.DL1 module can be used in different modes of functioning.
With the parameters/commands, various control of DALI or DSI devices can be achieved.
When module is set as DALI master device, module is supporting up to eight DALI addresses and DALI
data to work simultaneously. When select as DSI master device, one DSI data channel is supported.
DSI: To select DSI mode of module operation, Device Tx Address “DL1_1a_oAdd” must be set to 255
and Device T Data “DL1_1a_oDat” must be set to 254.
To send dim level to DSI device, Device T Address “DL1_1b_oAdd” must be set to 0 and
corresponding dim level (0..255) must be send to Device T Data “DL1_1b_oDat”. To stop sending dim
level to DSI, 0 must be writen to Device T Address “DL1_1b_oAdd”.
Other twelve, Device T Address “DL1_1 _oAdd” and Device T Data “DL1_1 _oDat” parameters do
not take effect when module is in DSI mode of operation.
DALI: DALI mode of module operation is automatically selected when Device Tx Address
“DL1_1 _oAdd” value is in range 0 to 254 and Device T Data “DL1_1 _oDat” value is in range
0 to 255.
DALI address “DL1_1 _oAdd” structure.
DALI address is one byte long, YAAAAAAS (High bit .. Low bit).
DALI short address 0 .. 63 0AAAAAAS
DALI group address 0 .. 15 100AAAAS
DALI broadcast 11111111S
DALI special commands 101CCCCS and 110CCCCS
A = significant address bit
S = selector bit
S = 0 direct arc power level following in data byte (“DL1_ a_oDat”)
S = 1 command following in data byte (“DL1_ a_oDat”)
C = significant address command bit
Y = short or group address / broadcast
Y = 0 short address
Y = 1 group address or broadcast
DALI data “DL1_1 _oDat” structure.
DALI data / command is one byte long, XXXXXXXX (High bit .. Low bit).
For e ample when writing 2 (00000010) to “DL1_1a_oAdd” and (127) 01111111 to “DL1_1a_oDat”,
light with DALI ballast with short address 1 will lit with 15% (127) of relative lighting level.
When writing 3 (00000011) to “DL1_1a_oAdd” and (127) 00000000 to “DL1_1a_oDat”, DALI
command will be sent and DALI device with short address 1 will switch off.
Up to eight different DALI address and data parameters can be written to the module at the same time.
Corresponding answer from DALI device can be read from “DL1_1 _iDat” value and corresponding
DALI device address is echoed to “DL1_1 _iAdd” value.
When one or more of DALI addresses and commands (channels) are not used, “DL1_1 _oAdd” and
Device T Data “DL1_1 _oDat” parameters for unused channel must be set to 255.
For detail description of DSI (Digital Serial Interface) please refer to DSI documentation. For detail
description of DALI (Digitally Addressable Lighting Interface) please refer to IEC929 Annex E or other
documentation.
Functions and possibilities will be described within parameters description.
3