Editing/Customizing Post Processor.

Editing/Customizing Post Processor.

Anonymous
Not applicable
14,135 Views
32 Replies
Message 1 of 33

Editing/Customizing Post Processor.

Anonymous
Not applicable

How does one go about creating a new post processor in Fusion 360? We use a CNC Masters Supramill with the below information from the manufacturer. There doesn't seem to be any options in Fusion 360 to make a new processor or edit from an old one? Thanks!

 

You can hand this over to your CAM techincian to develop your post processor for the CAM software you are choosing to use.
You can also begin with a FANUC post as your base post and re-write it from
there according to the codes and definitions below.

 

Below is our current list of G-codes with definitions and instructions how our operational software reads
these codes. These are the typical file formats that our Master software can read: .txt, .nc, .cnw, .tap

The following list applies to all of our CNC Masters "Milling Machines":

G00 = Position (Rapid speed)

G01 = Linear interpolation (Feed speed) can be used with a F coordinate at the end of the line.

G02 = Circular interpolation (CW)

Format: X__Y__I__J__ I,J are relative distance from start to center.
Incremental Z can be added for helical designs. Important: The G02/03
commands must be written with X value Y Value I Value and J value on every
line for it to work properly. If you place a Z coordinate on the same line,
that will command the toolpath to run a helical program with X Y and Z running at the
same time.

G03 = Circular interpolation (CCW)


G40 = Tool Radius compensation off

G41 = Tool Radius compensation left -- IMPORTANT: At our setup window is
where we place the diameter of the tools. The G41/42 will then offset the
radius of the tool. So we don't need an extra D value. In order for a
G41/42 cycle to work properly -- every G-code must be entered individually
after the G41/42 until it is canceled with a G40. You cannot have toolpaths
without the G code listed in front of it, or the G41/42 will not work
properly. Lastly, you can only use these codes starting on a "linear" path,
and ending on a "linear" path. You cannot begin these codes on a G02/03.
You can only begin it and end it on a G00/G01. D values are not used. The user must
enter the diameter of the tool in the Master Software Setup, Tools Tab.

G42= Tool Radius compensation right

G70 = Input in inches

G71 = Input in millimeters

G73 = High-Speed Peck Drilling Cycle, Format: X____Y____Z____R____Q____P____F____

G81 = Drilling Cycle, Format: X____Y____Z____R____F____

G82 = Counter Boring Cycle, Format: X____Y____Z____R____P____F____

G80 = Cancel G73, G81, G82, or G83 Cycle

G83 = Deep Hole Peck Drilling Cycle, Format: X____Y____Z____R____Q____P____F____

Note on Peck, Drilling, and Boring Cycles: All values must be written except P and F which are optional.
The Q, which is the cut-in value cannot be left at 0.00 or the Z will not move down on this command.
The R point is above the work piece for G83. For G73, the R point retracts a small pre-determined distance
to break the chips and then feeds to the next peck allowing the tool to go deeper.

G90 = Absolute move (Modal)
G91 = Relative move (Modal)

M00 = Pause

M03 = Spindle on
M04 = Spindle on reverse
M05 = Spindle off

M08 = Coolant on
M09 = Coolant off

M30 = End program

/Notes -- The user can place notes in between lines of the program. When placing a note in between two lines of code,
the user must indicate the line after the note with a G or M code, if the code is not written in front of the line.
In this case it is best to write each tool path with its proper G-code/M-code in front of the toolpath so the operator
does not accidently break the modal with notes.

Resolution setting: The minimum resolution setting in inches is 0.0002".
The minimum resolution setting in mm is .005 -- only if the CAM can generate multiples of the .005 mm.
But if your system cannot handle multiples, then it is best to put your resolution setting at .01 mm
so your system can properly generate the correct values from there to run the program.


