586,645 active members*
2,635 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > making program rewind
Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2007
    Posts
    48

    making program rewind

    im sorry to be such a problem but this is the only site i can get help at.im green when it comes to lathe trying to get some experience under my belt.my problem is im running bar alum bar stock with a bar feeder on a osp5020l operator is having to hit the cycle start button after each part is there a code i can use to make the program continuosly rewind and start on its own.thanks for the support.

  2. #2
    Join Date
    Apr 2005
    Posts
    236

    GOTO N.....

    Hallo

    Just program a "GOTO N..." , to the first line of your pgm , at end of your pgm.

    Put your pgm in the Forum we will correct them.

  3. #3
    Join Date
    Feb 2008
    Posts
    586
    M99? (I don't have any experience on an OSP 5020L).

  4. #4
    Join Date
    Dec 2007
    Posts
    48
    itried go to n10 at start of prog got error equal does not exist.tried putting the statement at end of prog got same error

  5. #5
    Join Date
    Apr 2005
    Posts
    236

    Short Pgm Endless

    N0001 G40G90G96S1234T010101M8M3
    ......
    ......
    your pgm
    ....
    ...
    ....
    ....
    NEND GOTO N0001 (0=zero)
    M02

    (It is a easyway, there are better!!!!!!!!!!!)

  6. #6
    Join Date
    Apr 2009
    Posts
    1262
    Something else to consider... as you know there are 3 ways to do anything on an Okuma!

    Take a look at this thread:


    http://www.cnczone.com/forums/showthread.php?t=87913

    It runs through how to use the schedule program and reasons why you may want to use it.

  7. #7
    Join Date
    Apr 2005
    Posts
    236

    Rewind

    Oke ,the best way is how it is written in the thread.

  8. #8
    Join Date
    Feb 2009
    Posts
    6028

    okuma

    M99 is Fanuc, won't work on the Okuma.

    You can also do a counter with goto
    G50sXXX
    v1=1
    n1 XXXXX

    Program body

    V1=V1+1
    if [v1] lt(part count)GOTON1
    m30

    Syntac may be off a little, it's been 15 years.


    Okuma spindle warm up program

    G50sXXXX
    S100M3
    rpm=100
    Nstrt
    RPM=RPM+1
    S=RPM
    IF[RPM]LT 3500 GOTONSTRT
    M30

  9. #9
    Join Date
    Mar 2009
    Posts
    1982
    And shedule program (sdf) which I like mostly. You can cut different parts from the same bar.

  10. #10
    Join Date
    Jan 2010
    Posts
    96

    Simple

    Hello. This is simple to do on an Okuma. You should have line numbers for your program i.e N10. At the end of the program on the next to last line write out GOTO N10 and press the write key(be sure to use the letter O for GOTO and the number 0 for the line number). Then write M02 and press write. This will take the program back to the first line and start over. This example of course is using N10 as the first line number. Use whatever Line number you are using in your program. You do not need to use a counter unless you are wanting to do a specific number of parts. Hope this helps.

Similar Threads

  1. Motor Rewind in UK?
    By DMIOM in forum European Club House
    Replies: 0
    Last Post: 08-28-2009, 10:37 PM
  2. REWIND AND REPEAT PROGRAM
    By CNCBEN in forum MetalWork Discussion
    Replies: 2
    Last Post: 03-03-2009, 11:05 AM
  3. Replies: 14
    Last Post: 02-24-2009, 01:45 PM
  4. A2100 Program rewind or pause without stopping spindle
    By James_jester in forum Cincinnati CNC
    Replies: 1
    Last Post: 02-20-2009, 01:07 PM
  5. vickers 2100 - Tree J250 - program "rewind"
    By mblazenby in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 2
    Last Post: 01-11-2008, 04:39 PM

Posting Permissions

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