Post processor help

Post processor help

kratzkemachining
Contributor Contributor
2,801 Views
24 Replies
Message 1 of 25

Post processor help

kratzkemachining
Contributor
Contributor

I was wondering if anyone would be able to help me make some small changes to my post processor, which only needs 3 things to get us going in the shop. A custom post would be upwards of $2500 and I had a professional inspect my code from Fusion and it only needs these three things. I am not new to coding but am unsure of what to actually insert to get the results I want.

 

1. G61.1 after the very first tool change line, with G64 at the end statement of the code to cancel it.
 
2. G05 P2 right after G43.4 (when using 4 or more axis) and before G01 (any movement), with G05 P0  at the end of the unit to cancel G5 P2.
 
3. G49 at the end of the last movement in the unit to cancel G43.4 before moving on the the next unit.
 
I am using the term UNIT as a way of saying (parallel, scallop, adaptive, contour, e t c) 
 
Any help is appreciated!
0 Likes
2,802 Views
24 Replies
Replies (24)
Message 2 of 25

ltomuta
Advisor
Advisor

These sound like trivial changes if you provide: a) the post file and b) a sample project to use as baseline for comparing the before and after output.

0 Likes
Message 3 of 25

kratzkemachining
Contributor
Contributor

Thank you for the reply, Here is the post I am using and the project file in a .txt files as I cannot send .eia files. If you need anything else just ask. 

0 Likes
Message 4 of 25

kratzkemachining
Contributor
Contributor

Here is actually a file that was hand corrected if you would like a reference on exactly what it looks like. The changes he made are also in ( ) next to the G codes I listed in the initial post. Thanks!

0 Likes
Message 5 of 25

kandennti
Mentor
Mentor

Hi @kratzkemachining .

 

Can you provide the f3d file?
I believe you have all the data you need, but others don't have it all and can't even consider it.

0 Likes
Message 6 of 25

kratzkemachining
Contributor
Contributor

Yes I can, but it seems to me that it is a f3z file? Is that the same thing or do I need to do something else?

Message 7 of 25

ltomuta
Advisor
Advisor
By project I mean the Fusion design (.f3d or .f3z) from which I can
generate the intermediary file needed for post processor debugging
Message 8 of 25

kratzkemachining
Contributor
Contributor

Yes okay, here is the f3z file attached

Message 9 of 25

ltomuta
Advisor
Advisor

Should G5 P2 be generated only after G43.4 or also for G43.5 ?

0 Likes
Message 10 of 25

kratzkemachining
Contributor
Contributor

Only after G43.4 is what I am being told

0 Likes
Message 11 of 25

ltomuta
Advisor
Advisor

Actually, there is already a smoothing implementation in your post. To enable it set the useSmoothing property on. Did you try in and want it modified or is not good for you at all as is?

It comes with matching G49s


Message 12 of 25

kratzkemachining
Contributor
Contributor

I see I have overlooked that G5 because it was posted as G5 P2 not G05 P2, which is what I was searching for. I will start enabling smoothing to fix that problem. Also the G49 needs to be in the end of each unit rather than the beginning of the next unit. ( I am unsure why but that's what worked ) Thanks!

0 Likes
Message 13 of 25

ltomuta
Advisor
Advisor

Try this one. The changes are between comments like this

// Lucian start
var highAccuracy = false;
// Lucian end
Message 14 of 25

kratzkemachining
Contributor
Contributor

I will try this right now and let you know!

0 Likes
Message 15 of 25

kratzkemachining
Contributor
Contributor

I just ran it and right away it gave me an "Illegal format" error, I think the control is very picky and needs the G05 P2 right after the G43.4 and not before it. Other than that everything looks correct! Does this mean I should not use the internal smoothing option?

0 Likes
Message 16 of 25

kratzkemachining
Contributor
Contributor

I asked about G05 P2 and he said it should only be in there when using 4 or more axis, which is why it is erroring us out on adaptive 3 axis milling

0 Likes
Message 17 of 25

kratzkemachining
Contributor
Contributor

I accidentally replied to my own comment and am unsure if you can see those, so I will type it here as well.

 

"I asked about G05 P2 and he said it should only be in there when using 4 or more axis, which is why it is erroring us out on adaptive 3 axis milling"

0 Likes
Message 18 of 25

ltomuta
Advisor
Advisor

Sounds like the built-in smoothing option needs a bit of tweaking to move it after and only after G43.4 in 5 or more axis operations. I will have a new look see at it tomorrow.

0 Likes
Message 19 of 25

kratzkemachining
Contributor
Contributor

Yes that would be great, here is the code that worked flawlessly on our machine if you would like a reference to see where G5 P2, G5 P0, G61.1, G64, and G49 are in the program. Thanks again for the help! ( I sent it in a .txt file because I cannot send .EIA )

0 Likes
Message 20 of 25

ltomuta
Advisor
Advisor

Ok, I've got it now to the point where it outputs this sequence: 

ltomuta_0-1676606051119.png

Meaning G5 P2 right after and only after G43.4.
But if you really need it moved right before the G1 line then that would be a bit tricky as I would have to bypass an existing validation point and move the activation of the tool length compensation past a point where the Fusion post guys think it should have happened already.

0 Likes