FANUC SP9065 Alarm 65: Magnetic Pole Detection Error and Troubleshooting

FANUC SP9065 means that magnetic pole detection failed because the BiS synchronous spindle motor moved outside the expected range while the control was determining the rotor pole position. The CNC displays SP9065 or a serial spindle alarm, while the spindle amplifier displays alarm 65.

This alarm is associated with FANUC BiS Series synchronous spindle motors. FANUC's diagnostic procedure focuses on the magnetic pole detection parameters, motor power connection and phase order, freedom of motor movement, the motor sensor and its mechanical relationship to the rotor, and feedback signal noise.

Alarm item Display or condition Meaning
CNC alarm SP9065 / SERIAL SPINDLE ALARM The spindle system reported amplifier alarm 65
Spindle amplifier 65 Magnetic pole detection did not complete normally
Applicable motor BiS Series synchronous spindle motor Rotor pole position must be established before motor control
Detected condition Movement during pole detection was excessive or abnormal The calculated pole position could not be accepted
First checks Parameters, power leads, phase order, free movement, and feedback Follow the checks for the exact motor and machine

For the surrounding alarm numbers, see the FANUC Serial Spindle Alarm Codes SP9034-SP9092.

What Does FANUC SP9065 Mean?

A synchronous spindle motor requires the control to know the position of the rotor magnetic poles before normal drive control can begin. The procedure used to establish that position is called magnetic pole detection or pole position detection.

Alarm 65 is generated when this detection process is abnormal. In the SP9065 condition described by FANUC, the motor movement used for pole confirmation becomes too large or falls outside the expected detection behavior. The system therefore cannot safely establish a valid rotor pole position.

This does not automatically mean that the spindle amplifier is defective. Parameter errors, disconnected or incorrectly phased motor leads, a mechanically restrained spindle, excessive friction, a shifted sensor-to-rotor relationship, or feedback noise can all prevent correct pole detection.

Why Magnetic Pole Detection Is Required

Pole detection is required after power-on when valid pole position information is not available. It may also be required after an alarm or another event causes the stored pole position state to be lost.

Depending on the applicable FANUC configuration, pole detection can use a DC-current method or a minute-movement method. Both methods can produce physical motor movement. The spindle must therefore be able to move as required by the machine's pole detection sequence.

Do not leave a spindle rotation, orientation, or other motion command active while pole detection is incomplete. The machine sequence should wait for the applicable pole-position-established signal, commonly identified as EPFIXA = 1, before permitting normal spindle commands. Otherwise, a command can become effective immediately after detection and cause unexpected spindle motion.

1. Confirm SP9065 and Amplifier Alarm 65

Before changing parameters or wiring, confirm the exact alarm:

  • The CNC alarm screen shows SP9065 or identifies a serial spindle alarm associated with code 65.

  • The spindle amplifier status display shows 65.

  • The installed spindle motor is a FANUC BiS Series synchronous spindle motor or another configuration for which the applicable FANUC manual assigns alarm 65 to magnetic pole detection.

  • The alarm occurs during power-up, pole detection, spindle enable, or recovery after pole position information was lost.

Record the alarm screen before removing power. Also record:

  • Complete CNC series and model

  • Exact spindle amplifier model and every suffix

  • Exact spindle motor model and specification

  • Relevant spindle software series and edition

  • Whether the alarm began after motor, sensor, cable, amplifier, parameter, or mechanical work

  • Whether the machine is being commissioned or had operated normally before the fault

The timing of the first occurrence is important because it changes the most likely diagnostic path.

2. Use the Alarm History to Set the Diagnostic Priority

FANUC separates the likely causes into two practical groups.

When alarm 65 started Checks to prioritize
New installation, commissioning, motor replacement, amplifier replacement, cable work, or parameter restoration Motor-specific parameters, motor power connection, feedback connection, and phase-order relationship
Machine had operated normally and no configuration work was performed Mechanical restraint or increased friction, sensor or rotor shaft slip, loose sensor mounting, cable damage, shielding, grounding, and electrical noise
Alarm began immediately after a crash, spindle repair, belt or coupling work, or sensor work Mechanical freedom and the physical phase relationship between the sensor and rotor
Alarm is intermittent Feedback connector condition, cable movement, contamination, shielding, grounding, and nearby noise sources

A previously working machine can still have a parameter or wiring problem if someone recently restored a backup, replaced hardware, moved connectors, or changed the machine sequence. Do not rule out a configuration issue without checking the maintenance history.

3. Verify the Motor Sensor Teeth and Motor Pole Parameters

The pole detection calculation depends on exact motor and sensor data. Confirm the settings against the parameter table for the complete installed motor model, not against another machine that merely looks similar.

Parameter item FANUC parameter What to verify
Motor sensor tooth selection No.4011 bits 2, 1, and 0 Bit selection agrees with the installed motor sensor
Number of motor sensor teeth No.4334 Value matches the exact motor and sensor specification
Motor pole selection No.4011 bits 7 and 3 Bit selection agrees with the installed synchronous motor
Number of motor poles No.4368 Value matches the exact motor specification

Before making any change:

  1. Back up the current CNC and spindle parameters.

  2. Photograph or export the original values.

  3. Confirm the exact motor model, sensor type, and applicable FANUC parameter table.

  4. Compare both the bit parameters and the numerical parameters.

  5. Change only a value that can be proven incorrect.

Do not initialize the spindle parameters casually. A broad initialization can overwrite machine-builder settings and create additional spindle, orientation, or safety problems. If initialization is required after a component replacement, use the procedure and motor code specified for the exact machine configuration.

4. Understand FANUC Parameter No.4083 Before Adjusting It

Parameter No.4083 should not be treated simply as a generic “motor voltage parameter” in this alarm procedure. In the BiS magnetic pole detection settings described by FANUC, the parameter contains two separate fields:

No.4083 field Function during pole detection When it may matter
Upper three digits Activation current ratio for pole position detection The motor cannot move sufficiently because the activation current is too small relative to friction
Lower two digits Motor stop confirmation time The confirmation time is too short and vibration or incomplete settling causes incorrect pole recognition

If the spindle is mechanically free but does not make the expected detection movement, the activation current setting may require review. If vibration or residual motion prevents stable confirmation, the stop confirmation time may require review.

Parameter 4083 must be set from the applicable FANUC motor data and machine-builder procedure. Do not overwrite the complete value when only one field is under review, and do not copy a value from another motor. An incorrect activation current or confirmation time can produce unexpected motion or an incorrect pole position.

5. Confirm That the Spindle Can Move Freely

Magnetic pole detection cannot complete correctly if the motor is physically unable to make the required movement. With power isolated and according to the machine builder's mechanical procedure, check for:

  • An engaged spindle brake, clamp, locking pin, or external holding mechanism

  • An orientation mechanism that has not released

  • A seized bearing, damaged coupling, or abnormal belt or gear resistance

  • Tooling, transmission components, or machine mechanisms that restrain rotation

  • Increased friction after spindle, bearing, seal, or mechanical repair

  • A command sequence that energizes a lock before pole detection is complete

Do not force the spindle by hand against a brake or mechanical lock. Establish which mechanism is holding the spindle and correct the machine sequence or mechanical fault first.

If the motor can move but friction is higher than normal, resolve the mechanical cause before increasing the pole detection current. Raising the activation current to overcome an unknown mechanical restriction can conceal damage and create unsafe movement.

6. Inspect the Motor Power Leads and Magnetic Contactor

Alarm 65 can occur if the spindle motor power circuit is open or if the power phase relationship does not agree with the feedback phase relationship.

With all hazardous energy isolated and the DC link fully discharged:

  • Check that every motor power lead is connected to the correct amplifier and motor terminal.

  • Inspect terminals and connectors for looseness, heat damage, contamination, pushed-back contacts, or incorrect seating.

  • Confirm that any magnetic contactor in the spindle power path closes when required.

  • Check the contactor's main contacts, auxiliary confirmation signals, and machine control sequence.

  • Compare the actual power-lead phase order with the machine wiring diagram.

  • Confirm that the motor sensor feedback connection corresponds to the specified power phase order.

Do not swap two motor phases as a trial-and-error repair. The power and feedback phase relationship must match the applicable FANUC and machine-builder wiring specification. Random phase changes can cause abnormal current, incorrect pole detection, or unexpected motor motion.

7. Check the Motor Sensor and Its Mechanical Relationship to the Rotor

The control assumes that the motor sensor maintains a fixed phase relationship with the rotor. Alarm 65 can occur if that relationship changes.

Inspect:

  • Sensor mounting bolts, locating features, and coupling components

  • Any evidence that the sensor body has rotated or shifted

  • Rotor shaft, sensor shaft, key, coupling, or hub slippage

  • Damage or movement following a crash, spindle rebuild, bearing replacement, or sensor replacement

  • Correct installation depth, alignment, and orientation for the exact sensor

If the sensor or rotor relationship has shifted, electrical parameter changes are not the correct first repair. Restore the mechanical relationship using the applicable assembly and alignment procedure, then repeat pole detection.

8. Inspect the Feedback Cable, Connectors, Shielding, and Noise

FANUC identifies incorrect feedback counting caused by noise as another alarm 65 cause. Inspect the complete sensor feedback path:

  • Check connectors at the motor sensor, detection unit, and spindle amplifier.

  • Look for bent pins, pushed-back contacts, coolant or oil contamination, corrosion, and incomplete connector locking.

  • Inspect the cable for crushing, abrasion, excessive bending, or damage near moving sections.

  • Confirm that the shield termination and protective grounding follow the machine wiring specification.

  • Verify that the feedback cable is not routed improperly beside motor power, contactor, transformer, or other high-noise wiring.

  • Check whether the alarm coincides with contactor switching or operation of another high-power device.

Where the applicable CNC and maintenance procedure provide signal monitoring, observe the motor sensor feedback while the spindle is moved safely. An unstable count, sudden jump, or loss of feedback supports further cable, sensor, grounding, or detection-circuit testing.

Do not replace the sensor solely because alarm 65 is displayed. First establish whether the signal is missing, noisy, mechanically shifted, or inconsistent with the power phase order.

9. Use Component Substitution Only After the Official Checks

If the parameters, mechanical freedom, power circuit, phase relationship, sensor mounting, and feedback path have all been confirmed, component-level testing may be appropriate.

Use only a known-compatible cable, sensor, detection module, or amplifier with the exact required specification and suffix. Preserve the original configuration and change one item at a time so the result is meaningful.

Motor winding, insulation, or grounding tests may be justified if other alarms, current measurements, or electrical evidence indicate a motor fault. They are not the primary FANUC diagnostic direction for SP9065 by themselves. Likewise, replacing the spindle amplifier should not be the first response to alarm 65 unless separate evidence identifies an amplifier fault.

10. Retest Magnetic Pole Detection Safely

After correcting the identified cause:

  1. Remove unintended spindle rotation, orientation, and motion commands.

  2. Confirm that all guards and machine safety functions are in their required state.

  3. Make sure the spindle can perform the small movement required by pole detection.

  4. Power up the machine using the machine builder's procedure.

  5. Observe the pole detection process from a safe position.

  6. Confirm that SP9065 and amplifier alarm 65 do not return.

  7. Confirm that the pole-position-established signal reaches its required state, such as EPFIXA = 1, before enabling normal spindle motion.

  8. Test the spindle first at the specified low speed and without cutting load.

  9. Verify direction, speed feedback, current, vibration, orientation, and any machine-specific spindle functions.

If a different alarm appears, diagnose the new alarm number separately. Do not continue treating every subsequent condition as SP9065.

Difference Between SP9065 and Related Synchronous Spindle Alarms

CNC alarm Amplifier display General distinction
SP9065 65 Magnetic pole detection failed because the detection movement or associated calculation was abnormal
SP9073 73 A motor sensor signal or connection abnormality is detected under the applicable spindle configuration
SP9090 90 Unexpected or excessive spindle movement is detected under a different control condition
SP9091 91 A magnetic pole or sensor-related setting or recognition condition is abnormal

These alarms may involve some of the same hardware, but they are not interchangeable. Always use the CNC alarm number, the amplifier display, the motor type, and the exact alarm timing to select the correct procedure.

FANUC SP9065 Diagnostic Table

