Siemens SINUMERIK 840Di Function Manual page 626

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed Description
2.7 Program operation mode
The advantage compared with copying blocks is that you save memory and can make
modifications easily. Changes to positions only need to be made at one point.
Labels
Labels are used within a program to identify a block or a program section.
References: /PG/, Programming Guide: Fundamentals
The options available for repeating part of a program are:
• Repeat block
• Repeat area starting at label
• Repeat an area between two labels
• Repeat an area between a label and the end label
References: /PGA/, Programming Guide Advanced
Activation
Program section repetition is activated by programming. (Labels, Number of repetitions)
Example
Milling: Machine drilling position with different technology sequences
N10 CENTER DRILL()
N20 POS_1:
N30 X1 Y1
N40 X2
N50 Y2
N60 X3 Y3
N70 ENDLABEL:
N80 POS_2:
N90 X10 Y5
N100 X9 Y-5
N110 X3 Y3
N120 ENDLABEL:
N130 DRILL()
N140 THREAD(6)
N150 REPEAT POS_1
N160 DRILL()
N170 THREAD(8)
N180 REPEAT POS_2
N190 M30
2-90
;
Load center drill
;
Drill positions 1
;
Res. Name, frequently permissible
;
Drill positions 2
;
Change drill and drilling cycle
;
Load tap M6 and threading cycle
;
Repeat program section once from
POS_1 up to ENDLABEL
;
Change drill and drilling cycle
;
Load tap M8 and threading cycle
;
Repeat program section once from
POS_2 up to ENDLABEL
Mode Group, Channel, Program Operation, Reset Response (K1)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents