I had a similar concern (only a concern because I have never had a 'wreck') and coded my files ALL this way for tool changes, lathe and mill.
N1 ( Tool Name ) G20 G10.9 X0 G91 G30 P4 X0. Y0. Z0. W0. M901 T52.04 T19 M06 G94 G91 G30 P4 X0. Z0. M200 M108 M212 G54
So, what you see is that my machine 'Home' is G30 P4 (center of the machine), so irrelevant to where the mill head is it will safely go home (simultainious arrival) on all axis (save for if you try and do this with a tool burried in a part, then its curtains for you!). Then it calls the tool change, does that, comes out of the tool change door to whatever home position it is then I recall it back to the center of the machine with the second G91 G30 P4 X0. Z0.
3 years been running this Integrex (programming/operating) and I have never had a crash. This system is darn near flawless and if you are anything like me and have boring bars that are 19.6" (out of the max 19.7") long, not having a machine home and index B right over a chucj will save your butt everytime. :)
HTH |