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: 

Fusion 360 Post editing help

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
JonasDM46
203 Views, 2 Replies

Fusion 360 Post editing help

Hey guys,

Think i have a rather simple question for the experienced post editor. I would like to edit the Edingcnc Postprocessor so that on the first line "GoSubHeader" is posted and on the line before M30 "GoSubEndJob". This is to call up macros at the beginning and end of the program that are used to control dust hood, vacuum, etc... of a cnc router.

 

Regards,

Jonas

2 REPLIES 2
Message 2 of 3
ltomuta
in reply to: JonasDM46

This are the post processor lines that write the first blocks in your gcode file:

ltomuta_1-1675526452439.png

Normally a machine expects % as the first line, followed by the program name but it you are confident that your machine can work with something else on the first line then replace that first writeln with whatever you need, like:

writeln("GoSubHeader");
//writeln("%");

Or put the line after line 423, to have it included after the program comment.

As for M30, the end code is at the very end of the post as well:

ltomuta_2-1675526797468.png

Add a writeln("GoSubEndJob"); somewhere there before that "stop program" line.






Message 3 of 3
JonasDM46
in reply to: ltomuta

Sir,

 

You are a genius, thanks for the help !

 

Regards,

Jonas

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

Post to forums  

Autodesk Design & Make Report