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 217: DUPLICATE G51.2 (COMMANDS)

    ByCNC Hub Team September 26, 2026September 26, 2026

    Fanuc Alarm 217: DUPLICATE G51.2 (COMMANDS) Fanuc Control Model: Fanuc Alarm 217: DUPLICATE G51.2 (COMMANDS) is specific to the T-series (Turning / Lathe controls). Fanuc Alarm Description T series G51.2/G251 is further commanded in the G51.2/G251 mode. Modify the program. Have you faced Fanuc Alarm 217 DUPLICATE G51.2 (COMMANDS) on your machine? Share your experience or…

    Read More Fanuc Alarm 217: DUPLICATE G51.2 (COMMANDS)Continue

  • CNC Alarms

    Fanuc Alarm 214: ILLEGAL COMMAND IN SYNCHRO–MODE

    ByCNC Hub Team September 26, 2026September 26, 2026

    Fanuc Alarm 214: ILLEGAL COMMAND IN SYNCHRO–MODE Fanuc Control Model: 16 / 18 / 21-Series, 16i/18i/21i and 30i/31i/32i series Fanuc Alarm Description Coordinate system is set or tool compensation of the shift type is executed in the synchronous control. Correct the program. Have you faced Fanuc Alarm 214 ILLEGAL COMMAND IN SYNCHRO–MODE on your machine? Share…

    Read More Fanuc Alarm 214: ILLEGAL COMMAND IN SYNCHRO–MODEContinue

  • CNC Alarms

    Fanuc Alarm 213: ILLEGAL COMMAND IN SYNCHRO–MODE

    ByCNC Hub Team September 26, 2026September 26, 2026

    Fanuc Alarm 213: ILLEGAL COMMAND IN SYNCHRO–MODE Fanuc Control Model: Series 0i / 0i-Mate,16 / 18 / 21-Series, 160i/180i/210i and 30i/31i/32i Fanuc Alarm Description Movement is commanded for the axis to be synchronously controlled. Any of the following alarms occurred in the operation with the simple synchronization control.;1) The program issued the move command to…

    Read More Fanuc Alarm 213: ILLEGAL COMMAND IN SYNCHRO–MODEContinue

  • CNC Alarms

    Fanuc Alarm 212: ILLEGAL PLANE SELECT

    ByCNC Hub Team September 26, 2026September 26, 2026

    Fanuc Alarm 212: ILLEGAL PLANE SELECT Fanuc Control Model: 16 / 18 / 21-Series, 16i/18i/21i and 30i/31i/32i series Fanuc Alarm Description M series The arbitrary angle chamfering or a corner R is commanded or the plane including an additional axis. Correct the program. Have you faced Fanuc Alarm 212 ILLEGAL PLANE SELECT on your machine? Share…

    Read More Fanuc Alarm 212: ILLEGAL PLANE SELECTContinue

  • CNC Alarms

    Fanuc Alarm 211: G31 (HIGH) NOT ALLOWED IN G99

    ByCNC Hub Team September 26, 2026September 26, 2026

    Fanuc Alarm 211: G31 (HIGH) NOT ALLOWED IN G99 Fanuc Control Model: This alarm typically applies to Fanuc Series 16, 18, 21 and their corresponding i-Series (such as 16i, 18i, 21i) Fanuc Alarm Description G31 is commanded in the per revolution command when the high– speed skip option is provided. Modify the program. Have you…

    Read More Fanuc Alarm 211: G31 (HIGH) NOT ALLOWED IN G99Continue

  • Fanuc G33 Thread Cutting on a CNC Mill
    Beginner Guides

    How to Program Fanuc G33 Thread Cutting on a CNC Mill

    ByCNC Hub Team September 24, 2026

    In Fanuc controllers, the G33 code is used for thread cutting. It is usually used more on CNC lathes, but in some special cases it can also be used on CNC mills. Syntax Z : The final depth coordinate of the thread. F : The lead/pitch of the thread.

    Read More How to Program Fanuc G33 Thread Cutting on a CNC MillContinue

  • CNC Alarms

    Fanuc Alarm 91: REFERENCE RETURN INCOMPLETE

    ByCNC Hub Team September 24, 2026

    Fanuc Alarm 91: REFERENCE RETURN INCOMPLETE Fanuc Control Model: Fanuc 0i-D/F, 16i/18i/21i and 30i/31i/32i series Fanuc Alarm Description In the automatic operation halt state, manual reference position return cannot be performed. Have you faced Fanuc Alarm 91 REFERENCE RETURN INCOMPLETE on your machine? Share your experience or troubleshooting tips in the comments below to help…

    Read More Fanuc Alarm 91: REFERENCE RETURN INCOMPLETEContinue

  • CNC Alarms

    Fanuc Alarm 92: AXES NOT ON THE REFERENCE POINT

    ByCNC Hub Team September 24, 2026

    Fanuc Alarm 92: AXES NOT ON THE REFERENCE POINT Fanuc Control Model: 16 / 18 / 21-Series, 16i/18i/21i and 30i/31i/32i series Fanuc Alarm Description The commanded axis by G27 (Reference position return check) did not return to the reference position. Have you faced Fanuc Alarm 92 AXES NOT ON THE REFERENCE POINT on your machine?…

    Read More Fanuc Alarm 92: AXES NOT ON THE REFERENCE POINTContinue

  • CNC Alarms

    Fanuc Alarm 94: P TYPE NOT ALLOWED (COORD CHG)

    ByCNC Hub Team September 24, 2026

    Fanuc Alarm 94: P TYPE NOT ALLOWED (COORD CHG) Fanuc Control Model: Fanuc 16 / 18 / 21, 16i/18i/21i, and 30i/31i/32i series Fanuc Alarm Description P type cannot be specified when the program is restarted. (After the automatic operation was interrupted, the coordinate system setting operation was performed.) Perform the correct operation according to the…

    Read More Fanuc Alarm 94: P TYPE NOT ALLOWED (COORD CHG)Continue

  • CNC Alarms

    Fanuc Alarm 95: P TYPE NOT ALLOWED (EXT OFS CHG)

    ByCNC Hub Team September 24, 2026

    Fanuc Alarm 95: P TYPE NOT ALLOWED (EXT OFS CHG) Fanuc Control Model: Series 0i (0i-A, 0i-B, 0i-C, 0i-D, 0i-F), 16 / 18 / 21 and their i-series variants (16i, 18i, 21i), 30i / 31i / 32i Fanuc Alarm Description P type cannot be specified when the program is restarted.(After the automatic operation was interrupted,…

    Read More Fanuc Alarm 95: P TYPE NOT ALLOWED (EXT OFS CHG)Continue

  • CNC Turning G02 & G03 Arc Programming Tutorial
    Tutorials

    CNC Turning G02 & G03 Arc Programming Tutorial & Code Example

    ByCNC Hub Team September 23, 2026September 24, 2026

    Simple and clean Example for circular interpolation using G02 (clockwise arc) and G03 (counter-clockwise arc) on a CNC turning. Programming Example (Turning Center)

    Read More CNC Turning G02 & G03 Arc Programming Tutorial & Code ExampleContinue

  • CNC Mill Programming: G41 & G40 Cutter Radius Compensation Example
    Beginner Guides

    CNC Mill Programming: G41 & G40 Cutter Radius Compensation Example

    ByCNC Hub Team September 23, 2026September 24, 2026

    Here is a complete, standard Fanuc-style CNC milling program example demonstrating the use of G41 (Cutter Radius Compensation Left) and G40 (Compensation Cancel). Simple CNC Mill Program Example This program mills the outside of a 50mm x 50mm square using a 10mm diameter end mill (Radius = 5mm). Program Overview Explanation of CNC G-Code O1001…

    Read More CNC Mill Programming: G41 & G40 Cutter Radius Compensation ExampleContinue

  • Beginner Guides

    Fanuc CNC Milling Program G91 G41 G43

    ByCNC Hub Team September 23, 2026

    Here is a simple example of how G91, G41 and G43 work together in a Fanuc-compatible CNC milling program. This is a standard Fanuc-style CNC milling program written in inches (G20) using absolute (G90) and incremental (G91) positioning modes. It performs a simple rectangular pocket or contour milling operation using cutter radius compensation (G41).

    Read More Fanuc CNC Milling Program G91 G41 G43Continue

  • CNC External Turning and Radius Programming Guide
    Beginner Guides | Tutorials

    CNC External Turning and Radius Programming Guide

    ByCNC Hub Team September 22, 2026September 24, 2026

    When we make a radius (R) on a corner or edge while cutting on the outside of a job, it is called Outside Turning with Radius. This process eliminates the sharp corners of the job. Example of a Simple CNC Program Description: Outside profile turning operation featuring straight cuts, an R8 mm fillet, and an…

    Read More CNC External Turning and Radius Programming GuideContinue

  • CNC Alarms | Uncategorized

    Fanuc Alarm 96: P TYPE NOT ALLOWED (WRK OFS CHG)

    ByCNC Hub Team September 22, 2026September 22, 2026

    Fanuc Alarm 96: P TYPE NOT ALLOWED (WRK OFS CHG) Fanuc Control Model: Series 16 / 18 / 21 and 16i / 18i / 21i, 160i / 180i / 210i, 0 / 0-Mate / 0i, 21 Model B, 30i / 31i / 32i Model A Fanuc Alarm Description P type cannot be specified when the…

    Read More Fanuc Alarm 96: P TYPE NOT ALLOWED (WRK OFS CHG)Continue

  • Uncategorized

    Fanuc Alarm 97: P TYPE NOT ALLOWED (AUTO EXEC)

    ByCNC Hub Team September 22, 2026

    Fanuc Alarm 97: P TYPE NOT ALLOWED (AUTO EXEC) Fanuc Control Model: Fanuc 0i-D/F, 16i/18i/21i, and 30i/31i/32i series Fanuc Alarm Description P type cannot be directed when the program is restarted.(After power ON, after emergency stop or P/S alarm 94 to 97 were reset, no automatic operation is performed).Perform automatic operation. Have you faced Fanuc…

    Read More Fanuc Alarm 97: P TYPE NOT ALLOWED (AUTO EXEC)Continue

  • CNC Alarms | Uncategorized

    Fanuc Alarm 98: G28 FOUND IN SEQUENCE RETURN

    ByCNC Hub Team September 22, 2026September 22, 2026

    Fanuc Alarm 98: G28 FOUND IN SEQUENCE RETURN Fanuc Control Model: Series 0i (Model B, C, D, F), 16i/18i/21i, and 30i/31i/32i series Fanuc Alarm Description A command of the program restart was specified without the reference position return operation after power ON or emergency stop, and G28 was found during search. Perform the reference position…

    Read More Fanuc Alarm 98: G28 FOUND IN SEQUENCE RETURNContinue

  • CNC Alarms | Uncategorized

    Fanuc Alarm 99: MDI EXEC NOT ALLOWED AFT.SEARCH

    ByCNC Hub Team September 22, 2026September 22, 2026

    Fanuc Alarm 99: MDI EXEC NOT ALLOWED AFT.SEARCH Fanuc Control Model: Series 0i (Model B, C, D, F), 16i / 18i / 21i, 30i / 31i / 32i Fanuc Alarm Description After completion of search in program restart, a move command is given with MDI. Move axis before a move command or don’t interrupt MDI…

    Read More Fanuc Alarm 99: MDI EXEC NOT ALLOWED AFT.SEARCHContinue

  • Beginner Guides

    How to Program a CNC Turning Center: Example & Explanation

    ByCNC Hub Team September 21, 2026

    This is a standard CNC G-code program (specifically for a CNC lathe using Fanuc or compatible controls) for turning a cylindrical part. Detailed explanation of the code O0001: This is the program name or number by which the machine recognizes it. G21: This means that all measurements will be in millimeters. G90: This activates the…

    Read More How to Program a CNC Turning Center: Example & ExplanationContinue

  • CNC G-Code Examples
    Uncategorized

    CNC G-Code Examples Every Beginner Must Know

    ByCNC Hub Team September 21, 2026September 24, 2026

    G-Code is essential for anyone starting out in CNC machining. G-Code is the language that tells the machine where to move, how fast to move, and what path to follow. Here are the foundational G-Code examples every beginner must know, covering standard motion commands and canned cycles. 1. Safe Startup and Initialization Block This is…

    Read More CNC G-Code Examples Every Beginner Must KnowContinue

Page navigation

Previous PagePrevious 1 … 11 12 13 14 15 … 20 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