Subprogram Names - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Flexible NC programming
1.25 Subprogram technique
Application
As in all high-level programming languages, in the NC language, subprograms are used to
swap out program sections used more than once to independent, self-contained programs.
Subprograms offer the following advantages:
● Increase the transparency and readability of programs
● Increase quality by reusing tested program parts
● Offer the possibility of creating specific machining libraries
● Save memory space
1.25.1.2

Subprogram names

Naming rules
The following rules must be observed with regard to naming subprograms:
● The first two characters must be letters (A - Z, a - z).
● The following characters can be any combination of letters, numbers (0 to 9), and
● A maximum of 31 characters may be used.
Program name expansion
The program name assigned when the program is created is expanded within the control
with the addition of a prefix and a suffix.
● Prefix: _N_
● Suffix:
166
underscores ("_").
Note
The SINUMERIK NC language does not distinguish between uppercase and lowercase
letters.
– Main programs: _MPF
– Subprograms: _SPF
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
Job Planning

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents