IMDHMIControls LibraryShop main store

Troubleshooting

Why servo drives ignore Modbus speed commands but follow analog

Drives and motion Published 6 min read

Short answer

A servo drive runs on the speed reference its configured source selects, so a Modbus write that succeeds can still be ignored while the analog input, correctly selected and scaled, drives the motor. Trace four values — requested speed, transmitted value, received reference and active reference — and the break shows up at one of five places: source selection, scaling, word order or address, operating mode, or stale shared request data.

On this page
  1. Why does the servo follow the analog signal but ignore the Modbus write?
  2. Which parameter decides which speed reference the drive applies?
  3. What value belongs in the speed command register?
  4. How do you verify the word order and the register address?
  5. Why can a clean sequence still deliver a stale speed?
  6. Should you keep the analog output or go back to Modbus?
  7. Questions asked

Four servo drives that ignore Modbus speed commands but track an analog output perfectly are telling you the drives, the motors and the counter-to-speed calculation are all fine. The fault sits between the transmitted value and the drive's active reference. A drive applies only the reference its configured source selects, so a write that succeeds can land in a register the drive never uses, carry the wrong scale or word order, or belong to an earlier request. Trace four values — the requested speed, the transmitted value, the drive's received reference and its active reference — and the break shows up at one of them.

Why does the servo follow the analog signal but ignore the Modbus write? #

The drive applies only the reference its configured source selects, so an error-free Modbus write lands in a register the drive never uses as its active speed reference, while the analog input is selected and scaled correctly. A Modbus response proves exactly one thing: the drive received a legal write to a legal register. It says nothing about which reference the drive is currently using, so a clean error bit and correct timing prove the network and condemn nothing else.

Switching to analog changed three things at once — the selected source, the scaling and the delivery method — which is why it fixed the symptom without finding the fault. It also gives you a baseline: the working analog channel proves the counter-derived speeds are sensible engineering values, so stop auditing the calculation and start tracing the digital path downstream of it.

Which parameter decides which speed reference the drive applies? #

On a PowerFlex 753 or 755 with a 20-750-ENETR module in Port 6, Parameter 545 [Speed Ref A Sel] must equal Parameter 876 [Port 6 Reference], or the Ethernet reference arrives and is never applied. Every drive family has an equivalent setting; the pattern is always a source-selection parameter that names the communication port, an analog input, a keypad or a preset speed as the active reference.

Servo drives also separate the command source from the operating mode. A speed value written to a drive sitting in position or torque mode changes nothing about speed, no matter how well the write is formed. Work through this list at the drive, not at the PLC:

  • Read the drive's active-source indication; it must name the communication port, not an analog input, a keypad or a preset speed.
  • Confirm the drive is in velocity mode, not position or torque mode.
  • Write one distinctive test value and watch the drive's received-reference monitor respond.
  • Read the enable state: a reference that arrives on a disabled drive still produces no motion.

If your writes return nothing at all, the S7-1200 transaction handshake is traced step by step in why MB_MASTER on an S7-1200 returns an error status but no data.

What value belongs in the speed command register? #

The register carries counts in the drive's documented unit, not rpm: in a register scaled at 0.1 rpm per count, 1250.0 rpm is 12500, and a program that writes 1250 gets one tenth of the commanded speed. Always read the unit line in the register map — units of rpm, 0.1 rpm, 0.01 % of rated speed and raw counts all exist, and each one changes the multiplier.

Illustrative worked example, with a register map that documents the speed command as a 32-bit signed integer in 0.1 rpm units:

  • Requested speed: 1250.0 rpm.
  • Transmitted value: 1250.0 ÷ 0.1 = 12500 counts.
  • If the scaling block multiplies rpm by 1 instead of dividing by 0.1, the write carries 1250 counts, and the motor turns at 125.0 rpm while the HMI shows the right number.
  • If the map actually says 0.01 % of rated speed, that same write reads as 125.00 % and is clipped at the maximum.

Check the sign path too: many servo drives take direction from a separate bit in the control word rather than from a negative reference, so a two's-complement negative speed written to a magnitude register is silently reinterpreted.

How do you verify the word order and the register address? #

Write a test value with a zero high word and read both registers back: the commanded speed must appear as 0x0000 in the first register and 0x30D4 in the second, and anything else is a word-order swap or an address offset. This single read-back test settles the two most common encoding faults at once.

If the words are swapped, the drive reads 0x30D40000 = 12500 × 65536 = 819,200,000 counts, which is 81,920,000 rpm at 0.1 rpm per count — clipped to maximum speed or tripped as a fault, never the requested speed. If the address is off by one, the value lands in the adjacent parameter; after a test write, read the neighboring registers and see where your number actually appeared. The off-by-one comes from numbering conventions: drive manuals often number parameters from 1 while master blocks address the data model from 0, and some manuals print holding-register addresses with a leading 4 that the block does not expect.

