Logic Machine Forum
DALI Short Address - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Gateway (https://forum.logicmachine.net/forumdisplay.php?fid=10)
+--- Thread: DALI Short Address (/showthread.php?tid=473)



DALI Short Address - Bobby - 27.11.2016

Hi!

I have connected 2 SG Junistar Exclusive DALI spotlights to my RS485 DALI gateway.
But, when i scan for devices, i only get up one short address (63) , and both of the spotlight react to one short address.
what have i done wrong here? 
If i understand correct, each spotlight should have their own short address?

I am also trying to get this work together with my KNX device,  Jung DS4092TS, but i am not sure how to
make the dimmer function work. ive managed to turn it on and off with the switch, but no dimming.
i am all new to this, learning by doing....

if anyone has a recommendation for a good youtube video to learn the basics in lua, i will appreciate it Smile

Bobby

Hi again!

I found this now:
http://forum.logicmachine.net/showthread.php?tid=13
it worked for dimming! Smile Smile Smile
but is it possible to add some more "smooth" dimming feature, it instantly steps down/up 10%.
is there any way to get it to fade?


RE: DALI Short Address - admin - 28.11.2016

Fading can be enabled/adjusted by sending a setdtr/storefadetime commands.
Create an event script linked to 1-byte unsigned object, then send the required value (in seconds):
Code:
require('user.dali')

-- user-specified fade time
value = event.getvalue()
-- set data transfer register value for all connected ballasts
dalicmd('internal', 'setdtr', { addrtype = 'broadcast', value = value })
-- store data transfer register value as fade time for all connected ballasts
dalicmd('internal', 'storefadetime', { addrtype = 'broadcast' })



RE: DALI Short Address - Bobby - 30.11.2016

thanx, trying that tonight!
and:
when i scan for devices, i only get up one short address (63) , and both of the spotlight react to one short address.
what have i done wrong here?


RE: DALI Short Address - admin - 30.11.2016

Try running short address programming again.


RE: DALI Short Address - Bobby - 02.12.2016

(30.11.2016, 07:56)admin Wrote: Try running short address programming again.

Tried connecting 2 more downlights, but all 4 shows up as one, "dev-63".  Tried to scan for devices, all 4 options. still no change.....
all 4 downlights is able to on/off and dim via same command.


RE: DALI Short Address - Bobby - 05.12.2016

also tried with a new RS485 module, same here. DEV-63.....


RE: DALI Short Address - admin - 06.12.2016

Try connecting only one ballast with a short cable and run the short address programming again.


RE: DALI Short Address - Bobby - 23.12.2016

Hi!

Tried one ballast at a time. sometimes it shows dev-0 (1 out of 5 maybe) the rest of the time it shows dev-63....
all the ballast are the same type: http://www.sg-as.no/dk/produkt/7021989123132/

Using this power supply for the DALI gateway (LMA-DALIRS485): https://www.aliexpress.com/item/DR-60-18-Din-Rail-Switching-power-supply-60W-18VDC-3A-Output-for-led-light-free/32741007560.html?spm=2114.13010608.0.0.7Z1YCW


Best Regards Bobby.


RE: DALI Short Address - admin - 27.12.2016

Can you try a power supply with lower voltage, like 12V?


RE: DALI Short Address - Bobby - 27.12.2016

Hi!

Yes, i can try.... but according to manual:

Power supply: 
18-28V DC Power supply for gateway               (i have 24VDC on this, same as Reactor))
16-18V DC Power supply for the DALI bus        (i have 18VDC on this, should i try 12VDC on this one?)


RE: DALI Short Address - admin - 28.12.2016

By DALI standard it should work starting from 9V. Also, do you have GND connected between LM and RS-485/DALI gateway?


RE: DALI Short Address - Bobby - 24.01.2017

Hi!

Please see attachment, ive tried several solutions, but cant find all ballasts.
this is my current setup, please advice what changes i should make.

Best Regards Bobby


RE: DALI Short Address - admin - 24.01.2017

You should not connect power supply directly to ReActor DALI input. There's no harm in that but no point as well. ReActor DALI requires an external DALI-specific power supply, whereas RS485 gateway can work with a standard power supply. Maybe you can provide remote access to your device with a single ballast connected so we can check what's going wrong.


RE: DALI Short Address - Bobby - 24.01.2017

Hi again!

My first setup looked like this attachment:

I can connect it with only one ballast if you want, and give you remote access.


now this is actual setup