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: 

Need info on editing a fanuc post

8 REPLIES 8
Reply
Message 1 of 9
sales36ZAW
219 Views, 8 Replies

Need info on editing a fanuc post

I am using a fanuc 5 axis post for my Kitamura mycenter4xt.

It is working so far but I have to make a manual edit for each tool. Hoping this is an easy change but not sure where to start. Any help would be appreciated.

For example:

It post this code and I get an overtravel:

%
O7033 (703 POMMEL 2ND SIDE)
(T5 D=0.25 CR=0. - FLAT END MILL)
G90 G94 G17 G49 G40 G80
G20
G28 G91 Z0.
G90
G00 A0. C0.

(TAB SIDE 1 2)
N10 T5 M06
S4584 M03
G54
G00 A30. C45.
M08
G00 X1.2337 Y7.2819
G43 Z3.2713 H05
G00 Z3.2087
G01 Z2.8087 F10.
Z2.5587
G41 X1.1316 Y7.2025 D05 F18.
G03 X1.1121 Y7.1589 I0.043 J-0.0454
G01 X1.1 Y6.7172
.......
 
If I edit to move the G54 to after the M08 and add a G90, the program run as intended.
%
O7033 (703 POMMEL 2ND SIDE)
(T5 D=0.25 CR=0. - FLAT END MILL)
G90 G94 G17 G49 G40 G80
G20
G28 G91 Z0.
G90
G00 A0. C0.

(TAB SIDE 1 2)
N10 T5 M06
S4584 M03
G00 A30. C45.
G54   <------------Remove this
M08
G54 G90 G00 X1.2337 Y7.2819  <------------ add this
G43 Z3.2713 H05
G00 Z3.2087
G01 Z2.8087 F10.
Z2.5587
G41 X1.1316 Y7.2025 D05 F18.
G03 X1.1121 Y7.1589 I0.043 J-0.0454
G01 X1.1 Y6.7172
X1.0994 Y6.696
........
8 REPLIES 8
Message 2 of 9
DarthBane55
in reply to: sales36ZAW

Hi, I think it is an easy fix, however...  I would not recommend it... Doing your change would mean that the A-C move would be done without considering G54, it would be done with whatever work offset you last used, and this could crash your machine in a hurry.

Can you double check 1 thing 1st, just to make sure, because this code should be fine.  Can you go in your machine controller and check the work offset G54, and see if you have a "A" axis offset in there?  Your overtravel is on "A" axis I assume... if you have an offset in G54 for "A", and then you tell it to go to A30, it is dangerous because it will add the angle in the "A" axis offset.

Also, you are already in G90 mode, so adding another G90 should be unnecessary (not post edit required).

 

One more thing, your 2 sections of codes are not the same (except for your edits, they are not the same).

On the 1st one, you have G54 before the A-C move, but in the lower one, you have it after (even without your edits).  I am assuming the one at the top is exactly as posted, and and lower one, you moved the G54 by mistake, then said to move it once more in red.  Confirm the code as posted is like above please.

Message 3 of 9
sales36ZAW
in reply to: sales36ZAW

It is the same code. I just moved it trying to show what I need done. The overtravel is on the Y axis without the change

Message 4 of 9
DarthBane55
in reply to: sales36ZAW

Not the same code, look at pic below.  Please confirm which one comes out of the post.

Did you check for a "A" offset in your machine?  If can throw the X-Y-Z off too if it moves at an angle it can't reach due to added offset to the angle in the program.  Please confirm this, it will help for the rest.

1.png

Message 5 of 9
sales36ZAW
in reply to: sales36ZAW

Then I typed it wrong

(TAB SIDE 1 2)
N10 T5 M06
S4584 M03
G54   <------------Remove this
G00 A30. C45.
M08
G54 G90 G00 X1.2337 Y7.2819  <------------ add this
G43 Z3.2713 H05
G00 Z3.2087
G01 Z2.8087 F10.
Z2.5587
G41 X1.1316 Y7.2025 D05 F18.
G03 X1.1121 Y7.1589 I0.043 J-0.0454
G01 X1.1 Y6.7172
X1.0994 Y6.696
........
Message 6 of 9
DarthBane55
in reply to: sales36ZAW

Did you check for the "A"  offset at G54 in your machine? 

The post should not be altered, the G54 has to be before the A-C move (as it is currently), otherwise you will get into trouble sooner or later when something is in "A" or "C" in the controller.  The A-C move should be within the G54 offset call if you know what I mean, because anyways, later on in the toolpath, if you have other indexing moves (A-C), they would then all be within the G54 offset.  The 1st one has to be in there too.

Message 7 of 9
sales36ZAW
in reply to: sales36ZAW

I just checked and it works fine with removing the original G54 but it will not run without adding it another G54 after the M08.

Message 8 of 9
DarthBane55
in reply to: sales36ZAW

I wanted to help, but I asked you 3-4 times to check your offsets in the controller, I will leave this to someone with a bit more patience.  Happy deleting codes without understanding what they do.

Message 9 of 9
sales36ZAW
in reply to: sales36ZAW

You asked about the A. It is set to zero in the offset. It is the Y that is overtraveling. I am not having any issues with the A and C. Thanks for trying. I'll just keep manually edit it and cutting parts

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

Post to forums  

Autodesk Design & Make Report