Introduction

DW-DALI.A Module Installation Manual describes the procedure for its installation, assembly, operation and setting.
While working with the module, you must strictly comply with all the requirements set out in this manual. Failure to comply may result in damage to the device, its failure, electric shock, fire and other fallout.

Module configuration and correct use

Module correct use

DW-DALI.A module is to be used as a part of a wired system Larnitech Smart House. DW-DALI.A is to be used for data exchange between devices connected to the CAN bus, and devices such as electronic ballasts and dimmers, supporting DALI (Digital Addressable Lighting Interface) interface.

Scope of supply

The scope of supply is as follows:

Parameter name Value
DALI ports qty 2
DALI-line voltage supply 23.5 – 24.5 V DC
Peak current of DALI-line power supply 1A
Peak current in DALI-line 300 mА
Maximum DALI devices quantity 641
Power supply 11.5 … 27.5 V DC from CAN
Max current(24V) 30 mA
BUS type CAN (4-wire)
Equipment installation type DIN-rail (EN 60715)
Case material ABS
Protection IP40
Temperature range -10 … +50 °C
Size 2U, 35х90х58 mm
Weight 75 g

1 – subject to compliance with other parameters

Module general structure

Module general view is shown in fig. 1

At the bottom of the casing (fig. 1) there is a connecting plug (3) to the CAN-bus of Smart House network.

The physical configuration and contact point assignment of each connector are shown in 2.

2

Connector Contact Assignment
1 DALI D1+
D1-
D2+
D2-

DALI1 bus

DALI2 bus

2 DALI power supply +24V
GND
+24V — DALI bus power supply
GND — common
3 Module indicating unit The scenario for module indicating unit is shown in 3
4 CAN VCC
GND
L
H
VСС — +24V power supply of CAN-bus
GND — common
L — CAN-L data bus
H — CAN-H data bus

3

Indicator Status Description
Power Power
Power not available
Activity Transferring data
No data transferring
Error No errors

(blinking)

The device blinks once every two seconds. The data has not been transferred via the CAN bus for at least 5 minutes.

(blinking)

One blinking in half a second. No power on the DALI bus or over current  (more then 180 mA) on DALI bus. If over current is at both bus blinking twice in half a second.
Module installation and assembly

Before connecting the module, you must determine the module installation place.
Note: The module must be installed near 24V power supply.

Typical  diagram for DW-DALI.A module connection is shown in fig. 3.


Fig.3

Module installation and connection procedure
CAUTION! You must precisely follow the recommendations listed in the «Safety Requirements» section of this manual.
  1. Install the module in the switchboard on the DIN-rail and secure it with special latches available on the module base.
  2. Connect the CAN-bus (4).
  3. Connect the DALI-bus (1).
  4. Connect the DALI power connector (2).
  5. Energise the module power supply (24 V).
Module shutoff and disassembly procedure
  1. Disconnect the power connector (2).
  2. Disconnect the DALI connector (1).
  3. Disconnect the connector of CAN-bus (4).
  4. Demount the module from the DIN-rail, releasing the latch, available at the module base.

Hardware setup

To configure and control DW-DALI module, you must install Larnitech software on your smartphone or t, which is available in App Store and Play Market. After installation, follow the System Setup Instructions.

Fault diagnostics and handling

The following are some possible faults and ways of fault handling. If you have any difficulty, or face the fault undeclared here, please contact the Technical Support: http://www.larnitech.com/support/ or support@larnitech.com.
There are also some tips in the FAQ section at our website http://www.larnitech.com/faq/.

System Setup Instruction

Each DALI bus can use 40 DALI devices. Together DALI buses for one DW-DALI.A can use 64 DALI devices. Address DALI device must be from 1 to 63. To add DALI devices to DALI bus, add «hw» to tag with SubID 98, hw=”bus1=’1,2,3,…’ bus2=’1,2,3,…’ “:

  1. bus1 — first DALI bus data;

  2. bus2 — second DALI bus data;

  3. 1,2,3 — address DALI devices.

Configuring DALI device settings(set from scripts):

setStatus(ID:SID, {0xC0, ADDR}) – set address DALI devices, need to connect one DALI device on DALI bus data:

  1. ID:SID — address DALI bus data (com-port in logic.xml);

  2. 0xC0 — command for set address DALI devices;

  3. ADDR — address DALI device.

setStatus(ID:SID, {0xD4, ADDR, LEVEL}) — set default brightness:

  1. ID:SID — address DALI bus data (com-port in logic.xml);

  2. 0xD4 — command for set default brightness DALI devices;
  3. ADDR — address DALI device;
  4. LEVEL — brightness level, 0…250.

