Benutzer-Werkzeuge

Webseiten-Werkzeuge


dali_en

DALI

The DALI driver allows to control DALI devices (e.g. LEDs) on a DALI bus.

The name of the DALI driver is defined as: dali
The routing-address of the first DALI driver is 1300
The data point list of the first DALI driver is: dali1.txt
The configuration file for global settings is: dali1.cfg

For the DALI driver as well as all other gateway drivers the data point definitions are as follows:

Type Description
M Integer value (binary data points, counters) which can/shall only be read by the gateway
S Integer value which can be either read or written by the gateway. (to M-BUS writing is not possible)
X Floating point value (with decimal place) which can/shall only be read by the gateway
Y Floating point value (with decimal place) which can be either read or written by the gateway. (to M-BUS writing is not possible)
A String, is used e.g. with BACnet Trends and ESPA4.4.4 data points

Addresses are defined as follows:

„<channel-nr.> <type> [<shortaddress><groupaddress>] <value-type>“

Definition:

Parameter Range Description
<channel-nr.> 1,
2
DALI-channel 1
DALI-channel 2
<type> gearshort,
geargroup,
gearbroadcast
Device with short address
Device with group address
broadcast address
<shortaddress>
<groupaddress>
integer
integer
Short address of device (0..63)
group address (0..15)
<value-type> switch
level
scene
gearfailure

lampfailure

failure
0=off, 1=on state read/write
0,0%..100,0% Niveau (Light dimming) read/write
1..16 scene read/write
In case device does not work. E.g. too low supply or over heating.

In case the lamp cannot operate as expected e.g. improper cabelling, defect lamp

if the device is unavailable

The format can be used to manipulate the PollingTime from the dali1.cfg.

format = <format>

<format> can take the following values:

<format> Description
T:0 Value is not polled
T:X X * PollingTime (from the dali1.cfg), the time, the value is be polled [ms]

The switch data point for LED with short address 10 at channel 1 is defined in file DALI1.TXT as follows:
[S 1 gearshort 10 switch]

The dimming level for LED with short address 4 at channel 1 is defined in file DALI1.TXT as follows:
[Y 1 gearshort 4 level]

The scene for LED wiht short address 7 at channel 2 is defined in file DALI1.TXT as follows:
[S 2 gearshort 7 scene]

The dimming level for devices in group 2 at channel 2 is defined in file DALI1.TXT as follows:
[Y 2 geargroup 2 level]

The switch for devices in group 2 at channel 2 is defined in file DALI1.TXT as follows:
[S 2 geargroup 2 switch]

The scene for devices in group 2 at channel 2 is defined in file DALI1.TXT as follows:
[S 2 geargroup 2 scene]

The switch for all devices at channel 2 is defined in file DALI1.TXT as follows:
[S 2 gearbroadcast switch]

Typical data point definitions:

# failure datapoints

   # format: [M 0 failure]
   [M 0 failure]
     name = Failure DALI communication
     query  = pe
     format = T:60
   [M 1 failure]
     name = failure channel - 1 
     query  = pe
     format = T:120
   [M 2 failure]
     name = failure channel - 2
     query  = pe
     format = T:120

#————————— Channel - 1 ————————————————–

   [S 1 gearshort 1 switch]
     name = LED 1 (ON/OFF)
     query = pe
     format = T:5
   [S 1 gearshort 1 scene]
     name = LED 1 goto scene
     query = pe
     format = T:0
   [Y 1 gearshort 1 level]
     name = LED 1 actual level
     query = pe
     format = T:5
   [M 1 gearshort 1 failure]
     name = LED 1 communication failure
     query = pe
     format = T:10
   [M 1 gearshort 1 gearfailure]
     name = LED 1 gear failure
     query = pe
     format = T:10
   [M 1 gearshort 1 lampfailure]
     name = LED 1 lamp failure
     query = pe
     format = T:10

