Results 1 to 7 of 7

Thread: Okuma OSP 5020L

  1. #1
    Registered
    Join Date
    Apr 2009
    Location
    United States
    Posts
    11
    Downloads
    0
    Uploads
    0

    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
    Registered fordav11's Avatar
    Join Date
    Aug 2011
    Location
    Fordaville
    Posts
    1,668
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Aug 2008
    Location
    United States
    Posts
    62
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    4,009
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Apr 2009
    Location
    United States
    Posts
    11
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    4,009
    Downloads
    0
    Uploads
    0
    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
    Registered Algirdas's Avatar
    Join Date
    Mar 2009
    Location
    Lithuania
    Posts
    1,041
    Downloads
    0
    Uploads
    0
    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, 04:34 AM
    2. Need Help!- With Okuma BL-2 50A and OSP 5020L
      By marfranso in forum Okuma
      Replies: 1
      Last Post: 06-05-2008, 04:13 AM
    3. Okuma OSP 5020L
      By al-108 in forum Okuma
      Replies: 5
      Last Post: 03-18-2008, 04:17 PM
    4. okuma cadet lathe osp 5020l
      By bryanpackmac in forum General CNC (Mill and Lathe) Control Software (NC)
      Replies: 1
      Last Post: 02-25-2007, 07:36 PM
    5. SmartCam .tmp for Okuma LB15 with 5020L
      By xs-speed in forum Post Processor Files
      Replies: 3
      Last Post: 10-20-2006, 04:41 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.