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

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

Advertisement

Creating an NC program

4.4 Program examples

Program header for turning
The following example shows the typical structure of an NC program header for turning:
Program code
N10 G0 G153 X200 Z500 T0 D0
N20 T5
N30 D1
N40 G96 S300 LIMS=3000 M4 M8
N50 DIAMON
N60 G54 G18 G0 X82 Z0.2
...
Program header for milling
The following example shows the typical structure of an NC program header for milling:
Program code
N10 T="SF12"
N20 M6
N30 D1
N40 G54 G17
N50 G0 X0 Y0 Z2 S2000 M3 M8
...
If tool orientation / coordinate transformation is being used, any transformations still active
should be deleted at the start of the program:
Program code
N10 CYCLE800()
N20 TRAFOOF
...
4.4
Program examples
4.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.
44
Comment
; Retract toolholder before tool turret is ro-
tated.
; Swing in tool 5.
; Activate cutting edge data set of the tool.
; Constant cutting rate (Vc) = 300 m/min, speed
limitation = 3000 rpm, direction of rotation
counterclockwise, cooling on.
; X axis will be programmed in the diameter.
; Call zero offset and working plane, approach
starting position.
Comment
; Alternative: T123
; Trigger tool change.
; Activate cutting edge data set of the tool.
; Zero offset and working plane.
; Approach to the workpiece, spindle and cool-
ant on.
Comment
; Resetting of the swiveled plane
; Resetting of TRAORI, TRANSMIT, TRACYL, ...
Programming Manual, 01/2015, 6FC5398-1BP40-5BA2
Fundamentals

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents