#
# MACRO tool_change1 *** constant surface footage
#
# 
#
MACRO: od_index_pos	 Repeats= (Odid_cycle> 0);
MACRO: id_index_pos	 Repeats= (Odid_cycle< 1);
OUTPUT: G50 S{Speedmax} M{39+ Range}
OUTPUT: {Const_surf_speed} S{Speedcode}
OUTPUT: G00T{Tcode} {Coolant}
ASSIGN: S11= (6/3.14159265)*(Metric_sw< 1)+ (500/3.14159265)*(Metric_sw> 0); 
ASSIGN: Speed= Speedcode*S11; Ccs= 1;
