Clearance and Retract Heights, and Going to Z0 First Causes Collisions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey crew, I appreciate any help you can offer, as I'm still learning and am not all that solid when it comes to offsets and heights. I am hoping someone can offer me some insight, as I am having issues with the code Fusion is generating for me (I post to LinuxCNC).
I may be misunderstanding the definitions I've found on the Fusion Help site for these heights, so I'll copy them first so we are all on the same page:
~ The Clearance height is the first height the tool rapids to on its way to the start of the tool path.
~ Retract height mode sets the height that the tool moves up to before the next cutting pass.
~ Feed height mode set the height that the tool rapids to before changing to the feed/plunge rate to enter the part.
In this shot you can see my part, the four slots I'll be pocketing, and the heights I have for this setup.
Based on the above definitions, here is what I expect to happen:
1. Rapid to Z3
2. Rapid to XY whatever
3. Rapid to Z.1 (the Feed height)
4. Feed into the first slot and do the job
5. Rapid up to Z.1 (the Retract height, which also happens to be the Feed height)
6. Rapid to the next XY whatever
7. Steps 4-6 until the fourth slot is done
8. Rapid to Z3 and end the program
My first problem is outlined in the code below, where we are going to Z0, then moving in the XY (crashing into the fixture), then retracting to Z3. Here is some sample code, and I have highlighted the movements to make it easier on the eye:
% (POCKETING 4 SLOTS) (T6 D=0.2187 CR=0. - ZMIN=-0.22 - FLAT END MILL) N10 G90 G94 G17 G91.1 N15 G20 N20 G53 G0 Z0. (2D POCKET 4 SLOTS) N25 M9 N30 T6 M6 N35 S4600 M3 N40 G54 N45 M8 N55 G0 X-0.9606 Y4.9231 (crash) N60 G43 Z3. H6 N65 G0 Z0.1219 N70 G18 G3 X-0.9818 Z0.1 I-0.0219 K0. F24. N75 G1 X-1.18 Z0.0931 N80 G17 G3 Y4.8269 Z0.0878 I0. J-0.0481 the program goes on and on
My second problem is that after doing the first slot, instead of retracting to the Retract height and rapiding to the next slot it is retracting to the Clearance height. This isn't a major issue, and only a little inefficient since we are moving at rapid speed anyway. Here is a screenshot of the simulation where I would expect to see the movements between slots happen at Z.1, but they are happening at Z3:
My third (and final) problem (and now I'm really being picky), is at the end of the program we are at Z3 from the final retract, but head back to Z0. It makes more sense to me that it should stay up at Z3 so I can change setups. I always just delete that part of the code, which you can see here:
program has been going nicely.... N1115 X-4.3347 Y4.9264 Z-0.211 I0.0121 J-0.0182 N1120 X-4.3367 Y4.924 Z-0.2049 I0.0158 J-0.0151 N1125 X-4.3373 Y4.9231 Z-0.1981 I0.0178 J-0.0127 N1130 G0 Z3. N1140 M9 N1145 G53 Z0. (I always remove this line) N1150 M30 %
Thank you anyone who can explain or help.
youtube.com/russtuff