Editing/Customizing Post Processor.

Editing/Customizing Post Processor.

Anonymous
Not applicable
14,141 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,142 Views
32 Replies
Replies (32)
Message 21 of 33

Anonymous
Not applicable

Done i have set all to get post from personal posts folder

thanks alot jeff it was very helpfull your information, i guess the updates was changing to new folders and my customize post keeped disapearing

thanks again 🙂

Message 22 of 33

jeff.pek
Community Manager
Community Manager

Yes, sounds like it. BTW, your old posts may still be around -- in different sub-folders under "webdeploy/production" -- if you do a search for ".cps" under that folder, you may find the ones you had used, and can just move them into your personal folder.

 

Jeff

0 Likes
Message 23 of 33

Anonymous
Not applicable

yes was looking into that now 🙂

thank you !!!

0 Likes
Message 24 of 33

richPSR
Contributor
Contributor
Hi all. Very new to fusion and 3d, but have a history of 2d. I will have to change a post to suit my older scm routers. Can you set up a parametric question that will affect the output codes for the 3 machines I need to use? The codes I will need to put in are for vacuum (3 Options) and good position (5 positions).
0 Likes
Message 25 of 33

richPSR
Contributor
Contributor

So I have had a brief look at the post editor in fusion. I am using the NUM.cps file and it looks like the section i could modify would be blocks 210 - 224. 

 

I use a 10 position changer, but I Have an ofset library of 32 positions. I generally group my cutters by type, and then use the ofset library to account for the different sizes. eg, Tool 3 has offsets 3, 13, 23 associated with it. The offset (height and lengths) are designated by the D ref. How can I change the code to show a D value in the line after the tool change, so it would read

 

T03 M06

D13

 

I think that would solve one of my initial problems. The second is to do with my extraction hood position (my SCM Routers are all extracted). The hood can be controlled by 5 positions, generally M110 (home), M111, M112, M113, M114. In my existing posts the position can selected by using a note value in the tool descriptions, defaulting to Home postition if none is entered. Would this be possible to run in the post mentioned above? I am pretty sure you coudl use the tool comment box to label 0-4 which would then relate to the M code?  

0 Likes
Message 26 of 33

fpmachinebob
Enthusiast
Enthusiast

Hello, 

  I've been wanting to learn how to write a post from scratch, I have Notepad ++, then I have a month free trial of HSM Inventor. After I got Inventor I received a call from AutoDesk.

He asked me how I liked it. And I told him I'm using Fusion 360, witch is great, and I only got HSM Inventor because I figured out you need it to write your own posts from scratch, 

and it shows you how. So he told me there is another way without using HSM Inventor, and he would send me that information Via. E-mail. Its been over three weeks and have'nt her'd 

from him since. Does anyone know what he was talking about, or were I can get that information.

     Thank you.

               Bob.

0 Likes
Message 27 of 33

richPSR
Contributor
Contributor
Hi Bob,

We have been working on this ourselves recently and found the following very helpful.
https://forums.autodesk.com/t5/hsm-post-processor-forum/technical-faq/td-p/7473258
We are now in a position where we are tangibly close to proving our posts out, so the on line forum guidance has been very helpful, and we wouldn't be where we are without it.

Regards,
0 Likes
Message 28 of 33

emails67MMH
Explorer
Explorer

Hello togehter,

 

i am new and i built a cnc lathe. i want to used fusion 360 to create the gcode. For my cnc milling i have a pp for madcam. has anyone a idea were i get the pp für eding  cnc Lathe/turn. Or is here a good expert to create a new pp for eding cnc

 

Sorry, but my english is not the best.

 

Regards for any support.

 

Det

 

grafik.png

Message 29 of 33

garry.rutland
Participant
Participant

Dear Skidsolo

 

I have been searching for a solution to a Post Processor for a CNC Masters mill and see that over the years there have been a lot of frustrated individuals looking for the same thing. CNC Masters solution is to switch to Rhino and Visual Mill. My draftsman and me as a beginner have persevered with F360 and your solution worked. I have yet to run it on the machine but the simulation on screen appears to work well. I was previously using Fanuc PP but there were numerous edits required and errors (circles cut into the model).

 

It was not immediately clear to me how to access your PP from F360 Cam but I eventually worked it out.

 

For the sake of those who are still searching for answers and those to come would you please make the MX Masters PP part of the standard list so that we/they do not get frustrated and switch to Rhino.

 

Regards

 

Garry

 

Message 30 of 33

pfrancescutti
Observer
Observer

This is an old thread with a lot of history but I hope I can revive it to help solve my issue. I have a CNC Masters Baron and am in the same boat as many here in that I cannot find a PP for this mill that works with F360. I'm just a hobbyist who's learning so dropping the substantial investment for Visual Mill isn't in the cards but it is the only SW I've found that offers a CNCMasters PP right out of the box. 

 

The PP linked above works for the most part but my machine loses its X/Y after every G02/03. When I manually code G02/03 I don't appear to have the same issue. When I manually remove the circular cuts from the code I don't get the same issue.

 

Any help would be greatly appreciated.

0 Likes
Message 31 of 33

Anonymous
Not applicable

am I not educated, I couldn’t see thru all the noise above what your using for the post processor????? All I see Is link to one thread to the next??? Help???

0 Likes
Message 32 of 33

pfrancescutti
Observer
Observer
trialnterror

 

Go to message 3 of 31 on page 1 of this thread. In that message there is a link to download a file called 

0 Likes
Message 33 of 33

Eatonasher
Enthusiast
Enthusiast

Hi @bob_holland ,

 

Is there any progress on adding these to the list of Fusion 360 Post-Processors? I would really like to switch over to Fusion but this is stopping me from doing so.

 

Thanks,

Eaton

0 Likes