*-----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 ;