Oscillating Z in peck drill cycle

Oscillating Z in peck drill cycle

Anonymous
Not applicable
2,294 Views
4 Replies
Message 1 of 5

Oscillating Z in peck drill cycle

Anonymous
Not applicable
I need a post processor mod for the peck drilling cycle. The Z will approach the part and then Oscillate up and down at the specified pecking depth (ie 0.100) but never go deeper and never move on to the next hole. It has always been this way and I choose the deep drill cycle instead (because it works)but when doing a lot of holes that cycle adds a lot of time. Below is the sample code that is currently output for peck drilling:

O123
(Test Peck Drill Cycle)
(T26  D=0.25 CR=0. TAPER=118deg - ZMIN=-0.5 - drill)
N1 G40 G80 G90 G94 G17
N2 G20
N3 G30 P1
N5 M09
N6 G116 T26
N7 S4200 M03
N8 G15 H01
N9 G00 A0. C0.
N10 M08
N11 X0.3653 Y0.6154
N12 G56 Z0.6 H26
N13 G17
N14 G00 Z0.2
N15 G71 Z0.2
N16 G73 X0.3653 Y0.6154 Z-0.5 R0.2 I0.1 J0.625 F16.8 M53
N17 X1.2087
N18 X2.0071
N19 G00 Z0.2
N20 Z0.6
N22 M09
N23 G30 P1
N25 G30 P1
N27 M02

The only change in code for deep hole drilling is in the line below:

N16 G83 X0.3653 Y0.6154 Z-0.5 R0.2 Q0.1 F16.8 M53

I can see the difference but dont know what "I" is for in the peck drilling cycle. Changing the "I" to "Q" manually does seem to work though.

I attached the post that I have been using.

Thanks

0 Likes
2,295 Views
4 Replies
Replies (4)
Message 2 of 5

Steinwerks
Mentor
Mentor
What does the G71 do? Only familiar with that as a rough turning cycle, although I know Okuma has some pretty big differences compare to Fanuc and clones.
Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
0 Likes
Message 3 of 5

skidsolo
Alumni
Alumni
I edited the code in the post to match your requirements

    case "chip-breaking":
      if (g71) {
        writeBlock(g71);
      }
      writeBlock(
        gPlaneModal.format(17), gAbsIncModal.format(90), gCycleModal.format(73),
        getCommonCycle(x, y, cycle.bottom, cycle.retract),
        conditional(P > 0, "P" + milliFormat.format(P)),
        "Q" + xyzFormat.format(cycle.incrementalDepth), //this line was "I"
        "J" + xyzFormat.format(cycle.accumulatedDepth),
        feedOutput.format(F), mFormat.format(53)
      );
      break;
Andrew W. Software engineer (CAM Post Processors)
0 Likes
Message 4 of 5

Anonymous
Not applicable
Thank You AndrewWard.  Post worked fine on my little test program.

N. Stein according to the Okuma manual the G71 specifies the return level in a fixed cycle.

I attached the Table of fixed cycles from the book in case anyone is interested.

0 Likes
Message 5 of 5

scottmoyse
Mentor
Mentor
ADITT wrote:

I attached the Table of fixed cycles from the book in case anyone is interested.


Thanks for sharing these

Scott Moyse
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


EESignature


RevOps Strategy Manager at Toolpath. New Zealand based.

Co-founder of the Grumpy Sloth full aluminium billet mechanical keyboard project

0 Likes