Example 2: Nc Program For Turning - Siemens Sinumerik 840D sl Programming Manual

Fundamentals
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Procedure
1. Create a new part program (name)
2. Edit the part program
3. Select the part program
4. Activate single block
5. Start the part program
References:
Operating Manual for the existing user interface
Note
In order that the program can run on the machine, the machine data must have been set
appropriately (→ machine manufacturer!).
Note
Alarms can occur during program verification. These alarms have to be reset first.
Program example 1
Program code
N10
N20 F200 S900 T1 D2 M3
N30 G0 X100 Y100
N40 G1 X150
N50 Y120
N60 X100
N70 Y100
N80 G0 X0 Y0
N100 M30
4.4.2

Example 2: NC program for turning

Program example 2 is intended for the machining of a workpiece on a lathe. It contains radius
programming and tool radius compensation.
Note
In order that the program can run on the machine, the machine data must have been set
appropriately (→ machine manufacturer!).
Fundamentals
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
MSG("THIS IS MY NC PROGRAM")
Creating an NC program
4.4 Program examples
Comment
; Message "THIS IS MY NC PROGRAM" dis-
played in the alarm line.
; Feedrate, spindle, tool, tool off-
set, spindle clockwise.
; Approach position in rapid traverse.
; Rectangle with feedrate, straight
line in X.
; Straight line in Y.
; Straight line in X.
; Straight line in Y.
; Retraction in rapid traverse.
; End of block.
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents