# MACRO head_select
# this is a macro that selects the correct format
# file for select plane interpolation.
#
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= "R"   map= "R"  normal
STD_BLK: CIRCLE_CW:   gcode= 2  feed  std blk= N*G*X*Y*Z*I*J*K*F   
STD_BLK: CIRCLE_CCW:  gcode= 3  feed  std blk= N*G*X*Y*Z*I*J*K*F   
STD_BLK: HELIX_CW:    gcode= 2  feed  std blk= N*G*X*Y*Z*I*J*K*F   
STD_BLK: HELIX_CCW:   gcode= 3  feed  std blk= N*G*X*Y*Z*I*J*K*F   
#
#	Head1 is the horizontal head
#	Head2 is the vertical head
#
SELECT: Active_head
CASE: 0,1
MACRO: head1
CASE: 2
MACRO: head2
END SELECT:
ASSIGN: Head_change=1;
ASSIGN: Active_headr= Active_head;
