# macro tool_change: calls tool_change1 for constant surface speed (G96)
#                    and   tool_change2 for G97
#
MACRO: lathesetup
MACRO: calc_cyc_time
MACRO: cycle_time_out
MACRO: cyc_tool_data
#
MACRO: od_ret_home      Repeats= (Prev_Odid> 0);
MACRO: id_ret_home      Repeats= (Prev_Odid< 1);
OUTPUT: {Direct_rpm} {Coolant_off}
OUTPUT: {Opt_stop}
MACRO: engage_caxis     Repeats= ((Power_tool> 0)*(Caxis_engaged<1));
MACRO: disengage_c      Repeats= ((Power_tool< 1)*(Caxis_engaged>0));
TOOLSYMBOL:
MACRO: speeds			Repeats= (Thr_cycle<>1);
