#include pins.h #include vars.h #include func_plasma.h main() { timer=0; portclr(OUTPUT_DRILL_VALVE_DOWN); portset(OUTPUT_DRILL_VALVE_UP); portclr(OUTPUT_DRILL_POWER); stop_thc(); stop_trigger1(); //turn off power source portclr(OUTPUT_PLASMA); portclr(OUTPUT_PROBE); test_lift_after_cut(); do_lift_after_cut(); proc=plc_proc_idle; start_trigger2(); exit(99); };