Ok on stoping the spindle. I still use the motor switch.
Lots of ways I guess to work and depends how tool table offsets are done........
I use work offsets along with the manual / quick change tool changer many times.
- I use the master tool to touch off at X&Z=0, then Zero World both axes.
- Then move to a location that will serve as a tool change and Home location
So i just move far enough away for the longest tool to clear the work, and the move is an easy, even, convienent, number say X 2 Z 2.
At that point I Zero World the X&Z again, and also Set Home for each axis.
- Now in Part coord I make a move back to X&Z and zero the coords which creates a G54 offset for the part
In the gcode for a tool change you can add
G00 X....Z.... to a safe location / no doubt about it
G28 X....Z.... at the safe location and goes to home / tool change position
M6 T0303 Tool is changed in mach
G4 P120 ya got 5 miutes to change the tool and ged rid of that flashing indicator
Make sure you go home when program is completed.
CYCLE START and the program continues on
Make sure you go home when program is completed.
So if code is pieced together for a part from wizards etc and based on X&Z =0 and you want to do another piece along the stock say some distance along the Z.
Just define the Z distance in Work offsets G55 , MDI G55, rewind and run the same code again.
RICH