Fanuc 0i Error Code 126

Fanuc CNC Minor P/S Alarm

Model: FANUC Series 0i / 0i Mate | Code: 126

Applicable Systems
Series 0i Series 16/18/21 Alpha Beta

Symptoms

The DO loop number n is outside the valid range (1 to 3).

Possible Causes

  • The DO statement specifies a nesting level number outside 1-3.
  • Incorrect nesting level in the WHILE statement.

Troubleshooting Steps

  1. Step 1: Check the DO level number in the macro.
    Invalid level identified.
  2. Step 2: Use a DO level between 1 and 3.
    Macro loop executes at the correct level.

How to Reset

Correct the DO level and reset to clear the alarm.

Source: Fanuc 0i/0iMate Alarm Code List, FANUC Corporation

Category: CNC