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:

Help with Okuma HMC auto pallet change


betts
 Share

Recommended Posts

Details: Okuma Space Center MA-400HA with OSP E100M control. Two pallets.

 

First let me say Okuma and I have never been buddies, so I am a little weak in that area. We are trying to find out how to get the program to run continuous, obviously once the "load pallet" is ready and that button pushed.

 

We have only been able to get the machine to respond to M60, can't specify which table. Not a huge deal but on all our Fanuc controls we block skip the pallet change so once the program is proven all the operator has to do is load and hit the set-up button and the machine runs continuous.

 

We are currently hitting cycle start every time to keep it running. We inherited the machine used from a sister company but as far as I can tell it isn't screwed up.

 

Any Okuma guys that can offer help?

Link to comment
Share on other sites

I should have stated that more clearly. When I said we block skip, we block skip the M30 for M99 on the Fanuc controls. On the Okuma it won't read M99.

 

The applications guy suggested a "GOTO N01" before the M02 and putting the N01 in the beginning. However the problem seems to be we are runnign off an internal card for memory and not the control memory.

 

Do we need to run all programs as a sub and run from the memory?

Link to comment
Share on other sites

This is how I do it, You have to use the schedule program, and load it into memory with the .SDF extension. Then select the schedule program and stat the run. Then you can just use the pallet ready, and it will change for you. If you want to run something different, add an new schedule program or edit the current.

%

(PALLET SCHEDULE.SDF)

NSTART

(PALLET #1 PROG. 1234)

PSELECT MD1:1234.MIN

(PALLET #2 PROG. 5678)

PSELECT MD1:5678.MIN

GOTO NSTART

%

Link to comment
Share on other sites

here how you ca do this on an okuma

 

PS the space between each value is very important to get it to work

 

program start

 

vc1=1 (user variable for part count)

NA1 (line to start machining)

***place G-code here***

vc1=vc1+1 (increase part count +1 or the quantity of part produced in a run)

 

if [vc1 eq **insert part required here*** ] NA2 (as soon as the part counter equals the designated value the program will jump to the N2 line)

goto NA1

NA2

m02

 

 

HTH

Link to comment
Share on other sites

Use a library file..and user defined M-codes

 

M201 to check if in, or call in pallet1,M202 same for pallet#2

Also looks at the PART LOADED button at the front

 

M205 in place of M9 when using thru-coolant

 

Execution is done by the M-code...either MDI or in the program

 

-Create a file "MA400HA.LIB"

place in it

quote:

()

OPAL1(PALLET1)

NSTRT(CHECK WHICH PALLET IN MACH)

IF[VPLTK EQ 2]NCHK2 ( PALLET#2 - IN MACH)

IF[VPLTK EQ 1]NEND

GOTO NERR1

NCHK2

IF[VORD[WKPL] NE 1]NMESS

M60

RP=1 M289 ( SET PALLET#1 )

GOTO NEND

NMESS

VNCOM[1]=1

MSG (******************************** CHECK NEXT PALLET IS READY AND PRESS WORK LOAD FINISHED ********************************)

NLOOP IF[VORD[WKPL] NE 1]NLOOP

NMSG

GOTO NSTRT

NERR1

VNCOM[1]=1

MSG (ILLEGAL PALLET COND)

M0

GOTO NEND

NEND RTS

()

OPAL2(PALLET2)

NSTRT(CHECK WHICH PALLET IN MACH)

IF[VPLTK EQ 2]NEND

IF[VPLTK EQ 1]NCHK1 ( PALLET#1 - IN MACH)

GOTO NERR1

NCHK1

IF[VORD[WKPL] NE 1]NMESS

M60

RP=2 M289 ( SET PALLET#1 )

GOTO NEND

NMESS

VNCOM[1]=1

MSG (******************************** CHECK NEXT PALLET IS READY AND PRESS WORK LOAD FINISHED ********************************)

NLOOP IF[VORD[WKPL] NE 1]NLOOP

NMSG

GOTO NSTRT

NERR1

VNCOM[1]=1

MSG (ILLEGAL PALLET COND)

M0

GOTO NEND

NEND RTS

()

ONOT

G80

M63

M06

RTS

()

OBREK

(TOOL BREAKAGE DETECTION)

VFST=128

N1000 G15H20 (TO SET TOOL OFFSET CENTERLINE)

CALL OO30 PLE1=0.25(TOOL WEAR TOL.)

VFST=129

G15H0

RTS

()

OWARM

(WARM UP)

S3000 M3

G4 F600.

S6000

G4 F600.

S9000

G4 F180.

M19

RTS

()

OM50O

M5

M9

M339

G4 F4.

M9

RTS


and then register that LIB file

and then define the M-code macro to the correct call statement ie

M201 is to use OPAL1

M202 is to use OPAL2

M203 is to use ONOT (empty the spindle)

M204 is to use OWARM

M205 is to use OM50O (coolant,spindle, all off,timed air blow, all off)

 

PS. size for the LIBrary file when registering in the control should be just larger than the file byte size

Link to comment
Share on other sites

^^^ What he said ^^^

 

or

 

For pallet 1

 

OPAL1

IF [VPLNO EQ 1] NRTS

M60

MSG (PALLET CHANGE IF CORRECT PALLET PROGRAM WILL CONTINUE)

M01

G04 F5

NMSG

NRTS

RTS

 

For Pallet 2

 

OPAL2

IF [VPLNO EQ 2] NRTS

M60

MSG (PALLET CHANGE IF CORRECT PALLET PROGRAM WILL CONTINUE)

M01

G04 F5

NMSG

NRTS

RTS

 

Or just use the varable in the program VPLNO

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