When enabling the teach pendant during auto mode, the robot faults and pauses the program. The user wants the robot to automatically abort and restart the main …
When enabling the teach pendant during auto mode, the robot faults and pauses the program. The user wants the robot to automatically abort and restart the main $SHELL_WRK.$CUST_NAME program without PLC intervention.
By default, a TP-enabled-in-auto fault pauses the current program (SYS-045). The program stays in a paused state requiring explicit abort from PLC or pendant. There is no built-in "auto abort on any fault" global setting.
MENU → SYSTEM → CONFIG → Error Table
Change the severity of "TP Enabled in AUTO Mode" (Syst-045) from Pause to Abort. This makes the robot abort the running program instead of pausing it.
/PROG BG_ABORT
-- Background logic program:
IF (DI[abort_signal] OR $SHELL_WRK.$PROGRAM_STATE <> 1) THEN
ABORT
-- Wait for abort to complete
WAIT $SHELL_WRK.$PROGRAM_STATE = 0
-- Restart main program
RUN $SHELL_WRK.$CUST_NAME
ENDIFThe PLC sends ABORT via UOP when it detects a fault:
grep -i fanuc lessons/contrib/fanuc-*.md 2>/dev/null | wc -l
echo FANUC verifiedExpected Output:
# (count)
FANUC verifiedExpert warnings from the community: