Siemens SINUMERIK 840D sl Programming Manual page 170

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

Advertisement

Flexible NC programming
1.24 Subprogram technique
Example 4: Is not stopped with MD10702 Bit 12 = 1
Initial situation:
● Single block execution 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: Single block suppression for program nesting
Initial situation:
Single block execution is active.
Program nesting:
Program code
N10 X0 F1000
N20 UP1(0)
170
PROC UP1(INT _NR) SBLOF
N100 X10
N110 UP2(0)
PROC UP2(INT _NR)
N200 X20
N210 SBLON
N220 X22
Comment
; Stop in this part program line.
; Stop in this part program line.
; Traversing block generated by the cycle.
; Stop in this part program line.
Comment
; Suppress single block stop:
; Execution is not stopped in the part program line due
to the fact that MD10702 bit12=1.
; Execution is stopped in this part program line.
Comment
; Execution is stopped in this block.
; Suppress single block stop.
; Activate single block stop.
; Execution is stopped in this block.
Programming Manual, 03/2013, 6FC5398-2BP40-3BA1
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents

Save PDF