Siemens SINUMERIK 840D sl Programming Manual page 186

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Flexible NC programming
1.25 Subprogram technique
Further information
Single block disable for unsynchronized subprograms
In order to execute an ASUB in one step, a PROC instruction must be programmed in the
ASUB with SBLOF. This also applies to the function "Editable system ASUB" (MD11610
$MN_ASUP_EDITABLE).
Example of an editable system ASUB:
Program code
N10 PROC ASUB1 SBLOF DISPLOF
N20 IF $AC_ASUP=='H200'
N30 RET
N40 ELSE
N50 REPOSA
N60 ENDIF
Program control in single block mode
With the single block execution function, the user can execute a part program block-by-
block. The following setting types exist:
● SBL1: IPO single block with stop after each machine function block.
● SBL2: Single block with stop after each block.
● SBL3: Stop in the cycle (the SBLOF command is suppressed by selecting SBL3).
Single block suppression for program nesting
If SBLOF was programmed in the PROC instruction in a subprogram, then execution is
stopped at the subprogram return jump with M17. That prevents the next block in the calling
program from already running. If SBLOF, without SBLOF is programmed in the PROC
instruction in a subprogram, single block suppression is activated, execution is only stopped
after the next machine function block of the calling program. If that is not wanted, SBLON
must be programmed in the subprogram before the return (M17). Execution does not stop for
a return jump to a higher-level program with RET.
186
Comments
; No REPOS for mode change.
; REPOS in all other cases.
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents