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

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

Advertisement

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
...
2.3.4

Program examples

2.3.4.1

Example 1: First programming steps

Program example 1 is to be used to perform and test the first programming steps.
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
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, ...
Fundamentals
2.3 Creating an NC program
53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents