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 subroutines


cappy
 Share

Recommended Posts

Hello,

 

Does anyone have an example of a propgram for a Okuma OSP-7000L control? We have a lot of parts with the external geometry different that use repeat internal geometry. I would like to re-use the internal work NC instead of embedding the repeated code every time a job comes up. This would help when improvements / revisions are made. I can also ensure our operators are running the correct code for the internals which are more of the critical dimensions of the part.

 

We program all ends at Z zero. So i think this would work well.

 

Thanks,

Greg.

Link to comment
Share on other sites

$TEST.MIN%

(MAIN)

T01M6

G56G00X0Y0Z3H1

S2000M3

G15H1

CALL O1

G15H2

CALL O2

G15H3

CALL O3

M02

(SUB)

01

**INSERT G-CODE FOR SHAPE 1 HERE**

RTS

O2

**INSERT G-CODE FOR SHAPE 2 HERE**

RTS

O3

**INSERT G-CODE FOR SHAPE 1 HERE**

RTS

%

Simple but it's the way the osp7000 handle the sub programming

 

you can also put the sub routines in a .sub file and simply modify the main program and leave the sub program in the controller memory

Link to comment
Share on other sites

quote:

you can also put the sub routines in a .sub file and simply modify the main program and leave the sub program in the controller memory

This is how I would handle something that is always the same. We have a top-cut sub for our barfeed machine called "NEWBAR.SSB" that is called in the main program with "CALL OBARA"

 

$LTNEWBAR.SSB %

(NEW BAR PROCESSING SUBPROGRAM)

(LTNEWBAR.SSB)

(9/17/02 CDM)

OBARA

M84

M00 P220

()

(REMOVE REMNANT FROM COLLET CHUCK)

()

G140

P225

M436

M00

.

.

.

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