EasyManua.ls Logo

Fagor CNC 8060 - Page 154

Fagor CNC 8060
170 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Other manuals for Fagor CNC 8060

Related product manuals