Siemens SINUMERIK 840D sl Programming Manual page 118

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

Advertisement

Subroutines, Macros
2.16 Suppress individual block (SBLOF, SBLON)
Example: use MD 10702 IGNORE_SINGLEBLOCK_MASK, bit 12 = 1 to prevent stopping
In single block type SBL2 (stop at each parts program line) in the SBLON statement.
;SBL2 is active
;$MN_IGNORE_SINGLEBLOCK_MASK = 'H1000'
N10 G0 X0
N20 X10
N30 CYCLE
PROC CYCLE SBLOF
N100 R0 = 1
N110 SBLON
N120 X1
N140 SBLOF
N150 R0 = 2
RET
N50 G90 X20
M30
Example: single block suppression for program nesting
N10 X0 F1000
N20 UP1(0)
N30 X0
N40 M30
2-34
PROC UP1(INT _NR) SBLOF
N100 X10
N110 UP2(0)
PROC UP2(INT _NR)
N200 X20
N210 SBLON
N220 X22
N230 UP3(0)
PROC UP3(INT _NR)
N302 SBLOF
N300 X30
N310 SBLON
N320 X32
N330 SBLOF
N340 X34
N350 M17
N240 X24
N250 M17
N120 X12
N130 M17
;In the MD 10702: set bit 12 = 1
;Stop at this parts program line
;Stop at this parts program line
;Traversing block generated by the
;cycle
;Suppress single block stop
;Because of MD 10702: bit 12 = 1
;prevents stopping
;Stop at this parts program line
;Stop at this parts program line
;Single block is active
;Stop at this block
;Single block OFF
;Single block ON
;Stop at this block
;Single block OFF
;Single block ON
;Stop at this block
;Single block OFF
;SBLOF active
;Stop at this block
;SBLON active
;Stop at this block
;SBLON active
;Stop at this return block
;SBLOF of the PROC statement active
;Stop at this block
;Stop at this block
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Job planning

Advertisement

Table of Contents
loading

Table of Contents