Tool Change, T commands
When placing a T command to do a tool change, a spindle off and Z quill retraction are not required. The T command
automatically will turn off the spindle and retract the Z going up. When the user is done makeing the tool change,
and resumes operation the Spindle will automatically turn on, Z will lower and offset and continue to machine from there.
If the operator needs to make a spindle speed change on the T command, use M03 to adjust the spindle on a separate line "before"
the T command line. Do not include PAUSE next to the T command. Do not generate files instantly with the T1 command at the
top. Only generate these T values if the user has "more" than one tool change in his program.

4th Axis Option
Our Fourth axis is recognized in the software as the W axis. It recognizes degrees only. It can interpolate with the other three
axes if the command is placed on the same tool path line.

Lastly, no spaces in between lines. Create toolpaths in list format.


*************************************************************************************************************************************
LATHE G-CODE AND M-CODE LIST

EXPLANATION OF CODE WILL ONLY BE WITH THOSE THAT DIFFER FROM THE ABOVE LIST

G00 = Position (Fast speed)

G01 = Linear interpolation (Feed speed)

G02 = Circular interpolation (CW)

G03 = Counter Clockwise Circular interpolation (CCW)
Format: X__Z__I__K__ I,K are relative distance from start to center.

G04 = Dwell time
G20 = Input in inches
G21 = Input in millimeters
G40 = Tool Nose Radius compensation cancel
G41 = Tool Nose Radius compensation left
G42 = Tool Nose Radius compensation right
G71 = Turning Cycle

START PT. X_Z_
FINAL DIA(X), LENGTH(Z), TAPER(I), TOTAL DEPTH(K), FIRST DEPTH(D), FEED(F)

G72 = Facing Cycle

START PT. X_Z_
FINAL DEPTH(Z), LENGTH(X), TAPER(I), TOTAL DEPTH(K), FIRST DEPTH(D), FEED(F)

G74 = Peck Drilling *(SAME FORMAT AS MILL G83)
G76 = Threading cycle

SPINDLE CODE G99 (S)SPEED M_
START PT. X_Z_
FINAL DIA(X), LENGTH(Z), TAPER(I), TOTAL DEPTH(K), FIRST DEPTH(D), INSERT ANGLE(A), INFEED(P), THREAD PITCH(F)

G90 = Absolute move (Modal)

G91 = Relative move (Modal)
G98 = Linear feed rate per time

M03 = Spindle on

M04 = Spindle on reverse
M05 = Spindle off
M08 = Coolant on

M09 = Coolant off

M30 = End program

0 Likes
14,136 Views
32 Replies
Replies (32)
Message 2 of 33

bob_holland
Autodesk Support
Autodesk Support

@Anonymous,

 

Welcome to the Fusion 360 CAM forum.

 

I will be forwarding this to cam.posts@autodesk.com.

 

Thank you for using Fusion 360 for your CAM needs.

Someone should be getting back to you in a little while.


Bob Holland
Autodesk Product Support
Message 3 of 33

skidsolo
Alumni
Alumni

Here is a CNCmasters post I have been working on with another customer. Please test carefully.

Andrew W. Software engineer (CAM Post Processors)
Message 4 of 33

Anonymous
Not applicable

Thanks! Now how do I get this into Fusion 360? 

0 Likes
Message 5 of 33

jeff.walters
Advisor
Advisor

are you working on a MAC or pc?

Jeff Walters
Senior Support Engineer, CAM
0 Likes
Message 6 of 33

Anonymous
Not applicable

A Mac.

0 Likes
Message 7 of 33

Anonymous
Not applicable

Okay, so I couldn't get it into Fusion 360 on a Mac but I did get it into Fusion on a PC. It doesn't look quite right though - the first thing I notice is that there is no M3 code (spindle on) generated but there is an M5 code at the end. 

 

0 Likes
Message 8 of 33

jeff.walters
Advisor
Advisor

It’s recommended that you keep your new posts and any posts you edit in the (Personal Post) folder below on a MAC. If you don’t they could get lost with a Fusion update.

 

/*username*/Autodesk/Fusion 360 CAM/Posts

Jeff Walters
Senior Support Engineer, CAM
0 Likes
Message 9 of 33

jmwallach51
Enthusiast
Enthusiast

