FANUC robot won't run in auto: a checklist that finds the cause
The conditions a FANUC controller checks before a PLC or the operator panel can start a program, in the order we check them on a cell that runs in T1 but sits still in AUTO.
When a FANUC robot won’t run in auto, the robot is almost never broken. It runs fine in T1 from the teach pendant, then sits still when the key goes to AUTO and the PLC sends a start, because AUTO adds a set of conditions T1 never checks. The controller wants the pendant off, the system in remote, certain peripheral inputs on, a program selected the right way and a start signal it recognizes. This checklist follows FANUC’s own list for R-30iB and R-30iB Plus controllers. Menus can differ by software version, so your operator’s manual is the reference.
In short
Before anyone reaches into the cell to look at a sensor or a gate switch, lock it out per your plant’s procedure. Everything below is read from the pendant or the PLC.
Start with the alarm screen
Press MENU, select ALARM, and look at both the active list and the history. The first alarm after the stop usually names the cause, and the later ones are side effects. Press F5, DETAIL on a line for the detail text.
One alarm deserves a closer look. If the PLC sends a start and the controller posts SYST-011 Failed to run task, FANUC says to read the detail code in the alarm history, because that is where it says which condition stopped the start. A start that fails one of the production checks described below can also post SYST-079 Startup check failed. For codes you don’t recognize, our FANUC alarm codes guide covers how they are grouped.
Check 1: mode switch and teach pendant
| Check | What FANUC’s manual says |
|---|---|
| Mode switch in AUTO | In AUTO, a program can’t be started from the teach pendant at all. It starts from the operator panel or external devices |
| Pendant enable switch off | Turning the pendant on in AUTO stops the robot and posts SYST-045 TP enabled in AUTO mode. Switch it off and press RESET |
| Guard closed | In AUTO, opening the safety fence stops the robot immediately |
| Mode really is AUTO | FANUC’s checklist reads it from the operator panel inputs: in AUTO, SI[8] and SI[9] are both on (MENU, I/O, F1 TYPE, SOP) |
Changing modes with the deadman held causes an error, and the new mode isn’t set until the deadman is released. On controllers that select the mode from the pendant instead of a key switch, picking AUTO turns servo power off with SRVO-483 Input AUTO confirmation signal until the confirmation input, a switch outside the guarded space, goes from off to on.
Check 2: local or remote
The REMOTE signal, SI[2], decides who can start a program. In local mode the operator panel’s START button starts it. In remote mode peripheral I/O, usually a PLC, starts it. The setting lives on the System Config screen: press MENU, NEXT, SYSTEM, F1 TYPE and select Config.
- Remote/Local setup: Remote keeps SI[2] on all the time.
- Local keeps it off all the time.
- External I/O follows a signal you name on the next line, External I/O (ON: Remote), chosen from DI, DO, RI, RO, UI or UO.
When the remote conditions are all met, the controller turns on SO[0] REMOTE. That output is the fastest single check.
Check 3: the UOP inputs that have to be on
Four peripheral (UOP) inputs are normally on, and the robot won’t run in auto with any of them off. Watch them on MENU, I/O, F1 TYPE, UOP.
| Input | When it is off |
|---|---|
| UI[1] *IMSTP | Alarm, servo power off, robot stops immediately |
| UI[2] *HOLD | The robot decelerates and the program holds. UO[5] HELD comes on |
| UI[3] *SFSPD | The robot decelerates and stops, override drops to the value in $SCR.$FENCEOVRD, and the system can’t be in remote |
| UI[8] ENBL | No jogging and no program with motion can start. A running program halts |
If every UI shows off while the PLC is sending them, check Enable UI signals on the System Config screen. FANUC’s manual says that when it is FALSE, UI[1] to UI[18] are disabled.
When one of these inputs is off, the question is why: an e-stop or gate in the PLC’s logic, a broken wire, or a dropped EtherNet/IP connection. Fix it at the source. Never jumper or force them to get the robot moving. FANUC is explicit that *IMSTP and *SFSPD are software functions, and that emergency stops and guard switches belong on the controller’s hardwired or network safety inputs. Our guides to the *IMSTP alarm and the external emergency stop trace those circuits, and the UOP signals guide covers every UI and UO in detail.
Check 4: $RMT_MASTER
The remote conditions include the system variable $RMT_MASTER being 0, which means peripheral equipment is the remote device. FANUC lists 1 for CRT/KB, 2 for a host computer and 3 for no remote device. Check it under MENU, NEXT, SYSTEM, F1 TYPE, Variables. A value other than 0 is unusual, but it is a one-minute check and it stops every PLC start.
Check 5: CMDENBL and what it needs
UO[1] CMDENBL is the controller saying it will accept a start from outside. It is on when three things are true together:
- The remote conditions: pendant switch off, SI[2] REMOTE on, *SFSPD on, ENBL on,
$RMT_MASTER= 0. - The ready conditions: ENBL on, and servo power on with no alarm. UO[2] SYSRDY shows servo power.
- Continuous mode: single step off. The STEP lamp on the pendant must be dark. A program stepped through in T1 with STEP left on is an easy one to miss.
A PLC program should check CMDENBL before it sends a start, and show the operator which condition is missing when it isn’t on. FANUC’s restart sequence after a fault is RESET first, then wait for CMDENBL, then START.
Check 6: program selection and the start signal
CMDENBL on but nothing happens usually means the controller doesn’t know which program to run, or didn’t see the start. Program selection is set under MENU, SETUP, F1 TYPE, Prog Select.
| Method | How it selects | Gotcha |
|---|---|---|
| RSR | RSR1 to RSR8 select and start a program in one step | The program must be named RSR plus four digits, such as RSR0121, and each RSR must be enabled |
| PNS | PNS1 to PNS8 are read as a binary number when PNSTROBE comes on; PROD_START starts it | Named PNS plus four digits, such as PNS0138. The number is the input value plus the base number |
| STYLE | STYLE1 to STYLE8 pick a program from a table when START or PROD_START arrives | A paused program resumes on START only |
| OTHER | A program named in a system variable | FANUC says this is for special purposes |
After changing the program select mode, the controller has to be power-cycled before the change is accepted.
The start signals also have rules. PROD_START starts the selected program from line 1 on its falling edge. START resumes a paused program, and by default also starts the selected program from the cursor line. FANUC’s timing diagrams want the start held on for at least 100 ms before it drops, and a signal that is always on can’t be used. If START for CONTINUE only is TRUE on System Config, START only resumes paused programs. On controllers using the Simple UOP assignment there is no PROD_START, so that setting has to stay FALSE or the PLC can’t start anything.
Check 7: production checks on the Prog Select screen
The same screen holds checks that can refuse a start even with everything above in order:
- At home check: the robot has to be at a reference position marked as a valid HOME.
- Simulated I/O: start refused if any I/O is simulated.
- General override below 100% and Prog override below 100%.
- Machine lock and Single step.
- Resume position tolerance, set on its own Resume Tol. screen.
Each check can be set to prompt the operator or post an error, and most can be set to force their condition. Treat a refused start as information, not as a setting to switch off. If the simulated I/O check stops you, find out who simulated the signal and why, before unsimulating it. While you are in the test settings, look at MENU, TEST CYCLE too: with Digital/Analog I/O set to DISABLE, every signal is simulated and the robot ignores the PLC.
Check 8: it runs, but slowly
A robot that starts but crawls is usually being slowed on purpose. With *SFSPD off the override is capped. An external override selection, under MENU, SETUP, Ovrd Select, can hold the override at a set value and make the pendant’s override key ineffective. And T1 limits the tool to 250 mm/s however the program is written.
Check 9: Dual Check Safety
On a robot with DCS, a position, speed or safe I/O check that trips stops the robot with its own alarm, and that alarm is the place to start. Changed DCS settings only take effect once they are applied with the DCS code and the controller is power-cycled. FANUC’s manual shows one case, SYST-219 Need to apply DCS param after a password file is loaded, that stays posted until the apply is done. Our DCS guide explains what those settings do. Changing a DCS limit to get production running is changing a safety function, and it needs the same review as any other change to one.
When all of it checks out
If the robot side is in order, the problem is usually in the handshake with the PLC: a start sent before CMDENBL, a PNS number off by one bit, or a connection that drops when the robot powers up. Our EtherNet/IP guide covers the network side. We troubleshoot FANUC cells we didn’t build as well as our own, robot and PLC together. Call or text (818) 397-4809, or see our FANUC robot service page.
Common questions
- Why does my FANUC robot run in T1 but not in AUTO?
- Because AUTO adds conditions T1 doesn't have. In AUTO the teach pendant can't start a program at all. The start has to come from the operator panel in local mode or from a PLC in remote mode, and remote mode needs the pendant switched off, Remote/Local set to remote, *SFSPD and ENBL on and $RMT_MASTER at 0. A closed guard and a released pendant are also required.
- What does CMDENBL mean on a FANUC robot?
- CMDENBL is UO[1], the command enabled output. The controller turns it on when the remote conditions are met, the robot is ready to move with servo power on and no alarm, and single step is off. A PLC should check it before sending a start. If it is off, FANUC's own checklist is to look at SO[0] REMOTE, the pendant switch, SI[2], the mode switch, *SFSPD, ENBL, $RMT_MASTER, the FAULT outputs, SYSRDY and the STEP lamp.
- How do I switch a FANUC robot from local to remote?
- On the System Config screen, under MENU, NEXT, SYSTEM, F1 TYPE and Config, set Remote/Local setup to Remote, or to External I/O and name the input that selects remote. The setting drives the REMOTE signal SI[2]. Local mode means programs start from the operator panel; remote mode means they start from peripheral I/O such as a PLC.
- Can I jumper *IMSTP, *HOLD or *SFSPD to get the robot running?
- No. These inputs are part of how the cell stops the robot, and the guard, e-stop and PLC logic around them exist for a reason. If one is off, find the device or the PLC rung that turned it off and fix that. FANUC also points out that *IMSTP and *SFSPD are software functions, so real e-stops and guard circuits have to be wired to the controller's safety inputs, not to these signals.
- Why does my PNS program not start?
- Check the name first. A PNS program must be named PNS plus four digits, such as PNS0138, and the number is the PNS input value plus the base number. Then check that PNS is the selected program select mode and that the controller was power-cycled after the mode was changed. The PLC should wait for SNACK and compare the SNO outputs before it sends PROD_START, which acts on its falling edge.
Sources
- FANUC America: Robot support and manuals (R-30iB/R-30iB Plus Operator's Manual Basic Function B-83284EN/12: sections 3.3 Peripheral I/O, 3.8 Setting automatic operation, 3.15 System config menu, 5.2.2 Three-mode switch, 6.3 Testing, 14 Operation without mode switch; via the Customer Resource Center)
- FANUC America: EtherNet/IP and EtherNet/IP Safety for robot controllers (UOP signals over EtherNet/IP)
- OSHA 29 CFR 1910.147: The control of hazardous energy (lockout/tagout)
