AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why a Servo Drive Trips a Command Pulse Scaler Error Alarm

Servo and stepper motion Published 6 min read By AutomateDirectUSA engineering team

Short answer

A command pulse scaler error trips when the pulse rate entering the drive's position error counter exceeds 500 kpps. Command scale ratios can multiply a safe controller output above that limit, so calculate the post-scaling rate and verify the scaling numerators before touching wiring or the drive.

On this page
  1. What does a command pulse scaler error alarm actually mean?
  2. Why does it trip when the controller output is below 500 kpps?
  3. How do you calculate the pulse rate at the counter entrance?
  4. Which scaling parameters do you check first?
  5. How do you check the pulse wiring and signal path?
  6. When is the drive itself the problem?
  7. How do you reset and verify the fix?
  8. Questions asked

A command pulse scaler error alarm means the pulse rate arriving at the entrance of the drive's position error counter exceeds 500 kpps. That rate is measured after the drive's internal command scaling, not at the controller output, so a controller that looks well under the limit can still trip the alarm. Check the scaling numerators and the post-scaling pulse rate first; wiring, noise and the drive itself come later in that order.

What does a command pulse scaler error alarm actually mean? #

The alarm is a rate limit, not a fault in the pulses themselves. It trips when the drive decodes a command pulse rate above 500 kpps at the entrance of its position error counter, the internal point where commanded pulses accumulate against encoder feedback. Everything downstream of that number follows from where the limit sits.

Because the limit is evaluated after command scaling, the drive applies any configured pulse multiplication before it judges the rate. A drive whose scaling multiplies pulses by four turns 100 kpps of input into 400 kpps at the counter. The counter never sees your raw output; it sees the scaled rate, and the alarm judges the scaled rate.

Why does it trip when the controller output is below 500 kpps? #

Command scale ratios are the usual cause. The numerators of the first through fourth command scales (parameters Pr46 through Pr4B on the drive family in question) multiply the incoming pulse rate before the counter, so scaling of more than about two and a half can push a nominally safe output over the limit. The alarm text points at these parameters because they are the most common way the counter-entrance rate gets out of hand.

The decision rule is simple: never clear this alarm by looking at the controller output frequency alone. Compute the product of the controller rate and the active scaling ratio, in kpps, and compare that product with 500 kpps. If the product exceeds the limit, the scaling configuration is wrong for that output rate, no matter how clean the signal is.

How do you calculate the pulse rate at the counter entrance? #

Multiply the controller output rate by the active scaling ratio. Take a concrete, illustrative example: a controller outputs 200 kpps, and the drive's active command scaling is set to a ratio of 4 (a numerator of 4 over a denominator of 1).

  • Counter-entrance rate = 200 kpps x (4 / 1) = 800 kpps
  • 800 kpps is greater than the 500 kpps limit, so the alarm trips

The same controller with the scaling set to 2 (numerator 2, denominator 1) gives 200 kpps x 2 = 400 kpps, which passes. That calculation is the whole diagnosis in most cases: the fix is either a lower controller output rate or a scaling ratio that keeps the product under the limit. If you need to work backward from a required machine speed to a legal pulse rate, the pulse-scaling calculation method and the pulse-rate-per-speed worked example walk through that direction of the arithmetic.

Which scaling parameters do you check first? #

Check the active command scale numerators and the electronic gear ratio, in that order. Verify that the selected command scales (the Pr46 through Pr4B numerators on this drive family) match the motion the machine actually needs, and confirm the electronic gear ratio does the same job. In the SureServo documentation, the electronic gear numerator is set by parameter P1-44 and the denominator by P1-45, with optional additional numerators in parameters P2-60 through P2-62; use the troubleshooting and parameter chapters of the manual for your exact drive model rather than carrying values across families.

Also confirm two input settings that change the effective rate or the drive's ability to count correctly:

  • The command input format (pulse plus direction, or quadrature) matches both the controller wiring and the drive configuration.
  • Any configured pulse multiplication or division, and the pulse input filter setting, are consistent with the controller's output rate and edge timing.

A scaling or format mismatch here produces the same alarm as a genuine overrate, so settle the configuration before you blame the signal.

How do you check the pulse wiring and signal path? #

Work from the cheapest check to the most expensive, and confirm each before moving on:

  1. Verify the controller is producing the expected pulse train, at the frequency the program commands, during the move segment that trips the alarm.
  2. Inspect the pulse wiring and connectors for damage, corrosion, loose terminations or a broken shield bond.
  3. Route the command pulse cable away from motor power wiring and high-frequency equipment, and use shielded cable terminated per the drive manual's grounding instructions.
  4. Use the drive's own monitoring or diagnostic displays to watch the command pulse input count while the axis is commanded; a count that races ahead of the commanded position points at noise or a format mismatch.

