Siemens Sinumerik Milling Programming Example

A very simple cnc milling program example which will show cnc machinists the use of Siemens Sinumerik milling programming concepts.
This program is written for 4-axis cnc mill, where C is used for rotary table.
But a simple cnc mill can also run this program just remove program block N15

Sinumerik Milling Program

Sinumerik Mill Programming Example

Sinumerik Mill Programming Example

N5 G00 G54 G64 G90 G17 X-20 Y-20 Z50
N10 S450 M03 F250 D01 (12.5 MM DIA)
N15 C0
N20 Z5
N25 G01 Z0
N30 Z-5
N35 G42 X0 Y0
N40 X30
N45 Y30
N50 X0
N55 Y0
N60 G40 X-20 Y-20
N65 G00 Z50
N70 Y100
N75 M30

Finished Part

After the machining is complete, this finished part will look like this

Finished Part

Finished Part

Explanation of G-Code

G00 – Rapid traverse.
G54 – Zero Offset no 1.
G64 – Continuous-path mode.
G90 – Absolute dimensioning system.
G17 – X-Y plan selection.
G42 – Cutter radius compensation activation
G40 – Cutter radius compensation cancel
M03 – Cutter rotation clockwise
S – Spindle speed
F – Axis motion feed
D – Tool no