I cant say when it comes to anything other than .MIN files... I do my bar pulling cycles using IF GOTO and counts in a variable - Ive not played with any subs on the okumas - yet... And I only have a 3000, and 2 - 5020L controls in shop to look at - but I understand that the 5020 is more or less an upgrade to a 5000 with much of the same hardware... so is similar from what I read.
That said... presuming you know the name of the program - And forgive me - not standing in front of a machine so going from memory, so Im not 100% on the Fkeys
To look at the list of programs you have in memory... you would hit the "Edit Aux" key up top right side, then using the corresponding Fkeys to hit "Dir" (I think F2) and then "WRITE" and that should display the list of files. If not, try "*"(asterisk) then Write after hitting "DIR"
To get it where you can page through it, you would hit the "Edit Aux" key, then using the corresponding Fkey, hit "Edit" (I think F4), then "*" (the asterisk without quotes), then "WRITE key. That should bring up a list of programs, arrow down to the one you want to read and hit "Write". That should take you to the program where you can page through it and write it down or what have you. When done, hit the Fkey that is something like "Edit Quit" - F7 maybe?
To enter a new program in the 5020 I think it would go like this (and again, Im going from memory and have never done it on purpose as I have always just dumped programs in via RS232)
"Edit Aux" key, Edit Fkey, then type in the program name you want - I think max of 8-12 characters? - followed by the extension (.MIN) - such as WIDGET.MIN - then hit the "WRITE" key. That should create the new program and have you on the screen to start typing it in. When youre done, hit "Edit Quit" and that will save it. Now you should be able to find it via the "DIR" explained above. Then to call that into memory - you would hit Auto, F1 (program select), "*" (asterisk), Write, and then a list will appear which should have the program you just created, arrow to it, and hit "WRITE" and it should be ready to roll.
Side note... if you make a change to the program, you have to select it again... as selecting it loads it into memory so you can run it. You can actually run the program AND edit the program at the same time, BUT once you made the change, it wont be "active" until you reload it into memory again. Otherwise it will keep running the previous version that was already loaded.
Again, keep in mind, I have never played with a 5000 control, and only read a little about it, so Im taking a lot of assumptions there. The 5020, I have in the shop and use.
Hope that helps. If Im way off on the 5000 procedures, let me know I should have a 5000 manual around somewhere I can look at and see if I can decipher the proper procedure.
If you dont have manuals for the machines - you might contact your Okuma dealer and see if they will send you PDFs of the operation manual or if they will walk you through doing it on the phone or something. My Okuma dealer is amazing and always very helpful... be it the parts folks, service folks, or their tech line that helps with more in-depth stuff.
Wade