Program Examples; Example 1: First Programming Steps - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

3.4

Program examples

3.4.1

Example 1: First programming steps

Program example 1 is to be used to perform and test the first programming steps on the NC.
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
Fundamentals
Programming Manual, 09/2011, 6FC5398-1BP40-2BA0
MSG("THIS IS MY NC PROGRAM")
Creating an NC program
3.4 Program examples
Comment
; Message "THIS IS MY NC PROGRAM"
displayed in the alarm line
; Feedrate, spindle, tool, tool offset,
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
49

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents