Message Component error at startup linuxcnc

More
3 years 11 months ago #257200 by kang2k
In the hal file, i write
Code:
loadrt message names=turretfail messages="Turret fail" addf turretfail servo-thread net alarm-turret <= hm2_5i25.0.7i77.0.0.input-16 net alarm-turret turretfail.trigger
At starting linuxcnc the windows pops up "Turret fail", but turret is ok.
If i close this window, all work.
And next, i power off turret. Window pops up again - these fine
How fix message at start ?
 

Please Log in to join the conversation.

More
3 years 11 months ago #257203 by tommylight

Code:
net alarm-turret <= hm2_5i25.0.7i77.0.0.input-16  
Try
net alarm-turret <= hm2_5i25.0.7i77.0.0.input-16-not

Please Log in to join the conversation.

More
3 years 11 months ago #257213 by kang2k
Sorry my bad english.
net alarm-turret <= hm2_5i25.0.7i77.0.0.input-16
is correct!
After start linuxcnc, i check signal. If turret power on, this input TRUE, if turret power off, input FALSE.
But at start linuxcnc, message pops up (turret power on).

Please Log in to join the conversation.

More
3 years 11 months ago #257333 by kang2k
My error. I write to main hal. Rewrite to postgui.hal and all ok

Please Log in to join the conversation.

Time to create page: 0.269 seconds
Powered by Kunena Forum