Programming and Operating Manual (Milling)
50
6FC5398-4DP10-0BA1, 01/2014
6.
Select the program file you desire to back up.
7.
Press this softkey to copy it to the clipboard.
8.
Enter the RS232 directory.
9.
Press this vertical softkey in the RS232 window. The file transferring starts.
10. Wait until SinuComPCIN has finished data transfer, and click this button.
For more information, refer to SINUMERIK 808D ADVANCED Diagnostics Manual.
8
Programming principles
8.1
Fundamentals of programming
8.1.1
Program names
Each program must have a program name. The program name must follow the conventions below:
●
Use a maximum of 24 letters or 12 Chinese characters for a program name (the character length of the file extension
excluded)
●
Separate the file extension only with a decimal point
●
Enter the file extension ".SPF" if the current default program type is MPF (main program) and you desire to create a
subprogram
●
Enter the file extension ".MPF" if the current default program type is SPF (subprogram) and you desire to create a main
program
●
Do not enter the file extension if you desire to take the current default program type
●
Avoid using special characters for program names.
Example
WORKPIECE527
8.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 following table shows you an example of the NC program structure.
Block
Word
Word
Word
...
; Comment
Block
N10
G0
X20
...
; First block
Block
N20
G2
Z37
...
; Second block
Block
N30
G91
...
...
; ...
Block
N40
...
...
...
Block
N50
M2
; End of program