Close Menu
  • MAKİNELER ve İMALAT
    • Tools & Equipment
    • Computer-Aided Drawing
    • CAD/CAM Education
    • CNC Machine Programming
    • Casting Technologies
    • Electrical & Electronics Technologies
    • Hydraulics & Pneumatics
    • Manufacturing Processes
    • Manufacturing Technologies
    • Occupational Safety
    • Mold & Die Design
    • Solid Modeling
    • Welding Technology
    • Machine Elements
    • Mechanical Trade Drawing
    • Materials Science
    • Automotive & Vehicle Technologies
    • Robotics Technologies
    • Health Technologies
    • Defense & Aerospace Technologies
    • Descriptive Geometry
    • Technical Drawing
    • Software & Hardware Technologies
    • Innovative Manufacturing Methods
  • TEKNOLOJİ ve YAŞAM
    • OTOMOBİLLER ve TAŞIT
      • Vehicle & Engine Knowledge
      • Safe Driving
      • Sürüş Destek Sistemleri
    • Genel Kültür
      • Movies & TV Shows
      • Görsel ve Grafik Sanat
      • Books & Literature
      • Music
      • Sports
      • History
      • History of Technology
    • GÜNDELİK YAŞAM TEKNOLOJİLERİ
    • Hobbies & Entertainment
    • Internet Technologies
    • Health
    • Mobile Technologies
Makine Eğitimi
  • Machines & Manufacturing
    Machine Elements
    Hydraulics & Pneumatics
    Technical Drawing
    Computer-Aided Design & Manufacturing
    Basic Manufacturing Processes
    Manufacturing Processes
    Industry Technologies
    Other Technical Courses
    Motion & Power Transmission
    Simple Machines
    Chains & Sprockets
    Shafts & Journals
    Gears
    Cams
    Couplings
    Belts & Pulleys
    Springs
    Bearings
    Keys
    Fastening Joining
    Retaining Rings
    Screws, Bolts & Nuts
    Cotter Pins
    Flanges
    Welding
    Rivets
    Pins & Bolts
    Washers
    Calculators
    Gear Ratio Calculator
    Spring Constant Calculator
    Belt Pulley Ratio Calculator
    Other Machine Elements
    Slides & Linear Guides
    Brakes
    Flywheels
    Clamps
    Shock Absorbers
    Gaskets & O-Rings
    Seals & Sealing Elements
    Hydraulics
    Introduction to Hydraulics & Principles
    Hydraulic Systems & Applications
    Accumulators
    Filters
    Motors
    Pumps
    Valves
    Pneumatics
    Introduction to Pneumatics & Principles
    Pneumatic Systems & Applications
    Pneumatic Circuit Components
    Valves
    Cylinders
    Silencers
    Motors
    Compressors
    Dryers
    Conditioning Units
    Common Topics & Maintenance
    Hydraulic & Pneumatic Maintenance
    Study Notes, Exams & Tests
    Technical Drawing
    Introduction to Technical Drawing
    Geometric Drawings
    Perspective & Projection
    Orthographic Views
    Dimensioning
    Sectioning
    Assembly & Detail Drawings
    Tolerances
    Surface Finish Symbols
    Mechanical Engineering Drawing
    Screws, Bolts & Nuts
    Pulley Drawings
    Gear Drawings
    Shafts & Journals
    Bearing Drawings
    Pins & Bolts
    Spring Drawings
    Welds in Technical Drawing
    Washers
    Cotter Pins
    Technical Drawing Exercises
    Mechanical Drawing Exercises
    Gear Exercises
    View Extraction Exercises
    Pulley Exercises
    Pin & Bolt Exercises
    Threaded Fastening Exercises
    Descriptive Geometry
    Computer-Aided Drawing
    AutoCAD Drawing Lessons
    Solid Modeling & Animation
    Solid Model Drawing Files
    Solid Model Assembly Examples
    Solid Model Drawing Lessons
    3D CAD Software Reviews
    Solid Modeling Exercises
    CNC Programming
    CAM
    Measurement & Inspection
    Dial Indicators
    Calipers
    Gauges
    Micrometers
    Materials Science
    Steels
    Cast Iron
    Aluminum
    Plastics
    Material Testing & Hardness Measurement
    Occupational Safety
    Workshop Safety
    Safety When Working With Electricity
    Machine Safety Rules
    Hand Operations
    Filing
    Marking
    Cutting Operations
    Reaming
    Tapping
    Threading With a Die
    Drill Bit Sharpening
    Working With Machines
    Basic Turning Operations
    Basic Milling Operations
    Shaper Machine
    Machining
    Turning
    Milling
    Grinding
    Innovative Manufacturing Methods
    EDM (Electrical Discharge Machining)
    Laser Machining
    Waterjet Machining
    3D Printing
    3D Scanners
    Welding
    Rolling
    Casting
    Mold & Die Design
    Mechanical & Hydraulic Presses
    Blanking & Piercing Dies
    Bending Dies
    Drawing Dies
    Plastic Injection Molds
    Extrusion Dies
    Compound Dies
    Progressive Dies
    Blow Molds
    Spinning Dies
    Spray Molds
    Manufacturing of Machine Parts
    Automotive & Vehicle Technologies
    Motor Vehicle Manufacturing
    Raw Material Production
    History of Technology
    Health & Medical Technologies
    Defense & Aerospace
    Robotics Technologies
    Software & Hardware Technologies
    Mechanics - Strength of Materials
    Physics Topics
  • Technology & Life
    Hobbies & Entertainment
    Sports
    Music
    Vehicle & Engine Knowledge
    Vehicle Maintenance & Repair
    Safe Driving
    Driver Assistance Systems
    History
    Movies & TV Shows
    Books & Literature
    Computers & Internet
    Computer Tips
    Software Reviews
    Hardware & Peripherals
    Practical & Safe Internet Use
    Visual & Graphic Art
    Mobile Technologies
    Travel
    Science
    Health
    First Aid Knowledge
    Everyday Technologies
