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 Spindle Tool Fix


Greg Williams
 Share

Recommended Posts

Hi All,

 

For those with Okuma mills, Below is the fix for the spindle tool commanded in program error. This fix will work for U100 E100 and P200 machines. It may also work on older ones but O have not tried them.

 

 

Ok, Save the following text as tool.lib

 

 

OTCK (GET NOMINATED TOOL)

IF [PT EQ EMPTY] NERR

IF [PT EQ VTLCN] NEND

IF [PT EQ VNTOL] NM6

IF [VNTOL EQ 0] NCT

M64

NCT T=PT

NM6 M6

NEND G56 H=PT D=PT

GOTO NRTS

NERR M63

M6

NRTS RTS

 

ONOT1(M201)

M63

M329

M06

RTS

 

ONOT2(M202)

M64

M63

M329

M06

RTS

 

 

Copy this tool.lib file to MD1 directory of the machine.

 

If the buffer has been set large enough all will be sweet, If not you will need to initalize the buffer and reset it to a binary number (say 4800)

If in doubt miss this step

 

Turn off all power

 

Restart Machine - Note if there are any lib registration errors, If there are none all is good if there are *lib errors see previous step

 

Go to Parameters G and M codes

 

Next to G116 set OTCK

 

Save, Yes very important

 

On a new P200 control you will need to register the *.lib file. From Run mode, press extend then Register lib files

 

 

OK now G code needs to look like this

 

Blah Blah

G116 T4

G00 X0 Y0 Blah Blah

 

So if T4 is in the spindle the program will continue with no errors if not the machine will go and get T4 then continue. This will also work thru DNC-DT

 

Hope this helps someone cheers.gif

  • Like 1
Link to comment
Share on other sites
  • 8 years later...

Hi All,

 

For those with Okuma mills, Below is the fix for the spindle tool commanded in program error. This fix will work for U100 E100 and P200 machines. It may also work on older ones but O have not tried them.

 

 

Ok, Save the following text as tool.lib

 

 

OTCK (GET NOMINATED TOOL)

IF [PT EQ EMPTY] NERR

IF [PT EQ VTLCN] NEND

IF [PT EQ VNTOL] NM6

IF [VNTOL EQ 0] NCT

M64

NCT T=PT

NM6 M6

NEND G56 H=PT D=PT

GOTO NRTS

NERR M63

M6

NRTS RTS

 

ONOT1(M201)

M63

M329

M06

RTS

 

ONOT2(M202)

M64

M63

M329

M06

RTS

 

 

Copy this tool.lib file to MD1 directory of the machine.

 

If the buffer has been set large enough all will be sweet, If not you will need to initalize the buffer and reset it to a binary number (say 4800)

If in doubt miss this step

 

Turn off all power

 

Restart Machine - Note if there are any lib registration errors, If there are none all is good if there are *lib errors see previous step

 

Go to Parameters G and M codes

 

Next to G116 set OTCK

 

Save, Yes very important

 

On a new P200 control you will need to register the *.lib file. From Run mode, press extend then Register lib files

 

 

OK now G code needs to look like this

 

Blah Blah

G116 T4

G00 X0 Y0 Blah Blah

 

So if T4 is in the spindle the program will continue with no errors if not the machine will go and get T4 then continue. This will also work thru DNC-DT

 

Hope this helps someone graemlins/cheers.gif

 

For P300 machines change the VNTOL to VTLCN. It will eliminate alarms if the tool is designated as heavy or large tool. It also will address alarms with tool numbers greater than 999.

  • Like 1
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...