This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

querystatus & queryactual -> rx error
#1
LM5 -> DALI RS485 gateway -> Lamp

HW: LM5 Lite + Ext (i.MX6)
SW: 20190904
-----------------------------


Code:
require('user.dali')

res, err = dalicmd (2, 'arc', {addrtype = 'short', address = 0, value = 30})
log(res, err)
sleep(1)
res, err = dalicmd (2, 'queryactual', {addrtype = 'short', address = 0})
log(res, err)

Code:
test 06.10.2021 19:54:45
* arg: 1
  * bool: true
* arg: 2
  * nil
test 06.10.2021 19:54:46
* arg: 1
  * nil
* arg: 2
  * string: rx error

What could be the problem?
Tried deleting user.dali and rebooting, didn't help.

Если можно на русском, лучше на русском.  Smile
Reply
#2
RX error usually means a collision. It can happen if you have several ballasts with the same short address.
Reply
#3
(07.10.2021, 06:19)admin Wrote: RX error usually means a collision. It can happen if you have several ballasts with the same short address.

It's a good idea about collisions, maybe the contractor has set up the lamps in this way.
I will ask him about it, or I will reconfigure everything.
Thanks!
Reply


Forum Jump: