Siemens sinumerik 840d Programming Manual page 62

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

Advertisement

Flexible NC programming
1
1.12 Control structures
840D
840D
NCU 571
NCU 572
NCU 573
Programming example
1. Endless program
%_N_LOOP_MPF
LOOP
IF NOT $P_SEARCH
ELSE
MSG("No drilling during block search")
ENDIF
$A_OUT[1]=1
G4 F2
ENDLOOP
M30
2. Production of a fixed quantity of parts
%_N_WKPCCOUNT_MPF
DEF INT WKPCCOUNT
FOR WKPCCOUNT = 0 TO 100
G01 ...
ENDFOR
M30
1-62
FM-NC
810D
840Di
G01 G90 X0 Z10 F1000
WHILE $AA_IM[X] <= 100
G1 G91 X10 F500
Z–5 F100
Z5
ENDWHILE
Z10
;No block search
;Drilling pattern
;Block search
;Next drilling plate
SINUMERIK 840D/840Di/810D/FM-NC Programming Guide Advanced (PGA) − 04.00 Edition
04.00
1
 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