K1: Mode group, channel, program operation, reset response
9.13 Single block
deceleration to be performed in this block (with continuouspath mode G64 active), further block
changes are allowed.
Note
For decode single block SBL2, machine data MD10702
$MN_IGNORE_SINGLEBLOCK_MASK (prevent single-block stop) is only effective with
"internal ASUB", "user ASUB", and "subprograms with the attribute DISPLOF". In these cases,
it is already clear at the time of interpretation that the block belongs to one of the categories
cited. In these cases, further blocks can be generated.
Activate debug mode for SBL2
As a result of the 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.
With the following channel-specific setting data, you can set a preprocessing stop to be
executed on every block when SBL2 is active:
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.
Note
SBL2 in debug mode 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.
Debug mode for SBL2 can be used to test out part programs.
9.13.2
Programming
Suppress single block (SBLOF, SBLON)
The "single block" function can also be suppressed at program level:
Language command
SBLOF:
SBLON:
582
Meaning
Switch off single-block execution
SBLOF can be written in a PROC block or alone in the block.
Reactivate single-block execution
SBLON must be in a separate block.
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions