Skip to content
CNC Programming Hub
  • Home
  • Beginner Guides
  • G-Code & M-Code
  • machine-specific
  • Tutorials
  • Resources & Libraries
CNC Programming Hub
  • CNC Alarms

    Fanuc Alarm 137: M-CODE & MOVE CMD IN SAME BLK

    ByCNC Hub Team January 30, 2026January 30, 2026

    Fanuc Alarm 137: M-CODE & MOVE CMD IN SAME BLK Fanus Control Model: 0 (0-M, 0-T, 0-i) Description An M-code (which is a machine function such as spindle on/off or coolant control) and a ‘Move Command’ (such as X, Y, or Z axis movement) have been combined in a way that is prohibited by Fanuc…

    Read More Fanuc Alarm 137: M-CODE & MOVE CMD IN SAME BLKContinue

  • CNC Alarms

    Fanuc Alarm 14: ILLEGAL LEAD COMMAND

    ByCNC Hub Team January 29, 2026January 29, 2026

    Fanuc Alarm 14: ILLEGAL LEAD COMMAND Fanuc Series 0i (0i-TC, 0i-TD, 0i-TF) Fanuc Series 16i / 18i / 21i Fanuc Series 30i / 31i / 32i Description The wrong feed rate and lead limit of the (Threading) process is higher or lower than the limit set in the program, or there is an error in…

    Read More Fanuc Alarm 14: ILLEGAL LEAD COMMANDContinue

  • CNC Alarms

    Fanuc Alarm 3: Too Many Digits Error

    ByCNC Hub Team January 28, 2026January 28, 2026

    Fanuc Alarm 3: Too Many Digits Error Fanus Control Model: Fanuc 0i, 16i/18i, and 21i/31i , 30i/31i/32i/0i-MODEL B Description Entering more digits than allowed in a program. Using non-standard digits in a G-code command for an X, Y, Z position or a speed value. This error usually indicates human error or a problem with the…

    Read More Fanuc Alarm 3: Too Many Digits ErrorContinue

  • CNC Alarms

    Fanuc Alarm PS017 ILLEGAL MODE FOR GOTO/WHILE/DO

    ByCNC Hub Team January 28, 2026January 28, 2026

    Fanuc Alarm PS017 ILLEGAL MODE FOR GOTO/WHILE/DO Fanus Control Model: 10/11/12/15/15i Description This alarm appears when the control system has difficulty executing these macro statements such as GOTO, WHILE, or DO. Does your CNC controller accept these specific commands or is there a fundamental error in the program logic that violates the prevailing rules of…

    Read More Fanuc Alarm PS017 ILLEGAL MODE FOR GOTO/WHILE/DOContinue

  • How to Make a CNC Program | Beginner CNC Programming Guide
    Beginner Guides

    How to Make a CNC Program | Beginner CNC Programming Guide

    ByCNC Hub Team January 26, 2026February 13, 2026

    Before you start writing a CNC program, it’s essential to understand your machine. First, identify the type of CNC machine you are using, such as a milling machine, lathe, or router. Next, take note of the axes it operates on—most machines have three axes (X, Y, Z), though some may have more. Finally, know the…

    Read More How to Make a CNC Program | Beginner CNC Programming GuideContinue

  • CNC G-Code G00 — Rapid Traverse
    Beginner Guides

    CNC G-Code G00 — Rapid Traverse

    ByCNC Hub Team January 26, 2026January 26, 2026

    What is G00? G00 is a rapid positioning command used in CNC programming. It tells the CNC machine to move the tool quickly from one position to another without performing any cutting operation. The main purpose of G00 is to save time by allowing the tool to travel at the machine’s maximum speed when it…

    Read More CNC G-Code G00 — Rapid TraverseContinue

  • CNC Alarms

    Fanuc CNC Alarm SV040 – Overload

    ByCNC Hub Team January 25, 2026January 25, 2026

    The Fanuc SV040 alarm is a servo-related error that indicates a N-th Axis Overload. This means the CNC system has detected that the motor is drawing too much current or is working too hard to maintain its position or movement, potentially leading to overheating. Common Causes The SV040 alarm can be triggered by either mechanical…

    Read More Fanuc CNC Alarm SV040 – OverloadContinue

  • CNC Alarms

    Fanuc CNC Alarm 402 Cause and Fix

    ByCNC Hub Team January 24, 2026January 24, 2026

    A Fanuc Alarm 402 is a common but critical error that indicates a Servo Alarm: SV Overload. Essentially, the CNC controller has detected that the electrical current being drawn by a specific axis motor is exceeding its rated capacity for too long. The system triggers this alarm as a protective measure to prevent the motor…

    Read More Fanuc CNC Alarm 402 Cause and FixContinue

  • CNC Alarms

    FANUC 401 Spindle Alarm

    ByCNC Hub Team January 23, 2026January 23, 2026

    In the world of CNC machining, encountering a FANUC 401 Alarm can bring production to a grinding halt. This specific error is one of the most common—yet occasionally frustrating—faults found in FANUC Alpha and Beta series drive systems. Specifically, the 401 alarm stands for “V-Ready Off.” In simpler terms, the CNC control is expecting the…

    Read More FANUC 401 Spindle AlarmContinue

  • CNC Program for Rectangular Pocket Milling
    Tutorials

    CNC Program for Rectangular Pocket Milling

    ByCNC Hub Team January 22, 2026January 22, 2026

    Writing a CNC program for a rectangular pocket involves defining the toolpath to clear material from the inside of a boundary to a specific depth. Below is a standard G-code program using Absolute Programming (G90) and a Linear Interpolation strategy. For a rectangular pocket, the most efficient method is a Ramp or Spiral entry followed…

    Read More CNC Program for Rectangular Pocket MillingContinue

Page navigation

Previous PagePrevious 1 … 6 7 8 9 10 … 12 Next PageNext
  • About Us – CNC Programming Hub
  • Contact Us
  • Privacy Policy

© 2026 CNC Programming Hub

  • Home
  • Beginner Guides
  • G-Code & M-Code
  • machine-specific
  • Tutorials
  • Resources & Libraries
Search