Skip to main content
CNC.wikiCNC.wiki

General CNC Alarm Code Classification and Safety Approach

Learn to classify and clear safety alarms on Fanuc, Siemens, and Mitsubishi CNC controls. Discover critical boundary parameters to prevent tool crashes.

Hakan Gündoğdu
Hakan Gündoğdu

CNC CARE Co-founder

An operator standing at a CNC control panel notices the tool turret stop abruptly mid-motion just as the spindle begins to rotate. On a Fanuc control HMI, the display flashes the SV0414 digital servo alarm error, or the operator sees a strict mechanical lock-out when attempting to engage the tool nose with a rotating chuck, generating a severe alarm code that halts the axes and ruins the workpiece. In high-speed machining environments, a single miscalculated G-code syntax error, an unestablished machine zero, or a sudden control overheat—such as a Mitsubishi Z53 CNC overheat alarm when cabinet fans fail—will trigger automatic safety interlocks. These interlocks immediately cut power to the servo drives, engaging fast dynamic braking to prevent catastrophic physical tool crashes inside the enclosure.

Preventative boundary parameters and diagnostic alarm categorization networks are crucial for shielding machine components from structural damage and avoiding costly scrap parts. When an axis collides with a physical barrier like the tailstock or chuck, the control system must instantaneously execute an emergency halt. Understanding how Fanuc, Siemens, and Mitsubishi interpret, display, and respond to these errors is the key to minimizing down-time and safely jogging machine tools out of destructive interference zones.

Technical Summary

AttributeTechnical Details
Command CodesPS, SV, OT, PW (Fanuc) | NCK, SINAMICS, PLC, SETAL (Siemens) | M, S, Z, P, Y, T (Mitsubishi)
Modal Group / CategoryDiagnostics, Safety, and Recovery Procedures
Control Brands CoveredFanuc, Siemens, Mitsubishi
Critical ParametersFanuc Parameter No. 3410 (Arc tolerance), Siemens MD14516 (PLC alarm cancel criteria), Mitsubishi #1342 AlmDly (Alarm delay)
Primary Operational ConstraintSevere servo alarms require manual axis jogging in reverse after an NC reset or a full power cycle to safely clear mechanical barriers.

Quick Read

  • F-Code Verification: Always specify a non-zero feedrate (F-code) to prevent the system from throwing an immediate PS0011 (FEED ZERO) alarm prior to cutting.
  • Arc Tolerance Calibration: Adjust Fanuc Parameter No. 3410 to define the maximum permissible start-and-end radius discrepancy for circular interpolation.
  • Custom PLC Actions: Utilize Siemens Machine Data parameter MD14516 to dictate whether a user PLC fault triggers a read-in disable or a full emergency stop.
  • Interference Recovery: When a Mitsubishi M01 0008 chuck/tailstock barrier alarm triggers, perform an NC reset and jog the axis in the strict reverse direction.
  • Nuisance Alarm Masking: Use Mitsubishi parameter #1342 (AlmDly) to temporarily delay and filter minor transient alarm blips to prevent cycle interruptions.
  • Axis Compatibility: Verify axis compatibility before programming positioning commands like SPOS or WAITP to avoid triggering Siemens Alarm 14092.

Basic Concepts

Diagnostics and safety interlocks are critical in modern CNC environments. Proper parameterization of travel limits, physical barriers (such as chuck, tailstock, and tool post envelopes), and automatic alarm responses protect physical machine structures from catastrophic hard collisions and avoid generating scrap parts.

When programming and operating Fanuc CNC systems, programmers must remain highly vigilant regarding modal G-codes, syntax precision, and machine setup to prevent severe mechanical damage or scrapped parts. A highly common failure cause on the floor is the omission of proper feedrate commands; if an operator forgets to assign an F-code or sets it to zero, the control immediately throws a PS0011 alarm, halting the cycle before the tool engages the material.

Similarly, if the programmer calculates an arc improperly, causing the start and end radii to mismatch beyond the tolerance of parameter 3410, a PS0020 alarm protects the machine from carving an unintended spiral, thereby preventing a scrap part. Safe use also dictates careful tracking of machine references; if an operator starts an automatic cycle without first establishing the zero position, a PS0224 alarm immediately stops the machine, forcing the operator to perform a reference point return to guarantee that absolute coordinates align with reality.

Command Structure and Syntax

The command structure and safety interlock syntax differ greatly among Fanuc, Siemens, and Mitsubishi CNC controls. Each control manufacturer implements a distinct syntax architecture designed to communicate alarm conditions from either the part program, the Programmable Logic Controller (PLC), or the physical hardware drives. These structures allow the machine to halt operations immediately when a safety barrier is breached or a parameter limit is exceeded.

