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:

MPLOkuma.pst and G87 LAP cycle


Mick
 Share

Recommended Posts

Hi there,

 

I've been trialling MPLOKUMA.PST, so see how its LAP cycle output works. Whilst it looks like the format is pretty close to what I want, I can't get it to generate a G87 LAP finishing cycle at all. Even though I choose Canned Finishing as the toolpath, it doesn't output it.

Is anybody here successfully using it?

I'm running it in V9.1MR0304.

 

Cheers,

Link to comment
Share on other sites

Mick,

Is this what you are looking for?

 

$T.MIN%

(PROGRAM NAME - T )

(DATE=DD-MM-YY - 09-07-04 TIME=HH:MM - 07:59 )

(TOOL - 1 OFFSET - 1 )

(LCAN_ROUGH OD ROUGH RIGHT - 80 DEG. INSERT - CNMG-432 )

G0X10.Z10.

T0101

G97S145M03M41

G0X5.268Z2.8158M08

G42X5.168Z2.7658

G50S3600

G96S200

NAT01G81

G0X-.7662Z2.7658

G1X.7526Z1.6115

X2.0949Z-.4159

X4.8793Z-1.0703

G3X4.9152Z-1.0972I-.0133K-.0283

G1G40X5.168Z-4.0604

G80

G85NAT01U.02W.01U.2F.01

G0Z2.7658

T010101

M09

G42X-.7662

G87NAT01

G0X0.Z5.

M05

M02

%

Link to comment
Share on other sites

------------------------------------

Is anybody here successfully using it?

I'm running it in V9.1MR0304.

----------------------------------

 

Mine runs fine using V9.1-MR0304

 

 

$L1234.MIN%

(DATE JUL -09 -04 )

(PROG. No. L1234 LB15)

(PART No. T REV. --)

(P/NAME CAP)

CLEAR

DEF WORK

PS RC,[0,0],[10,30]

END

DRAW

M1

(*)

( ROUGH/FINISH )

( 80DEG INSERT .016R )

N10 G40 G90 G95

G0 X40. Z40.

T0303 M86

G50 S1100

G96 S450 M03 M42

G0 X.75 Z1. M08

Z.1

G85 NAT12 U.02 W.005 D.2 F.004

NAT12 G81

G0 X-.016 Z.1

G1 Z0.

X.4819

G3 X.5158 Z-.007 K-.024

G1 X.5664 Z-.0323

G3 X.5806 Z-.0493 I-.0169 K-.017

G1 X.5805 Z-.0594

G3 X.594 Z-.0761 I-.0173 K-.0167

G1 Z-.2516

G3 X.625 Z-.274 I-.0085 K-.0224

G1 Z-.4

G80

G0 Z.1

( FINISH PASS )

X.75

G87 NAT12

G0 Z1.0

X40. Z40. T0 M09

M05

M1

M30

%

Link to comment
Share on other sites

If you are using the "CANNED CYCLES" in Mastercam V9, you may have a small glitch when trying to use a canned lap rough and canned finish cycle. It is especially a problem if you choose the highlighted tool path on the second paramter page.

 

If you use a different tool for the finish, the post will sometimes throw the code for the finish cycle to a spot in the program that is after the M2 command. It was a real challenge to figure out what was happening.

 

If this has happened to anyone, just don't use the "canned finish". Choose a normal finish and rechain. It works like it should then.

Link to comment
Share on other sites

Hmm...Well, mine doesn't output the G87 at all. It is indeed when I select the highlighted toolpath on the second parameter page. This post is potentially great, but it would be nice to be able to output it. Why would it work for some, and not for others (ugh, I know...software... smile.gif )

Anyway, I'd like to get to the bottom of it. I also note that the post supports G82 (facing). Has anyone generated the G82 using the canned cycles?

Link to comment
Share on other sites

Heya Ron,

 

Thats correct. You dont have to set the Misc Reals etc (as in the old MPLOSP posts)

These new ones, using the Canned cycles, look to have the makings of great output for the OSP controls. I think (at least for my needs) they need a bit of refining )

 

Cheers

Link to comment
Share on other sites

Mick

 

The new MPLOKUMA is a pretty good post but it does require SOME tweaking to get the clean code that I like personally. The post will output G82 but it doubles the DOC eek.gif for this cycle just like it does for the G81 [since DOC is diametric in the Okuma]. This is a [hack] mod that I made for this:

 

# --------------------------------------------------------------------------

# Lathe canned cycle output

# --------------------------------------------------------------------------

pg85 #Output G85 Bar Turning Cycle block

if gcodecc = 2, depthcc = depthcc * .5 # Modified for correct facing DOC (cdm)

pbld, n, *scclgcode, *fcc_NAT, *xstckcc, *zstckcc, *depthcc, pffr, e

 

 

I haven't tested this in every possible situation but it seems to work OK

 

C

Link to comment
Share on other sites

Chris,

 

Hehehehe....Yes, we downunders do have a crazy time zone. Thing is, we're in the right time, and you guys are lagging....hehehehehhee smile.gif

 

DavidB: Thats true...They both need to have the same nose radius. But either way, I can make the post generate a G87 :/

The post is very close to the way I'd like to be able to output the LAP cycles. I really want a foolproof system for the guys at work :/

 

Cheers

Link to comment
Share on other sites

Chris,

 

Yes, I did try the edit. It worked sweet. The bummer is, I still can't get it to generate a G87 :/

Why would it work for some MC installations, and not others? Is it the MP.DLL version?

Sorry about the delay in replying....I've been really busy :/

 

Cheers

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...