Contatto
ModDALI
The
destination
can assume different values depending on
the typology of the addressed target, identified by the value
of the high byte of the channel, as in the following table:
Written data
Destination
HEX
DEC
0x00
0
All the ballasts on the line
0x01
¸
0x20
1
¸
32
single ballast (1
¸
32)
0x81
¸
0x90
129
¸
144
single group (1
¸
16) of ballasts
The function executed by the module depends on the value
written on the low byte of the channel, as described in the
following table:
Written data
Function
HEX
DEC
0x00
¸
0x64
0
¸
100
Set the brightness to 0
¸
100%
according to the current ramp
0x70
112
Disable polling
0x71
113
Enable polling
0x7D
125
Up command without one-touch
function
0x7E
126
Down command without one-
touch function
0x7F
127
Single command without one-
touch function
0x80
128
No operation
(in this case the
value of the destination must be
zero)
0x87
135
Set the current brightness a
MIN value
0x88
136
Set the current brightness a
MAX value
0x89
137
Reset MIN value to default (1%)
0x8A
138
Reset MAX value to default
(100%)
0x8B
139
Save the current brightness as
level to be loaded during bus
failure condition
0x8C
¸
0xAA
140
¸
170
Set the current ramp to 0
¸
30
seconds (1s step)
0xAB
¸
0xAD
171
¸
173
Set the current ramp to 40
¸
60
seconds (step 10 s)
0xB5
¸
0xC4
181
¸
196
Save the current brightness to
Preset 1
¸
16
0xC9
¸
0xD8
201
¸
216
Recall brightness from Preset
1
¸
16 according to current ramp
Note:
the previous table applies to ModDALI module equipped with
firmware 2.0 or higher.
The value to be written in the channel to perform a given
function to a given destination will be thus:
in hexadecimal: 0xYYZZ where YY is the destination in
hexadecimal format (HEX) and ZZ is the code of the
function in hexadecimal format (HEX)
in decimal: K where K is given by [(256 x YY) + ZZ],
where YY is the destination in decimal format (DEC)
and ZZ is the code of the function in decimal format
(DEC)
Notes:
ModDALI module, normally, polls all the ballasts connected to
the 4 lines; this polling can be disabled , independently for
each line, sending the code 112 (of course losing all informa-
tion about the diagnostic and the current level). The code 113
enable again the polling; the current status of the polling is re-
ported bu the point 11 of the input channel (if enabled). At the
module power up or after a reset the polling is always en-
abled by default.
The code 128 is required only to inform ModDALI about when
interrupt a running function. For instance, to perform an Up
function, the code 125 must be sent: the brightness will in-
crease until the sending of code 128.
The code 139 saves, in the non volatile memory of the bal-
lasts, the brightness level which will be automatically recalled
when during a DALI bus failure condition or during a commu-
nication loss with MCP controller.
The change from a brightness level to another one will be ex-
ecuted according to a ramp that can be set as desired by the
codes 140 to 173. The ramp value will be stored in the non
volatile memory of the ballasts, therefore a power failure does
not affect it .
The sending of commands or values to DALI devices can
be performed through a supervisor simply writing the mem-
ory locations of MCP related to the output channels of the
installed ModDALI modules.
As option, or in addition, it is possible to send commands or
value from MCP to the DALI channel through proper equa-
tions as in the following example:
V1
= !(
I1.1
|
I1.2
|
I1.3)
AO2:1
= P(128)
V1
& \
P(125)
I1.1
& P(126)
I1.2
& \
P( 50)
I1.3
where
I1.1
and
I1.2
are, for instance, the Up and Down
inputs and
AO2:1
is the channel 1 of the ModDALI module
with address 2;
I1.3
will set the brightness to 50%. The
specified value, at each variation, will be transferred to the
DALI output (
AO2:1
). At the releasing of each pushbutton,
the value is always set to 128 (no operation, but needed to
inform the module about the releasing of the buttons).
To get the same result on a ballast individually addressed,
it is easiest (even if not mandatory) to use the hexadecimal
format to write the equations, because the address of the
ballast has to be specified in the high byte of the channel:
V1
= !(
I1.1
|
I1.2
|
I1.3)
AO2:1
= P(
0x0080
)
V1
& \
P(
0x017D
)
I1.1
& P(
0x017E
)
I1.2
& \
P(
0x0132
)
I1.3
where
I1.1
and
I1.2
are the Up and Down inputs and
AO2:1
is the channel 1 of the ModDALI module with ad-
dress 2;
I1.3
will set the brightness to 50%.
DUEMMEGI
s.r.l. - Via Longhena, 4 - 20139 MILANO
Tel. 02/57300377 - Fax 02/55213686 –
www.duemmegi.it
Rel.: 2.4 October 2017
Page 4 of 9