Programming Principles; Fundamentals Of Programming; Program Names; Program Structure - Siemens sinumerik 808d Programming And Operating Manual

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

Advertisement

Programming principles

1.1

Fundamentals of programming

1.1.1

Program names

Each program must have a program name. The program name must follow the conventions
below:
● Use only English letters or numbers for a program name, if the user interface language is
● Separate the file extension of a subprogram name only with a decimal point
● Use a maximum of 24 English characters or of 12 Chinese characters for a program
Examples
WORKPIECE527
1.1.2

Program structure

Structure and content
The NC program consists of a sequence of blocks (see the table below). Each block
represents a machining step. Instructions are written in the blocks in the form of words. The
last block in the execution sequence contains a special word for the end of the program, for
example, M2.
The table below shows you an example of the NC program structure.
Block
Block
Block
Block
Block
Block
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
English; use only Chinese letters or numbers for a program name, if the user interface
language is Chinese.
name
NOTICE
It is not recommended that you use a special character for the first character of a
program name.
When you create a new main program, it is not necessary to enter the file extension
".MPF". When you desire to create a subprogram, you must enter the file extension
".SPF".
Word
Word
N10
G0
N20
G2
N30
G91
N40
...
N50
M2
Word
...
; Comment
X20
...
; First block
Z37
...
; Second block
...
...
; ...
...
...
; End of program
1
7

Advertisement

Table of Contents
loading

Table of Contents