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.