I tried this Post processor on CNC Master's JR Mill and it did not work well.   Added the % to start the program but the problem was is seemed to lose its Y location and put in a offset that was wrong.  Have you enhanced this Post and if you did is it available.

 

Your help is appreciated.

0 Likes
Message 10 of 33

skidsolo
Alumni
Alumni

That post is in us by other people, and I have not had any complaints about it. I have not had to make any updates to it either sorry.

Andrew W. Software engineer (CAM Post Processors)
0 Likes
Message 11 of 33

macgyverx
Explorer
Explorer

Though it was nice that autodesk was able to provide the custom PP needed. But the primary question still stands. 

 

How does one create/modify a PP for example to add additional features (i.e. custom M codes)?

0 Likes
Message 12 of 33

LibertyMachine
Mentor
Mentor

There is an unbelievable amount of information put out by AutoDesk in regards to that very question. Might I suggest a few "light reading" sources?

 

@al.whatmough has This Post about Processors 101 as well as this 3 Part Video series

We also have the Post Processor Forum where there are more than enough people who have done almost any edit imaginable and can be quite helpful when questions are clearly stated and samples are given. http://forums.autodesk.com/t5/post-processors/bd-p/218

 


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
Message 13 of 33

HughesTooling
Consultant
Consultant

Take look at this post, at the bottom of the post there's a help file and manual. 

http://forums.autodesk.com/t5/post-processors/help-my-post-processor-needs-to-be-edited-now-what/td-...

Are you using a PC or a mac, finding the generic post on a PC is a lot easier than a mac you can click Open Config on the post dialog and the post processor will open in your editor. One warning, don't save a customised post back to the generic folder save it to personal posts or to the cloud.

 

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 14 of 33

Anonymous
Not applicable
I have tried the post processor supplied for the CNC master mill and it doesn't work properly so I'm not sure why some users are not having any issues with that post processor and some are.
0 Likes
Message 15 of 33

mikeholden
Observer
Observer

What channels do I need to take to get some custom post made, we need a fanuc 6m post and a Okuma with a full fourth(B), and Mori seiki nlx 25oomy.

 

Mike Holden 

832-799-1674

0 Likes
Message 16 of 33

ivan.stanojevic
Advisor
Advisor

@mikeholden wrote:

What channels do I need to take to get some custom post made, we need a fanuc 6m post and a Okuma with a full fourth(B), and Mori seiki nlx 25oomy.

 

Mike Holden 

832-799-1674


https://forums.autodesk.com/t5/hsm-post-processor-forum/hsm-post-adjustments-needed-find-your-right-...



Ivan Stanojevic


0 Likes
Message 17 of 33

Anonymous
Not applicable

Hi when im doing a new post process, sometimes it seems the post process disapear from list,
where is the correct place to put post processors for they dont disapear?
im using a windows


thanks

0 Likes
Message 18 of 33

jeff.pek
Community Manager
Community Manager

Hi -

 

Where are you putting these now?

 

When you say they "disappear" -- when do they disappear? Is this part of a Fusion update? Or at random times?

 

As far as where you should put them, you should use either "Personal Posts", or "Cloud Posts" (if you have the cloud libraries enabled). These will be retained across Fusion updates. The "Generic Posts" area gets reinstalled with these updates. We're working on some changes to make it more difficult to accidentally store new posts in this area, which is a common mistake.

 

Thanks,

  Jeff

0 Likes
Message 19 of 33

Anonymous
Not applicable

directory is for exemple
C:\Users\username\AppData\Local\Autodesk\webdeploy\production\11ec611c89934290c4d51b096b3ad4149fd3b322\Applications\CAM360\Data\Posts

looks like they disapear every time there is a fusion update

what would be the  "Personal Posts" directory?


thanks

0 Likes
Message 20 of 33

jeff.pek
Community Manager
Community Manager

Right -- that's the "Generic Posts" directory.

 

You can adjust the selected directory using the "Setup" dropdown. If you choose Use Personal Posts, you can see the directory change to:

  %AppData%\Autodesk\Fusion 360 CAM\Posts

 

Jeff

0 Likes