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

More
7 years 3 months ago #139190 by ahhkoch
Hi Andy.

unfortunately not. We do Drilling-Operations with different tools. Thatswhy i am fine with the solution now:

A Gcode filter adds before G81 a M62 P0 and after G80 a M63P0.

The triggered HAL-PIN is linked to my internal MIST-cooling solution

Works perfect for me...
Greetings

Andreas

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

More
7 years 3 months ago #139423 by andypugh
Glad you have it working.
But my suggestion with the mux would have worked for as many tools as it needed to, but the tool numbers that got special treatment would be hard-coded in the HAL file, in effect.


Another alternative would have been to add 100 to any tool number that needed the mist cooling, and then handle the differences in a remapped tool change file

O100 IF[ <_tool> GT 100]
M6 [<_tool> - 100]
M7
O100 ELSE
M6 <_tool>
M8
O100 ENDIF.

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

Time to create page: 0.252 seconds
Powered by Kunena Forum