# MACRO head1
# this is a macro that selects the correct format
# file for select plane interpolation.
#
#	This is the horizontal 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= "Z"  normal
STD_BLK: DRILL:    gcode= 0  canned    std blk= N*(G79)|X|Y|c
#
ASSIGN: Geom_rotate_off=0; Rotary_retract=0;
ASSIGN: RotaryAxisOn
SET_TOOL_AXIS: Xvector= 0.0; Yvector= 0.0; Zvector= 1.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;
TOOLTRANSFORM: off
#
ASSIGN: Tape_on= 0; Plot_on=0;
RAPID_Z: Z= 30.0;
ASSIGN: Setcoordinates
PLANE_XZ:
ASSIGN: Tape_on= 1; Plot_on=1;
PLANE_XY: Codes= "G51";
