585,743 active members*
4,744 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2013
    Posts
    21

    Program okuma

    Hello, I have a lathe Okuma Osp-p20l-r. How to when M30 then a Macro program in CNC will automatically run. Like M code macro on Fanuc. Thank you

  2. #2
    Join Date
    Jun 2015
    Posts
    4154

    Re: Program okuma

    hi, please, what exactly do you wish to achieve ? you wish to run a macro after the program ended ? or to loop a program ? pls be more specific / kindly
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  3. #3
    Join Date
    Jul 2013
    Posts
    21
    Quote Originally Posted by deadlykitten View Post
    hi, please, what exactly do you wish to achieve ? you wish to run a macro after the program ended ? or to loop a program ? pls be more specific / kindly
    Hi

    On Fanuc control I set M30 to parameter # 6089. When the program runs to M30, O9029 will be called out. (It is used to calculate machining time and compare with standard time). I wonder whether it is possible to do so on Okuma machine?

  4. #4
    Join Date
    Feb 2011
    Posts
    353

    Re: Program okuma

    can you post the O9029 program ?

    what you might be able to do is start a counter. This is for a mill control OSP200m it maybe different for a lathe
    If you want it out of the operator view call it as a sub program

    VRMNT: A 4-byte free-running minute counter can be read.

    vc100=VRMNT at the beginning of the program

    at the end of the program
    vc101=VRMNT
    vc102=vc101-vc100

    vc102 should equal the cycle time

    you could put vc103=(cycle time in minutes)

  5. #5
    Join Date
    Apr 2009
    Posts
    1262

    Re: Program okuma

    CALL OTIME
    M30
    The call will allow you to call OTIME.SUB program.
    Place your code inside the sub and end it with RTS (return from sub)

    Best regards,
    Experience is what you get just after you needed it.

Similar Threads

  1. Replies: 1
    Last Post: 03-22-2023, 09:37 AM
  2. OKuma program problems
    By portej5 in forum Turning
    Replies: 0
    Last Post: 07-19-2016, 04:50 AM
  3. Okuma to LNS Bar Feeder Program
    By JesusFreak in forum Okuma
    Replies: 8
    Last Post: 07-19-2012, 07:35 PM
  4. Okuma to LNS Barfeeder Program
    By JesusFreak in forum Okuma
    Replies: 0
    Last Post: 02-01-2012, 04:44 PM
  5. Okuma to LNS Bar Feeder Program
    By JesusFreak in forum CNC Machining Centers
    Replies: 0
    Last Post: 02-01-2012, 03:32 PM

Tags for this Thread

Posting Permissions

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