Fanuc om post processor

Fanuc om post processor

clalonde1
Contributor Contributor
2,151 Views
14 Replies
Message 1 of 15

Fanuc om post processor

clalonde1
Contributor
Contributor

Hi Everyone.  Having trouble getting a post that works on my fanuc om-d controller.  very new to cnc and fanuc so go easy on me lol.  I have a 1999 hardinge vmc 1000 with a fanuc om-d control.  designed and toolpathed the parts.   struggled but got the program loaded on the machine and then after that has been a nightmare.  The generic fanuc post would not even come close to working so went with a fanuc incremental g91 post.  single blocking on mill and not getting anywhere.  xy travels as coded but z goes up instead of down.  Have checked work offsets, etc and all seems to be normal.  Is their a setting on the post i am missing or something else very obvious.  any help would be great

0 Likes
2,152 Views
14 Replies
Replies (14)
Message 2 of 15

LibertyMachine
Mentor
Mentor
What issues were you having with the generic? I loath the idea of running in incremental mode.....ugh
I've run the fanuc generic on a good many machines so I'm curious...

Would you be willing to share the .f3d file so we could examine your choices?

Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Message 3 of 15

clalonde1
Contributor
Contributor
Sure would if I knew what you were talking about lol.  Anything I can do to get through this.  


Sent from my Samsung Galaxy smartphone.
0 Likes
Message 4 of 15

clalonde1
Contributor
Contributor
Also to noteI have used autodesk on a accurate control on a knee mill with great results. This however is a different animal I have come to discover. If that file is in fusion. Let me know how to extract it. Thanks
0 Likes
Message 5 of 15

LibertyMachine
Mentor
Mentor
To share the .f3d: File > Export > save to local folder.
Come back to this thread and attach it in your next reply
Any more info about the problems you were running into would be very helpful

Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Message 6 of 15

clalonde1
Contributor
Contributor
Ok will do. Not near computer right now. Will do asap. Thanks. Don't have any other problems yet. Haven't got very far lol
0 Likes
Message 7 of 15

clalonde1
Contributor
Contributor
Ok will do. Not near computer right now. Will do asap. Thanks. Don't have any other problems yet. Haven't got very far lol also wondering about my absolute on the control. When I run the accurite I have to always have zero on all three axes for part to start in the right place. Now with the g54 does it have to be zero. I am setting this off the machine position and entering position numbers for g54. Does this have to be zeroes
0 Likes
Message 8 of 15

clalonde1
Contributor
Contributor

Hey their here is the file for the part.  If you could send me a quick reply to say that you have it that would be great.  Let me know if you need anything else.   thanks in advance

0 Likes
Message 9 of 15

LibertyMachine
Mentor
Mentor
Yes, file came through ok. For your work offset; you want to edge find your x and y and input the machine coordinates into the g54 positions. One easy way to know if you have done it right; move away from the part in both axis. In MDI: Key In G0 G90 G54 X0 Y0;
Press cycle start. It should move back to the same spot.
I too am on my phone, so I won't be able to look at it until tomorrow

Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Message 10 of 15

clalonde1
Contributor
Contributor
Hi their know this way late and way off topic. Got machine running but that is not the point. Just watched your hsm webinar tips and tricks and must say one of the best I have ever seen. On my post processor I always have to switch the tool change to have the m06 first. How would I put my post on the forum so someone could look at it.
0 Likes
Message 11 of 15

LibertyMachine
Mentor
Mentor

Here you go!


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Message 12 of 15

clalonde1
Contributor
Contributor
Just watched it. Thank you. I will try and post my post (lol) in the next couple days. Thanks again for going out of your way.
0 Likes
Message 13 of 15

clalonde1
Contributor
Contributor

Hello again.  I played around with my post processor for a few hours.  I ended up getting the tool number situation cured by myself.  tried to get my second problem with now luck.  what I am trying to do is after every tool change i would like to call a g90 on the same line as the work offset right after the tool change in my code.  the reason i put this in manually when i run the machine is so i can restart the program at a tool change if i want to run that part again or i break a tool or something.  watched some videos and tried a few times with no luck.  I have attached the post.  If you know anyone that can do this please let me know.  not asking you to do directly unless this is a easy five minute thing for you.  any tips and help would be appreciated.  thanks in advance

0 Likes
Message 14 of 15

LibertyMachine
Mentor
Mentor

That was literally less than 5 minutes to put in there. See attached .cps file

I changed this (line 823 area):

 if (workOffset != currentWorkOffset) {
        writeBlock(gFormat.format(53 + workOffset)); // G54->G59 
        currentWorkOffset = workOffset;
              }

 

To this:

 

 if (workOffset != currentWorkOffset) {
        writeBlock(gFormat.format(90), gFormat.format(53 + workOffset)); // G54->G59 
        currentWorkOffset = workOffset;
              }

The gFormat.format statement is basically just forcing a code to be output, regardless of whether it's already active or not. It can lead to problems if used carelessly. It gets the job done though, in this instance

 


Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
0 Likes
Message 15 of 15

clalonde1
Contributor
Contributor
Thanks.  I tried that line but on the back end of it.  Much appreciated.  Nice to see their is smart people out their.  


Sent from my Samsung Galaxy smartphone.
0 Likes