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
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: ......