K1: Mode group, channel, program operation, reset response
9.12 Single block
Basic Functions
608
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
9.12.1
Decoding single block SBL2 with implicit preprocessing stop
Asynchronicity
As a result of preprocessing of part program blocks, the reference between the current block display relative to
the main run status of the NCK and the variable values displayed on the HMI can be lost. The operator display
then shows implausible variable values.
Preprocessing stop for each block
A preprocessing stop is executed for active SBL2 with each block with the channel-specific setting data SD42200
$SC_SINGLEBLOCK2_STOPRE (activate debug mode for SBL2). This suppresses preprocessing of part
program blocks and maintains the relationship between the current block display and the variable values display.
9.12.2
Single block stop: Suppression using SBLOF
Single block off
Programs characterized by the
SBLOF
language command are executed completely in one block as with every
type of single block.
SBLOF
is also valid in the called subroutines.
SBLOF
Example for subroutine without stop in single block:
At the return command, the decision is made whether to stop at the end of the subprogram:
Note
This variant of SBL2 does not maintain an accurate contour. In other words, as a result of the
preprocessing stop, a different contour may be generated from the one created without
single-block mode or with SBL1.
Application: Debug mode for testing part programs.
PROC EXAMPLE SBLOF
G1 X10
RET
Return jump with M17
Stop at the end of the subprogram
Return jump with RET
No stop at end of subroutine