# pre_cont_cut   -- mitsubishi
#
#
#
OUTPUT: M20
OUTPUT: M80
OUTPUT: M82
OUTPUT: M84
OUTPUT: M90
OUTPUT: G90
ASSIGN: Path_start_ele= 0; Path_end_ele=0;
ASSIGN: Pathstartpt 
ASSIGN: Cut_compx= Xnormal*Lead_in;
ASSIGN: Cut_compy= Ynormal*Lead_in;
ASSIGN: Pre_posx= Xstart+ Cut_compx;
ASSIGN: Pre_posy= Ystart+ Cut_compy;
ASSIGN: X= Pre_posx; Y= Pre_posy; 
OUTPUT: G92X{X}Y{Y}
ASSIGN: Pre_posx= Xstart+ 0.5*Cut_compx;
ASSIGN: Pre_posy= Ystart+ 0.5*Cut_compy;
ASSIGN: X= Pre_posx; Y= Pre_posy; 
FEED:   
ASSIGN: X= Xstart; Y= Ystart; 
FEED:   Pre_codes= "G41";  
ASSIGN: Setcoordinates
