Siemens SINUMERIK 840D sl Programming Manual page 505

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

Advertisement

Program code
N200 END: D=$P_TOOL T=$P_TOOLNO
N210 RET
Example 4: Specific stopping in the subprogram
Initial situation:
● Single block machining is active.
● MD10702 $MN_IGNORE_SINGLEBLOCK_MASK, Bit12 = 1
Main program:
Program code
N10 G0 X0
N20 X10
N30 CYCLE
N50 G90 X20
M30
Cycle CYCLE:
Program code
PROC CYCLE SBLOF
N100 R0=1
N110 SBLON
N120 X1
N140 SBLOF
N150 R0=2
RET
Example 5: Suppression of single block machining with program nesting
Initial situation:
● Single block machining type 2 is active.
● The program execution shall not be interrupted in the SBLON block
(MD10702 $MN_IGNORE_SINGLEBLOCK_MASK, Bit12 = 1)
Program code
N10 X0 F1000
N20 UP1(0)
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
PROC UP1(INT _NR) SBLOF
N100 X10
N110 UP2(0)
PROC UP2(INT _NR)
N200 X20
N210 SBLON
N220 X22
Comment
Comment
; single block stop
; single block stop
; Traversing block generated by the cycle.
; single block stop
Comment
; Suppress single block machining
; No single block stop due to MD10702 bit12 = 1
; single block stop
Comment
; single block stop
; Deactivate single block machining for
UP1
; Activate single block machining
; single block stop
Work preparation
3.2 Subprogram technique
505

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents