FANUC codes
FANUCProgram/G-codeBasic10 minutes

PS034

Fanuc Alarm PS034 - Tool Compensation Not Started

ONLY G00/G01 ALLOWED IN STUP/EXT BLK

Fanuc alarm PS034: ONLY G00/G01 ALLOWED IN STUP/EXT BLK. The part program or machine configuration has an error related to this alarm condition. Review the block indicated in the alarm screen and correct the command per the Fanuc programming manual.

Root Cause Summary

PS034 occurs when G40 (tool radius compensation cancel) is commanded in the program without a prior G41 or G42 compensation activation command. The Fanuc control detects an attempt to cancel a compensation mode that was never initiated, creating a logical programming error that prevents execution.

Safety

  • Verify tool path before running

Causes and Fixes

  1. 1

    Review the active program at the alarm stop point. Press RESET, then navigate to EDIT mode and search backwards from the current line for G40, G41, or G42 commands to verify sequence.

  2. 2

    Check if program restart or block skip functions bypassed the initial G41/G42 activation. Verify parameter 3402#3 (RST) restart method and ensure compensation start blocks were not skipped.

  3. 3

    If using subprograms (M98/M99), verify that G41/G42 is called in the main program before the subprogram containing G40. Compensation cannot start in one program level and cancel in another without proper sequencing.

  4. 4

    Correct the program by either removing the unnecessary G40 command or adding the appropriate G41/G42 activation command with valid D-code offset before the G40 cancel line.

Service Recommended confidence

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.