![Embedded Systems LM5p-GSM Product Manual Download Page 224](http://html1.mh-extra.com/html/embedded-systems/lm5p-gsm/lm5p-gsm_product-manual_2399466224.webp)
224
Make sure you define Port name in
Port settings
when using RS485 DALI gateway. If you use
Reactor with 1 x RS485, the port name will be ‘/dev/RS485’. If you use LM4, the port name is
either ‘/dev/RS485-1’, ‘/dev/RS485-2’ or ‘/dev/RS485-3’.
Then write for each external RS-485/DALI gateway its unique ID. This is done by pressing
programming button on RS485/DALI gateway and pushing
Write ID
on LM.
Then you should press
Scan gateways
button on LM. Your programmed gateway should
appear.
For each DALI device, you can set a custom name and map to binary on/off and scale object.
This allows communication with DALI devices from KNX bus and visualization without any
additional scripts.
14.1.
DALI object mapping
Once DALI objects are scanned, you can click on corresponding object and perform the
configuration.
Device name
– name of the DALI device
Binary (ON/OFF) object
– map to KNX binary object
Preset for binary ON
– preset on binary ON
Scale (0-100%) object
– map to KNX scale object
You can set up specific value by clicking on this icon
14.2.
Access DALI bus from scripts
If you want to access DALI devices from other scripts, you can use
dalicmd
function.
res, err = dalicmd(gwid, cmd, params)
Parameters
Summary of Contents for LM5p-GSM
Page 10: ...10 1 Terminal connection schemes Model ...
Page 12: ...12 canX connection Powering over 24V terminals ...
Page 15: ...15 Digital output e g relay contactor ...
Page 16: ...16 Digital or Analog input e g pushbutton or 0 5V current measurement sensor ...
Page 17: ...17 Digital input e g pushbutton ...
Page 18: ...18 1 wire connection ...
Page 19: ...19 2 Standards supported ...
Page 22: ...22 3 Insert SIM card and close the holder Close the front cover ...
Page 36: ...36 ...
Page 48: ...48 ...
Page 120: ...120 Show logs window show logs in separate window Edit custom JavaScript ...
Page 156: ...156 Additional classes additional CSS classes for the element ...
Page 201: ...201 ...
Page 221: ...221 Clear binary object value at priority 12 bacnet write 127001 binary value 2305 nil 12 ...
Page 246: ...246 value event getvalue res value 100 255 grp write 1 1 6 res dt uint8 ...
Page 277: ...277 ...
Page 282: ...282 Press this button to upload new settings to all modified all devices ...