Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Just trying to post simple drilling code with Okuma lathe

brad.denney
Explorer

Just trying to post simple drilling code with Okuma lathe

brad.denney
Explorer
Explorer

I'm using the general Okuma turning post processor and when I go to drill I'm getting a G181

This should just be a simple G74

 

Any help would be awesome, thanks.

 

0 Likes
Reply
Accepted solutions (1)
307 Views
3 Replies
Replies (3)

serge.quiblier
Autodesk
Autodesk

Hello @brad.denney 

 

you can alter the post.

Search for the onCyclePoint function.

Then search the following code:

    switch (cycleType) {
    case "drilling":
      writeBlock(
        gCycleModal.format(181),
        getCommonCycle(x, y, z, cycle.retract - cycle.stock),
        feedOutput.format(F)
      );
      break;

and alter it to

    switch (cycleType) {
    case "drilling":
      writeBlock(
        gCycleModal.format(74),
        getCommonCycle(x, y, z, cycle.retract - cycle.stock),
        feedOutput.format(F)
      );
      break;

 

Have a pleasant day.

 

Regards.

______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes

brad.denney
Explorer
Explorer
Alright nice, but how do I get to the post to be able to edit it?
And then search for "onCyclePoint Function" ?

Thanks
0 Likes

serge.quiblier
Autodesk
Autodesk
Accepted solution

Step 1 grabbing the post from the online library, to isolate it. In Fusion ribbon, click on the library button

 

sergequiblier_0-1650987919543.png

Step 2 : Find the post in the online library

sergequiblier_1-1650987958339.png

Step 3 , copy it

 

sergequiblier_2-1650988022747.png

 

Step 4 : Paste it into a personal folder, either Local or on the Cloud, your choice.

 

sergequiblier_3-1650988095524.png

 

Once the post is copied in the folder, if it's still selected, you can click on the pencil icon to edit the post.

 

Regards.

 


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!


______________________________________________________________

If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!

 

 

 



Serge.Q
Technical Consultant
cam.autodesk.com
0 Likes