High level language
154
$FOR
$ENDFOR
$BREAK
$CONTINUE
Block repetition FOR.
$FOR <N>=<expr1>,<expr2>,<expr3>
$ENDFOR
$BREAK
$CONTINUE
Note: when executing this instruction, <n>
takes the value of <expr1> and it changes
its value up to the value of <expr2>, in
steps indicated by <expr3>. At each step,
it executes the blocks contained between
$FOR and $ENDFOR.
The $BREAK instruction lets ending block
repetition even if the stop condition is not
met. The execution of the program will
continue at the block after $ENDFOR.
The $CONTINUE instruction starts the next
repetition even when the current one has
not finished. The blocks programmed after
$CONTINUE up to $ENDFOR will be ignored
in this repetition.
E.g.:
$FOR P1=10,20,2
… (executes this section starting with P1=10,
... (increases by 2 for each repetition, until
... (reaches the value of 20, then ends
$ENDFOR
Instruction
Meaning
Summary of Contents for CNC 8060
Page 1: ...CNC 8060 65 User quick reference Ref 1906...
Page 44: ...Work modes 44...
Page 64: ...ISO language 64...
Page 102: ...ISO canned cycles T 102...
Page 128: ...Conversational cycles M 128...
Page 136: ...Conversational cycles T 136...
Page 150: ...Measuring and calibration cycles T 150...
Page 169: ......