EasyManua.ls Logo

Fagor CNC 8060 - Page 156

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
156
$DO
$ENDDO
$BREAK
$CONTINUE
Conditional block repetition DO.
$DO
$ENDDO <condition>
$BREAK
$CONTINUE
Note: While the condition is true, it repeats
the execution of the blocks contained
between $DO and $ENDDO. The condition
is analyzed at the end of each repetition,
therefore the group of blocks is executed at
least once.
The $BREAK instruction lets ending block
repetition even if the stop condition is not
met. The execution of the program
continues at the block after $ENDDO.
The $CONTINUE instruction starts the next
repetition even when the current one has
not finished. The blocks programmed after
$CONTINUE up to $ENDDO will be ignored
in this repetition.
E.g.:
P1=0
$DO
P1=P1+1
… (executes this program section until P1 is
greater than 10, then it finishes)
$ENDDO P1<=10
Instruction Meaning

Other manuals for Fagor CNC 8060

Related product manuals