I am working on getting my post for my Mazak lined out, and I am using the "Mazak VTC Rev1" post.
My question is why do I get an out of place
"27. First Rapid Mo....."
in my posted code? I know how to edit the post and put the G43 line after the G90 G54.... line, but how do I change the fact that it is adding that line AFTER the drill cycle is called and canceled, as in the example below? I am set to "machine comp in Z only", and my post for my Fanuc control is working great! (with some tweaking). I know how to make simple changes, but not how to change this order. Below is a pasted in example (with deBugg on):
************* 0 - Starting blocks//Program header **********
************* 15 - First Machine Setup. **********
************* 2 - Starting blocks//Standard start of program **********
O1111 (BIT FOR CAM.TXT)
(JOB 1 Center Drill)
(CENTER DRILL)
T1
M8
S4444 M3
G90 G54 G0 X0. Y0.
************* 81 - Canned cycles//Standard drill **********
G81 X0. Y0. Z-.02 R.1 F0.
************* 80 - Canned cycles//Canned cycle cancel **********
G80
************* 27 - Rapid moves//First rapid move Z ********** (this line is out of order, must come before "81")
G0 G43 H1 Z.2
************* 40 - Operations//Start of operation **********
************* 3 - Tool Change//Move to next cut change tool **********
(JOB 1 Drill)
(DRILL)
T2
M8
S650 M3
......