Makine Eğitimi
Home»CNC Machine Programming»G01 Code. Linear Motion with Cutting
30 August 2026Updated:3 September 2026

G01 Code. Linear Motion with Cutting

G01 Linear Motion with Cutting Cnc code

In the CNC Lessons section of our machine technology education area, we’ve devoted this article to the G01 code among the preparatory function codes. We’ll see what the G01 code is used for, and where it’s used. We’ll examine a sample use of the G01 CNC code.

  • G01 Code
    • How Is the G01 Code Used?
    • Sample Programming with the G01 Code
    • Related Document:
  • Related Questions

G01 Code

This is a linear interpolation command at the desired feed rate; it moves to the target point by the most direct path, in a straight line, at the feed rate defined by F. This command is used during cutting operations to remove chips from the part.

How Is the G01 Code Used?

G01 X….. Y….. F…..
X,Y = Coordinate values of the target point B F = Feed rate

In the example given to the side, the cutting tool is required to move to X=25 on the X axis and Z=-30 on the Z axis (it takes a minus sign if it’s to the left relative to the reference center).
The CNC code line that could be written for this is:
N1234 G01 X25. Z-30. F0.2

how is the g01 code used

Sample Programming with the G01 Code

N10 G50 S2000 T0100
    G96 S180 M03:
    G00 X70.5 Z5.0 T0101 M08:
    G01 Z-100.0 F0.25:
    G00 U2.0 Z0.5:
    G01 X-1.6 F0.23:
    G00 X65.0 W1.0:
    G01 Z-54.5 F0.25:
    G00 U2.0 Z1.0:
        X60.0:
    G01 Z-54.5:
    G00 U2.0 Z1.0:
        X55.0:
g01 sample programming
    G01 Z-30.0:
        X60.0 Z-54.5:
    G00 U2.0 Z1.0:
        X50.5:
    G01 Z-30.0:
        X60.3 Z-54.7:
        X72.0
    G00 X150.0 Z200.0 T0100:
        M01:
N20 G50 S2300 T0300:
    G96 S200 M03:
    G00 X55.0 Z5.0 T0303 M08:
        Z0:
G01 X-1.6 F0.2:
    G00 X46.0 Z3.0:
    G42 Z1.0:
    G01 X50.0 Z-1.0 F0.15:
        Z-30.0:
        X60.0 Z-55.0:
        X68.0:
        X70.0 W-1.0:
        Z-100.0:
    G40 U2.0 W1.0
    G00 X150.0 Z200.0 M09 T0300:
    M30:

In this example, you can also see the use of the G00 code we covered in the previous topic.


Related Document:

cnc-kodlari-ve-anlamlariDownload (Turkish document)

Linear Cutting Motion


The G01 code makes the tool on a CNC machine move along a straight line while cutting, at a specific feed rate.

Feed Rate Parameter


In the G01 command, the F parameter determines the feed rate at which the tool advances.

Difference from G00


While G01 moves the tool while cutting, the G00 command moves the tool for rapid positioning without cutting.

Related Questions

This code makes the tool move along a straight line at a specified feed rate. Since the tool needs to advance at a controlled, constant speed during cutting, this linear, speed-adjustable command is suited to cutting operations.

The F parameter determines how fast the tool will move during that motion. If this speed isn’t specified, the tool might move too fast and damage the material or the tool, or move at an unexpected speed.

Related Posts

G74 CNC drilling code cycle diagram G74 CNC Peck Drilling Cycle Explained G75 CNC grooving cycle diagram G75 CNC Grooving Cycle Code Explained How Is a Fanuc CNC Lathe Powered On Powering On a Fanuc CNC Lathe. How Is a CNC Lathe Powered On What the Keys on the CNC Milling Control Panel Mean What the Keys on the CNC Milling Control Panel Mean CNC G code list beginner guide CNC G Code List and Meanings (Beginner’s Guide) Cnc Freze Atölyesi çalışma talimatı CNC Milling Workshop Operating Instructions CNC Circular Motion Commands G02 and G03 Codes: Circular Motion Commands Mechanical Clamping Elements on Machine Tools Mechanical Clamping Elements on Machine Tools
Share. Facebook Twitter WhatsApp Tumblr Email Telegram Copy Link

Leave A Reply Cancel Reply

Nazi Germany’s Mega Structures – Super Tanks
What Is a Camshaft? What Does It Do? How Does It Work?
  • Contact
  • Terms of Service
  • Privacy & Cookie Policy

Type above and press Enter to search. Press Esc to cancel.