Announcements

We are currently experiencing an issue impacting some Autodesk Products and Services - please refer to the Autodesk Health Dashboard for updates.

changing post to drill with feed/rev(G94) instead of feed/min(g95)

changing post to drill with feed/rev(G94) instead of feed/min(g95)

aaron
Enthusiast Enthusiast
937 Views
5 Replies
Message 1 of 6

changing post to drill with feed/rev(G94) instead of feed/min(g95)

aaron
Enthusiast
Enthusiast

How to I change a turning post to output G94 FEED_PER_REVOLUTION instead of G95 FEED_PER_MINUTE ?

This has stumped me for a while I have managed to turn off the G94/G95 switch over but the post still pulls the wrong feed value for the tool.

every generic Turning post I have looked at does this however we alway machine with G94 on our lathes

Thanks

0 Likes
938 Views
5 Replies
Replies (5)
Message 2 of 6

skidsolo
Alumni
Alumni

There is a check box in all the turning operations that allow you to program in feed/rev.

Screen Shot 2016-07-19 at 9.41.47 AM.png

Most turning posts have this code:

 if (currentSection.feedMode == FEED_PER_REVOLUTION) {
    writeBlock(gFeedModeModal.format((properties.type == "A") ? 99 : 95));
  } else {
    writeBlock(gFeedModeModal.format((properties.type == "A") ? 98 : 94));
  }
Andrew W. Software engineer (CAM Post Processors)
0 Likes
Message 3 of 6

Laurens-3DTechDraw
Mentor
Mentor

I think he knows that but is looking to do the drilling in G94 as well. 

There is no check box in drilling operations.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 4 of 6

skidsolo
Alumni
Alumni

Yes this is something we have reported that needs fixing. I did make a change for a customer for this in his stop boring cycle:

 

  case "stop-boring":
      if (P > 0) {
        expandCyclePoint(x, y, z);
      } else {
        writeBlock(
          gRetractModal.format(98), gFeedModeModal.format(95), gAbsIncModal.format(90), gCycleModal.format(86),
          getCommonCycle(x, y, z, cycle.retract),
          feedOutput.format(F / tool.spindleRPM)
        );
      }
      break;

and then change onCycleEnd:

function onCycleEnd() {
  if (!cycleExpanded) {
    writeBlock(gCycleModal.format(80));
    writeBlock(gFeedModeModal.format(94));
    gMotionModal.reset();
  }
}
Andrew W. Software engineer (CAM Post Processors)
Message 5 of 6

aaron
Enthusiast
Enthusiast

Thanks Skidsolo I will try that later.

Yes Laurens that is exactly what I am looking for, also the posts change from G18 to G17 before drilling (I have managed to comment this out) which our lathes don't like. I think this is the case because the posts view drilling as a milling operation.

0 Likes
Message 6 of 6

skidsolo
Alumni
Alumni

To add a check box into the drilling operations makes sense. All the feeds and speeds for drilling given out by manufacturers are usually quoted in feed per rev. I remember all my setup guys knew the feed per rev for most materials to be drilled by heart.

Andrew W. Software engineer (CAM Post Processors)
0 Likes