Message Component error at startup linuxcnc

More
21 Nov 2022 11:22 #257200 by kang2k
In the hal file, i write
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 or Create an account to join the conversation.

More
21 Nov 2022 11:57 #257203 by tommylight

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 or Create an account to join the conversation.

More
21 Nov 2022 12:46 - 21 Nov 2022 12:48 #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).
Last edit: 21 Nov 2022 12:48 by kang2k.

Please Log in or Create an account to join the conversation.

More
22 Nov 2022 14:10 #257333 by kang2k
My error. I write to main hal. Rewrite to postgui.hal and all ok
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum