Mazak Matrix milling post / Tapping with Chip Breaking ?

Mazak Matrix milling post / Tapping with Chip Breaking ?

mbTRAAF
Contributor Contributor
1,068 Views
3 Replies
Message 1 of 4

Mazak Matrix milling post / Tapping with Chip Breaking ?

mbTRAAF
Contributor
Contributor

Hello everyone,


I am looking for the following change to the Mazak  Mazatrol Matrix milling Post for Fusion 360:

Right-Hand and Left-Hand Tapping with Chip Breaking
The line in the NC-output should look as follows:


G98 G84.2 X..... Y..... Z-...... Q..... R...... F.....
-----------------------------------------------------------------------------

O1000 (M6x1 )
(T26 D=6. CR=0. - ZMIN=-20. - RIGHT HAND TAP)
G90 G94 G17 G49
G21
G53 G0 Z0.

(BOHREN1)
T26 T0 M6
S500 M3
G54
M8
G0 X-20. Y-9.
G43 Z16. H26
G0 Z6.
G98 G84.2 X-20. Y-9. Z-20. Q6. R3. F1.
G80
G0 Z16.

M5
M9
G53 Z0.
M30

 

Many Thanks

0 Likes
Accepted solutions (1)
1,069 Views
3 Replies
Replies (3)
Message 2 of 4

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

@mbTRAAF 

Currently mazak post does't support tapping with chip breaking

open the post in any editor 

search for this line 

case "fine-boring":    you will find some code like this

          feedOutput.format(F)
        );
      }
      break;
    
    case "fine-boring":
      // TAG: add support for counterclockwise direction

add the code in red inbetween case "fine-boring" and break;

like this

          feedOutput.format(F)
        );
      }
      break;
        case "tapping-with-chip-breaking":
        forceXYZ();
        writeBlock(
          gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format((tool.type == TOOL_TAP_LEFT_HAND) ? 84.3 : 84.2),
          xOutput.format(x),
          yOutput.format(y),
          "Z" + xyzFormat.format(z),
          "R" + xyzFormat.format(cycle.retract),
          conditional(cycle.minimumIncrementalDepth < cycle.depth, "Q" + xyzFormat.format(cycle.minimumIncrementalDepth)), // optional
          feedOutput.format(F)
        );
        zOutput.reset();
        break;
    case "fine-boring":

Save the file and test carefully in the machine,

 


Boopathi Sivakumar
Principal Technology Consultant

Message 3 of 4

jonathan_suedekum
Explorer
Explorer

I am having a similar issue as the original post and your code forks good except my machine requires the use of "pitch for tapping." I tried looking at an original code entry in the post and copying it into your code but it would not post with the correct "F" value and my machine errors out. Would you please help get your code to output as "Pitch for tapping"?

0 Likes
Message 4 of 4

aju_augustine
Autodesk
Autodesk

Hi @jonathan_suedekum 

The solution provided in this thread is quite old (from 2019). Since then, there have been several modifications to the post processors, which may be the reason the tapping cycle is not posting the correct F value when using pitch for tapping.

You can modify the post processor using the code below:

 

      case "tapping-with-chip-breaking":
        if (cycle.accumulatedDepth < cycle.depth) {
          error(localize("Accumulated pecking depth is not supported for tapping cycles with chip breaking."));
          return;
        } else {
          var cycleCode = (cycleType == "left-tapping-with-chip-breaking" || (cycleType == "tapping-with-chip-breaking" && tool.type == TOOL_TAP_LEFT_HAND)) ? 84.3 : 84.2;
          var tappingFPM = tool.getThreadPitch() * rpmFormat.getResultingValue(spindleSpeed);
          F = (getProperty("usePitchForTapping") ? tool.getThreadPitch() : tappingFPM);
          writeBlock(
            gRetractModal.format(98), gAbsIncModal.format(90), gCycleModal.format(cycleCode),
            getCommonCycle(x, y, z, cycle.retract),
            "Q" + xyzFormat.format(cycle.incrementalDepth),
            conditional(P > 0, "P" + milliFormat.format(P)),
            getProperty("usePitchForTapping") ? pitchOutput.format(F) : feedOutput.format(F)
          );
          forceFeed();
        }
        break;

 

Please save the file and test it carefully on the machine before using it in production.



Aju Augustine
Technology Consultant
0 Likes