A digital output is a switch with only on and off states, and it energises or de-energises an actuator coil directly. An analog output is a continuous quantity: it delivers a voltage or current setpoint to regulate a modulating actuator. The difference in how they drive loads lies mainly in the nature of the load, the ceiling on load capability and the accuracy required. The sections below set out the constraints on each.
Digital outputs serve on/off loads such as solenoid valves, contactors, indicator lamps and relay coils; the output is either on or off, and the output device only has to stay within its rated current. Analog outputs serve modulating loads such as proportional valves, VFD speed setpoints, thyristor firing and instrument signals. What they deliver is a continuously varying quantity, and the load must reproduce that quantity faithfully, so the load impedance and the circuit form matter.
The capability of a digital output is set by its output device. A relay output handles AC or DC loads and carries a relatively high current per point, but has a finite mechanical life that falls quickly as the switching frequency rises. A transistor output drives DC only: it switches fast and lasts long, but the current per point is lower and it needs overcurrent and short-circuit protection. A triac output is used on AC and needs attention to the minimum holding current and the inrush current. Outputs in the same group on one module often share a common terminal, and the common-terminal current must be counted too.
The load capability of an analog output is expressed as an impedance range. A voltage output (for example 0-10 V) needs the load impedance to be no lower than some minimum value; too heavy a load pulls the output voltage down, so the actual value no longer matches the setpoint. A current output (for example 4-20 mA) needs the load resistance to be no higher than some maximum value; too much total loop resistance and the channel cannot drive it, so the current fails to reach full scale. Both the upper and lower limits come from the output capability of the module and must be checked against the actuator input impedance at selection time.
A digital output has no accuracy question, only switching reliability and operating time. An analog output involves resolution (how many bits the D/A converter has), accuracy (full-scale error), temperature drift and response time. Resolution sets the smallest step the setpoint can be divided into, and in closed-loop control it sets the lower limit of the steady-state error. Digital outputs are written as a whole batch, whereas analog outputs are converted channel by channel, so more channels means a slower refresh.
Digital output wiring is simple, and over long runs the main issues are voltage drop and induced noise, which an interposing relay can isolate. For long-distance analog transmission, a 4-20 mA current signal is preferred: the drop along the cable does not affect the reading, the signal is more immune to noise, and the 4 mA live zero distinguishes a broken wire from a genuine zero, which helps diagnosis. Voltage-mode analog signals are unsuitable for long runs, because the cable resistance and noise go straight into the reading.
| Item | Digital output | Analog output | What to watch |
|---|---|---|---|
| Output state | On and off | Continuously variable | Choose by actuator type |
| Typical load | Solenoid valve, contactor, lamp | Proportional valve, VFD setpoint, thyristor | Load type drives selection |
| Capability stated as | Rated current per point | Load impedance range | Current versus impedance respectively |
| Load ceiling | Limited by output device current | Voltage type limited by minimum impedance | Exceed it and the voltage sags |
| Load floor | Triac needs holding current | Current type limited by maximum resistance | Exceed it and it cannot drive |
| Accuracy | No accuracy concept | Resolution and full-scale error | Sets closed-loop steady-state error |
| Response | Millisecond operating time | Conversion and refresh time | More channels refresh slower |
| Long-distance transmission | Drop and noise, use an interposing relay | Prefer 4-20 mA current type | Voltage type unsuitable over distance |
| Broken-wire diagnosis | Judge from feedback signals | 4 mA live zero reveals a break | Two-wire helps diagnosis |
| Common terminal | Group outputs often share a common | Each channel has its own loop | Count the common-terminal current |
Both types usually appear on the same machine: digital outputs handle the on/off of actions, analog outputs handle the setpoint and feedback for speed, pressure and flow. Selection has to be costed separately. For digital outputs, look at the current per point, the group common-terminal current and the switching frequency; for analog outputs, look at the load impedance range, the resolution and the loop form. Do not use a digital output in place of an analog setpoint, and do not expect an analog output to drive a high-power load directly; it delivers only a signal, and the power amplification belongs to the actuator or drive unit.
The requirements for the analog and digital modules of programmable controllers refer to GB/T 15969.2 and IEC 61131-2. The connection, protection and earthing of the electrical equipment of machines follow GB 5226.1 and IEC 60204-1. The requirements for low-voltage switchgear and controlgear are given in the GB 14048 series, and electrical diagram symbols in GB/T 4728. The current per point, load impedance range and resolution of each module are as stated in the manufacturer's technical data.
Any wiring change to analog or digital circuits must be made after switching off and proving dead, with the common terminal and loop polarity checked. For long analog runs a 4-20 mA current loop is recommended, with screened earthing arranged as the manufacturer advises.