Need Help! VOPRB on Okuma lathe - Page 2


Page 2 of 2 FirstFirst 12
Results 13 to 20 of 20

Thread: VOPRB on Okuma lathe

  1. #13
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1122
    Downloads
    0
    Uploads
    0

    Default Re: VOPRB on Okuma lathe

    Quote Originally Posted by OkumaWiz View Post
    I think you can do this via m code on your machine. Don’t remember it off the top of my head, check your list in the machine or I’ll dig it out when I get to the office.
    I think M677 and M678 are the ones I was thinking of. Please test.

    by the way - are you getting into trouble with this by using a GOTO command for looping rather than the recommended Schedule program (SDF file)?

    The control cues off of the M02 or M30 for many things such as tool life, alarm C, work counters, cycle time, MAC MAN,etc,, and GOTO's should NOT be used to loop a program endlessly. You'll get yourself into trouble easily by doing a GOTO. Use it only to skip sections of code but never to loop a program.

    Best regards,

    Experience is what you get just after you needed it.


  2. #14
    Member
    Join Date
    Jul 2013
    Posts
    21
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by OkumaWiz View Post
    I think M677 and M678 are the ones I was thinking of. Please test.

    by the way - are you getting into trouble with this by using a GOTO command for looping rather than the recommended Schedule program (SDF file)?

    The control cues off of the M02 or M30 for many things such as tool life, alarm C, work counters, cycle time, MAC MAN,etc,, and GOTO's should NOT be used to loop a program endlessly. You'll get yourself into trouble easily by doing a GOTO. Use it only to skip sections of code but never to loop a program.

    Best regards,
    I tried M677 and M678, it does not exist on the controller. As you said, using GOTO to loop the program will be a problem. I only use SDF. Best regards.



  3. #15
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2809
    Downloads
    0
    Uploads
    0

    Default Re: VOPRB on Okuma lathe

    hello i use goto's to loop programs all the time :
    ... tool life : i manage tool life in my own way, being able to estimate time left before begining a cut, counting cutting time also during restarted programs that are being reseted after a few operations, and there are other things as well
    ... work counters, cycle time, mac man : i have an alternative for all these, and i really don't relly on cnc counter, because it does not know if a program was re-started, or simply started again; even when the cycle time is short, like <30seconds eq, i may use a different method to count parts; cycle time, again, is relative, i don't wanna know the cycle time, but the randament of the process

    is not a must to avoid looping a program by using goto's; if sdf is used, then will be needed to create the sdf file ( which means an extra file with extra content ) : this means downtime; also, it will be needed to pay attention to "program select" interface, or " schedule select ", thus one has to be carefull to avoid the wrong selection mode

    if a program is looped by using a sdf, and the process is restarted, then the counter will reset to 0; if the program is looped by goto's, and the process is restarted, then the counter value is saved if common variables are used

    so far, i have not seen a case where i would really need a *sdf file instead of *min file; kindly

    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg


  4. #16
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1122
    Downloads
    0
    Uploads
    0

    Default Re: VOPRB on Okuma lathe

    What are you trying to accomplish by turning this off and on in the program? Perhaps a better explanation may bring up another way to accomplish what you want.

    Most either want to monitor the cycle time or the stm time to make sure their machine hasn’t stalled. Turning it off in the cycle defeats the purpose.

    Are your guys turning it off when you don’t want them to?

    I’m assuming you get unusable m code when you tried M677/8?

    Experience is what you get just after you needed it.


  5. #17
    Member
    Join Date
    Jul 2013
    Posts
    21
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by OkumaWiz View Post
    What are you trying to accomplish by turning this off and on in the program? Perhaps a better explanation may bring up another way to accomplish what you want.

    Most either want to monitor the cycle time or the stm time to make sure their machine hasn’t stalled. Turning it off in the cycle defeats the purpose.

    Are your guys turning it off when you don’t want them to?

    I’m assuming you get unusable m code when you tried M677/8?
    We produce a lot of details, you will understand how important the Cycle time is. However, operators regularly adjust Feedrate override and Rapid override on panels to control even edit Feedrate on my program. They want to increase Cycle time with bad intentions. I'm still struggling to try to stop that. I only manage the program and do not advise me to lock the control panel or program, or find and handle him. That is impossible for me. Best regards.



  6. #18
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2809
    Downloads
    0
    Uploads
    0

    Default Re: VOPRB on Okuma lathe

    However, operators regularly adjust Feedrate override and Rapid override on panels
    hy duongcave, M's listed below should allow to ignore overrides during auto-mode; if M160/161 works only for feed, and not also for rapids, then replace rapids with feeds inside the program

    M48, M49 (spindle speed override ignore)
    When the spindle speed override ignore function is valid, the spindle speed override rate is
    fixed at 100% regardless of the setting of the spindle override switch. The spindle speed
    override ignore function is canceled by specifying the cancel M code, resetting the CNC, or
    changing the operation mode.
    < M codes >
    Spindle speed override ignore•••••••••••••••••••••••••••••M49
    Spindle speed override ignore cancel••••••••••••••••••••M48

    M160, M161 (feed rate override fixed at 100% OFF, ON)
    These M codes are used to specify whether or not the setting of the feed rate override dial,
    when other than 100%, is valid; in the M161 mode, if the setting of the feed rate override dial on
    the machine operation panel is in other than 100%, the setting is ignored and the feed rate
    commands are executed assuming a setting of 100%, and in the M160 mode, the setting of the
    feed rate override dial is valid.

    M162, M163 (rotary tool spindle override fixed at 100% OFF, ON)
    These M codes are used to specify whether or not the setting of the rotary tool spindle speed
    override dial, when other than 100%, is valid; in the M163 mode, if the setting of the rotary tool
    spindle speed override dial on the machine operation panel is in other than 100%, the setting is
    ignored and the rotary tool spindle speed commands are executed assuming the setting of
    100%, and in the M162 mode, the setting of the rotary tool spindle speed override dial is valid.


    even edit Feedrate
    so far, i can't help you with simple methods for protecting the file ... this was allready discussed in another thread / kindly


    ps : another method to ignore feed override, is to replace G01 with a threding code ...

    Last edited by deadlykitten; 07-02-2019 at 03:55 PM.
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg


  7. #19
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    2809
    Downloads
    0
    Uploads
    0

    Default Re: VOPRB on Okuma lathe

    even edit Feedrate
    i just had an idea : in that thread, we discussed possible protection methods while the file is in MD1, but what if the file is not in MD1 ? for example, put the file on an usb with edit protection, and use sdf to select the file from the usb

    i don't know how to create such an edit-lock usb, and i am not sure if sdf can select from usb, but i would try this / kindly

    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg


  8. #20
    Member OkumaWiz's Avatar
    Join Date
    Apr 2009
    Location
    United States
    Posts
    1122
    Downloads
    0
    Uploads
    0

    Default Re: VOPRB on Okuma lathe

    Another idea is that all of your switches on the control panel can be checked out from within the program. This means that you can check the feed rate override and generate an alarm if you’d like. Let me know if you want me to send you the codes to do this.

    Best regards,

    Experience is what you get just after you needed it.


Page 2 of 2 FirstFirst 12

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

VOPRB on Okuma lathe

VOPRB on Okuma lathe

VOPRB on Okuma lathe