identify in HAL when Linuxcnc is doing drilling operation (G83/G76...)

More
7 years 3 months ago #138943 by ahhkoch
Any idea if this is possible?

Motion.motion-type offers only values for linear and arc-feed.

But my goal is to activate some external hardware only when linuxcnc is doing a drill operation.
Any idea or Chance if and how this could be possible?
Thx!

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

More
7 years 3 months ago #138950 by PCW
A somewhat clunky way would be to run the gcode through a filter and bracket the G83,G76 with M62/M63

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

More
7 years 3 months ago #138951 by ahhkoch
I lke this idea because ist just a little postprocessor modification...
Thx for this!
Any other ideas?

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

More
7 years 3 months ago #138959 by BigJohnT
You can also make a filter to make the changes when you open the file.

linuxcnc.org/docs/2.7/html/config/ini-co...html#_filter_section

JT

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

More
7 years 3 months ago #138991 by ahhkoch
Awesome! Great! Thx. The incredible flexibility of linuxcnc is sometimes too much "to see/know everything" :)

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

More
7 years 3 months ago #139174 by andypugh
Can the requirement be correlated to specific tools? If so then you could set HAL pins in a remap code, or possibly use halui.tool-number to pick from a mux.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum