Macro Question

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: Macro Question

Post by cbb1962 »

@swissi

I modified my POST per your instructions, I get an error when trying to generate g-code now. Attached is my modified Post, the original Post, the Error File, and the log file. The code was inserted into the post processor at line 443. (I had to change the file extensions to .txt in order to upload them.)

Any help would be appreciated.

Modified POST:
centroid_mill_MODIFIED.txt
(34.53 KiB) Downloaded 104 times
Original POST:
centroid_mill_FRANCO-CNC_Rev-1.txt
(33.99 KiB) Downloaded 116 times
Error file:
1001.nc.failed.txt
(377 Bytes) Downloaded 108 times
Log file:
1001.log
(2.11 KiB) Downloaded 127 times
Thanks!
Clint in NW Arkansas

The more I learn, the more I realize I don't know...


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

Re: Macro Question

Post by swissi »

Hi Clint

This is actually a bug in the original post from Franco. When you select the sequence number property in the original post, you will get the reference error "nFormat is not defined" because this line is missing in Franco's post:

Code: Select all

var nFormat = createFormat({prefix:"N", decimals:0});
I made Franco aware of this problem a while back and I believe he corrected it in the original source file.

I'm using Franco's original post as well and I made some more enhancements to it (all marked up in the code). This code here will also display the ZMIN info in the #300 line as well as the Tool Description if you add any in the Fusion360 Tool Library.

Here's my modified Post Processor (remove the .txt extension at the end):
Centroid_Mill_Franco_swissi_Rev-1.cps.txt
(35.76 KiB) Downloaded 147 times
-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


cbb1962
Posts: 349
Joined: Wed Jan 03, 2018 10:04 pm
Acorn CNC Controller: Yes
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 38D2695C8301-0122180576
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: NW Arkansas

Re: Macro Question

Post by cbb1962 »

@swissi
This is brilliant, Works GREAT!
Thanks!
Clint in NW Arkansas

The more I learn, the more I realize I don't know...


Post Reply