Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Haas G83 post review

1 REPLY 1
SOLVED
Reply
Message 1 of 2
friesendrywall
270 Views, 1 Reply

Haas G83 post review

Does this look right?  I want to add incremental depth reduction to the Haas post.

 

			case "deep-drilling":
				if (cycle.incrementalDepthReduction != 0 && cycle.minimumIncrementalDepth != 0) {
					writeBlock(
							  gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(83),
							  getCommonCycle(x, y, z, cycle.retract),
							  "I" + xyzFormat.format(cycle.incrementalDepth),
							  "J" + xyzFormat.format(cycle.incrementalDepthReduction),
							  "K" + xyzFormat.format(cycle.minimumIncrementalDepth),
							  "P" + milliFormat.format(P), // not optional
							  feedOutput.format(F)
							  );
				} else {
					writeBlock(
							  gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(83),
							  getCommonCycle(x, y, z, cycle.retract),
							  "Q" + xyzFormat.format(cycle.incrementalDepth),
							  "P" + milliFormat.format(P), // not optional
							  feedOutput.format(F)
							  );
				}
				break;
1 REPLY 1
Message 2 of 2
Steinwerks
in reply to: friesendrywall

I did this a while ago and it still hasn't been implemented in the generic post, despite being a really easy fix (one would think): http://forums.autodesk.com/t5/hsm-ideas/add-ijk-drilling-support-to-posts/idi-p/6614863

 

This is my code for IJK support:

 

    case "chip-breaking":
      if (cycle.accumulatedDepth < cycle.depth) {
        expandCyclePoint(x, y, z);
      } else {
        writeBlock(
         gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(73),
         getCommonCycle(x, y, z, cycle.retract),
         //"Q" + xyzFormat.format(cycle.incrementalDepth),
	 (((cycle.incrementalDepthReduction > 0) ? "I" : "Q") + xyzFormat.format(cycle.incrementalDepth)),
	 conditional(cycle.incrementalDepthReduction > 0, "J" + xyzFormat.format(cycle.incrementalDepthReduction)),
	 conditional(cycle.incrementalDepthReduction > 0, "K" + xyzFormat.format(cycle.minimumIncrementalDepth)),
         conditional(P > 0, "P" + milliFormat.format(P)), // optional
         feedOutput.format(F)
        );
      }
      break;
    case "deep-drilling":
      writeBlock(
        gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(83),
        getCommonCycle(x, y, z, cycle.retract),
        (((cycle.incrementalDepthReduction > 0) ? "I" : "Q") + xyzFormat.format(cycle.incrementalDepth)),
	conditional(cycle.incrementalDepthReduction > 0, "J" + xyzFormat.format(cycle.incrementalDepthReduction)),
	conditional(cycle.incrementalDepthReduction > 0, "K" + xyzFormat.format(cycle.minimumIncrementalDepth)),
        conditional(P > 0, "P" + milliFormat.format(P)), // optional
        feedOutput.format(F)
      );
      break;

 

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report