probe_basic icon indicating copy to clipboard operation
probe_basic copied to clipboard

Spindle inhibit while probing

Open pommen opened this issue 3 years ago • 3 comments

Hi! Is there anyway to stop the spindle from starting to rotate while T99 is loaded in the spindle? Just had a near-expensive accident. =P

What I did wrong: Had T99(my touch probe) loaded in the spindle, and pressed "cycle start" on a loaded program. E-stop saved me, but thought I would share my experience.

/Peter

pommen avatar Apr 05 '21 17:04 pommen

This is an excellent idea. Probably something that should be done in HAL.

KurtJacobson avatar Apr 25 '21 01:04 KurtJacobson

this is a good idea!

Lcvette avatar May 11 '21 13:05 Lcvette

You can write a M300/M400 command where you can check if there is a specific tool loaded. If not the spindle can start. This is only to use in nc code. M300 instead of M3. The buttons will still start the spindle.

This example is not tested on a real machine! For example (m300.ngc in subroutines folder): o sub

;Check if the current tool is T99 o<10> if [#<_current_tool> NE 99] ;If not start the spindle M3 ;(debug, is not 99) o<10> else ;If it is T99 stop program (debug, is 99) M30

o<10> endif

o endsub

M2 (end program)

The remap line to put into the .ini file: [RS274NGC] <- put the line below at the end of this section REMAP=M300 modalgroup=7 ngc=m300

TooTall18T avatar Jan 16 '22 13:01 TooTall18T

this has been addressed in the latest python3 version

Lcvette avatar Feb 11 '23 18:02 Lcvette