Skip to content
Industrial Error Code Fixes
Go back

Fanuc P/S Alarm Program and Syntax Codes

⚡ Quick Answer

Fanuc P/S alarm guide for program syntax errors, alarm numbers, faulted blocks, G-code mistakes, macro issues, and safe edit checks.

⚡ AT A GLANCEScroll down for full repair guide
What it meansFanuc P/S alarm guide for program syntax errors, alarm numbers, faulted blocks, G-code mistakes, macro issues, and safe edit checks.
Most likely causeMost CNC faults come from servo load, spindle load, cabinet cooling, drive power, encoder feedback, or parameter conditions. Start with the lowest-risk checks before replacing parts.
First checkConfirm the exact alarm text, check cabinet cooling and obvious axis or spindle load, then follow the model-specific checks below.
⏱Repair time10-45 minutes for basic checks
🔧Part neededFanuc Operator's Manual (your control series)
Repair intent

Need this fixed instead of diagnosed?

Fanuc P/S alarm guide for program syntax errors, alarm numbers, faulted blocks, G-code mistakes, macro issues, and safe edit checks.

Parts to price first

Check the part before you book service.

Fanuc P/S Alarm — What It Means

Fanuc P/S alarms (Program/Syntax alarms) are the most common alarm type encountered by CNC operators and programmers. A P/S alarm means the Fanuc CNC control has detected something in the part program that it cannot execute — a G or M code it doesn’t recognize, a missing required word, a value outside the machine’s operating range, or a format the control doesn’t support. The machine stops motion immediately at the faulted block.

P/S alarms always include a three-digit number after them (e.g., P/S ALARM 010, P/S ALARM 050, P/S ALARM 085). That number is critical — it identifies the specific type of syntax error and tells you exactly where to look in the program. The alarm display on the MDI panel shows the alarm number, and the cursor in the program editor typically positions itself near the offending block.

P/S alarms appear on all Fanuc control series: 0i, 16i/18i, 21i, 30i/31i/32i, and the newer 0i-F and 30i-B platforms. The alarm numbers and descriptions are consistent across series but a few codes are series-specific — always verify against the alarm list in your control’s Operator’s Manual.

Jump to Fix

Common P/S Alarm Numbers and What They Mean

P/S NumberMeaning
P/S 000Please turn off power (parameter change requires restart)
P/S 001TH parity error (program tape/transfer issue)
P/S 003Too many digits in an address word
P/S 005No program number, or program format invalid
P/S 010Improper G code (G code not available on this control)
P/S 011Feed rate not specified (F word missing in a cutting block)
P/S 050T code exceeds range
P/S 070Program memory full
P/S 085Communication error (MDI or RS-232 data transfer)
P/S 086DR signal off during DNC operation
P/S 101Please clear memory

Common Causes

Step-by-Step Fix

  1. Read the full P/S alarm number — Look at the alarm display on the MDI panel. Note the exact three-digit P/S number. Look up that specific number in your Fanuc Operator’s Manual (the alarm list is in the Appendix). The manual description will tell you exactly what type of error the control found.

  2. Locate the faulted block in the program — Press RESET to clear the alarm, then switch to EDIT mode. Navigate to the program. The cursor should be near the faulted block. If it isn’t, use the program’s O (operation search) or sequence number to find the last block that ran before the alarm. The fault is almost always in the next block.

  3. Read the faulted block carefully — Check each word in the block:

    • Is the G code valid for this control and this motion type?
    • Is an F (feedrate) word present if the block involves cutting motion?
    • Are coordinate values reasonable for the machine’s stroke?
    • Are decimal points present (or absent) as required by the control’s input format?
    • For canned cycles, are all required arguments (R, Z, Q) present and in the correct format?
  4. Fix the program in EDIT mode — Position the cursor at the bad word. Use the ALTER, INSERT, or DELETE softkeys to correct the error. After editing, verify the surrounding blocks haven’t been accidentally modified.

  5. Check the control’s decimal point mode — In MDI mode, look at Parameter 3401, Bit 0 (DPI). If DPI = 1, the control uses decimal point programming (1.0 = 1mm or 1 inch). If DPI = 0, the control uses no-decimal-point input (1 = 0.001mm or 0.0001 inch). A mismatch between program format and control setting causes all coordinate values to be misinterpreted. Consult the parameter manual before changing this — it affects all programs in memory.

  6. If the alarm appears in a previously working program — First verify no edits were made accidentally. Then check the program memory checksum (if your control supports it). If memory corruption is suspected, delete the program, reload it from the CAM system or DNC, and test.

  7. Reset and dry-run the corrected program — After corrections, use the SINGLE BLOCK and DRY RUN modes to step through the previously faulted section one block at a time. Confirm the corrected block executes without alarm before returning to full-speed production mode.

Parts You May Need

PartNotes
Fanuc Operator’s Manual (your series)Amazon — The alarm list appendix is essential; buy the manual for your specific control series (0i, 16i, 30i)
Fanuc Programming ManualAmazon — Covers correct G/M code syntax, canned cycle formats, and macro B programming
Compact flash card (memory backup)Amazon — Use to back up all programs after fixes; a CF card backup prevents total loss from memory corruption

Need replacement parts? Search for parts and tools on Amazon.

When to Call a Technician

P/S alarms are programming and format issues, not hardware faults — a qualified CNC programmer or applications engineer should audit the program if the alarm persists after correcting apparent syntax errors. If P/S alarms appear in previously working programs without any edits, check for a failing SRAM battery (the battery that maintains program memory when power is off) or a failing compact flash card. A Fanuc service technician can perform a memory diagnostic and battery replacement.

Quick FAQ

What does a Fanuc P/S alarm mean?

A P/S (Program/Syntax) alarm means the Fanuc CNC control detected something in the part program it cannot execute, such as an unsupported G or M code, a missing required word, or an out-of-range value. The machine stops motion at the faulted block.

What does Fanuc P/S 010 mean?

P/S 010 means the program used an improper G code that is not available on this control, usually because the option for that canned cycle or function was not purchased.

What does Fanuc P/S 011 mean?

P/S 011 means a cutting block (G01/G02/G03) is missing the required F feedrate word. Add the feedrate to the block and re-run in single block mode to confirm the fix.

Why does a Fanuc P/S alarm appear in a program that worked before?

Check for accidental edits first, then check the program memory checksum if supported. Recurring P/S alarms in a previously working program can point to a failing SRAM battery or a failing compact flash card, both of which corrupt stored program data.


Share this post on:

Previous Post
Fanuc Alarm 750 — Causes & Fix
Next Post
Mazak Nexus Series Error Codes: Complete Guide