Machining.Blog® is a weekly blog focused on manufacturing career development. It features blog articles on the fundamentals of manufacturing for aspiring machinists. Our goal is to create an interest in manufacturing in the USA. Our writer Matthew Schowalter has worked in manufacturing for 24 years, and he covers the topics that matter to someone starting their career in manufacturing.

Machining Blog logo BLUE 600x300 LLC.jpg

“The soft skills the machinist uses are the unseen tools in their box and can directly impact the success or failure of a dreamed after machining career.”

CNC Programming Basics
  • Each program has a program number, that should be different from other program numbers

  • Each line of code in a CNC program is called a “Block”. It contains G and M codes in it.

  • The block cannot have two M-codes in it

  • The ending of a Block has a End-of-Block symbol and it is a semi-colon. (Example: G1X.5; )

  • The last programmed feed rate is the one that will be used on G1 lines of code

  • Any code inside ( ) does not get read by the CNC controller, thus they can be notes for the operator


The Order of a CNC Program

  1. The Program Number

  2. A Tool Change Call

  3. Define a Tool Length Offset Number

  4. Define a Work Coordinate System Number

  5. Tool Path Code

  6. Axis Zero Return

  7. End of the Program

Three Key Machining Skills That Will Set You Apart

Three Key Machining Skills That Will Set You Apart

Growing the Lathe Department

Growing the Lathe Department