ahaslam

Okuma .lib Autoload files

Recommended Posts

I have been searching around for information on this for a few hours now. I feel like I keep coming close but I can't find the right info so I am hoping you guys can help me out. I have changed a few things, added a few things, and removed a few things from the library programs in an Okuma OSP-P200 HMC. At some point, I did something to where now the autoload library isn't loading the files when the machine starts. I have to go in and manually load the .lib files each time I restart. I also have been getting an error (see attached image) related to ochng, a file that I am not using anymore. How do I update the autoload library function? Also, I'm really new to Okuma and would love if anyone could point me in a direction of better documentation than what came with the machine. Thanks,

20170607_090737[2].jpg

Share this post


Link to post
Share on other sites

Did you call you local Machine Tool Rep's service or applications department?

Sorry best I got.

Share this post


Link to post
Share on other sites

Error 5262 says that that file is already registered when the control is trying to register it. Do you have that OCHG macro in multiple .LIB files. If so that is most likely your issue. 

Share this post


Link to post
Share on other sites
3 hours ago, C^Millman said:

Did you call you local Machine Tool Rep's service or applications department?

Sorry best I got.

Yeah, in short, he hasn't been able to answer my question.

1 hour ago, YoDoug® said:

Error 5262 says that that file is already registered when the control is trying to register it. Do you have that OCHG macro in multiple .LIB files. If so that is most likely your issue. 

I might, I compiled a catch all .lib. I thought I removed the OCHG but maybe I left something in there on accident. I'll look into that. It should still load my other .libs, right?

 

Share this post


Link to post
Share on other sites

I was thinking the same about the OCHG called in there more than once.  or could  you have it aliased twice? If not did you try to unregister/reregister the .lib files.

Share this post


Link to post
Share on other sites

I checked my OCHG. Everything looks good. I tried initializing my libs to clear everything. I did a hard restart directly after that and it still gave me the error. Any ideas?

Share this post


Link to post
Share on other sites

short of sharing your machine online I would suggest your machine tool supplier or Okuma help line. I believe Hartwig is in your area. Jay is pretty good. I think he was a apps guy from Okuma.

 

And when you solve this one please post the fix...I'm interested.

Share this post


Link to post
Share on other sites

On start-up when reading .LIB file the control goes through all files with .LIB extension and loads the registered O**** programs into the buffer, in alphabetical order by file name. If you have more than one file with .LIB extension that has the same O**** program it will error the second time it reads that O**** name. After it errors it will not continue to read anymore LIB files. Often people will make a Copy of a .LIB file when editing so they have a backup of the original. This is good practice but you should move it to another (Non-MD1 directory) location in the control. The same rules apply to .ssb files when loading main programs. One more note;

1. if you have two files (A.SSB and B.SSB or A.LIB or B.LIB) and both file contain a sub program (OSUB1), the control will always read and load the OSUB1 inside of the A.SUB/A.LIB file first. 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • 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