Fundamental Principles Of Nc Programming; Structure And Contents Of An Nc Program - Siemens SINUMERIK 840Di sl Programming Manual

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

Advertisement

Fundamental Principles of NC Programming

2.1

Structure and contents of an NC program

Note
DIN 66025 is the guideline for designing a parts program.
An (NC/part) program consists of a sequence of NC blocks (see table below). Each data
block represents one 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
program: M2, M17 or. M30.
Set
Set
Set
Set
Set
Set
Program names
Each program has a different name; the name can be chosen freely during program creation
(except for punch tape format), taking the following conditions into account:
• The first two characters must be letters (or a letter with an underscore character)
• other letters, digits
Example:
_MPF100 or
SHAFT or
SHAFT_2
Only the first 24 characters of a program identifier are displayed on the NC.
Fundamentals
Programming Manual, 11/2006, 6FC5398-1BP10-2BA0
Word
Word
N10
G0
N20
G2
N30
G91
N40
...
N50
M30
Word
...
X20
...
Z37
...
...
...
...
...
...
...
;Comment
;1. Set
;2. Set
;...
;End of program (last block)
2
47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents