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
Содержание CNC 8060
Страница 1: ...CNC 8060 65 User quick reference Ref 1906...
Страница 44: ...Work modes 44...
Страница 64: ...ISO language 64...
Страница 102: ...ISO canned cycles T 102...
Страница 128: ...Conversational cycles M 128...
Страница 136: ...Conversational cycles T 136...
Страница 150: ...Measuring and calibration cycles T 150...
Страница 169: ......