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: 

Mach4 Post Processor for plasma

39 REPLIES 39
SOLVED
Reply
Message 1 of 40
chuck767
1114 Views, 39 Replies

Mach4 Post Processor for plasma

Anyone know of a 360 post-processor for Mach4 Plasma?

39 REPLIES 39
Message 2 of 40
serge.quiblier
in reply to: chuck767

Hello @chuck767 

 

Have you tried the Mach3 plasma post?

Is it incompatible?

 

https://cam.autodesk.com/posts/download.php?name=mach3%20plasma&type=post

 

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
Message 3 of 40
chuck767
in reply to: chuck767

I have not tried it, but I would be very surprised if it would work, considering that Mach4 is a complete rewrite of Mach3

Message 4 of 40
seth.madore
in reply to: chuck767


@chuck767 wrote:

I have not tried it, but I would be very surprised if it would work, considering that Mach4 is a complete rewrite of Mach3


Right, but the rewrite had more to do with how Artsoft was able to run on modern hardware (computers) and less to do with the g-code that it could digest, right?


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 5 of 40
chuck767
in reply to: seth.madore

Seth,

good point, I will take a look at it.

 

I do know, and you are also aware, the M commands for  laser control, changed from M10/M 11 to M63/M62. 

Message 6 of 40
serge.quiblier
in reply to: chuck767

Hi @chuck767 

 

then this means that a little change to the onPower function can resolve the issue :

function onPower(power) {
  initialG31 = false;
  writeBlock(mFormat.format(power ? 3 : 5));  // M command can be changed here
  powerIsOn = power;
  if (power) {
    onDwell(getProperty("pierceDelay"));
    if (zFormat.isSignificant(getProperty("pierceHeight"))) {
      feedOutput.reset();
      var f = (hasParameter("operation:tool_feedEntry") ? getParameter("operation:tool_feedEntry") : toPreciseUnit(1000, MM));
      zFormat.setOffset(0);
      zOutput = createVariable({prefix:"Z"}, zFormat);
      writeBlock(gMotionModal.format(1), zOutput.format(getCurrentPosition().z), feedOutput.format(f));
    }
  } else {
    if (zFormat.isSignificant(getProperty("pierceHeight"))) {
      zFormat.setOffset(getProperty("pierceHeight"));
      zOutput = createVariable({prefix:"Z"}, zFormat);
    }
    writeln("");
  }
}

 

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
Message 7 of 40
chuck767
in reply to: serge.quiblier

thanks for the input, hopefully somebody(Seth 😊) can put that into a post processor for Mach4 

 

 

Message 8 of 40
seth.madore
in reply to: chuck767

@chuck767 nope, I am not nearly qualified to add posts to the Fusion library.

Or, are you asking for some assistance in modifying your post to work? That, I can do!


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 9 of 40
chuck767
in reply to: chuck767

Seth,

My bad, I thought you actually built the laser post processor for fusion 360. 

I see now that you did a modification to an existing one.

 

Hopefully somebody can generate a plasma post processor for Mach4.  

thanks,

Chuck 

Message 10 of 40
engineguy
in reply to: chuck767

@chuck767 

 

See image below, simple example shape, first image is the shape in Fusion and the second is in Mach4 which seems to accept the code and run the shape, obviously I have not done any settings for the actual machine but the code does run, I did set it to "Use Z" option so that it shows the movement more clearly.

The only mod done to the PP is the one shown by @serge.quiblier, try just changing the 3 and 5 to 62 and 63 to get the code shown below, let us know if it is close to what you need 🙂

Fusion ScreenFusion Screen

 

Mach4 Plasma ScreenMach4 Plasma Screen

 

N10 G90
N15 G71

