# MACRO head2
# this is a macro that selects the correct format
# file for select plane interpolation.
#
#	This is the vertical spindle
#
MAPWORD:  letter= "X"   map= "X"  normal
MAPWORD:  letter= "Y"   map= "Y"  normal
MAPWORD:  letter= "Z"   map= "Z"  normal
MAPWORD:  letter= "I"   map= "I"  normal
MAPWORD:  letter= "J"   map= "J"  normal
MAPWORD:  letter= "K"   map= "K"  normal
MAPWORD:  letter= "c"   map= "Y"  normal
STD_BLK: DRILL:    gcode= 0  canned    std blk= N*(G79)|X|c|Z
#
ASSIGN: Geom_rotate_off=1; Rotary_retract=0;
SET_TOOL_AXIS: Xvector= 0.0; Yvector= 1.0; Zvector= 0.0;
SET_TOOL_ORIENT: Xvector= 1.0; Yvector= 0.0; Zvector= 0.0;
SET_ROTARY_ORIENT: Xvector= 0.0; Yvector= 0.0; Zvector= 1.0;
ASSIGN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
ASSIGN: Xcenter= 0.0; Ycenter= 0.0; Zcenter= 0.0;
TOOLTRANSFORM: Xangle= -90.0; Yangle= 0.0; Zangle= 0.0;
#
ASSIGN: Tape_on= 0; Plot_on=0;
RAPID_Y: Y= 30.0;
ASSIGN: Setcoordinates
PLANE_XY:
ASSIGN: Tape_on= 1; Plot_on=1;
PLANE_XZ:  Codes= "G52";
