CNC Programming Tutorials Examples G & M Codes

G & M Programming Tutorial Example Code for Beginner to Advance Level CNC Machinist.

Fanuc AC Spindle Drive Model A06B-6052-H002

Fanuc Spindle Alarm Codes

Fanuc spindle alarm codes and Fanuc Spindle Drive Faults. AC Spindle Drive Faults Alarm List for A06B-6052-Hxxx Alarm List for the following Drives: Model 1  A06B-6052-H001 Model 2  A06B-6052-H002 Model 3  A06B-6052-H003 Alarm #…

Quincunx a CNC Plasma Cutting Controller Program Example

Quincunx a CNC Plasma Cutting Controller Program Example

CNC program example to cut Quincunx on a CNC Plasma Cutting Controller. This program example is programmed in G91 Incremental programming. What is a CNC Plasma Cutting Machine Plasma Cutting…

G Code for CNC Dummies

G Code for CNC Dummies

Complete listings of G code for various cnc mill/lathe machine controls. G code of multiple cnc controls are described with articles and programming examples. CNC Machine G Codes CNC Machine…

wire edm machine

Wire EDM Programming Example

Complete cnc programming example for machinists who work on a Wire EDM machine (Electrical Discharge Machining) CNC Wire Cut Introduction Wire EDM cutting, also known as electrical discharge machining, is…

FANUC 18i-MB

Fanuc 16i 18i Alarm List

Fanuc 16i 18i Alarms Codes for CNC machinists. These Fanuc alarm code applies to following Fanuc CNC controls Fanuc 16i/18i Model A Fanuc 16i/18i Model B Fanuc 16iL Model A Fanuc…

Fanuc 21iMB

Fanuc 21i Alarm Codes

Fanuc 21i Alarm Codes for CNC machinists. Fanuc 21i Alarms Program errors (P/S alarm) Program errors /Alarms on program and operation (P/S alarm) 0 PLEASE TURN OFF POWER 1 TH…

Fanuc 21i Model A Alarm Codes

Fanuc 21i Model A Alarm Codes

Fanuc 21i Model A Alarm Codes for CNC machinists. Fanuc 21i Model A Alarms Program errors (P/S alarm) Program errors /Alarms on program and operation (P/S alarm) 0 PLEASE TURN OFF…

Okuma Mill OSP-P200M

Okuma Mill G and M Codes

Complete Okuma Mill G and M Codes list for cnc machinists who work on Okuma cnc milling machines. Okuma Mill G Codes G Code Description G00 Positioning G01 Linear interpolation…

Okuma CNC Lathe OSP-P200L

Okuma Lathe G and M Codes

Complete Okuma Lathe G and M Codes list for cnc machinists who work on Okuma cnc lathe machines. Okuma Lathe G Codes G Code Description G00 Positioning G01 Linear Interpolation…

Milling Arc using G2 I & J

Milling Arc using G2 I & J CNC Program Example

CNC Program example code with drawing to show how an arc can be milled on a cnc milling machine. G02 Circular interpolation Clockwise with I & J is used for…

Spindle Warm Up Program

All spindles, which have been idle for more than 4 days, must be thermally cycled prior to operation above 6,000 RPM. This will prevent possible overheating of the spindle due…

NUM 1060 CNC control

NUM CNC control Errors List – NUM 1020/1040/1060

Complete Error codes listing for NUM CNC controls NUM 1000/1020/1040/1050/1060 T and G NUM CNC control Errors Miscellaneous Errors and Machine Errors Error No. Meaning of the error 1 Unknown character…

Heidenhain TNC 320

Heidenhain M Codes