Why can a clean sequence still deliver a stale speed? #

When one master block serves several drives, the destination, address and data must stay unchanged until the transaction completes, because refreshing a shared request buffer for the next motor sends that value to the current one. A counter can change faster than the poll cycle reaches each drive, so the drive may be legitimately holding a reference that was correct when sent and obsolete by the time it runs — the irregular tracking you saw.

Sequence the test like this:

  • Hold the four requested speeds at distinct, safe values and confirm each write changes only its own drive's received-reference monitor.
  • Capture the transmitted value together with its destination at the moment the request starts, and compare it with the counter-derived request for that motor.
  • Timestamp every successful completion per drive, and compute command age as now minus the last completion; decide the acceptable age from your process's required response time and alarm on it, because a fault-only display never shows a stale reference.

Several servo drives sharing one serial master carry their own arbitration problems, covered in why V90 servo drives run alone but not together on Modbus RTU.

Should you keep the analog output or go back to Modbus? #

Keep the analog output that now works: it carries 0-10 V dc, ±10 V dc, 0-20 mA or 4-20 mA references, and it stays a valid command path as long as its resolution meets the process. If the machine runs acceptably on analog, keep it running and document, per drive, the output channel, the signal type, the scaling at both ends, and the behavior on controller stop or a broken wire — a 0-10 V signal that opens reads as a valid zero-speed command, while a 4-20 mA loop lets the drive detect the loss.

Go back to Modbus when the machine needs what the wire cannot carry: status readback, fault codes, dozens of preset speeds, or finer resolution than the analog input provides. When you do, the fault is one of five — source selection, scaling, word order or address, operating mode, stale shared request data — and the four-value trace from requested speed to active reference finds it in one commissioning session.

One safety note: an analog reference and a Modbus speed write are both command inputs, not safety functions, so make any wiring change with the equipment isolated and keep the safety circuit independent of both.

Questions asked

The drive's received reference changes but the motor stands still. What is missing?

The speed reference and the enable are separate. The drive may hold the value until a run command arrives through the control word or a digital input, or it may be in a mode that does not use it. Read the drive's operating-state and enable-status parameters; a reference without an enable produces exactly this picture, and rewriting the speed register will not move the motor.

How much resolution does 0-10 V lose against a Modbus register?

A 10-bit analog input divides its span into 1024 steps, about 3 rpm per step across a 3000 rpm maximum, while a 16-bit register offers 65536 steps and a 32-bit one far more. If your process trims speed in increments smaller than the analog step size, the digital path is worth repairing; otherwise the analog signal is indistinguishable in practice.

Can keypad or terminal control override a successful Modbus write?

Yes. Many drives accept communication writes while a keypad or local control owns the reference, so the write acknowledges and nothing changes. The source-selection parameter decides who owns the reference, and drives commonly expose the active source on the front display or in a status parameter. Read that indication instead of trusting the write acknowledgment.

How do you set an acceptable command age for four polled drives?

Start from the process, not the network: decide how long the machine may run on an outdated speed, then measure the interval between successful completions for each drive with all four running. A drive whose last successful write is older than your limit is running on a stale reference even though no error bit is set. Timestamp completions in the PLC and alarm on the age.

Keep reading

  • Troubleshooting

    Why V90 servo drives run alone but not together on Modbus RTU

    Each V90 answers alone because a single-drive test gives it the whole bus; the thirteen-drive network fails because one RS-485 master port holds one Modbus RTU request at a time and the schedule or the bus wiring breaks that. Fix it in order: unique addresses 1-13, termination at the two bus ends only, one transaction completed or errored before the next, then a measured round. The 38.4 to 115.2 kbit/s change triples wire speed, not the round.

    Drives and motion

  • How-to

    Control an ATV12 drive from a TM200 PLC over Modbus RTU

    The ATV12 takes start/stop from register 8601 (CMD) and speed from register 8602 (LFRD, in rpm) once you set Fr1 to Mdb in the CtL- menu and match address, baud, parity and stop bits at both ends. The ladder then writes both words cyclically, one request at a time, gated on completion. Start from the TVDA sample project in Machine Expert Basic.

    Drives and motion

  • How-to

    Bridging a PLC-5/15 DH+ network to a Kinetix 300 servo drive

    Yes, a DH+-to-EtherNet/IP gateway exchanges command and feedback words between a PLC-5/15 and a Kinetix 300, but it only moves data: the drive must execute the motion profile locally. Replace the stepper controller, pulse expander, and encoder-counter functions with an eight-word map that carries a 32-bit position as two 16-bit words behind a data-valid handshake. If the machine needs trajectory points streamed per scan, migrate the controller instead of bridging it.

    Drives and motion