Code APSH-165: Invalid Studgun Selection
Issue Description & Safety Warning
The Fanuc R-30i Series Robot Controller has triggered a critical Invalid Studgun Selection alarm. Immediate attention from a qualified operator or maintenance technician is required to prevent secondary damage to the equipment or spoiled parts during the manufacturing cycle. Always ensure standard safety and LOTO procedures are followed before accessing electrical cabinets.
Official Troubleshooting Steps
Cause: There I/O configuration for the proper studwelding gun has not been initialized. Remedy: Proceed to the Spot Equipment I/O setup screen and configure the digital inputs Gun Present = On/Off, Gun in Nest = On/Off for the 2 stud guns. Proper configuration if gun 1 is on the robot is for Gun 1 (Gun Present = ON, Gun in Nest = OFF and for Gun 2 (Gun Present = OFF, Gun in Nest = ON. Proper configuration if gun 2 is on the robot is for Gun 1 (Gun Present = OFF, Gun in Nest = ON and for Gun 2 (Gun Present = ON, Gun in Nest = OFF.
Source: FANUC Robot R-30iA Alarm Code List Operator's Manual
Last reviewed: 2026-07-01 · Verified against the manufacturer’s official documentation.
About Fanuc R-30i Series Robot Controller Alarms
Fanuc controllers include extensive self-diagnostics that flag or halt the machine when a fault is detected. Error code APSH-165 on the R-30i Series Robot Controller identifies one specific fault condition — its documented cause and the official corrective steps are listed above, sourced from Fanuc's service documentation. Always confirm against the manual for your exact machine configuration and follow LOTO procedures before servicing.
Complete Alarm List: 6553 Fanuc R-30i Series Robot Controller codes.
Have a better solution?
Help the industrial community by sharing your repair experience for code APSH-165.
Need a searchable reference for more Fanuc R-30i Series Robot Controller manuals?
We structure equipment manuals into searchable code, title, cause, solution, safety note, and source-reference data. Send a PDF and example searched codes when you need public pages, private search, or structured exports.
Space reserved for Google AdSense / Industrial Affiliate Links
Monetization target for 2026