Troubleshooting Fanuc Alarm 751 (SP9012): Spindle Sensor Disconnection and Magnetic Sensor Air Gap Setup
1. Understanding Fanuc Alarm 751 and Drive Fault AL-12 (SP9012)
When a Fanuc CNC screen (Series 0i, 16i/18i, 31i) trips with ALARM 751 FIRST SPINDLE DETECT ALARM, inspecting the 7-segment display on the Fanuc Spindle Amplifier Module (SPM or αiSP) will reveal code '12'. Alarm SP9012 (Spindle Sensor Disconnect) signifies that the spindle drive's internal signal processing ASIC stopped receiving feedback pulses from the motor encoder or external spindle pickup. The drive immediately trips to inhibit uncontrolled spindle runaway.
2. Spindle Feedback Architecture and Sensor Types
| Sensor Classification | Mounting Location | Drive Connector | Common Failure Modes |
|---|---|---|---|
| Motor Built-in Sensor (αi Sensor) | Rear bell housing of Spindle Motor | Connector JY2 | Coolant ingress into motor terminal box, vibration pin fatigue |
| External Magnetic Sensor (MZF Pickup) | Target gear ring mounted on machine spindle cartridge | Connector JY4 (via pre-amp module) | Air gap drift, ferromagnetic chip buildup on magnetic pole |
| Optical Rotary Encoder (BZ Sensor) | Belt-driven from main spindle shaft | Connector JY2 or JY4 | Timing belt tooth shearing, optical glass disc shatter from crash |
3. Step-by-Step Diagnostic Workflow
- Inspect Feedback Cable & JY2 Pinout: Power off the main isolator. Unplug drive connector JY2. Inspect for coolant contamination or recessed pins. Perform continuity and short-circuit testing on signal and shield lines.
- Measure MZF Magnetic Sensor Air Gap: Using brass or non-magnetic feeler gauges, measure the air gap between the pickup head and gear teeth. Maintain 0.15 mm ± 0.03 mm across 360° of spindle rotation.
- Decontaminate Ferrous Swarf: The magnetic pickup attracts microscopic metal particles, distorting the Sin/Cos differential voltage. Wipe clean with solvent and dry lint-free cloth.
- Oscilloscope Signal Verification: Probe differential Sin/Cos channels (PA/PB) while slowly rotating spindle by hand. Verify differential peak-to-peak amplitude reaches 1.5V - 2.5V AC without clipping.
4. Relevant Fanuc Spindle Parameter Configuration
// Key Fanuc 0i CNC Spindle Feedback Parameters:
- Parameter 4000 Bit 0 (SSG): Spindle gear speed characteristics
- Parameter 4002 Bit 0-3: Spindle Sensor Type (0000 = αi Sensor, 0001 = MZ Sensor, 0010 = BZ Sensor)
- Parameter 4010 Bit 0-2: Spindle gear ratio selection
- Parameter 4011: Spindle sensor tooth count (typically 128, 256, or 512 teeth)Warning: Sensor Orientation and Spindle Orientation (M19)
The MZF magnetic pickup head has an engraved direction arrow aligned with spindle rotation and zero-marker pulse polarity. Reversing sensor orientation during mechanical re-installation will invert feedback phase, causing Spindle Orientation (M19) failures and reversing synchronization during Rigid Tapping (G84), leading to instant tap breakage.