EasyManuals Logo

Embedded Systems LM5p-GSMC User Manual

Default Icon
291 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #226 background imageLoading...
Page #226 background image
226
dalicmd('internal', 'arc', { addrtype = 'broadcast', value = 42 })
Setting DTR
For commands where DTR is needed prior to executing command, use setdtr command to set
the value:
-- set dtr for ballast 5 to 200
dalicmd('internal', 'setdtr', { addrtype = 'short', address = 5, value = 200 })
Example
Change address of DALI ballast with current address 5. 1byte object need to be added, event-
based script looks as follows:
value = event.getvalue()
value=value*2+1
require('user.dali')
dalicmd('internal', 'setdtr', { addrtype = 'short', address = 5, value = value })
dalicmd('internal', 'storeshortaddress', { addrtype = 'short', address = 5})
Example (use gateway with id 1, switch all ballasts off, set ballast with short address 5 to full
on)
require('user.dali')
dalicmd(1, 'arc', { addrtype = 'broadcast', value = 0 })
dalicmd(1, 'arc', { addrtype = 'short', address = 5, value = 254 })
Example (set maximum value for ballast 5 to value 200; the ballast is connected on internal
DALi gateway on LogicMachine )
require('user.dali')
dalicmd('internal', 'setdtr', { addrtype = 'short', address = 5, value = 200 })
dalicmd('internal', 'storemax', { addrtype = 'short', address = 5 })
Example (log all ballast short addresses which are connected to internal DALI gateway)

Table of Contents

Other manuals for Embedded Systems LM5p-GSMC

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Embedded Systems LM5p-GSMC and is the answer not in the manual?

Embedded Systems LM5p-GSMC Specifications

General IconGeneral
BrandEmbedded Systems
ModelLM5p-GSMC
CategoryDimmer
LanguageEnglish

Related product manuals