Emergency lighting function blocks

The function blocks and variables for emergency lighting supply units with DALI interface are described below. All function blocks described below call 'application extended commands'. According to the DALI standard (IEC 62386) these commands are within the range 224 to 255. Because of the existence of a variety of application extended commands, it is necessary to use the FB_DALIV2EnableDeviceType() function block to specify which type of control gears (emergency lighting, discharge lamps, ...) should react to the extension commands. A detailed description of the individual DALI commands and the variables for emergency lighting supply units can be found in Part 202 of the IEC 62386 standard.

Emergency lighting function blocks 1:

Name

Description

FB_DALIV2Inhibit

Prevents the control gear from switching to emergency mode for 15 minutes.

FB_DALIV2QueryBatteryCharge

The variable BATTERY CHARGE

FB_DALIV2QueryDurationTestResult

The variable DURATION TEST RESULT

FB_DALIV2QueryEmergencyLevel

The variable EMERGENCY LEVEL

FB_DALIV2QueryEmergencyMaxLevel

The variable EMERGENCY MAX LEVEL

FB_DALIV2QueryEmergencyMinLevel

The variable EMERGENCY MIN LEVEL

FB_DALIV2QueryEmergencyMode

The variable EMERGENCY MODE

FB_DALIV2QueryEmergencyStatus

The variable EMERGENCY STATUS

FB_DALIV2QueryFailureStatus

The variable FAILURE STATUS

FB_DALIV2QueryFeatures

The variable FEATURES (performance characteristics) is read from the control gear.

FB_DALIV2QueryLampEmergencyTime

The variable LAMP EMERGENCY TIME

FB_DALIV2QueryLampTotalOperationTime

The variable LAMP TOTAL OPERATION TIME

FB_DALIV2QueryRatedDuration

The variable RATED DURATION

FB_DALIV2QueryTestTiming

Depending on the contents of the DTR (Data Transfer Register), the variables FUNCTION TEST DELAY TIME,

DURATION TEST DELAY TIME,

FUNCTION TEST INTERVAL,

DURATION TEST INTERVAL,

TEST EXECUTION TIMEOUT,

PROLONG TIME

FB_DALIV2ReLightResetInhibit

The control gear is switched back to emergency mode (in the absence of mains voltage).

FB_DALIV2ResetDurationTestDoneFlag

The 'Duration test completed and result is valid' flag is reset.

FB_DALIV2ResetFunctionTestDoneFlag

The 'Function test completed and result is valid' flag is reset.

FB_DALIV2ResetLampTime

The variables LAMP EMERGENCY TIME and LAMP TOTAL OPERATION TIME

FB_DALIV2Rest

Switches the lamp off when emergency mode is active.

FB_DALIV2StartDurationTest

Starts the duration test.

FB_DALIV2StartFunctionTest

Starts the function test.

FB_DALIV2StopTest

Stops any type of function test or duration test.

FB_DALIV2StoreDTRAsDurationTestInterval

Writes the value of the DTR (data transfer register) into the variable DURATION TEST INTERVAL

FB_DALIV2StoreDTRAsEmergencyLevel

Writes the value of the DTR (data transfer register) into the variable EMERGENCY LEVEL

FB_DALIV2StoreDTRAsFunctionTestInterval

Writes the value of the DTR (data transfer register) into the variable FUNCTION TEST INTERVAL

FB_DALIV2StoreDTRAsProlongTime

Writes the value of the DTR (data transfer register) into the variable PROLONG TIME

FB_DALIV2StoreDTRAsTestDelayTimeHighByte

Writes the value of the DTR (data transfer register) into the high-order byte of variable TEST DELAY TIME

FB_DALIV2StoreDTRAsTestDelayTimeLowByte

Writes the value of the DTR (data transfer register) into the low-order byte of the variable TEST DELAY TIME

FB_DALIV2StoreDTRAsTestExecutionTimeout

Writes the value of the DTR (data transfer register) into the variable TEST EXECUTION TIMEOUT

Emergency lighting function blocks 2:

These commands belong to the application extended commands for DALI emergency lighting. These only work if they are preceded by the Enable Device Type 1 command, which can be sent with the function block FB_DALIV2EnableDeviceType(). From version 2.6.0 of the libraries TcDALIV2 and TcDALIV2AppExtCmds, however, the Enable Device Type 1 command is internally placed automatically before all application extended commands for DALI emergency lighting.