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:

Tool breakage detection okuma p300m


cabrone
 Share

Recommended Posts

I highly recommend using the Renishaw macros, however if you don't have the Renishaw macros/software installed here is the Okuma macros for tool setting/breakage. You can change the O# to what ever you like and assign it to whatever library M-code you like, I however typically set them to M201 for tool setting and M202 for tool breakage. Be sure to read the comments as there are a couple of parameters I recommend setting. You will also need to make sure you calibrate the tool setter using the Okuma macros, see the attached sheet for procedure. Let me know if you need help assigning and registering the library files. 

Save the following into a .LIB file:

(************************************)
(*****MDI/MANUAL SET TOOL LENGTH*****)
(************************************)
OM201
(THIS CYCLE IS FOR CYCLE TIME REDUCTION TOOL SETS)
(MUST SET PAR NO 36 BIT 3 TO CHECKED MODE)
(MUST SET OPT PAR LONG WORD NO 44 TO LONGEST TOOL IN METRIC VALUE=310)
(TOOL SETTING)
IF [VINCH EQ 2] NMET1 (METRIC)
IF [VINCH EQ 3] NIN1 (INCH)
GOTO NALM2
NIN1
CALL OO30 VFST=#81H PZRC=0 PFST=1 PUDT=1.0 POVT=.8 PF1=40 PF2=60 PX=VC30 PY=VC31 PRS=VC32
GOTO NEXT1
NMET1
CALL OO30 VFST=#81H PZRC=0 PFST=1 PUDT=1.0*25.4 POVT=.8*25.4 PF1=40*25.4 PF2=60*25.4 PX=VC30 PY=VC31 PRS=VC32
NEXT1
VC30=0 VC31=0 VC32=0
G30 P1
GOTO NEND
NALM2
VUACM[1]='CHECK UNIT MODE'
VDOUT[992]=2
NEND
RTS

(*********************************)
(*****TOOL BREAKAGE DETECTION*****)
(*********************************)
OM202
(THIS CYCLE IS FOR CYCLE TIME REDUCTION TOOL SETS)
(MUST SET PAR NO 74 BIT 4 TO CHECKED MODE)
(TOOL BREAK CHECK)
IF [VINCH EQ 2] NMET2 (METRIC)
IF [VINCH EQ 3] NIN2 (INCH)
GOTO NALM3
NIN2
CALL OO30 VFST=#80H PZRC=0 PFST=1 PUDT=1.0 POVT=.8 PF1=40 PF2=60 PLEI=.01 PX=VC30 PY=VC31 PRS=VC32
GOTO NEXT2
NMET2
CALL OO30 VFST=#80H PZRC=0 PFST=1 PUDT=1.0*25.4 POVT=.8*25.4 PF1=40*25.4 PF2=60*25.4 PLEI=.01*25.4 PX=VC30 PY=VC31 PRS=VC32
NEXT2
VC30=0 VC31=0 VC32=0
G30 P1
GOTO NEND
NALM3
VUACM[1]='CHECK UNIT MODE'
VDOUT[992]=2
NEND
RTS

 

 These macros use common variables,  VC30=X-axis shift, VC31=Y-axis shift and VC32=spindle orientation. Note that when the cycle is complete the macro will reset the common variables back to zero. With the variables at zero it will act as if tool is on center. In program tool breakage would look something like this:

VC30=.25 (X-AXIS SHIFT, THIS EXAMPLE IS FOR 1/2" ENDMILL)
VC31=0 (Y-AXIS SHIFT, THIS EXAMPLE WE ARE SHIFTING X-AXIS NOT Y-AXIS)
VC32=0 (SPINDLE ORIENTATION, IF YOU TAKE CARE WHEN LOADING TOOLS TO)
$ (ALIGN A FLUTE IN LINE WITH SPINDLE ORIENTATION YOU SHOULD NOT NEED)
$ (TO USE THIS OFTEN. TYPICALLY ONLY NEEDED FOR ARBOR HOLDERS WHEN)
$ (YOU CAN'T CONTROL THE TOOL ORIENTATION)
M202 (TOOL BREAKAGE CHECK)

 

Mill_Tool Setter Calibrate.pdf

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