Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Okuma mill cutter comp


Brian Pallas
 Share

Recommended Posts

So, I've ran into from time to time on programs for out 2 Okuma mills where the operator can't change the tool diameter offset without getting an alarm.  The control is OSP10M/OSO-U100M. Everytime it happened I thought "I need to figure that out", but never did. I think I found out today.  It looks like the Okuma control actually turns comp on on the line after the line that has the G41.  So, for milling circles, if there is a G2/G3 command after the G41 line it alarms out.  Having another G1 line in between fixed it on a program we were running today.

 

I changed this:

 

G0 G90 X0. Y0. S2700 M3
G56 H4 Z6. M8
Z.1
G1 Z-.53 F60.
X.0921 F21.6
G41 D4 X0. Y-.534
G3 X.634 Y0. Z-.5144 I.0921 J.534
X-.634 Z-.4831 I-.634 J0.
X.634 Z-.4519 I.634 J0.
X0. Y.534 Z-.4363 I-.5419 J0.
G1 G40 X.0921 Y0.
X0.
G0 Z.1
Z6.
 
to this:
 
G0 G90 X0. Y0. S2700 M3
G56 H4 Z6. M8
Z.1
G1 Z-.53 F60.
G41 D4 X.0921 F21.6
X0. Y-.534
G3 X.634 Y0. Z-.5144 I.0921 J.534
X-.634 Z-.4831 I-.634 J0.
X.634 Z-.4519 I.634 J0.
X0. Y.534 Z-.4363 I-.5419 J0.
G1 G40 X.0921 Y0.
X0.
G0 Z.1
Z6.
 
And then the cutter comp worked at the machine like it was supposed to.  It seems like this is the fix.
 
 Wanted to see if:
1. That is actually the explanation and fix for this problem.
and
2. What to do to my post/mastercam settings to get the output that will work for the Okuma mills?

 

Link to comment
Share on other sites

I had this issue with 3 brand new machines, OSP300.

Check these parameters & make sure there is some value for compensation deviation.

We received our machines with zero tolerance as the setting.

I have seen this many times with Fanuc arc tolerance settings also.

post-26440-0-51193800-1478716469_thumb.jpg

post-26440-0-32423300-1478716486_thumb.jpg

  • Like 1
Link to comment
Share on other sites

Brad - We program the centerline of the tools.  So start value is 0.  On the program I was having the issue with yesterday, changing the offset at all, positive or negative, caused an alarm.

 

Orvie - Thanks.  I looked through our machines parameters and couldn't find a page that looked like that.  I'll have to look in the manual and see if it is maybe a numbered parameter?  Seems like a likely possibility that something like this could be the issue.

Link to comment
Share on other sites

 

So, I've ran into from time to time on programs for out 2 Okuma mills where the operator can't change the tool diameter offset without getting an alarm.  The control is OSP10M/OSO-U100M. Everytime it happened I thought "I need to figure that out", but never did. I think I found out today.  It looks like the Okuma control actually turns comp on on the line after the line that has the G41.  So, for milling circles, if there is a G2/G3 command after the G41 line it alarms out.  Having another G1 line in between fixed it on a program we were running today.

 

I changed this:

 

G0 G90 X0. Y0. S2700 M3
G56 H4 Z6. M8
Z.1
G1 Z-.53 F60.
X.0921 F21.6
G41 D4 X0. Y-.534
G3 X.634 Y0. Z-.5144 I.0921 J.534
X-.634 Z-.4831 I-.634 J0.
X.634 Z-.4519 I.634 J0.
X0. Y.534 Z-.4363 I-.5419 J0.
G1 G40 X.0921 Y0.
X0.
G0 Z.1
Z6.
 
to this:
 
G0 G90 X0. Y0. S2700 M3
G56 H4 Z6. M8
Z.1
G1 Z-.53 F60.
G41 D4 X.0921 F21.6
X0. Y-.534
G3 X.634 Y0. Z-.5144 I.0921 J.534
X-.634 Z-.4831 I-.634 J0.
X.634 Z-.4519 I.634 J0.
X0. Y.534 Z-.4363 I-.5419 J0.
G1 G40 X.0921 Y0.
X0.
G0 Z.1
Z6.
 
And then the cutter comp worked at the machine like it was supposed to.  It seems like this is the fix.
 
 Wanted to see if:
1. That is actually the explanation and fix for this problem.
and
2. What to do to my post/mastercam settings to get the output that will work for the Okuma mills?

 

Can I ask a dumb question here? Did you try L(which is R on some Okumas) and see if the machine acted differently?

Link to comment
Share on other sites

Ron - No I never tried going the other direction and seeing if that got the same results.  I'll check it out tomorrow.

 

Goldorak - Wear comp. Yeah, your code looks how I would expect.  

 its the MPMASTER_OKUMA post from IHS, it works really well with all our OSP gen.  from OSP500M to P300

Link to comment
Share on other sites

Question: Is the CC value in the control greater than .0921 ??? already answered

 

 

seems a bit awkward having the two linears at acute angles. Maybe causing some confusion there.

 

what about:

G41 D4 X0. Y-.534
G3 X.634 Y0. Z-.5144 I.0921 J.534
X-.634 Z-.4831 I-.634 J0.
X.634 Z-.4519 I.634 J0.
X0. Y.534 Z-.4363 I-.5419 J0.
G1 G40 X0. Y0.
X0.
G0 Z.1
Z6.

Link to comment
Share on other sites

Question: Is the CC value in the control greater than .0921 ??? already answered

 

 

seems a bit awkward having the two linears at acute angles. Maybe causing some confusion there.

 

what about:

G41 D4 X0. Y-.534

G3 X.634 Y0. Z-.5144 I.0921 J.534

X-.634 Z-.4831 I-.634 J0.

X.634 Z-.4519 I.634 J0.

X0. Y.534 Z-.4363 I-.5419 J0.

G1 G40 X0. Y0.

X0.

G0 Z.1

Z6.

 

I posted up some code that worked on the exact same controller we have in our shop, and I queried what post the op was using, but never got a response.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...