Fanuc Tool Life Management Parameters Configuration Guide
Learn to configure Fanuc tool life management parameters like 6800 and 6810. Prevent crash alarms 156 and 159 to enable unmanned, collision-free CNC machining.
Introduction
A primary failure cause on Fanuc CNC systems arises from confusion over parameter 6800#2 (LTM), which toggles the system between counting tool life by the number of machine uses or by actual cutting time. If a programmer specifies a life limit of L100 intending for 100 minutes of cutting, but the machine is parameterized to count 100 uses, the tool remains active long after the insert has dulled. A severely dull tool eventually shatters mid-cut, leading to uncommanded tool failure. When this happens, the machine blindly continues feeding the broken stump into the workpiece, generating massive uncompensated mechanical stress. This can violently drive the spindle or lathe turret directly into the chuck, a rigid vise jaw, or a secured workpiece clamp, guaranteeing a catastrophic hard collision and producing an immediate scrap part.
Technical Summary
| Specification Parameter | Technical Value / System Status |
|---|---|
| Command Code | G10 L3 / G11 |
| Modal Group | Non-modal (Group 00) |
| Brands | Fanuc |
| Critical Parameters | Parameter 6800#2 (LTM), Parameter 6810 (Ignore Number) |
| Main Constraint | Maximum capacity limits of 128 groups for T-series and 512 groups for M-series. Powering off during G10 L3 execution causes data corruption (Alarm 159). |
Quick Read
- Select Global Tracking Type: Toggle tool life tracking globally between count-based and time-based modes using parameter 6800#2 (LTM) to prevent premature tool breakage.
- Set Duration Increments: Configure parameter 6805#0 (FCO) to count tool duration in 1.0 or 0.1-second intervals.
- Register Tool Groups: Program group definitions, tool life limits, and assignments using G10 L3 data blocks and terminate the registration with G11.
- Assign Tools and Offsets: Define tool numbers along with H and D offset codes for machining centers (M-series) within the tool group block.
- Configure Ignore Thresholds: Setup parameter 6810 to automatically subtract a specified offset from high T-codes to deduce group numbers.
- Maintain Power Safety: Keep the CNC powered on during G10 L3 data entry programs to avoid data corruption and Alarm 159.
Basic Concepts
The practical programming effect of Fanuc's Tool Life Management function is the seamless enablement of unmanned, high-volume production. By establishing tool groups using G10 L3 blocks, a programmer can assign multiple identical, redundant cutters to a single P-group. The main CNC program then simply calls the group number rather than a specific tool pocket. As the machine cuts, the CNC automatically monitors the usage based on either cycle counts or cutting time. When the active tool reaches its predefined limit, the CNC flags the tool as exhausted by placing an asterisk (*) next to it on the data screen, ignores it, and autonomously indexes to the next fresh tool in the group during the next tool change command. This eliminates the need for an operator to manually inspect tool wear or constantly halt the machine to swap inserts, vastly increasing spindle uptime.
Safe use of this feature requires matching the G-code group definitions with the mechanical and software configurations of the machine. To prevent coordinate drift and preserve axis alignment during automated operations, operators should ensure all compensation parameters are calibrated. Detailed setup guidelines can be found in the Fanuc pitch error compensation and parameter 1851 backlash compensation reference files. Additionally, setting the G22/G23 stored stroke limit boundaries ensures that if a tool fails and drives the axis off-course, the CNC halts motion before a crash occurs.
Command Structure
Tool life data registration is initiated by commanding a G10 L3 block to open the registration mode on the CNC controller. This data configuration specifies the tool group, the tool life (either by execution count or cutting duration), and the specific tools assigned to that group.
Within the data block, the programmer defines the group numbers using address P, life limits using address L, and count types using address Q. Individual tools are then mapped under that group using standard T-codes. Registration is closed and saved by commanding G11 in a separate block.
G10 L3 [P_] ;
P_ L_ Q_ ;
T_ [H_] [D_] ;
G11 ;
dry run
To perform a dry run of the tool life registration, the operator executes the G10 L3 program with the spindle clear and axes retracted. The CNC processes the group definitions and tool assignments. The operator verifies that no alarm is triggered and that the tool life management registration page displays the configured group number and tool limits before G11 closes the data input mode.
| Address Code | Functional Description | Valid Ranges & Settings |
|---|---|---|
| G10 L3 | Open registration of tool life management data. | Omitting P registers new data; P1 changes existing; P2 deletes. |
| P | Tool group number. | Positive integer mapping to the group. |
| L | Predefined tool life limit. | Determined by use-count or minutes. |
| Q | Life count type specification. | Q1 (use-count) or Q2 (time-duration). |
| T | Tool number assignment. | Standard CNC tool code. |
| H | Tool length offset code. | M-series only; optional mapping. |
| D | Tool radius offset code. | M-series only; optional mapping. |
| G11 | Close registration mode. | Terminates the data entry block. |
Brand Applications
Fanuc
On Fanuc CNC systems, tool life data is registered programmatically via G10 L3 and closed via G11. The controller uses parameter 6800 and parameter 6801 to allocate groups and control screen display behavior.
The standard syntax uses G10 L3 to open registration, followed by P, L, and Q addresses to define the groups, T-codes to assign tools, and G11 to terminate the cycle.
| Category | Target Component / Condition | Parameter / Alarm Code / Version Limit |
|---|---|---|
| System Parameter | Maximum combination of tool life groups and tools per group | Parameter 6800#0 (GS1) & #1 (GS2) |
| System Parameter | Toggles tool life tracking globally between count-based and time-based | Parameter 6800#2 (LTM) |
| System Parameter | Asterisk display indicating exhausted tool life on screen | Parameter 6801#3 (EMD) |
| System Parameter | Time increment setting for duration tracking | Parameter 6805#0 (FCO) |
| System Parameter | Tool life management ignore number | Parameter 6810 |
| System Parameter | Remaining tool life (use count) | Parameter 6844 |
| System Parameter | Remaining tool life (use duration in minutes) | Parameter 6845 |
| Error Alarm | Format error when using invalid Q or P code in registration | Alarm 149 (FORMAT ERROR IN G10L3) |
| Error Alarm | No space for tool entry due to parameter group limits | Alarm 152 (NO SPACE FOR TOOL ENTRY) |
| Error Alarm | T-code missing in registration block or M06 execution | Alarm 153 (T-CODE NOT FOUND) |
| Error Alarm | Commanded T-code does not correspond to an active group during M06 | Alarm 155 (ILLEGAL T-CODE IN M06) |
| Error Alarm | Missing P and L commands at the beginning of registration | Alarm 156 (P/L COMMAND NOT FOUND) |
| Error Alarm | Power off occurred while G10 L3 data registration was executing | Alarm 159 (TOOL DATA SETTING INCOMPLETE) |
| M-Series Version Limit | Extended tracking groups and tools per group limit | Up to 512 groups (with 4 tools each) |
| T-Series Version Limit | Extended tracking groups and tools per group limit | Up to 128 groups (with 4 tools each) |
Warning: Operators must never cycle the machine's main power switch while a G10 L3 data setting program is actively running. Turning off the power corrupts the CNC's internal registers, throwing Alarm 159 and rendering the tool life database incomplete until the registration program is executed again from the beginning.
Version and Series Comparison
| Fanuc Control Series | System Architecture & Group Capacity | Offset Monitoring Behavior | Critical Control Parameters |
|---|---|---|---|
| Series 15i | M-series supports up to 512 groups (4 tools each); T-series supports up to 128 groups (4 tools each). | Actively monitors H and D offset assignments on machining centers; lathe wear managed via direct T-codes. | Parameters 6800 (GS1/GS2), 6805 (FCO), and 6810. |
| Series 16i / 18i / 21i | Machining Center (M-series) supports up to 512 groups; Lathe (T-series) supports up to 128 groups (with 4 tools each). | Throws Alarm 154 if offset H99 or D99 is commanded on M-series without a valid group assignment. | Parameters 6800#0, #1, #2 (LTM), and 6801#3 (EMD). |
| Series 0i (0i-TD / 0i-TF) | T-series lathes configuration is limited to 128 groups; M-series machining centers configure up to 512 groups. | T-series manages geometry and wear offsets directly using standard 4-digit T-codes instead of separate H and D codes. | Parameters 6810 (Ignore Number), 6844 (Remaining count), and 6845 (Remaining duration). |
Technical Analysis
An analytical breakdown of Fanuc's tool life management parameters reveals a high degree of granularity in tracking and hardware integration. The system differentiates between machining centers (M-series) and turning centers (T-series) at the architecture level. While M-series configurations support up to 512 groups with detailed monitoring of H and D tool offset codes, T-series configurations are limited to 128 groups and manage tool geometry and wear directly through standard 4-digit T-codes. This architectural limit requires careful consideration during program planning.
Fanuc's tracking precision is governed by parameter 6805#0 (FCO), which allows the CNC to track cutting duration in increments of 0.1 seconds rather than rounding to the nearest minute. This prevents the loss of crucial tracking data in rapid machining applications. Additionally, parameter 6810 allows standard tool calls to automatically resolve to their corresponding life group numbers by subtracting the configured value from the commanded T-code, bypassing the need for complex macro branching. The CNC's integration with the PMC through the TLCHB signal (enabled by parameter 6802#4 ARL) provides a hardware-level warning to external loading systems, preventing the interruption of automated cycles when the last tool in a group is exhausted.
Program Examples
G10 L3 ;
P1 L10 Q1 ;
T0101 ;
G11 ;
dry run
To dry run this program example, the operator loads the code with the spindle empty. Execution of G10 L3 places the controller in registration mode. Line P1 L10 Q1 configures tool group 1 with a life limit of 10 uses (Q1). The T0101 block assigns tool 1 to this group. Once G11 terminates the registration, the operator opens the tool life management screen to verify that Group 1 is active, contains tool 1, and shows a remaining life count of 10. The operator then simulates a machining cycle, observing that the use counter decrements with each tool call without triggering Alarm 156 or Alarm 153.
Error Analysis
| Alarm Code & Brand | Trigger Condition | Operator Symptom | Root Cause & Practical Resolution |
|---|---|---|---|
| Fanuc Alarm 149 FORMAT ERROR IN G10L3 | A code other than Q1, Q2, P1, or P2 is specified as the life count type during extended tool life management registration. | The CNC immediately halts program execution and displays the alarm code on the screen. | Correct the G10 L3 registration format; check the Q-address and ensure it is either Q1 or Q2. |
| Fanuc Alarm 152 NO SPACE FOR TOOL ENTRY | Attempting to register more tools in a group than allowed by configuration parameters 6800#0 and #1. | The program stops executing during data entry, throwing Alarm 152. | Reduce the number of tools assigned to the group or modify parameters 6800#0 and #1 to support larger groups. |
| Fanuc Alarm 153 T-CODE NOT FOUND | A tool life registration block lacks a T-code, or if tool change method D is used and M06 is specified without a T-code. | The controller halts execution, displaying Alarm 153 on the screen. | Ensure a valid T-code is specified in the registration block or during the tool change call. |
| Fanuc Alarm 155 ILLEGAL T-CODE IN M06 | Commanded T-code does not correspond to an active group during an M06 block. | The CNC freezes the cycle immediately before a tool change is completed. | Check T-code group assignments and verify that the tool called is mapped to a registered group. |
| Fanuc Alarm 156 P/L COMMAND NOT FOUND | The P and L commands are completely missing at the start of a tool group registration program. | The CNC throws Alarm 156 at the beginning of the G10 L3 registration block. | Add valid P and L commands to the beginning of the data registration program. |
| Fanuc Alarm 157 TOO MANY TOOL GROUPS | Attempting to register more tool groups than permitted by parameters 6800#0 and #1. | The CNC stops the program immediately, displaying Alarm 157. | Reduce the number of tool groups or increase limits via parameters 6800#0 and #1. |
| Fanuc Alarm 159 TOOL DATA SETTING INCOMPLETE | Machine power is turned off while G10 L3 data registration is executing. | On power-up, the tool life database is corrupted or incomplete, throwing Alarm 159. | Re-run the G10 L3 data registration program to restore data integrity. |
Application Note
An uncommanded tool failure can violently drive the spindle or lathe turret directly into the chuck, a rigid vise jaw, or a secured workpiece clamp, guaranteeing a catastrophic hard collision and producing an immediate scrap part. This physical hazard occurs when a programmer confuses parameter 6800#2 (LTM), which toggles the system between counting tool life by uses or by cutting minutes. For example, registering a tool life of L100 with the intention of 100 minutes of cutting duration on a machine parameterized for use-count causes the tool to remain active long after the insert has worn down. The severely dull tool shatters mid-cut, and the CNC continues feeding the broken cutter body into the raw workpiece. To prevent this, operators must verify that the Q-value registration is aligned with parameter 6800#2, while ensuring that the safety limits in parameter 6844 or 6845 are actively monitored.
Related Command Network
- M06 (Tool Change): Automatically indexes the spindle to the next fresh tool in the group once the active tool has expired.
- M99 (Subprogram End / Cycle Return): Can trigger an automatic tool change sequence at the end of a machining cycle via parameter 6802#0 if the active tool's life has been exhausted.
- G10 L3 (Data Setting Input): Initiates the tool life management registration mode, enabling programmatic entry of groups and limits.
- G11 (Data Setting Cancel): Terminates the G10 L3 data registration mode, saving the tool group definitions to the controller memory.
- G22 (Stored Stroke Limit): Restricts axis movement to protect machine components, workholding, and tooling from potential overruns in case of a tracking failure.
Conclusion
Careful alignment of Fanuc tool life parameters with G10 L3 registration blocks prevents premature tool breakage and mechanical collisions during unmanned production. Operators must verify that global tracking mode parameters and use-count limits are fully synchronized with physical tooling capacity before starting automatic cycles.
Frequently Asked Questions
What happens if the CNC power is turned off during G10 L3 registration?
Powering off the machine during data registration causes database corruption, throwing Alarm 159 (TOOL DATA SETTING INCOMPLETE) on next startup. Operators must execute the entire G10 L3 registration program again to restore database integrity and clear the alarm.
How does parameter 6810 simplify G-code programming for tool groups?
Parameter 6810 defines a tool group ignore threshold. The CNC subtracts this value from any commanded T-code to find the group number, allowing programmers to use standard tool calls and group calls interchangeably without creating complex macro subprograms.
Why did the CNC not switch to the next tool in the group after exhaustion?
This failure occurs when parameter 6800#2 is set to time duration (1) but the program registered the tool life using Q1 use-count, or vice versa, leaving the expired tool active. Programmers should check the tool life status screen for the asterisk (*) flag and confirm that the count type matches parameter 6800#2.
Still not resolved?
Ask our AI assistant about this topic in natural language. Grounded in verified sources, no hallucinations.

- CNC CARE Co-Founder (May 2025 - Present)
- Mitsubishi Electric NC Sales & Service Section Manager (2008 - 2025)
- Reis CNC Service Engineer (2003 - 2005)
- Ören Kalıp CNC Mold Line Team Leader (1999 - 2002)
With over 25 years of experience working in all areas of the CNC machine industry, I continue my activities as a co-founder of CNC CARE, where we offer brand-independent consulting, engineering, and original spare parts services.
Related Articles
Other articles on this topic
Fanuc PMC Ladder Loading Baud Rate (PCLDB): Setup & Alarms
Configure the Fanuc PMC Ladder Loading Baud Rate using parameter 0060#1 (PCLDB) and G10 L50. Troubleshoot ER17 and ER18 alarms to prevent machine crashes.
Fanuc Auto Backup Parameter (10340): Setup and Troubleshooting
Learn to configure Fanuc automatic data backup using parameter 10340. Prevent SRAM data loss, monitor ATBK signals, and resolve PS0519 alarms on Fanuc CNCs.
Enabling Fanuc 3D Interference Check: Parameters and Setup
Configure Fanuc 3D Interference Check parameters. Learn how to set parameter 10930#0, troubleshoot Alarm PS0492, and prevent crashes with iHMI solid models.
Configuring Fanuc Custom Macro Enable Parameters (0932 & 8135)
Learn how to configure Fanuc custom macro enable parameters 0932 and 8135, expand common variables, and resolve Alarm 123 on CNC controller boards.