*-----shift all data according to the MCHINE ZERO indicated by the
* user in the POSTPR interaction
TRANS_MATX = 0 - X_MACH ;
TRANS_MATY = 0 - Y_MACH ;
TRANS_MATZ = 0 - Z_MACH ;
*-----shift the HOME according to the MCHINE ZERO indicated by the
* user in the POSTPR interaction
Xhome = X_HOME - X_MACH ;
Yhome = Y_HOME - Y_MACH ;
Zhome = Z_HOME - Z_MACH ;
*-----tool location is HOME
Xold = X_HOME ;
Yold = Y_HOME ;
Zold = Z_HOME ;
*-----assuming 1st tool is in the spindle, there is no need
* for tool change)
* OUTPUT $ " M06 T" CURR_TOOL ;
*-----more then one tool in this run of the Post Processor
* IF_SET (NEXT_TOOL _NE_ CURR_TOOL)
* OUTPUT $ " T" NEXT_TOOL ;
* END_IF ;
*-----standard tool change commands. (assuming 1st tool is in