Warning before homing?

  • TheTinkeringMechanic1
  • Offline
  • Junior Member
  • Junior Member
More
05 Aug 2025 10:59 #332876 by TheTinkeringMechanic1
Warning before homing? was created by TheTinkeringMechanic1
Is it possible to have a "ok" confirmation warning pop after pressing any of the homing buttons in the GUI?
Something like:
"Ensure no rollers are installed before homing axis!"
                                 Ok

 

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

More
05 Aug 2025 12:11 #332880 by andypugh
Replied by andypugh on topic Warning before homing?
I think that this would best be done in the GUI.
Which GUI are you using?

You _could_ use the "message" component to pop up the message when any HAL pin indicates "homing" but blocking the homing until the OK button is pressed would be harder.

linuxcnc.org/docs/stable/html/man/man9/message.9.html

A custom python component might be able to monitor homing state, pop up the message and also inhibit motion until OK is pressed.

I don't know if set_feed_hold or maxvel affect homing moves.
linuxcnc.org/docs/stable/html/config/pyt...command_code_methods

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

  • TheTinkeringMechanic1
  • Offline
  • Junior Member
  • Junior Member
More
05 Aug 2025 16:02 #332903 by TheTinkeringMechanic1
Replied by TheTinkeringMechanic1 on topic Warning before homing?
Thank you. I will look into this. I'll post what version of GUI I'm using when I can.

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

  • TheTinkeringMechanic1
  • Offline
  • Junior Member
  • Junior Member
More
05 Aug 2025 19:25 #332911 by TheTinkeringMechanic1
Replied by TheTinkeringMechanic1 on topic Warning before homing?
Gmoccapy for Linuxcnc 3.4.6

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

More
08 Aug 2025 20:19 #333066 by andypugh
Replied by andypugh on topic Warning before homing?
Gmoccapy is written in Python, you might want to look at just adding some more code. If you know Python, that is.

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

Time to create page: 0.127 seconds
Powered by Kunena Forum