Siemens SINUMERIK 840D sl Function Manual page 584

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

Advertisement

K1: Mode group, channel, program operation, reset response
9.13 Single block
Single-block suppression in the system ASUB or user ASUB
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" (see MD11610
$MN_ASUP_EDITABLE).
Note
The preset behavior of asynchronous subprograms with active single-block execution specified
in machine data MD20117 MC_IGNORE_SINGLEBLOCK_ASUP (process interrupt program
fully despite single block) can be overwritten on a program-specific basis using SBLOF.
Example:
Program code
N10 PROC ASUB1 SBLOF DISPLOF
N20 IF $AC_ASUP=='H200'
N30
N40 ELSE
N50 REPOSA
N60 ENDIF
If the single-block stop in the system or user ASUB is suppressed using the settings in machine
data MD10702 $MN_IGNORE_SINGLEBLOCK_MASK (bit 0 = 1 or bit 1 = 1), then the single-
block stop can be re-activated by programming SBLON in the ASUB.
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 SBLON in the ASUB.
Single-block suppression and block display
The current block display can be suppressed in cycles/subprograms using DISPLOF. If
DISPLOF is programmed together with SBLOF, then the cycle/subprogram call continues to
be displayed on single-block stops within the cycle/subprogram.
Example 1: A cycle is to act like a command for a user
Main program:
Program code
N10 G1 X10 G90 F200
N20 X-4 Y6
N30 CYCLE1
N40 G1 X0
N50 M30
Cycle CYCLE1:
Program code
N100 PROC CYCLE1 DISPLOF SBLOF
584
RET
Comment
; No REPOS for mode change.
; REPOS in all other cases.
Comment
; Suppress single block
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents