What's new
What's new

Okuma cutter comp

  • Thread starter skywalker4
  • Start date
  • Replies 26
  • Views 3,135
S

skywalker4

Guest
Hi,

We have a okuma m560v w/ osp p300m control.

Have been running for a year or so, when you guessed it, something strange started happening.
i have 4 tools in a program all endmills. 3 or them comp fine when doing the keyway, the last one does it comp along the
whole length path, instead of doing it on the one move to the left, like the others.
look at the the two tools programmed and help understand the difference??


(.500" ROUGHER)
()
T2
M06
M01T3
G0X-8.6Y1.6S611M3
G56 H2 Z4.0 M08
Z0.9225
G1Z0.8225F2.4446
G41D02Y1.5F4.8892
X8.35
G0G40
G56H2Z4.0
X8.6Y1.64
Z0.9225
G1Z0.8225F2.4446
G41D02Y1.74F4.8892
X-8.35
G0G40
G56H2Z4.0
X-8.6Y1.6
Z0.74
G1Z0.64F2.4446
G41D02Y1.5F4.8892
X8.35
G0G40
G56H2Z4.0
X8.6Y1.64
Z0.74
G1Z0.64F2.4446
G41D02Y1.74F4.8892
X-8.35
G0G40
G56H2Z4.0
X-8.6Y-1.64
Z0.9225
G1Z0.8225F2.4446
G41D02Y-1.74F4.8892
X8.35
G0G40
G56H2Z4.0
X8.6Y-1.6
Z0.9225
G1Z0.8225F2.4446
G41D02Y-1.5F4.8892
X-8.35
G0G40
G56H2Z4.0
X-8.6Y-1.64
Z0.74
G1Z0.64F2.4446
G41D02Y-1.74F4.8892
X8.35
G0G40
G56H2Z4.0
X8.6Y-1.6
Z0.74
G1Z0.64F2.4446
G41D02Y-1.5F4.8892
X-8.35
G0G40
G56H2Z4.0
G80
M09
G30P5
()
(.500" ENDMILL)
()
T3
M06
M01T1
G0X-8.6Y-1.65S764M3
G56 H3 Z4.0 M08
Z0.73
G1Z0.63F3.8197
G41D03Y-1.75F7.6394
X8.35
G0G40
G56H3Z4.0
X8.6Y-1.59
Z0.73
G1Z0.63F3.8197
G41D03Y-1.49F7.6394
X-8.35
G0G40
G56H3Z4.0
X-8.6Y1.59
Z0.73
G1Z0.63F3.8197
G41D03Y1.49F7.6394
X8.35
G0G40
G56H3Z4.0
X8.6Y1.65
Z0.73
G1Z0.63F3.8197
G41D03Y1.75F7.6394
X-8.35
G0G40
G56H3Z4.0
G80
M09
G30P5
M30
%
 
As I understand comp, the command line:
G0G40
is incomplete without an XY destination for the machine to move to as it 'leaves' the compensated path. This doesn't actually have to cause a physical move, but it has to be the exact position where the tool is defined to be at with comp off.
Since the next line only contains a Z move, it's still not properly positioned as a result of the G0G40. This is why 'lead in' and 'lead out' destinations are specified for use to both 'get on' and 'get off' the compensated path.
 
As I understand comp, the command line:
G0G40
is incomplete without an XY destination for the machine to move to as it 'leaves' the compensated path. This doesn't actually have to cause a physical move, but it has to be the exact position where the tool is defined to be at with comp off.
Since the next line only contains a Z move, it's still not properly positioned as a result of the G0G40. This is why 'lead in' and 'lead out' destinations are specified for use to both 'get on' and 'get off' the compensated path.

Correct. Sometimes when I'm doing Q&D on Okuma, I'll just add a redundant XY position on the line with G40.

R
 
The xy move following the z move would be taken as the lead-out move.

You have posted the program. If you also post the drawing and mark the error on it, it would hardly take a few minutes to analyse the problem.
 
Hello to all.
I am having this same problem with the compensation running the length of the path and not going right to position in the comp move.
I read the post's and I am not understanding what to do.
My post looks just like the Op does. what do i need to change? It is the same machine and control.
Thanks.
 
I keep trying to post a pic but it hangs up.
It is a 3/32 keyway with using a 1/16 endmill.

O0001 (EKUNK.MIN)
(02/28/22)
()
(.0625 4F ENDMILL)
()
T1
M06
M01
G0X-0.0625Y0.0894S7300M3
G15H1
G56H1Z1.0 M08
Z-0.0105
G41D01G1Y-0.0106F3.0
X1.0
G3X1.0Y0.0106I0.0J0.0106
G1X-0.0625
G0G40
G56H1Z1.0
X-0.0625Y0.0894
Z-0.02
G41D01G1Y-0.0106F3.0
X1.0
G3X1.0Y0.0106I0.0J0.0106
G1X-0.0625
G0G40
G56H1Z1.0

If i arc in it works, but I sure hope I will not have to do that on everything?
All other machines, not okuma work fine.
 
I keep trying to post a pic but it hangs up.
It is a 3/32 keyway with using a 1/16 endmill.

O0001 (EKUNK.MIN)
(02/28/22)
()
(.0625 4F ENDMILL)
()
T1
M06
M01
G0X-0.0625Y0.0894S7300M3
G15H1
G56H1Z1.0 M08
Z-0.0105
G41D01G1Y-0.0106F3.0
X1.0
G3X1.0Y0.0106I0.0J0.0106
G1X-0.0625
G0G40
G56H1Z1.0
X-0.0625Y0.0894
Z-0.02
G41D01G1Y-0.0106F3.0
X1.0
G3X1.0Y0.0106I0.0J0.0106
G1X-0.0625
G0G40
G56H1Z1.0

If i arc in it works, but I sure hope I will not have to do that on everything?
All other machines, not okuma work fine.

You have G0G40 and you're not giving it a move.
Whether or not you have to be in G01 mode when you use a G40 I don't know, but I always do a G01G40 and then a move on that line.
In your case, I would write it as:
G01G40Y.0894

You may have to have an X move also on that same line.
 
So I need to use the starting position to end the path? I know roughing cycles on the lathe are that way.
 
Unless it is a corner, engagement at the start point in radius compensation mode must be tangential; otherwise, there can be some uncut material at the start point. Arc move ensures tangential entry.
 
I still do not understand why I need to rapid or feed back to the starting point on a keyway. Seems strange.
 
Like This

O5001
( SUB NUMBER 5001 )
G90 G17 G0 X-.1857 Y.96
Z-.24
G41 G1 Y.835 F5. D15
G3 X-.0607 Y.71 I.125
G1 X.33
G2 X.475 Y.565 J-.145
G1 Y-.565
G2 X.33 Y-.71 I-.145
G1 X-.33
G2 X-.475 Y-.565 J.145
G1 Y.565
G2 X-.33 Y.71 I.145
G1 X-.0607
X.0643
G3 X.1893 Y.835 J.125
G40 G1 Y.96
G0 Z.1
RTS
 
VTM, would you happen to have some code that does a straight line after the comp?
If it has an arc after it works ok. The straight path is the problem it seems.
 
Here ya go with straight entries. We could just say for the sake of saying that we we're cutting an 8" long 1/4" wide Keyway here. One pass down either side with a 3/16" Carbide End Mill G15H1 Being the center of the keyway in X and Y. Hope that helps you out.

$O5000.MIN%
( 3/16" CARBIDE E.M. )
IF [VATOL EQ 1] NT1
T1 M6
NT1 G15 H1
S6400 M3
G90 G17 G0 X-4.25 Y.0688
G56 Z.1 H1
/M8
Z-.094
G41 G1 Y-.0312 F15. D1
X4.25
G40 Y.0688
G0 Z.1
G90 G0 X4.25 Y-.0687
Z-.094
G41 G1 Y.0313 F15. D1
X-4.25
G40 Y-.0687
G0 Z.1
G0 Z50. M19
M9
G30 P1
M2
%
 
I believe the okuma needs 2 moves to establish cutter comp. Thats why the radius move works.

Sent from my SM-G960U using Tapatalk
 
Arc is not all allowed as lead in move. It can come only after a straight line lead in move.
 








 
Back
Top