SIE02 ENG cover
SIE02 ENG cover

Basic milling programming in G-codes

0 (0)


The SIEMENS 840D Basic Milling Course covers in great depth the basic concepts of milling in SIEMENS 840D G-Codes (ISO). The SIEMENS 840D milling course starts with a description of the main functions needed to start a program, covers contour programming, label repeats, main fixed cycles, and ends with coordinate transformation functions to perform translations and rotations on the coordinate system.

95€ (VAT excluded)

Course description

The SIEMENS 840D G-code Milling course covers in great depth the basic concepts of milling in SIEMENS 840D G-codes (ISO). The SIEMENS 840D milling course starts with a description of the main functions needed to start a program with the respective basic syntax rules of SIEMENS programming. It will provide the basics of programming contours starting with tool radius compensation, geometric functions for chamfers and rounds and ending with circular interpolation with circle center and helical interpolation.

Through labels you will learn methods for managing multiple passes and sharing contours in both roughing and finishing. In the basic SIEMENS programming course, the main fixed cycles will also be seen applied to real machining operations. Finally, the course will end with coordinate transformation functions (TRANS, ROT, MIRROR and SCALE) to perform coordinate system translations and rotations.

The course is packed with insights, tutorials and small handbooks associated with the main functions. Ideal for those who are approaching SIEMENS programming for the first time and also useful for those who already program but have never taken a SIEMENS milling programming course.


  • Minimum knowledge of SIEMENS 840D numerical control or have taken the “Operating on Siemens 840D” course.
  • Minimum knowledge of technical drawing.
  • Minimum knowledge of tools and milling operations.

Frequently asked questions

  • What topics are covered?

    • All basic SIEMENS milling programming topics are covered. Starting with basic functions, to contour programming functions, label repeats, fixed cycles, and coordinate transformation functions.
  • Who is it addressed to?

    • The course is basic so it is definitely suitable for those who are new to programming. It is an indispensable basis for beginning SIEMENS programming. It can also be useful for those who already program SIEMENS but have never taken training courses.
  • For which version of SIEMENS control?

    • The course is suitable for all versions of SIEMENS 840D, both from the earliest versions to the latest. The main differences between very old and recent versions are mostly in the fixed cycles.
  • How is the course delivered?

    • Once you purchase the course you will immediately have available in your reserved area the lessons of the course to follow freely. Each lesson, in addition to a video part, is accompanied by an extensive in-depth discussion. The lessons will not have a deadline and the user will have unlimited access to the lesson material. The lessons will also have material for downloading: CN programs, drawings, handbooks, and tutorials.
  • Just theory or also practice?

    • In addition to addressing the topics in a theoretical way, the course also addresses the topics in a practical way by including numerous programming exercises. Some exercises will be carried out during the class while others to practice independently. The last exercises are taken from parts actually performed on the machine and accompanied by the video of the machining.
  • Can I practice with a simulator?

    • The first lesson provides all the information to download and install the SIEMENS simulator. This is a software made available free of charge by SIEMENS for training.
  • Will I get a certificate?

    • An attendance certificate will be available at the end of the class if the minimum score on the quizzes and tests is passed.
  • How long does it take to take the whole course?

    • The video part of the courses are more than 6 hours. Consider that the content is explained quite intensively so whole lessons or parts of them need to be viewed several times. The in-depth studies take another 4 hours to read and the exercises to be done take a total of at least 2 hours.
Read more

Basic milling programming in G-codes

Exercises performed

There are no exercises in this course.

Basic milling programming in G-codes



Download, install and configure SINUTRAIN

Course introduction and instructions for installing, downloading and configuring SINUTRAIN


G-codes compared with SHOPMILL programming

ISO programming and G-codes

ISO programming, G-codes, file names, program structure and subprograms

Program syntax

Siemens functions and ISO format functions, address sequence and block numbering

G functions

G functions, modal and non-modal, machine parameters for the RESET state definition

Working plane

Functions for defining the working plane G17, G18 and G19

Absolute and incremental coordinates

Absolute and incremental coordinates modal G90 and G91, and non-modal AC and IC

Work zero offset

Functions for defining the work zero offset

Programs syntax

MSG messages, comments, mathematical expressions, and syntax rules

Technological functions

D cutting edge definition, tool selection, and technology parameters.

Face milling

Blank definition and face milling exercise with step

Tool radius compensation

Tool radius compensation functions and RND and RNDM round function

Chamfer functions

CHF and CHR chamfer functions

Labels and repetitions

Labels, REPEAT function and pass management.

Circular interpolation with circle center

Circular interpolation with circle center and related conventions

Helical interpolation

Helical interpolation with TURN function and circular profile approach

Fixed cycles

Introduction to fixed cycles

Drilling fixed cycles

Coordinated management of fixed cycles and exercises on drilling fixed cycles.

Milling Cycles

Milling cycles and explanation of the face milling cycle

POCKET3 cycle

POCKET3: rectangular pocket milling cycle

POCKET4 cycle

POCKET4: circular pocket cycle

CYCLE86 – Boring

We carry out a CYCLE86 boring cycle


We carry out some slots programmed with the CYCLE899

Coordinate transformation functions

TRANS, ROT, MIRROR and SCALE coordinate transformation functions

Practical application

Final exercise on coordinate transformations.

The Teacher

Zanetti Paride developed his skills in CNC programming as a boy in his family’s mechanical workshop. After completing his university studies, and after some work experience as a CNC programmer, he started a small CNC programming and training company. He runs set-up courses for both lathes and boring and milling machines with FANUC, SIEMENS, FAGOR, SELCA and HEIDENHAIN controls. He currently collaborates on training and programming with a number of machine tool builders including PAMA, GORATU, COLGAR, LAGUN, FAGIMA, CAMU and various dealers. He has numerous training experiences both in Italy and abroad.

Basic milling programming in G-codes