Configuring a Fanuc Pulse Generator for a DC Servo Axis

Tom Garrett7 min read
FanucMotion ControlTechnical Reference
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Wrong fixes and their failure modes

Connecting the handwheel's A or B terminal to a DC speed reference does not create controlled axis motion. Each terminal carries a digital state; direction exists in the timing relationship between both channels. A conventional analog DC speed controller does not decode those transitions into a position command.

Swapping A and B only reverses the count direction after a compatible decoder is present. It cannot correct the interface mismatch. Likewise, treating the handwheel as motor feedback confuses commanded movement with measured movement: the wheel reports what the operator requested, not where the X axis actually moved.

Replacing the DC motor with a stepper motor can create a workable step-and-direction system, but that is a complete motor-and-drive conversion rather than a wiring correction. The other practical route is retaining the 90 V DC servo motor and installing a motion-control architecture that accepts the handwheel, reads independent axis feedback, and commands a compatible servo power stage.

Never connect A, B, +5V, or 0V to the motor armature terminals. The handwheel belongs to the low-voltage logic domain; the motor and its controller occupy the power domain.

Pulse timing versus motor power

The Fanuc pulse generator has four identified terminals: +5V, 0V, A, and B. As the wheel turns, the two output channels change state in quadrature. A decoder determines direction from which channel leads and changes a signed count on valid edges. Faster wheel rotation raises the edge rate; it does not directly raise motor voltage.

The motor was identified as a 90 V DC servo motor driven through a Leeso Speedmaster DC controller. A DC motor develops torque from armature current. Its winding heating rises approximately with I²R, while the drive must remain within its own continuous-current, peak-current, voltage, and thermal limits. This is heat, not logic. A 5 V handwheel signal contains neither the power nor the control law needed to position the motor.

A positioning axis needs three separate functions: an operator command, a position controller, and measured axis or motor position. The pulse generator supplies the first function. A motion controller compares commanded position with encoder feedback and produces a drive command. The power stage then supplies motor voltage and current.

Quantities that decide compatibility

The number that matters is not merely the motor's 90 V marking. Compatibility depends on the wheel's electrical output, the controller's accepted command interface, the motor-current ratings, and the independent feedback device.

Quantity Known value Where to read or measure it
Handwheel supply +5V and 0V terminals Pulse-generator documentation and terminal markings
Handwheel command channels A and B Oscilloscope referenced to 0V
Output circuit and valid logic levels Not identified Pulse-generator documentation; verify with a meter and oscilloscope before connecting a decoder
Counts per detent or revolution Not identified Documentation or a controlled count test
Maximum A/B edge rate Not identified Oscilloscope at the fastest intended wheel rotation
Motor voltage 90 V as described Motor nameplate
Motor and drive current limits Not identified Motor nameplate and controller rating label or manual
Speedmaster command input Not identified Exact controller model documentation and terminal diagram
Actual-position feedback Not described Inspect the motor and axis for an encoder or other position transducer
Travel per handwheel count Application setting Machine mechanics and the selected motion-controller scaling

Compatible control architectures

A suitable signal path separates command generation, closed-loop control, and power conversion:

Fanuc handwheel A/B
        ↓
Quadrature decoder or motion controller
        ↓ commanded position
Position loop ← actual motor/axis encoder
        ↓ drive command
Compatible DC servo drive → 90 V DC motor → X axis

One option is a servo drive or controller that accepts a position command, supports the DC motor's voltage and current requirements, and reads the motor or axis encoder. If it accepts only step and direction, an MPG decoder or higher-level motion controller must convert the handwheel's A/B count into that command format. A dedicated MPG input can perform the decoding internally, but that capability must appear in the selected controller's documentation.

The existing analog controller can remain only if a separate motion controller accepts quadrature input, closes the position loop, and generates the exact command type the Speedmaster accepts. The controller must also provide the required direction behavior. A basic unidirectional speed regulator or an undocumented reference input is not a positioning interface.

