Okuma MA-50HB with OSP-E100 CONTROL
Hi all,
The question I have is regarding running a program from memory.
I tried running a program with subprograms and I keep getting ERROR 5212 Subprogram name 1 'CALL 6601'
O6601 is the subprogram filename and is registered as such in the library as O6601.SUB
I have tried running this program in "A-Mtd" and "B-Mtd" and get the same problem.If I try running a different program without subs it is ok.
Any thoughts?
Thanks
Dave
Re: Okuma MA-50HB with OSP-E100 CONTROL
hy, try to use the subroutine without registering it as a library file; it should work, and if it does, my advice is to leave it like that
do you really wish to use the soubroutine as a library file ? if yes, then try to place the lib file in a folder <>md1 ( or whatever folder <> system device ); if this fails, then you will have no benefit by using *.lib; in such a case, register it as a msb
both msb and lib are autoloaded at power up; do you really wish to load a program from memory, or you just wish to use the soubroutine ? kindly :)
ps : If i may, what is 6601 doing ?
Re: Okuma MA-50HB with OSP-E100 CONTROL
When you select main program you must select sub program too.
file *.LIB is auto load when power on not file *.sub.
1 Attachment(s)
Re: Okuma MA-50HB with OSP-E100 CONTROL
Quote:
Originally Posted by
Turning_Guy
Ok sounds promising. Can you explain how I select the subprogram(s)? I have 4 or 5 I want to work with. I can't find anything in the manual other than how to select the main program and the interactive help menu is not any more helpful.
Do I need to change .sub to .lib for subs?
Thanks
You see attach file.
1 Attachment(s)
Re: Okuma MA-50HB with OSP-E100 CONTROL
1 Attachment(s)
Re: Okuma MA-50HB with OSP-E100 CONTROL
Re: Okuma MA-50HB with OSP-E100 CONTROL
do you see my attach file?
Re: Okuma MA-50HB with OSP-E100 CONTROL
Quote:
Originally Posted by
Turning_Guy
You are sorry for? Is it that you don't have any further info?
No worries.
no problem.