Heidenhain M Codes ( Miscellaneous functions) for Heidenhain TNC 640/530/410/426/430/320 Heidenhain M Codes M Code Description M0 Stop program run (Spindle STOP, Coolant OFF) M1 Optional program STOP (Spindle STOP, Coolant…

Heidenhain TNC 640 CNC

Heidenhain ISO G Codes

DIN/ISO Function Overview Heidenhain TNC 640/530/410/426/430/320 G Functions. Heidenhain ISO G Codes Tool movements G code Description G00 Straight-line interpolation, Cartesian coordinates, rapid traverse G01 Straight-line interpolation, Cartesian coordinates G02 Circular…

CNC Programming Basics – Tutorials with Example Program Code

Introduction to CNC Machine Introduction to cnc machine and cnc machine main parts, every cnc machine part is very briefly described, there is also an exercise which will test how…

Bridgeport CNC Milling Machine

Bridgeport G Code List – CNC Mill

Complete Bridgeport G code list for cnc machinists who work on cnc mill. Bridgeport Mill G Codes G code Description G00 Rapid traverse (Programmed feedrate remains in register) G01 Linear…

Fanuc G68 Coordinate Rotation - Subprogram Example

Fanuc G68 Coordinate Rotation – Subprogram Example

CNC program example code to show how Fanuc G68 Coordinate rotation g-code can be used in a subprogram to take most benefit from it’s functionality. G68 Coordinate Rotation Example Main-program N5…

CNC Machine G Codes and M Codes – CNC Milling and Lathe

Complete list of cnc machine G codes and M codes. This G code and M code list can be used as reference while programming or learning cnc machine programming. Complete…

Fanuc G71 Turning Cycl

Fanuc G71 Turning Cycle

Fanuc G71 Turning Cycle G71 turning cycle is used for rough-material removal from a cnc lathe component. G71 turning cycle makes large diameter cutting easy. Cutting can be done in simple…

Fanuc G04 Dwell

G04 dwell G-code halts/delays current operation for the specified time (seconds or milliseconds) but during this whole process only axis motions of cnc machine are stopped and spindle keeps rotating….

Fanuc G-Code List

CNC machines work by following the commands or instructions (G-codes / M-codes) which are given in Part Program. Here are G-codes for Fanuc cnc  control which are necessary for a…

Fanuc M-Code List

M-code are cnc program instructions which help cnc machinist/programmer to control cnc machine hardware like chuck, tailstock, quill, coolant. Here are listed M-code which are mostly used on cnc lathe/mill…

G81 drilling cycle working

Fanuc G81 Drilling Cycle

G81 drilling cycle is used for simple drilling/spot drilling operations. Syntax G81 X… Y… Z… R… K… F… Parameter Description X Hole position in x-axis. Y Hole position in y-axis. Z…

G82 drilling cycle working

Fanuc G82 Drilling Cycle

G82 drilling cycle is also called G82 counter boring cycle. G82 is a normal drilling cycle the only difference is that it dwell for specified time at the bottom of…

G83 peck drilling cycle working

Fanuc G83 Peck Drilling Cycle

G83 peck drilling cycle perform the drilling operation in multiple pecks, this technique makes deep-hole drilling easy and economical. Cutting feed is performed intermittently to the bottom of the hole…

G84 tapping cycle working

Fanuc G84 Tapping Cycle

G84 tapping cycle performs tapping operation, tapping is performed by rotating the spindle clockwise, when bottom of the hole has been reached, the spindle is rotated in the reverse direction for…

G85 boring cycle working

Fanuc G85 Boring Cycle

G85 boring cycle is used to bore a hole. Syntax G85 X… Y… Z… R… F… K… Parameter Description X Hole position in x-axis. Y Hole position in y-axis. Z…

G86 boring cycle working

Fanuc G86 Boring Cycle

G86 boring cycle is used to bore a hole. Syntax G86 X… Y… Z… R… F… K… Parameter Description X Hole position in x-axis. Y Hole position in y-axis. Z…

cnc lathe headstock

Identify CNC Lathe Parts

CNC lathe machine parts are very briefly with pictures are described earlier here CNC Lathe Introduction, Main Parts and their Functions So now it is time to test what you have…

cnc lathe headstock

CNC Lathe Main Parts

Physically CNC lathe machine is a simple lathe machine with CNC controls panel equipped with it. Internally all the functionality of cnc lathe machine it controlled through cnc control. You…

CNC lathe machine

What is CNC?

What is CNC? Nothing more than a simple Mill or Lathe with a computer control accompanied to control it’s working. Conventional Machines Conventional mill/lathe are controlled by machinists, machinists can…

Stroke limit check before move – Definition from CNC Dictionary

Stroke limit check performed before the movement specified in a block is started.

Stored stroke check – Definition from CNC Dictionary

Setting a forbidden area in the CNC for a tool, decelerating the tool to a stop, and issuing an alarm if the tool is about to enter the forbidden area.

Wear offset value – Definition from CNC Dictionary

The part of a tool offset value used to compensate for tool wear.