#————————— Channel - 2 ————————————————–

   [S 2 gearshort 0 switch]
     name = LED 0 (ON/OFF)
     query = pe
     format = T:10
   [S 2 gearshort 0 scene]
     name = LED 0 goto scene
     query = pe
     format = T:0
   [Y 2 gearshort 0 level]
     name = LED 0 actual level
     query = pe
     format = T:10
   [M 2 gearshort 0 failure]
     name = LED 0 communication failure
     query = pe
     format = T:10
   [M 2 gearshort 0 gearfailure]
     name = LED 0 gear failure
     query = pe
     format = T:10
   [M 2 gearshort 0 lampfailure]
     name = LED 0 lampfailure
     query = pe
     format = T:10
     

———————————————————————————————————————————————————————– Until gateway Version V2_06T addresses were handled:

„<channel-no.> <type> <shortaddress> <value-type>“

Please find the definition table below:

Parameter range of value Description
<channel-no.> 1,
2
DALI-channel 1
DALI-channel 2
<type> device,
dev-group
devices
device groups
<shortaddress> integer short address of the device (0..63)
group address (0..15)
broadcast address (255)
<value-type> switch
level
scene
0=off, 1=on State read/write
0,0%..100,0% Level (light current) read/write
0..15 scene read/write

The switching for LED with short address 10 at channel 1 will be defined in the file daliX.txt like that:
[S 1 device 10 switch]

A light current level for LED with short address 4 at channel 1 will be defined in the file daliX.txt :
[Y 1 device 4 level]

The scene for LED with short address 7 at channel 2 will be defined in the file daliX.txt :
[S 2 device 7 scene]

A light current level for device in group 2 at channel 2 will be defined in the file daliX.txt :
[Y 2 dev-group 2 level]

Teh switching for devices in group 2 at channel 2 will be defined in the file daliX.txt :
[S 2 dev-group 2 switch]

Typical data point definitions are:

# failure datapoints

   # format: [M 0 failure]
   [M 0 failure]
     name = Failure DALI communication
     query  = pe
     format = T:600
   [M 1 failure]
     name = failure channel - 1 
     query  = pe
     format = T:0
   [M 2 failure]
     name = failure channel - 2
     query  = pe
     format = T:0

# lamp - 1

   [S 1 device 0 switch]
     name = switch-lamp 1 bus:1 address: 0
     query = pe
     format = T:5
   [Y 1 device 0 level]
     name = lamp 1 bus:1 address: 0
     query = pe
     format = T:8

# lamp - 1

   [S 1 device 0 scene]
     name = lamp 1 bus:1 address: 0
     query = pe
     format = T:11

# lamp - 2

   [Y 1 device 1 level]
     name = lamp 2 bus:1 address: 1
     query = pe
     format = T:0

# lamp - 3

   [Y 1 device 2 level]
     name = lamp 3 bus:1 address: 2
     query = pe
     format = T:0

# lamp - 4

   [Y 1 device 3 level]
     name = lamp 4 bus:1 address: 3
     query = pe
     format = T:0

# device groups datapoints

# group 0

   [Y 1 dev-group 0 level]
     name = Group 0 bus:1 
     query = pe
     format = T:16

# lamp - 1

   [S 2 device 0 switch]
     name = switch-lamp 1 bus:2 address: 0
     query = pe
     format = T:5

# lamp - 1

   [Y 2 device 0 level]
     name = lamp 1 bus:2 address: 0
     query = pe
     format = T:8

# lamp - 1

   [S 2 device 0 scene]
     name = lamp 1 bus:2 address: 0
     query = pe
     format = T:11

# lamp - 2

   [Y 2 device 1 level]
     name = lamp 2 bus:2 address: 1
     query = pe
     format = T:0

# lamp - 3

   [Y 2 device 2 level]
     name = lamp 3 bus:2 address: 2
     query = pe
     format = T:0

# lamp - 4

   [Y 2 device 3 level]
     name = lamp 4 bus:2 address: 3
     query = pe
     format = T:0
dali_en.txt · Zuletzt geändert: 08.04.2019 15:39 von ppu