Flexible NC programming
1.24 Subprogram technique
Meaning
PROC
SBLOF
SBLON
Supplementary conditions
● Single block suppression and block display
● Single block suppression in the system ASUB or user ASUB
● Special features of single block suppression for various single block execution types
Examples
Example 1: Single block suppression within a program
Program code
N10 G1 X100 F1000
N20 SBLOF
N30 Y20
N40 M100
N50 R10=90
N60 SBLON
N70 M110
N80 ...
The area between
168
:
First operation in a program
:
Command to deactivate single block execution
can be written in a
SBLOF
:
Command to activate single block execution
must be in a separate block.
SBLON
The current block display can be suppressed in cycles/subprograms using
If
is programmed together with
DISPLOF
be displayed on single-block stops within the cycle/subprogram.
If the single block stop in the system or user ASUB is suppressed using the settings in
machine data MD10702 $MN_IGNORE_SINGLEBLOCK_MASK (bit0 = 1 or bit1 = 1),
then the single block stop can be re-activated by programming
If the single block stop in the user ASUB is suppressed using the setting in machine data
MD20117 $MC_IGNORE_SINGLEBLOCK_ASUP then the single block stop cannot be
reactivated by programming
When single block execution SBL2 is active (stop after each part program block) there is
no execution stop in the
MD10702 $MN_IGNORE_SINGLEBLOCK_MASK (prevent single block stop).
When single block execution SBL3 is active (stop after every part program block - also in
the cycle), the
command is suppressed.
SBLOF
and
N20
block or alone in the block.
PROC
, then the cycle/subprogram call continues to
SBLOF
in the ASUB.
SBLON
block if bit 12 is set to "1" in the
SBLON
Comment
; Deactivate single block
; Reactivate single block
is executed as one step in single-block mode.
N60
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
.
DISPLOF
in the ASUB.
SBLON
Job Planning