Finding Likely interpretation Recommended action
Alarm began during commissioning Motor or sensor parameter, power connection, or phase relationship may be wrong Verify No.4011, No.4334, No.4368, power leads, and feedback phase relationship
Alarm began after parameter restoration A motor-specific value may have been overwritten Compare the backup and exact motor parameter table before changing anything
Alarm began after motor or sensor replacement Wiring phase order or sensor-to-rotor relationship may be incorrect Verify installation, phase relationship, and sensor alignment
Motor does not move during pole detection Power circuit may be open, a contactor may be off, the spindle may be locked, or activation current may be insufficient Check power leads, contactor, mechanical freedom, and then the upper field of No.4083
Motor vibrates or does not settle Mechanical friction, an unstable sensor signal, or insufficient stop confirmation time may be involved Correct mechanical and feedback issues before reviewing the lower field of No.4083
Previously normal machine develops alarm intermittently Sensor mounting, shaft slip, cable damage, shielding, or noise is more likely Inspect the sensor relationship and monitor the complete feedback path
Alarm remains after a sensor replacement The original cause may be wiring, phase order, parameters, mechanical restraint, or noise Return to the complete official diagnostic sequence
Another alarm appears after correction A separate condition has been detected Diagnose the number now shown

What Not to Do

  • Do not copy spindle parameters from a machine with a different motor, sensor, spindle, or amplifier.

  • Do not initialize all spindle parameters without a verified backup and the exact motor data.

  • Do not describe No.4083 only as a motor voltage value or overwrite both of its functional fields without understanding them.

  • Do not swap motor phases randomly.

  • Do not increase pole detection current to force a mechanically restrained spindle to move.

  • Do not loosen or reposition the motor sensor without the correct alignment procedure.

  • Do not bypass a spindle brake, guard, interlock, or safety function.

  • Do not leave a spindle command active while pole detection is incomplete.

  • Do not replace the amplifier, sensor, or motor before the official parameter, power, mechanical, and feedback checks provide supporting evidence.

Recommended Troubleshooting Order

  1. Confirm SP9065 on the CNC and alarm 65 on the spindle amplifier.

  2. Record the exact CNC, spindle amplifier, motor, sensor, and software specifications.

  3. Determine whether the fault began during commissioning or on a previously working machine.

  4. Back up the current parameters.

  5. Verify motor sensor teeth settings in No.4011 bits 2, 1, and 0 and No.4334.

  6. Verify motor pole settings in No.4011 bits 7 and 3 and No.4368.

  7. Review both functional fields of No.4083 only against the exact motor and pole detection procedure.

  8. Confirm that the spindle is free to make the required detection movement.

  9. Inspect the motor power leads, magnetic contactor, and power-to-feedback phase relationship.

  10. Inspect the motor sensor mounting and check for sensor or rotor shaft slip.

  11. Inspect and monitor the feedback cable, connectors, shielding, grounding, and noise environment.

  12. Substitute compatible hardware only after the preceding checks isolate a likely failed component.

  13. Repeat pole detection safely, confirm the pole-position-established signal, and perform a controlled low-speed spindle test.

Technical References

  • FANUC AC Servo Motor αis/αi Series, AC Spindle Motor αi Series, Servo Amplifier αi Series Maintenance Manual, B-65285EN/04, Alarm Code 65

  • FANUC Spindle Motor αi-D/αi-B/αi Series, AC Spindle Motor βi-B/βi Series, Built-in Spindle Motor Bi-B/Bi Series Spindle Parameter Manual, B-65280EN/08, BiS Pole Position Detection and Causes of Spindle Alarm 65

  • FANUC AC Servo Motor αis-D/αi-D Series, AC Spindle Motor αi-D Series, Servo Amplifier αi-D Series Maintenance Manual, B-65555EN/02, Alarm Code 65

Always use the manual edition that applies to the exact CNC, spindle amplifier, spindle motor, sensor, spindle software, and machine-builder configuration.

Need Help With FANUC SP9065 Alarm?

REACO CNC provides independent testing, repair, compatibility checking, and replacement support for FANUC spindle amplifiers, spindle motors, feedback components, and related drive hardware.

Send us the CNC alarm screen, amplifier display, complete CNC model, exact spindle amplifier model and suffix, exact spindle motor model, and details of when SP9065 occurs.

Browse FANUC servo, spindle, and power drives, visit the FANUC Technical Support Center, or contact REACO CNC for assistance.

Reference Source: Beijing FANUC. This article is based on FANUC technical documentation. The applicable diagnosis and parameter values depend on the exact CNC, spindle amplifier, synchronous spindle motor, motor sensor, software, and machine.

Get in touch with REACO CNC

Request Repair Consultation

Have a technical issue or need repair assistance?

Looking for a part quote?

Hours of Operation Mon - Fri: 8 AM to 8 PM(Beijing Time, UTC+8)

Email: sales@reacocnc.com

Hot Selling FANUC Parts

View all