Fanuc 0i control, trying to work out how to get a peck drilling cycle in our lathe that is defined as follows:
If I specify:
G0 Z-0.950 (rapid inside part that's already pre-drilled to Z-1.000 with a slightly larger diameter)
G83.6 Z-2.000 Q0.100 R1.000 F0.005
G80
G0 Z1.000 (rapid out of part)
What I get is the drill rapiding to Z-0.950, then rapiding back out to Z0.050 (that being the position defined by the R value), then starting to drill from there with pecks of 0.100, which saves me no time over simply sending the thing to Z0.050 and drilling from there.
Is there a way to have it rapid to the Z-0.950 starting point and actually start drilling from there without peck drilling an inch of air first, but also retracting back outside the part with each peck (and rapiding back to where material actually exists to be drilled after each retraction)? I've tried a number of combinations of G83/G83.6, starting points and R values but haven't managed to get it sorted.
- Z0. is the surface plane of the part
- Any Z negative moves (eg Z-1.000) is inside the part boundary
- A slightly larger hole is predrilled to Z-1.000
- We want to rapid in close to Z-1.000 (say Z-0.950), drill to Z-2.000 and have a pecking depth of 0.100 but have the drill retract outside the part on each peck to remove chips
If I specify:
G0 Z-0.950 (rapid inside part that's already pre-drilled to Z-1.000 with a slightly larger diameter)
G83.6 Z-2.000 Q0.100 R1.000 F0.005
G80
G0 Z1.000 (rapid out of part)
What I get is the drill rapiding to Z-0.950, then rapiding back out to Z0.050 (that being the position defined by the R value), then starting to drill from there with pecks of 0.100, which saves me no time over simply sending the thing to Z0.050 and drilling from there.
Is there a way to have it rapid to the Z-0.950 starting point and actually start drilling from there without peck drilling an inch of air first, but also retracting back outside the part with each peck (and rapiding back to where material actually exists to be drilled after each retraction)? I've tried a number of combinations of G83/G83.6, starting points and R values but haven't managed to get it sorted.