For example, Fanuc relies heavily on rigid, hardcoded prefixes that categorize errors directly on the screen, whereas Siemens permits dynamic code execution such as SETAL to raise customized software interlocks from within a cycle block. Mitsubishi bridges these methodologies by utilizing alphabetic-numeric categorization combined with physical LED indicators. These distinct syntax styles allow operators to quickly diagnose whether an issue is caused by a syntax error in the active block or a physical overtravel condition.

Syntax Patterns

  • Fanuc Alarm Syntax: Alarm Prefix + Numerical Code (e.g., PS0011, SV0401, OT0506, PW0000).
  • Siemens Alarm Syntax: <Alarm No.> <Location data> <Alarm text> (e.g., SETAL(65000, "Check chuck and turret")).
  • Mitsubishi Alarm Syntax: One-byte alphabetic character + numeric code (e.g., M01 0008, P280, Z53 0003).

Critical Control Parameters

Parameter NameControl BrandDescription and Settings
Parameter No. 3410FanucDefines the tolerance limit for start and end radius difference of an arc. Set as a resolution-dependent feed value.
Parameter No. 8900 Bit 0 (PWE)FanucParameter Write Enable switch. Set to 0 (Off) or 1 (On). Setting this to 1 triggers the SW0100 alarm state.
Parameter No. 1370 Bit 0 (TCTA)FanucChuck and tail stock barrier overtravel alarm specification. 0 for conventional alarms (OT0502/OT0503), 1 for new specifications (OT0520/OT0521).
MD14516 $MN_USER_DATA_PLC_ALARM[x]SiemensOEM/User PLC alarm response and cancel criterion (index x = 0 to 247). Bit-coded (Bit 0=NC start disable, Bit 2=Feed disable, Bit 3=EM stop).
MD11411 $MN_ENABLE_ALARM_MASKSiemensBit-mask to activate warnings and alarms normally suppressed by the system (Bit 6 = 1 outputs program start disable alarms).
MD13140 $MN_PROFIBUS_ALARM_ACCESSSiemensAlarm response of PROFIBUS/PROFINET drives on power up. 0 (immediate), 1 (not evaluated), 2 (evaluated after HMI ready).
#1342 AlmDlyMitsubishiAlarm display delay time to mask brief operation alarms. Range: -1 to 30000 ms. 0 is immediate; -1 prevents display.
#1471 mgralmstpMitsubishiEnable machine groupwise alarm stop. 0 to disable, 1 to enable. Separates independent systems to prevent all-system halts.
#11021 PLC mesg disp typeMitsubishiFormat of PLC alarm and operator message. 0 displays first 40 characters; 1 divides text longer than 40 chars into two lines.

Brand-Specific Alarm Classifications

Fanuc

Fanuc CNC systems isolate programming, servo, and overtravel errors through specific numeric prefixes. Modifying safety-critical boundaries, such as Parameter No. 1370 for chuck barriers or Parameter No. 3410 for circular radius limits, requires strict diagnostic protocols.

Standard coordinate definitions and dwell functions are established via G28 (reference return) and G04 (dwell) blocks to ensure axes are fully synchronized before automated machining begins.

CategoryDetails
AlarmsPS0011 (FEED ZERO), PS0020 (OVER TOLERANCE OF RADIUS), SW0100 (PARAMETER ENABLE SWITCH ON), OT0506 (HARD OVERTRAVEL), PW0000 (POWER MUST BE OFF)
ParametersNo. 3410 (radius tolerance), No. 8900 Bit 0 (PWE), No. 1370 Bit 0 (TCTA), No. 043 (maximum feedrate limit)
Version DifferencesM Series uses G94/G95 feedrates; T Series uses G98/G99 feedrates. Traditional βiSVSP amplifiers drop all axes ready status on any alarm; βiSVSP-B series isolates the fault to keep unaffected axes ready.

Warning: Activating Parameter Write Enable (PWE) intentionally locks the machine in an SW0100 active alarm state to prevent dangerous motion while critical settings are modified.

Siemens

Siemens Sinumerik controls manage safety-critical errors using dynamic machine data settings. Operators can adjust parameters such as MD14516 for PLC alarm responses or MD11411 for activating suppressed safety warnings.

Siemens programs execute safety blocks natively by utilizing command structures such as MSG to display active operator messages or SETAL to trigger customized PLC alarm sequences.

