Quantcast
Channel: CNCzone.com- Largest Forums for CNC Professional and Hobbyist alike!
Viewing all articles
Browse latest Browse all 72964

Need Help! How do I remove unneccesary Z axis retract moves when profiling or pocketing

$
0
0
Hey guys,

All I am trying to do is to mill out two circular pockets that are say 0.5" deep. In the code below, the end mill steps down twice in 0.25" increments to get to the desired depth. The only problem is that the posted g-code file is telling the spindle to retract back up to the rapid or feed plane after it completes the 0.25" depth pass. I just want to cutter to plunge down to 0.5 inch depth after it completes the 0.25" depth - I don't want it to retract.

For this dinky little example file, its no big deal to just delete the offending lines of code in Predator or whatever. But in my real file which has many more Z depth passes - it is a hassle. And I have searched and searched the post processor file - actually several files to find the problem, but I don't think that the problem resides there. I think it might have something to do with the API's, which I have not edited before. Or am I missing something obvious? Here is the example code:

T1 M6
G0 G90 X-0.4902 Y0.3544 S595 M3 M8
Z0.1 <------rapid to feed plane
G1 Z0. F3.34 <------feed to top of part
Z-0.25 <------feed to 1st depth
G3 X-0.6161 Y0.3544 P0.0629 F6.67 <------arc
X-0.4902 Y0.3544 P0.0629 <------arc
G0 Z0.1 <------ ******* here is the unnecessary retract *******
Z-0.15 <------ and here
G1 Z-0.25 F3.34 <------ and here
Z-0.5
G3 X-0.6161 Y0.3544 P0.0629 F6.67
X-0.4902 Y0.3544 P0.0629
G0 Z0.1

Thanks!

Viewing all articles
Browse latest Browse all 72964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>