586,108 active members*
3,287 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2009
    Posts
    11

    Okuma OSP 5020L

    I am looking for a program restart M code. It is M99 on a fanuc. I cannot seem to find it in book. Thank you in advance.

  2. #2
    Join Date
    Aug 2011
    Posts
    2517
    M99 on Fanuc is 'End of sub program, return to main program'

    To restart Okuma press soft button RESTART, type N number where you want to start and then press SEQUENCE RESTART hard button.

  3. #3
    Join Date
    Aug 2008
    Posts
    62
    Brian,
    I'm assuming you are wanting to run continuous?

    N10 (RGH TURN)
    G50S1500
    G0G95G97X30.Z30.S375T0101M42M3M8
    program
    program
    program
    yada
    yada
    yada
    / GOTO N10
    M30
    %

  4. #4
    Join Date
    Feb 2009
    Posts
    6028
    correct, Okuma uses more of a basic approach.
    Same program with a part count. V1 on the variable display page will show part count.
    N1 V1=0 (RE SET PART COUNT TO 0)
    N10 (RGH TURN)
    G50S1500
    G0G95G97X30.Z30.S375T0101M42M3M8
    program
    program
    program
    yada
    yada
    yada
    V1=V1+1
    IF [V1 LE xxx] N10
    M30
    %

    ( LT=less than, LE less than or equal to, GT greater than, GE greater than or equal to, EQ equal to. There are more, these are the most used ones.)

  5. #5
    Join Date
    Apr 2009
    Posts
    11
    Thank you very much. I was wondering if it had variables as well. I will dig deeper. This gets me through a crunch. Any ideas where to learn a bit of this? I am pretty good with the Fanucs, but lousy here. I live far outside of any metropolitan areas.

    Brian

  6. #6
    Join Date
    Feb 2009
    Posts
    6028
    Okumas had variable since before they had CRT's

    You can assign pretty much anything as a local variable. Then you have the V variables, and system variables for tool offsets, chuck functions, on and on.

    Local variable program...

    G50 S3500
    M42
    S100M3
    RPM=100
    NSTART
    S=RPM
    RPM=RPM+1
    IF[RPM LT 3500]NSTRT
    M30

    I dont have a way to test this, but I think it's correct. Makes "RPM" a local variable. This just runs the spindle up to 3500 for a warm up.

  7. #7
    Join Date
    Mar 2009
    Posts
    1982
    there is also schedule program in OSP. You can learn from any Okuma programming manual, differences are minor

Similar Threads

  1. Okuma OSP 5020L Alarm 205-3 X Axis
    By Mark Pelnar in forum Okuma
    Replies: 7
    Last Post: 10-06-2009, 09:34 AM
  2. With Okuma BL-2 50A and OSP 5020L
    By marfranso in forum Okuma
    Replies: 1
    Last Post: 06-05-2008, 09:13 AM
  3. Okuma OSP 5020L
    By al-108 in forum Okuma
    Replies: 5
    Last Post: 03-18-2008, 09:17 PM
  4. okuma cadet lathe osp 5020l
    By bryanpackmac in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 1
    Last Post: 02-26-2007, 01:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •