Explainer
Why a PLC analog output cannot command an RC servo directly
Short answer
An RC servo such as the FS90 reads a pulse width between 900 and 2100 microseconds on its signal wire, while a PLC analog output holds a steady 0-10 V or 4-20 mA level. The fix is a converter that maps the analog span onto the pulse span, with the PLC command clamped to the endpoints.

On this page
If you need an RC servo such as the FeeTech FS90 to follow a Mitsubishi FX5U, an analog output alone cannot get you there: the servo reads a timed pulse on its signal wire, and the analog output holds a steady voltage or current. No scaling inside the PLC changes that, because the mismatch is in the signal format, not in the value the PLC carries. The fix is one converter stage between the PLC and the servo, configured so the analog span maps onto the servo's pulse span, with the command clamped so the servo is never asked past its stops. This article gives the pulse specification the servo expects, the scaling for both common analog ranges, a worked example for the voltage-output case, and the bench checkout that proves the converter before a mechanism is attached.
The pulse an RC servo reads #
An RC-format servo sets its position entirely by pulse width. The servo's input looks for the edges of a repeating pulse on the signal wire and converts the time between the edges into a shaft angle; on the common RC frame the pulse repeats about every 20 ms, a rule of thumb whose exact figure belongs to the servo's datasheet. For the FS90, the documented span runs from 900 microseconds, fully counterclockwise, to 2100 microseconds, fully clockwise, across a 120-degree travel. The servo runs from its own 4.8 to 6 V supply on the two power wires of its three-wire JR-style lead; the signal wire is the third conductor. This is the same interface behind why a hobby servo sweeps 0 to 180 instead of holding position, where a fixed-width pulse produces a fixed motion instead of a held level. A knowledge-base walkthrough of hobby servo pulse width control shows that same pulse format from the generator's side.
What the FX5U analog output actually delivers #
The FX5U's CPU module provides built-in analog output channels with a 0 to 10 V DC range and a 2.5 mV resolution, and analog adapter modules in the same family extend to current ranges such as 4 to 20 mA; both figures come from Mitsubishi's FX5 analog control documentation for the MELSEC iQ-F series. Either signal is a level: it rises to a value and holds there until the program writes a new one. The servo's input never times a level. With no falling edge there is no pulse to measure, so a wire held at any steady voltage is not a command at all. The servo may ignore it or may sit buzzing at one stop drawing holding current, and neither is a controlled position.
This is the same class of mismatch as why an analog output cannot drive a stepper motor directly: a correct analog value in a format the actuator's electronics cannot read. Analog level commands do have a native home in motion control, and it is the industrial servo amplifier built around a bipolar analog command input, whose signal set the article on what signals a ±10 VDC analog servo amplifier expects lists. An RC servo input is not that device.
Where the converter sits and what it must be configured to do #
The converter is a small module with an analog input and an RC-servo pulse output. Three configuration facts decide whether the loop works. Its input range must match the PLC channel: the voltage version of both, or the current-loop version of both. Its output endpoints must be scaled so the minimum analog input produces the fully counterclockwise pulse and the maximum produces the fully clockwise pulse, the two widths given in the first section. And the PLC program must clamp the scaled command to the analog range, so an overtravel setpoint, a scaling slip or a bad sensor reading cannot push the converter past its endpoints and the servo into its mechanical stops.
Worked example: mapping a 0-10 V FX5U output onto the FS90 pulse span #
The inputs, and where each comes from:
- Analog span: 0 to 10 V DC, the FX5U built-in analog output range (Mitsubishi FX5 analog control documentation).
- Pulse endpoints: 900 µs fully counterclockwise and 2100 µs fully clockwise, across a 120-degree travel (FS90 datasheet).
- A mid-travel command of 5 V, chosen to check the midpoint of the span.
The rule: pulse width grows linearly with command voltage, so the width in microseconds equals the low endpoint plus the pulse span divided by the analog span, multiplied by the command voltage.
The arithmetic:
- Slope: the 1200 µs pulse span across the 10 V analog span gives 120 µs per volt.
- Scaling law: width (µs) = 900 + 120 × V; at the 5 V midpoint this gives 900 + 600 = 1500 µs, roughly half the 120-degree travel.
- Resolution check: a 2.5 mV step of the FX5U output moves the pulse 120 µs/V × 0.0025 V = 0.3 µs, far finer than the servo's mechanical repeatability, so the analog output's resolution is not what limits positioning accuracy.
- Current-loop variant: the same pulse span distributes over 16 mA instead of 10 V, giving 75 µs per mA and width (µs) = 900 + 75 × (I − 4 mA).
The decision: configure the converter so a zero-volt command produces the fully counterclockwise pulse and a ten-volt command produces the fully clockwise pulse; scale the PLC's travel setpoint across the full analog span; and clamp the scaled value at both ends of the analog range in the program. These are calculated figures for these inputs and a linear-converter assumption, not a measured result — the datasheet endpoints and the linearity are the bases, and the servo's mechanical angle at intermediate widths should be confirmed on the machine.
Prove the converter before the mechanism is attached #
Run the checkout on the bench with the servo held clear of any linkage. Keep hands and tools out of the travel arc during these first moves: a reversed endpoint or a mis-scaled command drives the shaft to a stop at full speed, and that is the one real hazard in an otherwise low-energy circuit.
- Apply the minimum command and measure the converter's pulse output with a scope or logic analyzer; it must read the fully counterclockwise width.
- Apply the maximum command; it must read the fully clockwise width.
- Apply the midpoint; the width should sit near the middle of the span, and the shaft angle should move monotonically as you sweep the command between the ends.
- If the measured widths are correct but the mechanism does not reach its expected positions, look at the linkage, the servo supply and the servo's own documentation. Do not stretch the pulse span past the documented endpoints to gain travel; the datasheet span is the entire command range the servo accepts.
Questions asked
What happens if I wire the analog output straight to the servo's signal pin?
Nothing useful, and possibly a stuck servo. The input circuit times pulse edges, and a steady level has none, so the servo either never accepts a command or sits buzzing at one stop drawing holding current. Which of the two you get depends on the input design, so the only controlled answer is a converter in between.
Does the same apply to a continuous rotation servo such as the FS90R?
Yes, and the interface is identical: the FS90R takes the same pulse span over a 4.8 to 6 V supply through a JR-style connector. The meaning changes, not the format. The pulse width then sets speed and direction, with the mid width as the stop command, so the same scaling math works once you decide what the endpoints mean for your mechanism.
How fine can the FX5U command the position?
The built-in analog output resolves 2.5 mV, which the 120 microseconds-per-volt scaling turns into about 0.3 microseconds of pulse width per step. That is far finer than the servo's mechanical repeatability, so positioning accuracy will be limited by the servo and its linkage, not by the analog output.
Could a PLC output generate the pulse directly and skip the converter?
Only a dedicated high-speed pulse output can do it reliably. A general discrete output is updated on the PLC scan, which is far too coarse to place a pulse edge to the microsecond, and software timing drifts with scan load. If the PLC has a pulse-train or motion output intended for servo or stepper axes, that hardware can produce an RC-format pulse; otherwise keep the converter.


