I'm writing a custom macro to help with edge finding parts - I do not have a probe. I use one of the radial edge finders, run a low rpm - touch the edge until it shifts off center, adjust for radius and done.

PITA - when you have to do it a bunch - especially when finding the center of your parts versus picking up just two edges.

I pretty much have the macro written - and it seems to be working, doing the math and setting WCS Offsets correctly, moving to edge positions etc. (Kind of like using a probing macro)

However - one MAJOR hurdle. when running the program, and it positions itself to then jog handle to the edge - I call an #3006 to allow me to do the actual edge finding in jog mode before moving on to the next side. However; this shuts off the spindle on me - no Spindle turning=no edge finding.

Is there another code I can use to accomplish this besides a #3006 - or a setting or override? Any ideas to power through this..?

My machine is a 99 HAAS VF2.

Please no lectures or posts on safety and spindle spinning etc.