Message Component error at startup linuxcnc

  • kang2k
  • Topic Author
  • Offline
  • New Member
  • New Member
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 or Create an account to join the conversation.

More
3 years 11 months ago #257203 by tommylight
Replied by tommylight on topic Message Component error at startup linuxcnc

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

  • kang2k
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago - 3 years 11 months ago #257213 by kang2k
Replied by kang2k on topic Message Component error at startup linuxcnc
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: 3 years 11 months ago by kang2k.

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

  • kang2k
  • Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 11 months ago #257333 by kang2k
Replied by kang2k on topic Message Component error at startup linuxcnc
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.062 seconds
Powered by Kunena Forum