Datasheet
Code Mercenaries
4
LL
LL
EE
EE
DD
DD
--
--
WW
WW
aa
aa
rr
rr
rr
rr
ii
ii
oo
oo
rr
rr
00
00
99
99
4.3.3 $00 - OFF
Command code $00 switches the addressed lamp
off.
4.3.4 $01 - UP
Command code $01 fades the addressed lamp up
for 200ms with its internally programmed rate.
4.3.5 $02 - DOWN
Command code $02 fades the addressed lamp
down for 200ms with its internally programmed
rate.
4.3.6 $03 - STEP UP
Command code $03 steps the power of the
addressed lamp up by one step. It does not switch a
lamp on.
4.3.7 $04 - STEP DOWN
Command code $04 steps the power of the
addressed lamp down by one step. It does not
switch a lamp off.
4.3.8 $05 - Max Level
Command code $05 sets a lamp to its internally
programmed Max Level.
4.3.9 $06 - Min Level
Command code $06 sets a lamp to its internally
programmed Min Level.
4.3.10 $07 - Step Down And Off
Command code $07 steps the power of the
addressed lamp down by one step. If the lamp was
already at its min level it is switched off.
4.3.11 $08 - On And Step Up
Command code $08 steps the power of the
addressed lamp up by one step. If the lamp was off
it is switched on to its Min Level.
4.3.12 $09 - Enable DAPC Sequence
Command code $09 enables the DAPC sequence
mode. If following it DAPC commands are send
with less than 200 ms spacing there will be no
transition time between lamp power levels.
4.3.13 $1X - Go To Scene
Command codes $10 to $1F switch the addressed
lamps to the scene number defined by the lower
nibble (i.e. $12 activates scene 2).
4.3.14 $0A-$0F - Reserved
Command codes $0A to $0F are reserved for future
DALI extensions. LED-Warrior09 does transmit
these codes if issued to the command register, but
the reaction of any DALI device to these codes is
not defined.
4.4 Config register
The config register controls the function of the two
switch inputs. It is possible to program the inputs
to work together for on/off, up/down control or
independent. Each of the functions may address a
single DALI device, a group or broadcast to all
devices.
For each input two bytes control its function. The
first byte selects the mode of the input and the
second sets the address of the decive(s) controlled
by the input.
The Format of the Config register is as follows:
Mode controls the function of the switch input. The
bits in the mode bytes have the following function:
7 - Scene bit 3
6 - Scene bit 2
5 - Scene bit 1
4 - Scene bit 0
3 - reserved, write 0
2 - Mode bit 2
1 - Mode bit 1
0 - Mode bit 0
Mode numbers select the following functions:
0 - Two switch up/down dimming
1 - Two switch on/off
2 - Single switch dimming
3 - Single switch on/off
4 - Single switch go to scene
5 - Single switch step through scenes
6 - Single locking switch on/off
If a two switch option is selected for SW0 the
mode bits for SW1 are ignored. Selecting a two
switch option only for SW1 does not work.
Switches are assumed to be of a non-locking type
(i.e. the contact is closed only as long as the switch
is manually pressed), except for mode 6 which is
explicitly for a locking type of switch like a classic
light switch.
Byte 0
Mode SW0
Byte 1 Byte 2
Addr SW0 Mode SW1
Byte 3
Addr SW1
V1.0.0 April 8th 2015