Using Subprograms - Siemens sinumerik 840d Programming Manual

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

Advertisement

Subprograms, Macros
2

2.1 Using subprograms

840D
840D
NCU 571
NCU 572
NCU 573
2.1

Using subprograms

What is a subprogram?
In principle, a subprogram has the same structure as
a part program. It consists of NC blocks with
traverse commands and switching commands.
In principle, there is no difference between a main
program and a subprogram. The subprogram
contains either machining cycles or machining
sections that must run more than once.
Use of subprograms
Machining sequences that recur are only
programmed once in a subprogram. For example,
certain contour shapes that occur more than once or
machining cycles.
This subprogram can be called and executed in any
main program.
Structure of the subprogram
The structure of a subprogram is identical to that of
the main program.
In a subprogram it is also possible to program a
program header with parameter definitions.
2-92
FM-NC
810D
840Di
Main program
Subprogram
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