CategoryDetails
AlarmsAlarm 14092 (Axis is wrong axis type), Alarm 61801 (Wrong G code selected), Alarm 700017 (Operate chuck when running), Siemens 700000-series PLC safety alarms (PLC safety limits)
ParametersMD14516 $MN_USER_DATA_PLC_ALARM[x] (PLC cancel criteria), MD11411 $MN_ENABLE_ALARM_MASK (Alarm mask), MD13140 $MN_PROFIBUS_ALARM_ACCESS (PROFIBUS access)
Version DifferencesSW 4.7.1 and newer require deactivating compatibility mode and adding DB9913 for extended user alarms (701000-701999). 840D sl (<= SW 2.6 SP1) and 828D (<= SW 4.3) trigger Alarm 61264 differently than SW 2.7/SW 4.4+ due to mathematical updates.

Warning: Critical Siemens faults trigger a hard 'NC not ready' state that removes all controller enables and engages fast mechanical braking; clearing this requires a hard power cycle or dynamic PLC reset.

Mitsubishi

Mitsubishi CNC platforms govern physical protection envelopes through special parameters. Engineers adjust parameter #1342 to delay operation message displays, and parameter #1471 to isolate independent machine group operations.

High-speed machining cycles and tool center path definitions are activated using commands like G05 and repetitive cycles like G71 to guarantee geometric accuracy.

CategoryDetails
AlarmsM01 0008 (Chuck/tailstock stroke end ax), P280 (Brackets nesting over), Z53 0003 (CNC overheat), M01 0151 (Command axis chopping axis), P436 (M-code with G29 conflict)
Parameters#1342 AlmDly (Alarm delay), #1471 mgralmstp (Group alarm stop), #11021 PLC mesg disp type (PLC message format), #1264 set36 bit3 (Overvoltage switch)
Version DifferencesM700V/M70V/E70/C70 series natively support PLC signal measurement and high-cycle sampling, whereas older M700/M70 controls do not. M800VS and M80V show different visual 7-segment LED feedback when clearing SRAM.

Warning: When an overtemperature alarm occurs on a Mitsubishi system, the internal temperature has exceeded 80°C; immediately check the electrical cabinet cooling fans to prevent hardware degradation.

Comparative Analysis of Control Systems

FeatureFanucSiemensMitsubishi
Alarm Categorization & PrefixesStrictly prefix-based (PS for program syntax, SV for servo, OT for overtravel, PW for power cycle)Regimented numerical ranges (0-19999 NCK, 60000-69999 cycles, 200000-299999 SINAMICS, 700000+ OEM PLC)Classified by a one-byte alphabetic character combined with a numeric code (e.g. M, S, Z, P, Y, T)
HMI/Hardware IndicatorsStandard screen error messagesEmbedded real-time variables (%d, %x, %b) in the alarm string for HMI displayTransition flashing sequence on physical 7-segment LED display mounted on control/drive unit
Alarm display mask/delay— (no source)— (no source)Parameter #1342 AlmDly allows masking minor operation alarms for a specified millisecond duration
Machine Group-Based Alarm Stop— (no source)— (no source)Parameter #1471 mgralmstp enables machine groupwise alarm stop, preventing all-system halts for independent systems
Volatile Configurations LockoutActivating Parameter Write Enable switch (PWE) intentionally triggers SW0100 active alarm stateMD parameters like MD14516 let HMI/PLC customize OEM user alarm responses granularly— (no source)

In-Depth Technical Comparison

Analytically, the differences in diagnostic behaviors between these three major control brands dictate distinct troubleshooting workflows on the shop floor. Fanuc's design relies on a rigid lock-out and prefix categorization architecture. The separation of alarm types by rigid prefix (PS for program syntax, SV for servo, OT for overtravel) gives immediate diagnostic context to the operator, allowing them to know instantly whether to inspect the G-code block or examine the motor power cables. Additionally, Fanuc utilizes a strict lock-out protocol for modifying core machine behavior; enabling parameter write capabilities intentionally forces the machine into an active SW0100 alarm state, preventing operators from running the machine while settings are vulnerable. Critical parameter changes then require a full manual reboot, triggering a PW0000 (POWER MUST BE OFF) alarm to ensure configurations load securely on startup.

In contrast, Siemens Sinumerik distinguishes itself through a segmented response mechanism and a massive, strictly regimented numerical categorization structure (such as 0-19999 for NCK channel/axis faults, 60000-69999 for Siemens/User cycles, 200000-299999 for SINAMICS hardware drives, and 700000+ for OEM PLC interlocks). This allows maintenance staff to instantly identify the origin of the fault without consulting a manual. Siemens also embeds dynamic, real-time processor and memory variables directly into the alarm strings using placeholders (%d for decimals, %x for hex codes, %b for binary). This presents deep diagnostic context directly on the HMI, tracking exact logic gates or array indices without requiring external PC monitoring software. Additionally, Siemens allows vast customization of the alarm logic itself through Machine Data parameters like MD14516, which enables the machine builder to individually map whether a specific user fault executes a minor read-in disable, triggers a full emergency stop, or simply writes a silent background log entry.

