How a PLC Analog Output Works
Move the PID output and the raw count the card uses at 20 mA. Watch the output word change, the card drive the loop current and the positioner stroke the valve to the new opening.
Quick answer: A PLC analog output card takes an integer from the program, converts it with a digital to analog converter and drives a proportional 4 to 20 mA current into the field. A valve positioner reads that current and moves the control valve to the matching opening, closed at 4 mA and fully open at 20 mA on an air to open valve.
What Is a PLC Analog Output to Valve?
In a control loop the PID block calculates a valve demand in percent, but the field device needs a current. The analog output card is the bridge: the program writes a raw count to an output word and the card turns it into milliamps.
The card works as a current source, so it pushes the set current through the cable and the positioner even when the wire resistance changes a little. The positioner then compares the current with the actual stem position and adds or vents air until the two agree.
Most commissioning problems with analog outputs come from wrong scaling, a reversed valve action or a loop resistance that is too high for the card. Seeing each stage of the chain makes those faults quick to find.
How a PLC Analog Output Works: Interactive Animation
- 1PID block output in percent
- 2Analog output word (raw count)
- 3AO card: DAC and current source
- 44 to 20 mA loop to the field
- 5Valve positioner with instrument air
- 6Spring and diaphragm actuator, air to open
- 7Valve plug and seat in the pipe
- 8Trend: demand and stem position
PLC Analog Output to Valve Working Principle Step by Step
- The PID block calculates the controller output as 0 to 100 % and the program scales it into a raw count between the low and high count of the card.
- The program writes that count to the analog output word, and the card picks it up at every output update.
- A digital to analog converter on the card turns the count into a set point for a current source, which drives 4 to 20 mA into the loop.
- The positioner on the valve reads the loop current as its set point and compares it with the stem position measured by its feedback arm.
- It fills or vents the actuator until the stem position matches the signal, so 4 mA holds the valve closed and 20 mA holds it fully open on an air to open valve.
PLC Analog Output to Valve Labelled Diagram

PLC Analog Output to Valve Formula
Loop current I = 4 + 16 × output % ÷ 100 mA
Current step per count = 16 mA ÷ raw count at 20 mA
Air to open valve: opening % = (I − 4) ÷ 16 × 100; air to close valve: opening % = 100 − (I − 4) ÷ 16 × 100
Example: output 60 % with 32000 counts at 20 mA: raw = 0.6 × 32000 = 19200, I = 4 + 16 × 0.6 = 13.6 mA, step = 16 ÷ 32000 = 0.0005 mA per count, valve 60 % open
Main Parts of a PLC Analog Output to Valve
| Part | What it does |
|---|---|
| PID block and scaling | Calculates the valve demand in percent and converts it to the raw count range of the card |
| Analog output word | Memory word the card reads; writing a value here sets the output current |
| DAC and current source | Converts the count to a current and holds it constant against changes in loop resistance |
| Field cable and loop | Two wire circuit carrying the current to the positioner, often through a barrier or isolator |
| Valve positioner | Uses the current as a set point, measures stem travel and controls the air to the actuator |
Where a PLC Analog Output to Valve Is Used
Advantages
- A current signal is not affected by cable resistance within the card limit
- The live zero at 4 mA lets the positioner and the PLC detect a broken loop
- One simple straight line from percent to milliamps, easy to check with a meter
Limitations
- Resolution is limited by the number of counts the DAC uses
- The card can drive only a limited loop resistance, so long cables and barriers must be checked
- A wrong scaling or valve action in the program moves the valve the wrong way with no error shown
PLC Analog Output to Valve Field Tips and Common Problems
- Measure the loop current with a meter in series or a mA clamp and compare it with the output percent before stroking the valve on line.
- Add up cable, barrier and positioner resistance and check the total against the maximum load the output card can drive.
- Confirm the fail action: on an air to open valve a loss of signal or air closes the valve, so make sure closed is the safe position.
- During loop checks set the output to 0, 25, 50, 75 and 100 % and record the current and the real valve travel at each point.
Related Calculators and Tools
Frequently Asked Questions
What happens to the valve if the PLC stops?
It depends on the card setting for CPU stop, which is usually hold last value, go to a set value or go to zero current. Choose the setting that sends the valve to the safe position for the process.
Why use 4 mA and not 0 mA for zero?
With a live zero, 0 mA means a broken loop or a dead card, not a closed valve. The positioner can then go to its fail position and the fault can be detected.
How do I reverse the valve action?
Reverse the action in the PID block, reverse the output scaling, or set the positioner to reverse action. Do it in one place only and document it, or the loop will fight itself.
Can I connect two devices to one analog output?
Yes, in series, as long as the total resistance stays within the card limit. A loop powered indicator in series with the positioner is a common example.
Learn more on the blog
PLC analog input explained
A practical guide on instrumentationblog.in that goes deeper into this topic with field examples.
Read Full ArticleMore How It Works
All How It Works animations · Instrumentation glossary · Comparisons
