Changes

11,914 bytes added ,  13:25, 12 August 2021
Created page with "{{Infobox module | name = DW-DALI.A | image = DW-DALIA.png | outCount = | dimmOut = | peakl = | peakdl = | dt = | inCount = | inB..."
{{Infobox module
| name = DW-DALI.A
| image = DW-DALIA.png
| outCount =
| dimmOut =
| peakl =
| peakdl =
| dt =
| inCount =
| inB =
| DALI = 2
| inDry =
| voltage = 11.5...27.5 V DC
| dim = 2U, 35x97x58 mm
}}

==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.

<div class="caution">
CAUTION! All work related to the installation, connection, setting up, service and support must be carried out by qualified personnel with sufficient skills and experience in working with electrical equipment.
To avoid the risk of fire, electric shock, damage to the system and/or personal injury, the system installation and assembly must be performed in accordance with the instructions listed below:
*all connectivity work must be carried out with the power turned OFF;
*use appropriate tools and personal protection against electric shock;
*do not use damaged cables, wires and connectors;
*avoid folding the cables and wires;
*do not apply excessive force to the wires by kinking or pressing them too hard: the inner conductors of the cables and wires may get stripped or damaged;
*do not use the power socket with poor contacts to connect;
*do not exceed the load limit parameters specified in the manual;
*the supply conductors wire section is subject to the specifications for current density limit, insulation type and wire material. Light section can result in cable overheating and fire.
When the power is on, NEVER:
*connect/disconnect the connectors;
*open modules and sensors.
</div>

==Module dimensions==

[[File:DALIA DIM.png|500px]]

==Internal layout==

[[File:DALIA IL.png|300px]]

==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:

{{mp
| daliqty = 2
| dalivoltage = 23.5 – 24.5 V DC
| dalipeakofc = 1A
| dalipeakcinl = 300 mА
| dalimaxdevs = 64<sup>1</sup>
| power = 11.5 … 27.5 V DC from CAN
| maxcur24v = 30 mA
| bustype = CAN (4-wire)
| instalation = DIN-rail (EN 60715)
| case = ABS
| protection = IP40
| temprange = -10 … +50 °C
| size = 2U, 35x97x58 mm
| weight = 75g
| sup1 = subject to compliance with other parameters
}}
===Module general structure===
[[File:DALIA VIEW.jpg|300px]]

At the bottom of the casing 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 table
{| class="wikitable"
|+ text-align="left"|'''Table2'''
|-
!Connector!!Contact!! style="width:300px" |Assignment
|-
|1 DALI<br>[[File:DALIA CON1.jpg|80px|frameless]] || D1+<br>D1-<br>D2+<br>D2-|| DALI1 bus<br>DALI2 bus
|-
|2 DALI power supply<br>[[File:DALIA CON1.jpg|80px|frameless]] ||+24V<br>GND|| +24V — DALI bus power supply<br>GND — common
|-
| colspan="2"| 3<br>Module indicating unit || The scenario for module indicating unit is shown below
|-
|4 CAN<br>[[File:DALIA CON1.jpg|80px|frameless]] || VCC<br>GND<br>L<br>H|| VСС — +24V power supply of CAN-bus<br>GND — common<br>L — CAN-L data bus<br>H — CAN-H data bus
|}

{{indicationold|showDali=1}}

===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
[[File:DALIA EXA.jpg|700px]]

===Module installation and connection procedure===
<div class="caution">
CAUTION! You must precisely follow the recommendations listed in the «Safety Requirements» section of this manual.
</div>
#Install the module in the switchboard on the DIN-rail and secure it with special latches available on the module base.
#Connect the CAN-bus (4).
#Connect the DALI-bus (1).
#Connect the DALI power connector (2).
#Energise the module power supply (24 V).

===Module shutoff and disassembly procedure===

#isconnect the power connector (2).
#Disconnect the DALI connector (1).
#Disconnect the connector of CAN-bus (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 [https://itunes.apple.com/us/app/larnitech/id1108457530?mt=8|App Store] and [https://play.google.com/store/apps/details?id=com.larnitech|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/|http://www.larnitech.com/support/ ] or [mailto:support@larnitech.com|support@larnitech.com].
There are also some tips in the FAQ section at our website [http://www.larnitech.com/faq/|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,…’ “:

#bus1 — first DALI bus data;
#bus2 — second DALI bus data;
#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:

#ID:SID — address DALI bus data (com-port in logic.xml);
#0xC0 — command for set address DALI devices;
#ADDR — address DALI device.

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

#ID:SID — address DALI bus data (com-port in logic.xml);
#0xD4 — command for set default brightness DALI devices;
#ADDR — address DALI device;
#LEVEL — brightness level, 0…250.

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

#ID:SID — address DALI bus data (com-port in logic.xml);
#0xD3 — command for set the brightness change time DALI devices;
#ADDR — address DALI device;
#TIME — brightness change time, in seconds.

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

#ID:SID — address DALI bus data (com-port in logic.xml);
#0xD1 — command for set minimal brightness DALI devices;
#ADDR — address DALI device;
#LEVEL — brightness level, 0…250.

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

#ID:SID — address DALI bus data (com-port in logic.xml);
#0xD0 — command for set maximum brightness DALI devices;
#ADDR — address DALI device;
#LEVEL — brightness level, 0…250.

==HW Settings==
{|class="wikitable"
|-
!Name!!Type, range!!SUBID!!Default!!Description
|-
|bus1||string||98||—||
*'(integer)' – dimmer l
*'(integer)L' – l
Example:
<syntaxhighlight lang="xml" line>
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
</syntaxhighlight>
|-
|bus2||string||98||—||
*'(integer)' – dimmer l
*'(integer)L' – l
Example:
<syntaxhighlight lang="xml" line>
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
</syntaxhighlight>
|-
|def||string 'ON'||certain SubID||'OFF'||def is the element status is set after restart
<syntaxhighlight lang="xml" line>
hw="def='ON'"
</syntaxhighlight>
|-
|min||integer (0…100)||certain SubID||0||minimum dimming level, 0..100;
Example:
<syntaxhighlight lang="xml" line>
hw="min=30"
</syntaxhighlight>
|-
|max||integer (0…100)||certain SubID||100||maximum dimming level, 0..100;
Example:
<syntaxhighlight lang="xml" line>
hw="max=80"
</syntaxhighlight>
|-
|[hill]||string||certain SubID||—||abrupt change at the beginning, gradual change at the end
Example:
<syntaxhighlight lang="xml" line>
hw="min=30 max=80 hill"
</syntaxhighlight>
|-
|[pit]||string||certain||SubID||—||gradual change at the beginning, abrupt change at the end
Example:
<syntaxhighlight lang="xml" line>
hw="min=30 max=80 pit"
</syntaxhighlight>
|}
<syntaxhighlight lang="xml" line>
<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"/>
</syntaxhighlight>