How-to
Trimming drive speed from a 4-20 mA motor current signal
Short answer
Yes: wire the starter's 4-20 mA current output to the PLC analog input, scale it to amps with FC105, and trim the screw drive's speed reference through the path the drive's manual confirms. Step-test the current-versus-speed response before adding any PID, clamp the trim, and leave every overload and interlock hardwired.

On this page
- Can a motor current signal control a VFD speed?
- What does the starter's current output actually represent?
- How do I scale the current signal into amps in the PLC?
- Which speed reference path does the drive accept?
- How do I test current versus screw speed before adding PID?
- How do I turn the current error into a speed trim?
- Which protections must stay outside the trim loop?
- What checks prove the trim loop before handover?
- Questions asked
Yes — as long as three conditions hold. Wire the soft starter's 4-20 mA motor-current output into the PLC's analog input card, scale it to amps, and use it to trim the screw drive's speed reference: feed faster while the main motor runs under target load, ease off as the current climbs. The conditions: the starter's output must track current linearly, the drive must offer a reference path its own manual confirms, and the current-versus-speed response must be proven by an open-loop step test before any PID is tuned. The trim adjusts feed rate only; every overload, stop and interlock stays hardwired, exactly as it was.
Can a motor current signal control a VFD speed? #
Yes, as a feed-rate trim: the loop reads the main motor's load from the starter's analog current output and adjusts the screw drive's speed reference, raising feed when current is below target and cutting it as current climbs.
This is load-following feed control, not motor protection. The screws set how hard the main machine works, and its motor current is the feedback. The worked case here is a 160 kW main motor fed by screw conveyors, each on its own drive, with the current signal landing on an S7-300 analog input card; the same chain serves any machine where a feeder sets the load. The loop's only output is a speed reference — nothing it does may reach the main motor's contactor or the starter's protection.
What does the starter's current output actually represent? #
Confirm the span in the starter's parameter documentation before anything else: the live zero is 4 mA and the top of the span is the configured full scale — on a 160 kW circuit, a 300 A span is a workable example.
The output is a scaled copy of measured motor current, so its engineering-unit range is whatever the starter was configured for, and the documentation states it. Size it against full-load current: read the real value from the motor nameplate, and check the example estimate I = P / (√3 × U × η × cosφ) = 160,000 W / (1.732 × 400 V × 0.94 × 0.86) ≈ 286 A, with 400 V, 94% efficiency and 0.86 power factor as example assumptions — comfortably inside that span. Also confirm the output tracks RMS motor current rather than a fault or status flag, and note whether the starter can give 0-10 V instead: the method is identical, and only the PLC input module's range setting changes.
How do I scale the current signal into amps in the PLC? #
Scale the module's raw count with FC105 SCALE: an S7-300 analog input delivers 4-20 mA as an INT from 0 to 27648, and the block converts it linearly between two REAL limits you supply.
FC105 is the SCALE block in the Siemens STEP 7 standard library. Its inputs are IN (INT), LO_LIM and HI_LIM (REAL), and it returns OUT (REAL) on a straight line between the limits:
OUT = ((IN - K1) / (K2 - K1)) × (HI_LIM - LO_LIM) + LO_LIM
with K1 and K2 set to the raw range's two ends for a unipolar input. Worked example on that span: 12 mA at the terminals is (12 - 4)/(20 - 4) = half the loop, so the module counts 0.5 × 27648 = 13824. Call the block with IN = 13824 (INT), LO_LIM = 0.0 (REAL) and HI_LIM = 300.0 (REAL): OUT = (13824 / 27648) × (300.0 - 0.0) + 0.0 = 150.0 A.
| Loop current | Raw INT | Scaled value |
|---|---|---|
| 4 mA | 0 | 0.0 A |
| 12 mA | 13824 | 150.0 A |
| 20 mA | 27648 | 300.0 A |
Force those three points during the bench check. Outside the raw range the block extrapolates, so bound the result in the program before the trim uses it. The input side wants a shielded twisted pair on one common reference — the same practice as conditioning a current sensor signal for a PLC analog input. If the reading jumps when other equipment switches, suspect a ground difference between the starter's output and the PLC input; fixing a current-loop output ground fault with a signal isolator covers that repair.
Which speed reference path does the drive accept? #
Use only the path the drive's manual for that exact model and firmware lists as enabled: a PLC analog output into the drive's analog input, or the digital up/down reference when the analog inputs are not used.
A common retrofit finding sets up the choice: the drive is wired for digital control only, and its analog inputs — AI1 and AI2 on the ABB units in the case worked here — were never connected. One rule before any cabinet is opened for this wiring: lock out the feeders and test for absence of voltage first. NFPA 70E, 2024 edition, sets the electrical-safety-in-the-workplace practice, and the site procedure and equipment documentation govern the details.
If the manual enables an analog reference, wire a PLC analog output — voltage or current, to match the drive's input setting — to that input; the wiring and fault-relay practice in wiring a 0-10 V speed reference and fault relay to a VFD applies directly, and the PLC writes base speed plus trim as one reference. If the drive holds zero speed with a healthy signal at its terminals, the reference-source setting inside the drive is the first suspect — why a VFD ignores the analog speed reference from the controller walks that diagnosis.
If the digital path is the only one, keep it and add two PLC digital outputs on the drive's reference-up and reference-down inputs, the motor-potentiometer functions the firmware manual describes. A held input ramps the reference at the rate the drive's parameters define, and the manual for the exact model names them. Example arithmetic: at a ramp rate of 5% of reference per second, a 4.5% trim needs a 0.9 s pulse, since 4.5 ÷ 5 = 0.9. Design consequence: the PLC no longer sees the reference directly, so it must track what it has stepped.
How do I test current versus screw speed before adding PID? #
Step the screw speed in fixed increments and record the settled main-motor current at each point: 10% reference steps across the operating range expose the gain, the delay and any nonlinearity before any controller exists.
- Put the reference in manual at the normal base speed and let the current settle.
- Raise the reference by 10% and time how long the current takes to stop moving; record the settled value.
- Repeat to the top of the operating range, then walk back down the same steps.
- Compute the gain between adjacent points: Δcurrent ÷ Δspeed.
- Accept the machine only if the points rise in order, the up and down readings agree within meter noise, and the gain stays near constant.
Example result: 30% reference settles at 160 A, 40% at 185 A, 50% at 210 A, current flat about 2 s after each step and the same values on the way down. Gain = (185 - 160) / (40 - 30) = 2.5 A per percent of reference — a usable loop. If the points bend, from material packing in the screw, a worn flight or binding, fix the mechanics or linearize the trim with a curve first; a PID tuned on a bent response chases itself. This open-loop step test is the standard way to establish process gain and dead time before any tuning.
How do I turn the current error into a speed trim? #
Trim proportionally: multiply the gap between target and measured current by a small gain — 0.05% of reference per amp is a workable first value — and add the result to the operator's base speed.
Worked example on the same machine: the target is 80% of the span, 240 A. The scaled input reads 150 A, so the error is 240 - 150 = 90 A and the trim is 90 A × 0.05 %/A = +4.5%; on a 40% base speed the drive receives 44.5%. Cross-check against the measured gain: 4.5% × 2.5 A per percent ≈ 11 A of extra current per pass, so the loop closes the gap over several updates — right for a slow feeder.
Guard it before it runs unattended: clamp the trim, for example to ±10% of reference around the base speed; rate-limit its change, for example 1% per second; update on a period short against the settle time — 500 ms against the 2 s response in the example. Leave integral action out until the proportional-only response proves stable; on a feeder this slow it is often never needed. The step test fixes the sign: here more speed raised current, so a positive error adds speed; if your points fell instead, reverse it — the test decides, not the wiring diagram.
Which protections must stay outside the trim loop? #
All of them: the trim writes only the speed reference, while the main motor's overload relay, emergency stop, phase-loss protection and starter interlocks stay exactly in their hardwired paths.
IEC 60204-1, the 2016 edition, covers the electrical equipment of machines and requires motor overload protection and stop and emergency functions that stay effective and cannot be overridden by the process program; confirm the implementation against the machine documentation and the local authority having jurisdiction. In practice: no PLC output commands the main contactor, the current signal is a measurement input and never a protection input, and the screw drives keep their own electronic motor protection enabled. Define the failed-signal behavior the same way — hold the last trim or ramp the feed down, never up.
What checks prove the trim loop before handover? #
Prove it at three feed rates — low, normal and maximum — with the signal forced, broken and restored, and confirm every protection still stops the machine with the PLC idle.
- Force raw counts in the PLC and confirm the scaled amps match the scaling table, before the loop is coupled to anything.
- Open the current loop at the PLC terminal block, applying the lockout rule above to the cabinet work, and confirm the fallback: held trim or feed-down ramp, alarm raised, no run to full speed.
- Restore the loop and run at low, normal and maximum feed; confirm the current settles at target without hunting and the trim stays inside its clamps.
- Operate the emergency stop and the starter's own trip path with the loop active; each must stop its equipment with the PLC contributing nothing.
- Record the final gain, clamp, rate limit and update period in the machine documentation, so the next technician tunes from data.
Questions asked
Can the drive's built-in PID do this without the PLC?
Often, and it removes one analog output from the design. Many general-purpose drive firmwares include a process-PID function that takes feedback on an analog input; if the firmware manual for the exact model lists it, feed the starter's 4-20 mA signal to that input, enter the target current as the setpoint, and let the drive own the reference. The PLC keeps monitoring and enable control, and the same step test, clamps and fallback rules apply.
What happens to the trim if the signal wire breaks?
The raw count collapses toward zero, which scales to zero amps — a false no-load reading that would command maximum feed and push the main motor toward its overload. The program must treat a raw count at or below zero, or the module's wire-break diagnostic, as a fault: hold the last trim or ramp the feed down, raise an alarm, and never act on the broken value. Prove it once during commissioning.
Four screw drives share one current signal — how is the trim split?
Use one common trim added to each screw's own base speed, so a single load measurement moves the whole feed together and the screws keep their ratios. Give every drive its own clamp and rate limit, and sequence the screws so the trim never starts one ahead of its interlocks. If one screw needs different behavior, change its base speed — a second loop is not the answer.
How do I verify the starter's output is linear in current?
Clamp a true-RMS meter on one phase of the main motor, run at three or more loads, and compare the meter's amps with the value the PLC reports. The points should fall on one straight line within meter accuracy; a real bend means the starter's output is filtered or shaped, and the fix belongs in the output's configuration or a linearization curve in the program — before the loop trusts the signal.

