586,071 active members*
3,840 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > HELP With Okuma 5020L Control
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2015
    Posts
    0

    HELP With Okuma 5020L Control

    Trying to get my lathe to loop program. Can someone post exactly what it should look like. I tried this but got Alarm 406-1.

    V1=0
    N01 T0101
    ......
    MY PROGRAM
    .......
    V1=V1+1
    IF V1=5 NEND (ALSO TRIED IN THIS LINE) IF [V1EQ5] NEND
    GOTO N01
    NEND M30

    ALARM 406-1 CALCULATION OF SUBSCRIPT EXPRESSION IS INTENDED WITH CALCULATION OF SUBSCRIPT EXPRESSION.

  2. #2
    Join Date
    Feb 2011
    Posts
    353

    Re: HELP With Okuma 5020L Control

    V1=0
    N01 T0101
    ......
    MY PROGRAM
    .......
    V1=V1+1
    IF[V1 EQ 5]GOTO N999
    GOTO N01
    N999
    M30
    THIS SHOULD LOOP IT 5 TIMES THEN GOTO N999 WHICH ENDS THE PROGRAM

Similar Threads

  1. OKUMA OSP 5020L
    By nikolamkd in forum Okuma
    Replies: 18
    Last Post: 01-06-2023, 07:58 AM
  2. okuma lr 15m osp 5020l
    By Sheena on in forum Okuma
    Replies: 0
    Last Post: 08-06-2013, 11:15 AM
  3. okuma lr 15m osp 5020l
    By Sheena on in forum Okuma
    Replies: 4
    Last Post: 07-24-2013, 06:30 PM
  4. Okuma OSP 5020L
    By BrianM03 in forum Okuma
    Replies: 6
    Last Post: 04-10-2012, 04:13 PM
  5. Okuma OSP 5020L
    By al-108 in forum Okuma
    Replies: 5
    Last Post: 03-18-2008, 09:17 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
  •