Mitsubishi occupies a unique operational space by incorporating local hardware-level indicators and time-based alarm masks. Mitsubishi utilizes a dedicated 7-segment LED hardware display physically mounted on the control or drive units, which flashes specific transition sequences (such as blinking three times before sequentially displaying "Z53", "00", "03") to instantly broadcast diagnostic codes without requiring the operator to navigate the main NC screen. Second, Mitsubishi features a highly unique "Alarm Display Delay" function governed by parameter #1342 AlmDly; this allows the system to temporarily mask minor operation alarms (like brief sensor blips or interlock trips) for a specified millisecond duration, displaying a harmless "T11 0010" stop code instead to prevent nuisance alarms from aborting the cycle prematurely. Finally, Mitsubishi deeply integrates "Machine Group-Based Alarm Stop" parameters (like #1471 mgralmstp), which granularly divorce machine faults. If a severe alarm occurs on the main spindle, this architecture ensures that a secondary independent mechanism in a different machine group—such as a PLC-controlled gantry loader—can continue its motion and safely retract, whereas traditional CNC platforms would force a rigid, all-system emergency halt.

Program Examples and Syntax Validations

The following example codes demonstrate how each brand structures motion paths or raises customized safety checks to protect the machine from a hard crash.

Fanuc Program Example

G28 X0. Y0. Z0. ;
G02 X50.0 Y50.0 R25.0 F100.0 ;
G04 X2.0 ;

Fanuc Dry Run Validation

During a dry run, the operator must verify that the start and end coordinates of the arc conform precisely to the radius value R25.0. If the mathematical discrepancy exceeds the value in Parameter No. 3410, the control will halt instantly at the start of the block with a PS0020 alarm before axis movement commences. Additionally, if the feedrate F100.0 is omitted or evaluated as zero, the program triggers a PS0011 alarm, disabling cycle start to prevent tool breakage against the workpiece.

Siemens Program Example

MSG("Machining paused", 1) ;
SETAL(65000, "Check chuck and turret") ;
STOPRE ;

Siemens Dry Run Validation

In dry run simulation, the MSG command displays the designated warning text directly in the HMI status bar to notify the operator of a planned pause. The SETAL command immediately generates active alarm number 65000 with the text "Check chuck and turret". This forces the channel into a halted state, and the STOPRE command acts as a pre-processing memory barrier, preventing the control from reading ahead until the operator manually confirms the physical check and clears the alarm condition via the reset or PLC interface.

Mitsubishi Program Example

G28 X0 Y0 ;
G05 P10000 ;
G71 P100 Q200 U0.4 W0.2 D2.0 F0.2 S1200 T0101 ;

Mitsubishi Dry Run Validation

During dry run testing of the Mitsubishi block, G28 establishes the physical machine reference position. Setting high-speed machining mode G05 P10000 activates internal acceleration curves. When executing the repetitive roughing cycle G71, the operator must verify that no square brackets are nested beyond five levels (which triggers a P280 nesting error) and that no R or A addresses are improperly used in the block (which triggers a P32 address error), ensuring the spindle tool profiles correctly without stalling the axis drives.

Error Analysis and Diagnostic Matrix

