Siemens sinumerik 840d Programming Manual page 110

Hide thumbs Also See for sinumerik 840d:
Table of Contents

Advertisement

Subprograms, Macros
2
2.10 Single block suppression, SBLOF, SBLON (SW 4.3 and higher)
840D
840D
NCU 571
NCU 572
NCU 573
Programming example 1
Cycle is to act as a command for programmer
Main program
N10 G1 X10 G90 F200
N20 X-4 Y6
N30 CYCLE1
N40 G1 X0
N50 M30
Program cycle1
N100 PROC CYCLE1 DISPLOF SBLOF
N110 R10=3*SIN(R20)+5
N120 IF (R11 <= 0)
N130
SETAL(61000)
N140 ENDIF
N150 G1 G91 Z=R10 F=R11
N160 RET
The cycle CYCLE1 is executed as one step when
single block is active.
Programming example 2
An ASUP run from the PLC for activating modified zero offsets and tool offsets should not
be visible.
N100 PROC NV SBLOF DISPLOF
N110 CASE $P_UIFRNUM OF 0 GOTOF _G500
-->1 GOTOF _G54 2 GOTOF _G55 3
-->GOTOF _G56 4
-->DEFAULT GOTOF END
N120 _G54: G54 D=$P_TOOL T=$P_TOOLNO
N130 RET
N140 _G54: G55 D=$P_TOOL T=$P_TOOLNO
N150 RET
N160 _G56: G56 D=$P_TOOL T=$P_TOOLNO
N170 RET
N180 _G57: G57 D=$P_TOOL T=$P_TOOLNO
N190 RET
N200 END: D=$P_TOOL T=$P_TOOLNO
N210 RET
2-110
FM-NC
810D
840Di
GOTOF _G57
Suppress single block
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
12.98
2
 Siemens AG 2000. All rights reserved

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik fm-ncSinumerik 840diSinumerik 810d

Table of Contents