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:

will the mpmaster post work for an okuma?


veritasproject
 Share

Recommended Posts

Dan,

 

There is a generic 4 axis Okuma post from CNC that works OK. Just remember to edit out the G53 Z0 death move from pretrect before using.

 

Also in-house have a nice Okuma MPmaster post

 

If ya want to edit ya fanuc post you will need to change

Work coord - G15 H?

Tool length - G56 H?

Drill cycles planes G71 Z?

Drill cycle returns M53

The Home position move G53 Z etc

 

and add This as well

Link to comment
Share on other sites

The V9 MPOKUMA works well, except for the G53 Z0 move, which should've been fixed by CNC Software by now [though it might not be]; I based my Okuma VMC post on that and made on minor edits to format the code the way I wanted. I put an IF statement before my tool changes in ptlchg to eliminate the "wrong T command" alarm if you're calling up the same tool that is in the spindle that looks like this:

 

sav_absinc = absinc

oper_num = t

"N", no_spc, *oper_num, e # (cdm)

ptoolcomment # Moved from below (cdm)

comment # Moved from below (cdm)

if stagetool >= zero, # Added for proper first-tool output, was *t, "M06" only (cdm)

[

pbld, n, *sgcode, "G17", "G40", "G53", "G80", *sgabsinc, "G94", e

pbld, n, "G30", "P1", e

"IF[VATOL EQ ", *oper_num, no_spc, "]NS", no_spc, *oper_num, e # (cdm)

pbld, n, *t, "M06", e

]

"NS", no_spc, *oper_num, e # (cdm)

if mi1 <= one, #Work coordinate system

[

absinc = one

pfbld, n, sgabsinc, *sg28ref, "Z0.", e

pfbld, n, *sg28ref, "X0.", "Y0.", e

pfbld, n, "G92", *xh, *yh, *zh, e

absinc = sav_absinc

]

else, pwcs

pcom_moveb

c_mmlt #Multiple tool subprogram call

# ptoolcomment

# comment

pcan

pindex

if mi1 > one, absinc = zero

pcan1, pbld, n, sgcode, sgabsinc, pfxout, pfyout, pfcout, e # Removed * from sgcode, sgabsinc (cdm)

pbld, n, *speed, *spindle, pgear, next_tool, strcantext, e

pbld, n, "G56", *tlngno, pfzout, scoolant, e

absinc = sav_absinc

pcom_movea

toolchng = zero

c_msng #Single tool subprogram call

 

you may need to define and format some of the variables used to get it to work, but I can't really remember what I built and what was already there.

 

C

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