What's new
What's new

Modify Fusion 360 Post Processor for Haas VF4-SS --- specifically tool number formatting

peterloewen738

Plastic
Joined
Jul 26, 2023
I would like fusion to post in the following format:
///At the top of the program, a tool list to set the tool numbers to be used.
#501=3. (1st tool description)
#502=8. (2nd tool description)
#503=9. (etc.)

/// then in the actual program, when ever the 1st tool is called, it uses those macro values. See blue values in below example code.

This makes it supper easy to change tool number as needed, without the chance of missing a D or H value somewhere in the code, which could be very long.
I have been doing this in a different CAM software for years, but we just switched to Fusion, and I cannot figure out how to modify the Post Processor code to do this.


Attached is the Post Processor I currently use. (I do a lot of manual tweaking after, because I don't know how to make changes)

Here is an example modified code, showing how I want it to post:
%
O01020 (5th Wheel Socket - Slot)
G17 G20 G40 G56 G80 G90
G53 G0 Z0.
#501=3. (3/8 GARR ENDMILL 62327 loc=0.875)
(MILL SLOT)
N1 T#501 M6 H#501
T#502
(stage next tool)
M8
M3 S6621
G0 G90 X2.425 Y1.6648
G43 Z0.1 H#501
G0 Z-0.36
G1 Y-1.6648 F39.73 (SLOT ON CENTER)
G1 G41 D#501 X2.4375(cutter comp on)
Y1.6648 (FINISH RIGHT WALL)
X2.4125
Y-1.6648(FINISH LEFT WALL)
G40 X2.425(cutter comp off)
G0 Z0.1
X2.425 Y1.6648
G0 Z-0.72
G1 Y-1.6648 (SLOT ON CENTER)
G1 G41 D#501 X2.4375(cutter comp on)
Y1.6648 (FINISH RIGHT WALL)
X2.4125
Y-1.6648 (FINISH LEFT WALL)
G40 X2.425(cutter comp off)
G0 Z5. M9
M5
G53 G0 Y0. Z0.
M30
%

Side note: the coolant on codes are also way to far down in the posted code. I would like them to be right after the tool change.
 

Attachments

  • haas.txt
    146.6 KB · Views: 3
In case you aren't aware of the F360 Visual Studio plugin... Watch this You should easily be able to make those changes or any others you want if you spend some time messing around with your post in VS

I'd also post your question to the Fusion manufacturing forum, you are more likely to get a response there with the actual modifications you desire rather than the advice on how to modify a post or questions about why you needs these modifications you'll get here.
Here people fall more into the teach-a-man-to-fish camp, whereas that forum is where people go for (free) tech support straight from AutoDesk and their "product evangelists".
 
Out of my skill set but I have found modifying their posts very easy. And for some complicated post mods on a thermwood 5x their support helped get my post fixed up no charge. I can't say the same for MasterCAM or Postability even with a "subscription."
 








 
Back
Top