Valid for:
KNX / DALI Gateway Twin N 141/31 983305
KNX / DALI Gateway Twin N 141/31 983D05
KNX / DALI Gateway Twin plus N 141/21 983405
KNX / DALI Gateway plus N 141/03 983705
Information retrieved with this class:
- Number of ECGs in group
- Number of inverters in group
- Whether any inverters are defective
- Number of defective lamps
- Number of defective ECGs
- Whether any emergency lamps are defective
- Whether any normal lamps are defective
- Whether any emergency ECGs are defective
- Whether any normal ECGs are defective
- Add new user script in LogicMachine. Name it
dali_siemens
- Copy & paste contents of
user.dali_siemens.lua
into the new user script - Save user script
- Create new event-based script and select the
group address
ortag
that carries the diagnostic telegram - Copy & paste contents of
usage.dali_siemens.lua
into the new event-based script as a basis or create your own using the methods below
- Same as with
event-based
scripts, except: - Replace
local value = event.datahex
withlocal value = grp.find('1/1/1').datahex
require 'user.dali_siemens'
DALI = DALI_Siemens:new('81000015')
-- Return values with this example
-- ECG = 21
log(DALI:numberOfECGs())
-- Inverters = 0
log(DALI:numberOfInverters())
-- Defective inverter = false
log(DALI:defectiveInverter())
-- Defective lamps = 1
log(DALI:numberOfDefectiveLamps())
-- Defective ECGs = 0
log(DALI:numberOfDefectiveECGs())
-- Defective emergency lamp = false
log(DALI:emergencyLamp())
-- Defective normal lamp = false
log(DALI:normalLamp())
-- Defective emergency ECG = false
log(DALI:emergencyECG())
-- Defective normal ECG = true
log(DALI:normalECG())
-- Values of all methods above in one object. Returns the following:
--[[ {
numberOfECGs = 21,
numberOfInverters = 0,
defectiveInverter = false,
numberOfDefectiveLamps = 0,
emergencyLamp = false,
normalLamp = false,
numberOfDefectiveECGs = 1,
emergencyECG = false,
normalECG = true,
}
]]
log(DALI:toObject())