Hello folks
i need a bit of help from somebody that can covert this subroutine to Fanuc ISO code programming as i really out of this.
I work only on Fanuc controller and i do not know nothing about Okuma controllers or codes.
thank you a lot
At first glance, what you're asking for is not 100% possible. There are local variables in your program being referenced which would be set in the parent program and carried into this program. For example, BBB=BP. This is not an issue to set #100=#101, but effectively, #101 doesn't exist until it gets defined. So what BBB=PB means right now is #100=?. Supplementally, the OSP code specifies CALL OG32, however, program "OG32" is not included in this program, and therefore cannot be referenced.
Furthermore, what you are asking for is technically possible, however, I am not sure anyone will be able to help you without spending a significant amount of time converting everything as well as getting the remaining information from you. There are some things which simply don't translate from OSP to Fanuc in my experience. A person would have to figure out how you're using the information, then figure out how to find that information on the Fanuc transplant machine.
I would suggest trying to find someone local who can come look at the actual machine and usage and translate on site.
I would imagine OEG would be the best source as Okuma sells machines with both OSP and Fanuc controls, whereas a distributor who sells Fanuc machines will most probably not have any knowledge of OSP language.
thank you for your answer
is a subroutine for updating the g54 after teh pallet is rotated on a certain angle so the new G55 is read and stored in another place and become the new origin
this subroutine is helping a lot the operator not to go and touch the piece for G55,G56,G57 etc ,takes a ot of time
the ideea is just to see how i can conert it to Fanuc THAN,IF,EQUAL,etc
i am just looking to see what it means the short words like:VNCOM,NER,NRTS,VZOFB,PBJ,etc
thank you again for your support
I need help to run this subroutine on Okuma. I've tried to save it as a .lib file and registrate it, but there is an error about missing subprogram.....
There is also CALL OO32 in this subprogram....what does it do?
I will attach some pictures tomorrow.