setStatus(ID:SID, {0xD3, ADDR, TIME}) — set the brightness change time:

  1. ID:SID — address DALI bus data (com-port in logic.xml);

  2. 0xD3 — command for set the brightness change time DALI devices;

  3. ADDR — address DALI device;
  4. TIME — brightness change time, in seconds.

setStatus(ID:SID, {0xD1, ADDR, LEVEL})set minimum brightness:

  1. ID:SID — address DALI bus data (com-port in logic.xml);

  2. 0xD1 — command for set minimal brightness DALI devices;
  3. ADDR — address DALI device;
  4. LEVEL — brightness level, 0…250.

setStatus(ID:SID, {0xD0, ADDR, LEVEL}) — set maximum brightness:

  1. ID:SID — address DALI bus data (com-port in logic.xml);

  2. 0xD0 — command for set maximum brightness DALI devices;
  3. ADDR — address DALI device;
  4. LEVEL — brightness level, 0…250.

HW Settings

Name Type, range SUBID Default Description
bus1 string 98 ‘(integer)’ – dimmer l
‘(integer)L’ – l
Example:

hw="bus1='1-30'" — create in logic 30 dimmer l
 	hw="bus1='1L-30'" — create in logic 30 l
 	hw="bus1='1L-10,20-35'" — create in logic 10 lamp and 15 dimmer l
 	hw="bus1='6,35,2,1,54'" — create in logic 5 dimmer l
bus2 string 98 ‘(integer)’ – dimmer l
‘(integer)L’ – l
Example:

hw="bus2='1-30'" — create in logic 30 dimmer l
 	hw="bus2='1L-30'" — create in logic 30 l
 	hw="bus2='1L-10,20-35'" — create in logic 10 lamp and 15 dimmer l
 	hw="bus2='6,35,2,1,54'" — create in logic 5 dimmer l
def string ‘ON’ certain SubID ‘OFF’ def is the element status is set after restart

hw="def='ON'"
min integer (0…100) certain SubID 0 minimum dimming level, 0..100;
Example:

hw="min=30"
max integer (0…100) certain SubID 100 maximum dimming level, 0..100;
Example:

hw="max=80"
[hill] string certain SubID abrupt change at the beginning, gradual change at the end
Example:

hw="min=30 max=80 hill"
[pit] string certain SubID gradual change at the beginning, abrupt change at the end
Example:

hw="min=30 max=80 pit"

Example:

<item addr="450:1" auto-period="600" cfgid="80" hw="min=30 max=80 hill" name="Dimmer" type="dimer-lamp" uniq_id="4138"/>
<item addr="450:2" auto-period="600" cfgid="80" hw="min=30 max=80 pit" name="Dimmer" type="dimer-lamp" uniq_id="4139"/>
<item addr="450:3" auto-period="600" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4140"/>
<item addr="450:4" auto-period="600" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4141"/>
<item addr="450:5" auto-period="600" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4142"/>
<item addr="450:6" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4143"/>
<item addr="450:7" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4144"/>
<item addr="450:8" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4145"/>
<item addr="450:9" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4146"/>
<item addr="450:10" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4147"/>
<item addr="450:11" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4148"/>
<item addr="450:12" auto-period="600" hw="min=30" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4149"/>
<item addr="450:13" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4164"/>
<item addr="450:41" auto-period="600" hw="min=30 max=80 hill" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4151"/>
<item addr="450:42" auto-period="600" hw="min=30 max=80 pit" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4152"/>
<item addr="450:43" auto-period="600" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4153"/>
<item addr="450:44" auto-period="600" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4154"/>
<item addr="450:45" auto-period="600" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4155"/>
<item addr="450:46" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4156"/>
<item addr="450:47" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4157"/>
<item addr="450:48" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4158"/>
<item addr="450:49" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4159"/>
<item addr="450:50" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4160"/>
<item addr="450:51" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4161"/>
<item addr="450:52" auto-period="600" hw="max=80" cfgid="80" name="Dimmer" type="dimer-lamp" uniq_id="4162"/>
<item addr="450:53" auto-period="600" cfgid="80" name="Lamp" type="lamp" uniq_id="4165"/>
<item addr="450:85" cfgid="80" name="RS232" type="com-port" uniq_id="4135"/>
<item addr="450:86" cfgid="80" name="RS232" type="com-port" uniq_id="4136"/>
<item addr="450:98" cfgid="80" hw="bus1='1-5,10L-15,20,25L' bus2='1-5,10L-15,20,25L'" name="Temperature" system="yes" type="temperature-sensor" uniq_id="4137"/>