(2D Profile1)
N20 G0 Z15.
N25 G0 X41.784 Y17.597
N30 G0 Z0.
N35 M62
N40 G4 P1.
N45 G1 X44.58 Y21.743 F1000.
N50 G2 X44.713 Y22.247 I0.36 J0.175
N55 G3 X47.05 Y44.265 I-8.296 J12.014
N60 G3 X24.931 Y43.274 I-10.634 J-10.004
N65 G2 X24.419 Y43.173 I-0.315 J0.247
N70 G3 X-24.419 I-24.419 J-43.173
N75 G2 X-24.931 Y43.274 I-0.197 J0.348
N80 G3 X-47.05 Y44.265 I-11.486 J-9.013
N85 G3 X-44.713 Y22.247 I10.634 J-10.004
N90 G2 X-44.58 Y21.743 I-0.227 J-0.329
N95 G3 X44.58 Y-21.743 I44.58 J-21.743
N100 G3 Y21.743 I-44.58 J21.743
N105 G1 X39.593 Y22.091
N110 M63

N115 G0 Z15.
N120 M30

 

Hope this helps 🙂

 

Message 11 of 40
chuck767
in reply to: engineguy

Yes, this solution works fine.

 

I was hoping somebody could actually put it into a post processor so that people would not have to manually change the M5/3—to M62/63. 

thank you,

Chuck

Message 12 of 40
engineguy
in reply to: chuck767

@chuck767 

 

Not hard to do, you can do it yourself, worth the practice just to gain a little knowledge 🙂

I have attached it to this post for you, just import it to your Local Personal Library or your Cloud Library, that way it shouldn`t get overwritten by any updates, also turn off the Automatic updates in your Preferences just to help that 🙂

 

The PP is named as a Mach3 PP but you can change the name to anything you want 🙂

Message 13 of 40
chuck767
in reply to: engineguy

Thanks, that’s a good idea I need to practice.

Chuck.

Message 14 of 40
chuck767
in reply to: chuck767

Finally got around to modifying the MACH3 plasma post processor per your suggestion. 

 

When I open the Mach3  file I see no reference to “M3, M5 .

So I’m wondering what I modify to make the changes you recommend?

Thanks,

Chuck 

Message 15 of 40
engineguy
in reply to: chuck767

@chuck767 

 

The PP that I uploaded is set to output M62 and M63, if you want/need it to be M3 and M5 then see the image below, all you need to do is change the 62 and 63 to 3 and 5 on the highlighted line 440, hope that helps 🙂

Change M62-M63 to M3-M5.jpg

 

Message 16 of 40
chuck767
in reply to: engineguy

Thanks, I was searching for M62 M63 and could not find anything. 

Now, I understand that I’m simply looking for 62 or 63 or with Mach3, 3 or 5. 

 

when using the M62 or M63, they need to include P#.   # is output port. Ie M62P2. 


thanks for your help,

Chuck 

 

Message 17 of 40
chuck767
in reply to: chuck767

correction ------"when using the M62 or M63, they need to include P#. # is output port. Ie M62P2."

 

should read,


when using the M62 or M63, they need to include P#. # is output NUMBER. Ie M62P2.

Message 18 of 40
chuck767
in reply to: seth.madore

Seth,

Ok, you offered to help "are you asking for some assistance in modifying your post to work? That, I can do!"

 

Attached is the PP for Mach3 Plasma done By Artsoft.  

 

Here is what needs to be done To the Post processed Mach3 Plasma code to make it work on Mach4,

if you are still willing to help. - 🙂

1,   Above any G0 Z0insert"M62P2"

2,   Delete all "M3"

3,   Replace all "M5" with "M63P2"

4,  On the next to the last line of the Mach3  Gcode replace, "G0 Z0.6" with "G0 Z0.6 X0 Y0"

 

Let me know what you think?

 

Thanks,

Chuck

 

 

 

Message 19 of 40
seth.madore
in reply to: chuck767

@chuck767 couple of points of note:

1) There are no G0 Z0's output with the post you shared, or any Z move for that matter

2) Nor is there a "G0 Z0.6" at the end, it simply ends in: 

N23900 M5

N23905 M30


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 20 of 40
chuck767
in reply to: seth.madore

Seth,

I apologize, apparently I was looking at the wrong G code output for my last posting.  Not sure what went wrong.

 

I’ve been trying different things and need to go back and look at the configuration that I know works and get back to you.
thanks,

Chuck

 

 

 

 

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

Post to forums  

Autodesk Design & Make Report