ST_DALIV2DeviceSettingsType01
TYPE ST_DALIV2DeviceSettingsType01 :
STRUCT
nErrors : DWORD;
bPresent : BOOL;
nBatteryCharge : UINT; (* 0..254, 255->Error *)
tDurationTestResult : TIME; (* 0..510 min *)
tLampEmergencyTime : TIME; (* 0..255 h *)
tLampTotalOperationTime : TIME; (* 0..1024 h *)
nEmergencyLevel : BYTE; (* 0..254 *)
nEmergencyMinLevel : BYTE; (* 0..254 *)
nEmergencyMaxLevel : BYTE; (* 0..254 *)
tRatedDuration : TIME; (* 0..510 min *)
nNextFunctionTest : UINT; (* 0..255 *)
nNextDurationTest : UINT; (* 0..255 *)
nFunctionTestInterval : UINT; (* 0..255 *)
nDurationTestInterval : UINT; (* 0..255 *)
nTestExecutionTimeout : UINT; (* 0..255 *)
nProlongTime : UINT; (* 0..255 *)
nEmergencyMode : BYTE;
nFeatures : BYTE;
nFailureStatus : BYTE;
nEmergencyStatus : BYTE;
END_STRUCT
END_TYPE
The following variables undergo an adjustment to their target display range when read, hence deviating from the read display of the DALI device:
- tDurationTestResult
- tLampEmergencyTime
- tLampTotalOperationTime
- tRatedDuration
In the case of the remaining variables, the conversion either does not make sense (e.g. nEmergencyLevel) or display is not possible, as for example in the case of nNextDurationTest, since the range of the variable of type TIME is insufficient.