convert g92 to g76

convert g92 to g76

simonswb6
Contributor Contributor
643 Views
4 Replies
Message 1 of 5

convert g92 to g76

simonswb6
Contributor
Contributor

The current post processor i have is for a funuc control and for a threading cycle, it using a g92.  My machine (mazak) does not use g92, but instead uses a g76.

i have the post process outputing the code correctly, however it keeps repeating.   its calling the onCyclePoint until it reaches the min x value.  anyway to stop this?  i just need this line once...

N23 G76 X2.617 Z-0.435 K0.04 D4 F15.999999999999998
N24 G76 X2.609 Z-0.435 K0.04 D4 F15.999999999999998
N25 G76 X2.601 Z-0.435 K0.04 D4 F15.999999999999998
N26 G76 X2.593 Z-0.435 K0.04 D4 F15.999999999999998
 
 
-----------------
switch (cycleType
  {
  case "thread-turning":
    var minDepthCut = Math.ceil(getParameter("operation:threadDepth")*1000/(getParameter("operation:numberOfStepdowns")));   
    var threadPass = getParameter("operation:threadDepth") / 100;
    var inverted = (toolingData.toolPost == REAR) ? 1 : -1;
    //var r = -cycle.incrementalX * inverted; // positive if taper goes down - delta radius
    var threadsPerInch = 1.0/cycle.pitch// per mm for metric
    //var f = 1/threadsPerInch;
    xOutput.reset(); // at least one axis is required
    zOutput.reset();
    writeBlock(
      gFormat.format(76),
      xOutput.format(x),
       zOutput.format(z),
      "K" + getParameter("operation:threadDepth"),
      "D" + minDepthCut,
      "F" + getParameter("operation:threadPitch")
      );
    
     // break;
     //debug("The value of x is " + x); 
      return;
 
  }
0 Likes
644 Views
4 Replies
Replies (4)
Message 2 of 5

evanp4509U4JZ
Collaborator
Collaborator

I think you will get more traction with this if you post in the "Fusion manufacture" section. They were very helpful in finding a fix for the Creative Evolution controller in an older Haas machine we purchased.

0 Likes
Message 3 of 5

daniel_lyall
Mentor
Mentor

When you changed it from 92 to 76 did you just change the number?

 

Have you looked at the Mazak posts here  https://cam.autodesk.com/hsmposts? what you will find using Mazak as the search


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 4 of 5

simonswb6
Contributor
Contributor

I posted this in the wrong area..

i was able to find a solution my self...

https://forums.autodesk.com/t5/fusion-360-manufacture/convert-g92-to-g76-thread-cycle/m-p/9437758/hi...

 

>what you will find using Mazak

i found the mazak post to not be suitable for my needs.  i started with a Fanuc post and have been modifying as needed.  

0 Likes
Message 5 of 5

KrupalVala
Autodesk
Autodesk

Hi @simonswb6 ,

 

Download the latest version of Fanuc turning post from post library and search useSimpleThread and set it false

useSimpleThread: false // outputs a G92 threading cycle, false outputs a G76 (standard) threading cycle

 

Save the post and test it.

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes