Device variables
Each DALI control device has a certain number of device variables (parameters). These device variables are used to configure the DALI control device and thus influence its behavior. The values of the device variables are stored in the respective DALI control device.
Name | Reset value | Scope | Size | Comment |
---|---|---|---|---|
No change | 0…63, 255 | 1 byte | 255 (MASK): no address | |
16#FF_FF_FF | 16#00_00_00…16#FF_FF_FF | 3 bytes |
| |
16#FF_FF_FF | 16#00_00_00…16#FF_FF_FF | 3 bytes |
| |
No change | 0…255 | 1 byte |
| |
No change | 0…255 | 1 byte |
| |
No change | 0…255 | 1 byte |
| |
No change | 0…32 | 1 byte | Read only | |
No change | 0, 128…255 | 1 byte |
| |
DISABLED | ENABLED, DISABLED | 1 bit |
| |
No change | TRUE, FALSE | 1 bit |
| |
FALSE | TRUE, FALSE | 1 bit | Read only | |
FALSE | TRUE, FALSE | 1 bit | Read only | |
FALSE | TRUE, FALSE | 1 bit | Read only | |
TRUE | TRUE, FALSE | 1 bit | Read only |
shortAddress
The short address is stored in this variable. A valid short address lies in the range between 0 and 63. With a value of 255 (MASK), the short address is considered deleted.
The short address is set with the function block FB_DALI103SetShortAddress.
searchAddress
The search address is only required for the assignment of short addresses.
The value of the variable can be changed with the function block FB_DALI103SetSearchAddress.
randomAddress
The random address, also known as the long address, is only required when short addresses are assigned.
With the help of the function block FB_DALI103QueryRandomAddress the 3 bytes long random address can be read.
DTR0…DTR2
Data Transfer Registers (DTR) 0 to 2 serve as buffer for the execution of various DALI commands.
The DTRs are used by different function blocks. The description of the respective function block indicates which DTRs are used.
The values of the DTRs can be read out with the function blocks FB_DALI103QueryContentDTRx and changed with the function blocks FB_DALI103SetDTRx.
numberOfInstances
The variable indicates how many instances a DALI control device supports. A device has at least one and a maximum of 32 instances.
The number of instances is queried with the function block FB_DALI103QueryNumberOfInstances. The type of instance is queried with the function block FB_DALI103QueryInstanceType.
operatingMode
The variable indicates the current operating mode of the DALI control device. The value 0 characterizes the standard operation mode, i.e. the device behaves according to its specification.
The operating modes 0 to 127 are reserved and must not be used.
The operating modes 128 to 255 are vendor-specific.
The operation mode can be read out from the DALI control device with the function block FB_DALI103QueryOperatigMode and changed with the function block FB_DALI103SetOperatingMode.
quiescentMode
The variable indicates whether the DALI control device is in quiescent mode. If the variable is TRUE, no commands and events are passed on.
The mode is time-limited to 15 min +/- 1.5 min.
The mode can be started with the function block FB_DALI103StartQuiescentMode and terminated prematurely with the function block FB_DALI103StopQuiescentMode.
The variable can be read out with the aid of the function block FB_DALI103QueryDeviceStatus.
applicationActive
The variable specifies whether the application controller (DALI controller) is active.
According to IEC 62386-103, DALI control devices can contain one or more DALI sensors (input devices) and optionally a DALI controller. If a DALI controller is contained within a DALI control device, it can independently send DALI commands to other control devices and/or DALI control gears (see DALI).
If the application controller is disabled, it does not send any DALI frames other than the Power Cycle Notification.
The application controller can be enabled with the function block FB_DALI103EnableApplicationController and disabled with the function block FB_DALI103DisableApplicationController.
powerCycleSeen
The variable indicates whether the DALI control device was supplied with power.
In this case, the bit is TRUE.
The variable can be read out with the aid of the function block FB_DALI103QueryDeviceStatus.
applicationControllerError
This variable specifies whether an application controller (DALI controller) of a DALI control device has detected an error.
In this case, the bit is TRUE.
If the DALI control device does not contain an application controller, this variable is always FALSE.
The variable can be read out with the aid of the function block FB_DALI103QueryDeviceStatus.
inputDeviceError
The variable indicates whether a DALI control device has detected an error on a DALI sensor (input device).
In this case, the bit is TRUE.
The variable can be read out with the aid of the function block FB_DALI103QueryDeviceStatus.
The function block FB_DALI103QueryInputDeviceError provides more detailed information about the present error. The output depends on the manufacturer.
resetState
The variable indicates whether all device and instance variables have been set to their reset value (see table above).
In this case, the bit is TRUE.
The variable can be read out with the aid of the function block FB_DALI103QueryDeviceStatus.