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 Turn Fanuc Post FPR/G95

40 REPLIES 40
SOLVED
Reply
Message 1 of 41
bensbenz
7092 Views, 40 Replies

Fusion Turn Fanuc Post FPR/G95

 I have tried using Feed per rev mode, but the generic FANUC post output never adds any G95 commands. This is the output I  get from a simple face with that option enabled:

 

%
O1001
N10 G98 G18
N11 G20
N12 G50 S1600
N13 G28 U0.

(FACE1)
N14 T0101
N15 G54
N16 G99
N17 G97 S1400 M3
N18 G0 X3.04 Z2.
N19 G0 Z0.8296
N20 G1 X3.1131 F0.04
N21 X3. Z0.773
N22 X1.0375
N23 X1.1506 Z0.8296
N24 G0 X3.04

N25 G28 U0. W0.
N26 M30
%

 I also tried with another post that was modified for G32 which I have attached, and I get the same result. If I had one that did both that would be great.

Tags (5)
40 REPLIES 40
Message 2 of 41
HughesTooling
in reply to: bensbenz

I had a scan through the post and it looks like you need to set the Property type to B or C not sure what else that does but give it a try.

Clipboard01.png

 

 

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


Message 3 of 41
bensbenz
in reply to: HughesTooling

When I change that to B or C I get the following if I post the OP with FPR enabled:

 

%
O1001
N10 G90 G95 G18
N11 G20
N12 G92 S1600
N13 G28 U0.

(FACE1)
N14 T0101
N15 G54
N16 G94
N17 G97 S1400 M3
N18 G0 X3.04 Z2.
N19 G0 Z0.8296
N20 G1 X3.1131 F0.04
N21 X3. Z0.773
N22 X1.0375
N23 X1.1506 Z0.8296
N24 G0 X3.04

N25 G28 U0. W0.
N26 M30
%

I havent tried it on the machine yet, and I dont know a lot when it comes to this stuff so please excuse my ignorance. I see the G95 at the top, does it get canceled by the G94 called in the OP itself, or is that for roughing (just looking at a G-Code reference online)?

Message 4 of 41
HughesTooling
in reply to: bensbenz

I don't get the same as you, have you set feed per rev in the OP you're using. This is with the FANUC post that comes with Fusion.

Clipboard01.png

 

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


Message 5 of 41
bensbenz
in reply to: HughesTooling

I was using the Post that I attached. When I change to the generic post and use type B I get this, which looks correct, right?

 

g95-gen-fan.png

 

But using that post, I dont get the G32 threading that I need for my machine.

Message 6 of 41
HughesTooling
in reply to: bensbenz

Give this a try, I copied over the code that made the G32 in your post. It looks like it should work but probably best to test cutting air a few times.Smiley Very Happy

 

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


Message 7 of 41
bensbenz
in reply to: HughesTooling

Awesome! I will try it out in a bit and let you know how it goes, thanks!
Message 8 of 41
bensbenz
in reply to: bensbenz

I finally got out and tested the code and I get an error before I even start. Mach3 says the line N12 G92 S1600 is wrong, something about all axes missing in G92:

 

O1001
N10 G90 G95 G18
N11 G20
N12 G92 S1600
N13 G28 U0.

(FACE1)
N14 T0101
N15 G54
N16 G95
N17 G97 S1400 M3
N18 G0 X3.04 Z2.
N19 G0 Z0.8296
N20 G1 X3.1131 F0.04
N21 X3. Z0.773
N22 X1.0375
N23 X1.1506 Z0.8296
N24 G0 X3.04

I think thats coming about from changing to Type B in the post settings.

Message 9 of 41
AchimN
in reply to: bensbenz

So what is the problem? Do you need G95 for FPR instead of G99?

Fanuc TYPE A is usually G99 for FPR and G98 for FPM.

Type B and C is G95 for FPR and G94 for FPM.

 

If you use TYPE A into the post you will get G98/99.



Achim.N
Principal Technology Consultant
Message 10 of 41
bensbenz
in reply to: AchimN

Yes it seems mach3 is a strange beast on the lathe. It needs G95/94 for FPR but is doesnt seem to like the G92 S command that gets output when I use either type B or C. I think I will switch my machine over to Mach4 and give the modified post a try with it and post back my results.

Message 11 of 41
Anonymous
in reply to: AchimN

Looks like the problem is the G92 that Mach3 expects to be a coordinate offset, not max spindle speed.  Don't think that one is supported by Mach.

 

You probably want to get rid of the code that outputs either a G50 or G92 for that:

 

    var maximumSpindleSpeed = (tool.maximumSpindleSpeed > 0) ? Math.min(tool.maximumSpindleSpeed, properties.maximumSpindleSpeed) : properties.maximumSpindleSpeed;
    if (properties.type == "A") {
      writeBlock(gFormat.format(50), sOutput.format(maximumSpindleSpeed));
    } else {
      writeBlock(gFormat.format(92), sOutput.format(maximumSpindleSpeed));
    }
Message 12 of 41
bensbenz
in reply to: Anonymous

G50 seems to work ok, maybe I should just change the 92 to a 50 so it always outputs that?
Message 13 of 41
HughesTooling
in reply to: bensbenz

Just a bit of info for anyone trying to figure out the different g code, here a nice site with a lot of information.

 

g-code lists

 

Mark

 

Edit Mach3 here

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


Message 14 of 41
Anonymous
in reply to: bensbenz

According to the Mach4 manual G50 is supported there.

 

There is a G50 in Mach3 turn, but it doesn't appear to befor Max spindle speed.  It's to reset the G51 scale factors.

I don't see a way to set a maximum spindle speed so I would just remove that part of the post.  Comment it out by putting "//" in front of the lines so you can bring it back if needed.

 

Dave

 

 

 

Message 15 of 41
bensbenz
in reply to: Anonymous

I had to dig further in the post and comment out another set of lines to completely remove the G92 for max spindle speed. I also had to switch some imperial\metric conversion code in the G32 that somehow was copied over from the original modififed post. It was causing the G32 feed calculation to be incorrect. Reference to that change can be found here:

 

https://camforum.autodesk.com/index.php?topic=6242.msg25149#msg25149

 

So attached is a post that if you use it, with Type B selected in the options, should spit out compatible code for Mach3 that includes Feed per rev and G32 threading. I have only tried it on one air cut, I will try it on an actual part tomorrow and post back what happens.

 

Thanks everyone for the help, maybe it will help others as well.

Tags (4)
Message 16 of 41
fonsecr
in reply to: bensbenz

FYI We will get a generic Mach turning post included as soon as possible.

 


René Fonseca
Software Architect

Message 17 of 41
bensbenz
in reply to: fonsecr

Great to hear, thanks.

Message 18 of 41
peteymidd
in reply to: fonsecr

Hi, is there a generic mach 3 post yet?
cheers
Message 19 of 41
bensbenz
in reply to: peteymidd

No, but the post above works for mach3 turning.

Message 20 of 41
peteymidd
in reply to: bensbenz

Ok, thanks benz - will try it today. Have you tried it with metric and imperial. I'm metric

 

cheers

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

Post to forums  

Autodesk Design & Make Report