Fusion 360 Mill Post Processor for CNC12 with additional Features (New Community Version 1.0)

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

spikee
Posts: 128
Joined: Thu Feb 01, 2024 5:34 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by spikee »

You could always throw in in a cnc simulator. But generally G-code is pretty simple. if you see junk it is generally something like what you expirienced.


makemake
Posts: 19
Joined: Tue Dec 13, 2022 4:34 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 20D7787C3C66-0826226485
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by makemake »

A couple of questions regarding coolant options - I've recently begun using the mist command in addition to the flood command and have been choosing "Flood and mist" from the coolant dropdown in Fusion. HOWEVER it appears that no coolant commands are being written to the .nc file. When I was just using "Flood" an M8 command was being written. It appears there's a case statement for the coolant in the .cps file, but I'm not sure what the case conditional would be called for "Flood and mist"... Anyone have any ideas? I'm also not sure if that's the only snippet of code I'd need to add...

ALSO, because I've been using the flood and mist together I've had to activate them manually in CNC12, but sometimes it complains about the manual coolant activation and prompts me to change it back to auto before it will progress with the .nc file and therefore no flood or mist is possible...

Thanks in advance for any help!


swissi
Posts: 603
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by swissi »

makemake wrote: Tue Aug 27, 2024 4:49 pm A couple of questions regarding coolant options - I've recently begun using the mist command in addition to the flood command and have been choosing "Flood and mist" from the coolant dropdown in Fusion. HOWEVER it appears that no coolant commands are being written to the .nc file. When I was just using "Flood" an M8 command was being written. It appears there's a case statement for the coolant in the .cps file, but I'm not sure what the case conditional would be called for "Flood and mist"... Anyone have any ideas? I'm also not sure if that's the only snippet of code I'd need to add...

ALSO, because I've been using the flood and mist together I've had to activate them manually in CNC12, but sometimes it complains about the manual coolant activation and prompts me to change it back to auto before it will progress with the .nc file and therefore no flood or mist is possible...

Thanks in advance for any help!
I've posted a new version 5.2 of the PP at the bottom of the first post that includes some recent fixes:
  • Rigid Tapping fix from Uwe (suntravel)
  • Clamp M10/M11 fix. An M11 was added to the post even when the Property "Enable Clamp On/Off" was not selected
  • Support to enable Flood and Mist Coolant at the same time (a M7 and M8 will be added to the G-Code)
-swissi
If you are using any Probing Device, a Rack ATC or want a more efficient Work Flow, check out CHIPS

Contact me at swissi2000@gmail.com


cnckeith
Site Admin
Posts: 8879
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by cnckeith »

cool, thanks, i changed this thread to a sticky post.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html


RJS100
Posts: 718
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Arizona

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by RJS100 »

Just to confirm.... This newest post works with Rigid Tapping, but NOT rigid tapping with chip breaking?


spikee
Posts: 128
Joined: Thu Feb 01, 2024 5:34 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by spikee »

I modified the post processor to add machine simulation. It basically involved copying some code from fusion and putting it inside. Other than that i have not modified the post code other than adding this.
Image

File is attached, feel free to merge :D
Changes according to : https://www.autodesk.com/support/techni ... cavq1.html
Attachments
Centroid_Mill_MinRev-40783-swissi-005.2 + Spikee mod.zip
Swissi post processor with machine simulation added
(22.92 KiB) Downloaded 7 times


suntravel
Community Expert
Posts: 3522
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by suntravel »

Very cool :)

Uwe


RJS100
Posts: 718
Joined: Tue Oct 20, 2020 8:41 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Arizona

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by RJS100 »

Thanks. That is very nice.

With respect to rigid "tapping with chip breaking", here is the error message you get (see attached). I am just starting to learn gcode so this is a bit above my pay grade.

Thanks... Richard
Attachments
Gcode.jpg


spikee
Posts: 128
Joined: Thu Feb 01, 2024 5:34 am
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by spikee »

Sounds like a simular issue:
https://forums.autodesk.com/t5/fusion-m ... p/10859616

Perhaps the solution works


suntravel
Community Expert
Posts: 3522
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Fusion 360 Mill Post Processor for Acorn with additional Features (New Version 5)

Post by suntravel »

spikee wrote: Wed Jan 01, 2025 7:38 pm Sounds like a simular issue:
https://forums.autodesk.com/t5/fusion-m ... p/10859616

Perhaps the solution works
That is not working with Centroid.

I made a mod that makes Peck Tapping in fusion like the output from Intercon

Code: Select all

case "tapping-with-chip-breaking": // Uwe Peck Tapping
        
          if (!F) {
        
            F = tool.getTappingFeedrate();
        
          }
        
          writeBlock(
        
            gAbsIncModal.format(90), gCycleModal.format(84),gRetractModal.format(99),
        
            "X" + xyzFormat.format(x),
            "Y" + xyzFormat.format(y),
            "Z" + xyzFormat.format(cycle.stock - cycle.incrementalDepth),
            "R" + xyzFormat.format(cycle.retract),
            
            conditional((P > 0), "P" + secFormat.format(P)),
            pitchOutput.format(tool.getThreadPitch())      
        );

        for (var i=2;((cycle.stock - cycle.incrementalDepth * i)>(cycle.depth * -1));++i)
            if ((cycle.stock - cycle.incrementalDepth * i)>(cycle.depth * -1))
            {
              writeBlock( 
              "X" + xyzFormat.format(x),
              "Y" + xyzFormat.format(y),
              "Z" + xyzFormat.format(cycle.stock - cycle.incrementalDepth * i),   
               );
            }
          writeBlock(
            "X" + xyzFormat.format(x),
            "Y" + xyzFormat.format(y),
            "Z" + xyzFormat.format(cycle.depth * -1),
            gRetractModal.format(98)   
        );
      break;
It is using the Pecking Depth in fusion to increment till max depth is reached, starting each run at Feed Height.

Uwe
Attachments
PeckTap.jpg
fusionIntercon.jpg
fusion.jpg


Post Reply