Variables

Each instance of a DALI control device has a certain number of variables (parameters). These variables are used to configure the instance and thus influence its behavior. The values of the variables are stored in the respective DALI control device.

Name

Reset value

Scope

Size

Comment

eventFilter

2#0000_0000_0000_0001

2#0000_000X_XXXX_XXXX

2 bytes

 

tReport

30

0…255

1 byte

 

tAlarmReport

30

0…255

1 byte

 

tDeadtime

30

0…255

1 byte

 

hysteresisMin

See table

0…255

1 byte

 

hysteresis

5

0…25

1 byte

 

magnitudePhMax

Vendor-dependent

magnitudePhMin...254

1 byte

 

magnitudePhMin

Vendor-dependent

0...magnitudePhMax

1 byte

 

magnitude

Vendor-dependent

magnitudePhMin... magnitudePhMax

1 byte

 

alarmType

2#0000 1111

2#0000_XXXX

1 byte

 

eventFilter

Specific events for each instance are enabled or disabled with the event filter (see Event filter). If the respective bit is set, the corresponding event is enabled, otherwise it is disabled.

The function block FB_DALI103QueryEventFilter can be used to read the value of the event filter; the function block FB_DALI103SetEventFilter can be used to write to it.

tReport

The variable tReport specifies the report time of a general purpose sensor after the occurrence of an event.

The report time is restarted when a new event is sent.

The value is given in steps of 1 s. The permissible value range is 0 (0 s) to 255 (4 min 15 s).

The function block FB_DALI306QueryReportTimer can be used to query the value, the function block FB_DALI306SetReportTimer can be used to specify it.

tAlarmReport

The variable tAlarmReport specifies the report time of a general purpose sensor after the occurrence of an alarm event.

The alarm report time is restarted when a new alarm event is sent.

The value is given in steps of 1 s. The permissible value range is 0 (0 s) to 255 (4 min 15 s).

The function block FB_DALI306QueryAlarmReportTimer can be used to query the value, the function block FB_DALI306SetAlarmReportTimer can be used to specify it.

tDeadtime

The variable defines the time value for a dead time in which no new event is sent until the dead time has elapsed. If this timer is active, it is restarted after each transmitted event.

If the value is 0, the dead time event is disabled.

The value is given in steps of 50 ms. The permissible value range is 0 to 255 (12.75 s).

The function block FB_DALI306QueryDeadtimeTimer can be used to query the value, the function block FB_DALI306SetDeadtimeTimer can be used to specify it.

hysteresisMin

The variable hysteresisMin prevents large fluctuations in the output of values if the measured value is low and the percentage hysteresis is therefore low.

The variable is an absolute value with a value range between 0 and 255.

The reset value depends on the resolution of the input values specified by the vendor.

 resolution

 Vendor-dependent reset value

 1…6

 0

 7

 1

 8

 2

 9

 5

 10

 10

 11

 20

 12

 40

 13

 81

 14

 163

 >= 15

 255

The function block FB_DALI306QueryHysteresisMin can be used to query the value, the function block FB_DALI306SetHysteresisMin can be used to specify it.

hysteresis

The variable hysteresis specifies a percentage value of the hysteresis around a measured value.

A value of 0 disables the hysteresis.

The function block FB_DALI306QueryHysteresis can be used to query the value, the function block FB_DALI306SetHysteresis can be used to specify it.

magnitudePhMax

The variable magnitudePhMax defines the maximum magnitude of the measured value in connection with the resolution.

The value magnitudePhMax is vendor-dependent.

magnitudePhMin

The variable magnitudePhMin defines the minimum magnitude of the measured value in connection with the resolution.

The value magnitudePhMin is vendor-dependent.

magnitude

The variable magnitude is used to scale the input signal.

If the value can be set, it should be between magnitudePhMin and magnitudePhMax.

The value can be specified with the function block FB_DALI306SetMagnitude.

alarmType

The variable alarmType is used to configure alarms 0 to 3. It is possible to trigger an alarm when an input value is exceeded or not reached.

The value can be specified with the function block FB_DALI306SetAlarmType.