Noise alone rarely produces this specific alarm, because the trip condition is a sustained rate, not a glitch. Corrupted edges can inflate a counted rate, though, so the wiring check is still worth the ten minutes it takes. If a hard limit or position alarm appears alongside this one and will not clear, the separate article on encoder checks without an oscilloscope covers the feedback-side path.

When is the drive itself the problem? #

Only after a known-good alternate pulse source still trips the alarm. Swap in a second controller or a pulse generator set to a rate and scaling combination you have verified by calculation. If the alarm disappears, the original source, its wiring or its signal environment was at fault. If it persists with a clean, calculated-safe source, the investigation shifts to the drive's configuration and, failing that, the drive hardware itself.

Do not chase firmware from memory: check applicability only through the manufacturer's documentation for the exact model, and treat any alarm-code meanings you read secondhand as claims to verify against that manual's troubleshooting chapter, the way the drive documentation itself presents them.

How do you reset and verify the fix? #

Reset the alarm using the reset procedure in your drive's manual, then run the machine through the exact operating condition that tripped it, especially the highest commanded pulse-rate segment of the cycle. Two passes through that segment without the alarm, with the commanded position matching the actual position at the end of each, is the verification standard. If the alarm recurs intermittently at high speed only, the post-scaling rate is sitting close to the limit; reduce the scaling numerator or the commanded rate to buy margin rather than running at the edge.

The decision, per case: post-scaling rate over the limit after scaling — correct the scaling numerators or the commanded rate. Configuration correct and rate safe — check wiring, format and noise in the order above. Clean alternate source still trips it — drive configuration review, then drive replacement. That order resolves nearly every command pulse scaler error without a drive swap.

Questions asked

Can a command pulse scaler error happen with a clean pulse signal?

Yes. The alarm watches the rate at the entrance of the position error counter, not signal quality. A noise-free pulse train at 200 kpps still trips the alarm if the drive's command scaling multiplies that rate above 500 kpps before the counter sees it. That is why the scaling numerators are the first check, ahead of wiring and shielding.

What is the difference between this alarm and a position overflow alarm?

The command pulse scaler error is a rate limit: the counter entrance sees pulses faster than 500 kpps. A position overflow alarm is an accumulation limit: the error counter's total content runs past its range. The scaler alarm trips during high-rate commanding; the overflow alarm builds up over accumulated error and needs its own checks, covered in the encoder counter overflow article.

How do I find my drive's maximum command pulse input rate?

Take it from the troubleshooting chapter of the manual for your exact drive model. The 500 kpps figure at the position error counter entrance applies to the drive family discussed here; other drives list different counter-input and line-receiver limits. Never assume one family's limit covers another.

Do electronic gear ratio parameters count as command scaling?

Yes. The electronic gear ratio is a numerator-over-denominator pulse multiplication inside the drive, and it acts on the command pulses before the position error counter. In the SureServo documentation, the parameter that sets the numerator of the electronic gear ratio is P1-44, with P1-45 setting the denominator. Verify that ratio exactly as you would the command scale numerators.

Can I raise the 500 kpps limit with a parameter?

No. The counter-entrance rate limit is a hardware processing ceiling for the drive, not a configurable threshold. The fix is to bring the post-scaling rate below it: lower the controller output frequency, or reduce the scaling numerator relative to the denominator so the counter sees fewer pulses per commanded pulse.

Keep reading

  • Comparison

    A step and direction servo drive versus an open-loop stepper

    A step and direction servo drive takes the same pulse train as an open-loop stepper drive but closes the position loop inside the drive on the motor's encoder counts, so lost steps become a following-error fault instead of silent drift. The deciding arithmetic is the pulse budget: steps per inch times feed gives the steps per second your controller must supply, and a high-count encoder can exhaust that budget before the motor runs out of torque.

    Servo and stepper motion

  • Troubleshooting

    Servo error counter overflow alarm: check torque saturation first

    An error counter overflow alarm — alarm 29 on the drive family that numbers it that way — means the position error counter passed 134217728 counts, so the motor stopped following the command. Check the torque monitor first: output torque saturated at the limit points at the torque limit set-up, Pr5E on that family, or at a load the motor cannot move; torque below the limit points at the command pulses, the encoder wiring or the gains.

    Servo and stepper motion

  • Troubleshooting

    Why a pulse-command servo axis loses position between moves

    A pulse-command servo that runs smoothly but lands at the wrong coordinate is losing, duplicating or mistiming step edges in the command path, not failing in the servo loop. Match step polarity, pulse width and direction prechange to the drive manual's input timing, then prove the fix with a dial indicator over 100 cycles of a repeated 100 mm move.

    Servo and stepper motion