Program code CommentN110 R10=3*SIN(R20)+5N120 IF (R11 <= 0)N130 SETAL(61000)N140 ENDIFN150 G1 G91 Z=R10 F=R11N160 M17CYCLE1 is processed for an active single block, i.e. the Start key must be pressed once toprocess CYCLE1.Example 2: An ASUB, which is started by the PLC in order to activate a modified zero offsetand tool offsets, is to be executed invisiblyProgram codeN100 PROC ZO SBLOF DISPLOFN110 CASE $P_UIFRNUM OF 0 GOTOF _G5001 GOTOF _G542 GOTOF _G553 GOTOF _G564 GOTOF _G57DEFAULT GOTOF ENDN120 _G54: G54 D=$P_TOOL T=$P_TOOLNON130 RETN140 _G54: G55 D=$P_TOOL T=$P_TOOLNON150 RETN160 _G56: G56 D=$P_TOOL T=$P_TOOLNON170 RETN180 _G57: G57 D=$P_TOOL T=$P_TOOLNON190 RETN200 END: D=$P_TOOL T=$P_TOOLNON210 RETSingle-block suppression for program nestingIf SBLOF was programmed in the PROC instruction in a subprogram, then execution is stoppedat the subprogram return jump with M17. That prevents the next block in the calling programfrom already running. If a single-block suppression is activated in a subprogram with SBLOF,without SBLOF in the PROC instruction, execution is only stopped after the next machinefunction block of the calling program. If that is not desired, SBLON must be programmed in thesubprogram before the return (M17). Execution does not stop for a return jump to a higher-levelprogram with RET.Example:Program code CommentN10 X0 F1000 ; Execution is stopped in this block.N20 UP1(0)K1: Mode group, channel, program operation, reset response9.13 Single blockBasic FunctionsFunction Manual, 01/2015, 6FC5397-0BP40-5BA2 585