A stepper conversion uses the path handwheel → decoder → step/direction → stepper drive → stepper motor. It removes the DC-servo interface problem, but introduces motor sizing, drive sizing, resonance, and possible lost-step considerations.

Conversion and wiring procedure

  1. Isolate electrical power and prevent X-axis movement. Record every motor, controller, and pulse-generator terminal before changing wiring.
  2. Read the motor voltage and current ratings, the Speedmaster model and command-input specification, and the installed feedback-device details. Select a new controller only after matching all three interfaces.
  3. Choose whether to retain the DC motor with a closed-loop servo controller, retain the analog drive behind an external position controller, or convert the axis to a stepper system.
  4. Confirm the handwheel pin assignment, required supply tolerance, supply current, and output-circuit type. Feed +5V and 0V from a regulated logic supply that meets those requirements.
  5. Connect A and B to compatible quadrature-decoder inputs. Add pull-up components only if the documented output circuit requires them; a +5V supply label alone does not identify whether the outputs are push-pull or open-collector.
  6. Connect the independent motor or axis encoder to the position controller. Set feedback polarity with the motor mechanically unloaded or safely restrained; positive commanded motion must produce feedback in the controller's expected direction.
  7. Configure handwheel scaling using commanded travel = signed counts × travel per count. Apply controller speed and acceleration limits so rapid handwheel rotation cannot demand an abrupt move beyond the mechanism or drive ratings.
  8. Commission at the lowest practical command and current limit. Check direction, stopping behavior, travel limits, and emergency-stop operation before coupling normal machine loads.

Functional and thermal verification

Test Acceptable result Failure points to
A/B waveform Both channels switch within the decoder's declared input range and maintain a repeatable phase sequence Supply, grounding, output-type, wiring, or input-compatibility fault
Forward/reverse count Equal wheel travel in opposite directions returns the command count to its starting value Missed edges, noise, or incorrect decoding
Axis direction Positive wheel rotation produces the selected positive X direction Swap the decoded direction in configuration or correct the approved signal assignment
Position scale A known number of detents produces the configured measured travel Incorrect counts-per-detent, encoder scale, or mechanical conversion
Command versus feedback Actual position follows commanded position without a growing count difference Feedback polarity, tuning, mechanical load, or torque limitation
Motor current and temperature Measured values remain inside the motor and drive nameplate limits throughout repeated moves Binding mechanics, excessive acceleration, poor tuning, or undersized drive

Recurring faults include sharing logic and power returns without an interface plan, selecting a decoder by connector shape rather than electrical levels, and setting travel per count before measuring counts per detent. Noise faults often appear first as an occasional extra count or failure to return to zero after equal forward and reverse wheel movement.

Frequently asked questions

Can I connect Fanuc A and B directly to the Leeso Speedmaster?

No. The handwheel supplies quadrature count signals, while a regular analog DC speed controller does not decode those signals into position and direction commands.

Can I power the Fanuc pulse generator from any 5 V supply?

Use a regulated supply only after confirming the +5V/0V pin assignment, tolerance, current requirement, and grounding arrangement in the device documentation.

Does swapping A and B reverse the X-axis direction?

Swapping the channels reverses the sign seen by a compatible quadrature decoder. It does not make an analog speed controller capable of reading the handwheel.

Can I keep the 90 V DC servo motor?

Yes, if the chosen servo system matches its voltage and current ratings, supports the required direction control, accepts the handwheel through a decoder, and closes the loop with an actual position encoder.

When should I stop and contact official support?

Stop when the pulse-generator output type or pin assignment cannot be verified, the controller command input is undocumented, or the motor and drive current ratings are unavailable. Record the nameplates, terminal labels, supply measurement, A/B oscilloscope traces, and motor-current readings, then contact the manufacturers through their official support channels before applying power again.

Back to blog