BrandAlarm CodeTrigger ConditionOperator SymptomRoot Cause / Fix
FanucPS0011Cutting feedrate commanded by F-code is evaluated as zero or extremely small for rigid tapping.Cycle start is disabled; the spindle does not engage and the machine freezes.Correct the F-code in the G-code program or check the maximum feedrate parameter limits.
FanucPS0020Start and end radii mismatch in circular interpolation (G02/G03) exceeds the value in Parameter No. 3410.Axes stop immediately at the beginning of the arc block; HMI flashes PS0020 error.Verify arc calculations, start/end coordinates, and center point definitions in the macro or program.
FanucSW0100Parameter Write Enable (PWE) parameter No. 8900 Bit 0 is set to 1.Active yellow alarm light flashes; machine is locked out from automatic execution mode.Set PWE back to 0 after finishing parameter maintenance to restore normal production.
SiemensAlarm 14092Command applied to incompatible axis type (e.g. WAITP on non-positioning axis, or POS/POSA on spindle).The program stops executing, and a channel-specific axis error is displayed.Program the correct axis command, such as using SPOS for spindle positioning.
SiemensAlarm 61801Impermissible numerical value programmed during standard cycle call or wrong G-code system.The active cycle call fails, stopping the tool path and displaying Alarm 61801.Correct the cycle parameters or configure the correct G-code system in the cycle setting data.
SiemensAlarm 700017User PLC alarm triggered when chuck operation is attempted during active machining.PLC safety interlock engages immediately, halting automated spindle and axis movements.Restrict chuck open/close operations to spindle stopped and program idle states.
MitsubishiM01 0008Chuck/tailstock barrier protection function is ON, and axis travels into prohibited stroke end state.Spindle and axes halt instantly near the workholder chuck or tailstock envelope.Perform an NC reset and manually jog the axis in the strict reverse direction to clear the interference.
MitsubishiP280Square brackets [ or ] are nested or used more than five times in a single programmed block.HMI displays P280 program block error; cycle is prevented from launching.Restructure macro mathematical expressions to limit bracket nesting to under 5 levels.
MitsubishiZ53 0003Internal temperature of the control unit rises above the safe threshold (e.g. 80°C).Cabinet LED display flashes transition sequence "Z53" -> "00" -> "03" and control halts.Check electrical cabinet filters, fans, and cooling; allow the control unit to cool down.

Professional Field Application Notes

Spindle rotation continues even when a PLC error erroneously stops the drilling axis during a tapping cycle, resulting in a severe mismatch that can instantly snap the tap and ruin a high-value workpiece. To prevent this mechanical disaster, operators running Siemens controls must verify that the compensating chuck is configured to absorb small rotational discrepancies. If the PLC registers Alarm 22200, the axis feed halts while the spindle continues spinning under inertia, stressing the physical tap. Operators must actively monitor the spindle load meter and ensure that mechanical interlocks on the turret, such as Alarm 700022 for turret motor overload, are properly configured to trigger a hardware-level feed disable to freeze all coordinated movements before tools crash.

Related CNC Command Network

  • G28 (Reference Position Return): Synchronizes physical machine coordinates and clears absolute positioning errors before running automatic cycles.
  • G05 (High-Speed Machining Mode): Activates advanced acceleration profiles in Mitsubishi controls to optimize tool paths while monitoring servo load.
  • SETAL (Set Cycle Alarm): Triggers user-defined software interlocks from within Siemens cycle blocks to enforce safety checks.
  • G22/G23 (Stroke Check Barrier ON/OFF): Manages software-defined safety envelopes in Mitsubishi systems to prevent tools from entering chuck and tailstock zones.
  • STOPRE (Stop Pre-processing): Halts block look-ahead in Siemens controls, forcing the system to resolve active safety queries before proceeding with motion.

Practical Recovery Guidelines

Successful recovery from safety interlocks on the shop floor requires a systematic diagnostic approach rather than random button-pressing. Operators must inspect the specific alarm prefix or LED code sequence to differentiate between minor syntax errors and critical servo overtravel faults. Once the nature of the interlock is identified, applying the precise reset procedure—whether performing a strict reverse manual jog for barrier clearances, cycling control power for Parameter Write Enable changes, or executing PLC-level bit acknowledgments—restores machine readiness safely. Maintaining clean cabinet filters and validating mathematical arc limits prior to running blocks ensures continuous, collision-free production.

Frequently Asked Questions

How do you recover from a Fanuc SW0100 alarm?

A Fanuc SW0100 alarm indicates that the Parameter Write Enable (PWE) switch is set to 1. To resolve this, operators must navigate to the setting screen, change the PWE value in parameter 8900 Bit 0 back to 0, and perform an NC reset to clear the active safety interlock and resume normal machining mode.

What causes a Siemens Alarm 14092 during programming?

Siemens Alarm 14092 occurs when an axis command is directed at an incompatible axis type, such as attempting a spindle positioning POS command instead of SPOS. The programmer must edit the program block, ensure the axis designations are correct, and use STOPRE barriers to verify axis readiness during dry runs.

How do you clear a Mitsubishi M01 0008 stroke end alarm?

The M01 0008 alarm indicates that the chuck or tailstock barrier protection has been breached. Operators should avoid forcing the machine forward; instead, press the NC reset key, switch the control to manual jog mode, and jog the axis in the strict reverse direction away from the prohibited barrier zone.

Still not resolved?

Ask our AI assistant about this topic in natural language. Grounded in verified sources, no hallucinations.

Ask AI Assistant
Hakan Gündoğdu
Hakan Gündoğdu
  • 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