Logic Machine Forum
querystatus & queryactual -> rx error - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Hardware (https://forum.logicmachine.net/forumdisplay.php?fid=12)
+--- Thread: querystatus & queryactual -> rx error (/showthread.php?tid=3603)



querystatus & queryactual -> rx error - morphei - 06.10.2021

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


RE: querystatus & queryactual -> rx error - admin - 07.10.2021

RX error usually means a collision. It can happen if you have several ballasts with the same short address.


RE: querystatus & queryactual -> rx error - morphei - 07.10.2021

(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!