Programming manual.
CNC 8070
14.
SUBROUTINES.
Subroutine execution.
·276·
(REF: 1709)
14.3.7 #RETDSBLK. Execute subroutine as a single block.
The #RETDSBLK instruction ends the subroutine and cancels the single block treatment.
Programming format.
Program the instruction alone in the block and at the end of the subroutine.
#RETDSBLK
How to create the subroutine.
For a subroutine to be executed as a single block, it usually has the following structure.
%Sub.nc
#ESBLK; Beginning of the single-block treatment.
·
·
#DSBLK; End of the single-block treatment.
#RET; End of subroutine.
When executing this subroutine in single-block mode, the [START] key must be pressed
twice because the execution stops in the #RET block. To prevent this so the subroutine is
executed with a single [START], the subroutine must begin with #ESBLK and end with
#RETDSBLK.
%Sub.nc
#ESBLK; Beginning of the single-block treatment.
·
·
#RETDSBLK; End of subroutine and end of the single-block treatment.
#RETDSBLK