Ok ive got a new problem now. With this g code im having issues between tool changes. I have to hit the estop so i dont get a crash.
Instead of tool change moving to the proper height it moves up slow makes a jerk and starts to move down with a wierd rate of speed.
Here is a vid. I learned obviously that you must home the machine before an m998 will work. In this vid it was not homed properly but does show the exact thing happening when it is homed properly as well.
[ame=http://www.youtube.com/watch?v=U5OYJgnZh68&feature=mfu_in_order&list=UL]m998problem - YouTube[/ame]
Again to be clear that vid is not from this code but it shows the exact issue i get when i run this code. Right after the first operation when it does the m998 to switch to the 1/2 ball end it has the same issue.
Process was...
-load G code
-reference machine
-regenerate tool path.
-set workoffsets with a zero master.. and zero them
run it and it moves properly for a the tool change for the center drill. completes teh center drill operation and then messes up between the roughing plane.
Code:
N10 (Postprocessor: )
N20 G90 G54 G64 G50 G17 G40 G80 G49
N30 G20 (Inch)
(spot drilling)
N40 G54
N50 M998
N60 T25 G43 H25 M6
(1/2 DrillMill Carbide)
N70 S3000 M3
N80 G0 G94
N90 X0. Y0. Z0.2
N100 G0 M8
N110 G98 G81 Z-0.23 R0.0394 F5
N120 X0.803 Y-0.464
N130 X1.928 Y-0.689
N140 X2.771 Y-0.375
N150 X3.291 Y-0.5625
N160 X6.375 Y0.
N170 G80
N180 G0 M5 M9
N190 (Inch)
N200 (Inch)
(Roughing plane)
N6610 M998 <----- messup here
N6620 T20 G43 H20 M6
(1/2 Round HSS TICN)
N6630 S3631 M3
N6640 G0
N6650 X-1.3781 Y1.4893 Z0.2