Need Help! Program okuma


Results 1 to 4 of 4

Thread: Program okuma

  1. #1

    Default 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

    Similar Threads:


  2. #2
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    4154
    Downloads
    0
    Uploads
    0

    Default 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

    we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...


  3. #3

    Default

    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
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    353
    Downloads
    2
    Uploads
    0

    Default 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
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1262
    Downloads
    0
    Uploads
    0

    Default 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.


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Program okuma

Program okuma