Introduction to DCS, PLC and P&ID symbols
How control is implemented in DCS and PLC systems (architecture, scan cycle, digital PID, safety systems) and how loops are documented on P&IDs with ISA-style tags, symbols and signal lines.
Drafted with Aria, reviewed by the AiCanCode.org team. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Every control loop studied so far is implemented today in a distributed control system (DCS) or a programmable logic controller (PLC), and documented on a piping and instrumentation diagram (P&ID). A graduate engineer joining a plant must read tag numbers and symbols on day one, understand how a 4–20 mA signal becomes a number in the DCS, and know why interlocks live in a PLC or safety system rather than in a PID block.
Key ideas
From analogue to distributed control. Early plants used pneumatic and then electronic panel-mounted controllers, one per loop. Centralised computer control put all loops in one computer, a single point of failure. A DCS distributes control over many redundant controller modules near the process, connected by a high-speed control network to operator consoles in the control room. Its typical layers are:
- Field level: transmitters, analysers, valves with positioners, switches (4–20 mA with HART, or digital fieldbus such as Foundation Fieldbus or Profibus PA).
- I/O and control level: input/output cards (analogue in/out, digital in/out) and controllers that execute PID and logic function blocks every scan (typically 0.1–1 s), often with redundant (hot standby) processors and power supplies.
- Supervisory level: operator stations (faceplates, trends, alarms), engineering workstation (configuration), historian, and links to advanced process control and plant business systems. DCSs suit continuous processes with many analogue loops, a single database and integrated alarm management.
PLC. A rugged industrial computer, originally a replacement for relay panels, best at fast discrete and sequential logic: interlocks, motor starts, batch sequences, packaging and burner management. It runs a repeating scan cycle: read all inputs, execute the program, update all outputs, then housekeeping/communication. The worst-case response time to an input change is about two scan times. Programs are written in the IEC 61131-3 languages: ladder diagram (LD), function block diagram (FBD), structured text (ST), instruction list (IL) and sequential function chart (SFC). Modern PLCs also run PID loops, and many plants combine PLCs for packaged units with a DCS for the main process; SCADA systems supervise geographically spread PLCs and RTUs (pipelines, water networks). Safety-instrumented functions (trips) are placed in a separate, certified safety instrumented system (SIS), independent of the basic control system.
Digital control. A digital controller samples the measurement every Δt, so it adds roughly Δt/2 of extra dead time; the sampling interval must be small compared with the dominant time constant. Discrete PID is usually written in velocity (incremental) form, which computes only the change in output each scan; it gives bumpless transfer between manual and automatic and simple anti-windup.
P&ID conventions (ISA-5.1 style).
- Tag numbers: the first letter is the measured or initiating variable (F flow, L level, P pressure, T temperature, A analysis, S speed, W weight); succeeding letters give the function (I indicate, R record, C control, T transmit, E primary element, A alarm, S switch, V valve, Y relay/compute/converter, Q totalise). H and L modify alarms (LAH = level alarm high). A second letter may modify the first (PD = pressure differential, FQ = flow totaliser). The number identifies the loop, e.g. TIC-101, FT-101, FV-101 belong to loop 101.
- Instrument symbols: a circle is a discrete field-mounted instrument; a circle with a solid horizontal line is in the main control room, accessible to the operator; a dashed line means behind the panel/not normally accessible. A circle inside a square is a shared display/shared control (DCS) function; a hexagon is a computer function; a diamond inside a square is a PLC (logic) function.
- Signal lines: process piping is a thick solid line; an electrical signal is dashed; a pneumatic signal is a solid line with double cross-hatches (//); a capillary tube has crosses (×); a software or data link is a line of small circles.
- Valves: the actuator symbol (diaphragm, motor, solenoid) sits on the valve body; the fail action is marked FC (fail closed), FO (fail open) or FL (fail last). Relief valves are tagged PSV.
Formulas
I = 4 + 16·(x − LRV)/(URV − LRV)
- Transmitter current I (mA) for value x; LRV, URV range limits.
V = I·R
- Voltage across a DCS input resistor (R = 250 Ω converts 4–20 mA to 1–5 V).
Counts = (V/V_FS)·(2ⁿ − 1)
- Reading of an n-bit A/D converter with full-scale voltage V_FS.
Δp_k = K_c·[(e_k − e_(k−1)) + (Δt/τ_I)·e_k + (τ_D/Δt)·(e_k − 2e_(k−1) + e_(k−2))]
- Velocity-form discrete PID; e error, Δt sampling interval (s), p controller output (%).
t_response,max ≈ 2·t_scan
- Worst-case PLC response to an input change (ignoring I/O filter delays).
Worked examples
Example 1 (standard): from transmitter to DCS counts. A temperature transmitter ranged 0–150 °C (4–20 mA) feeds a DCS input with a 250 Ω resistor and a 12-bit A/D converter of 0–5 V full scale. Find the current, voltage and counts at 90 °C, and the resolution in °C per count.
- I = 4 + 16·(90 − 0)/(150 − 0) = 4 + 9.6 = 13.6 mA.
- V = I·R = 0.0136·250 = 3.40 V.
- Counts = (3.40/5)·4095 = 2784.6, read as 2785.
- The live range 1–5 V uses 4/5 of the converter: 0.8·4095 = 3276 counts for 150 °C, so resolution = 150/3276 = 0.046 °C per count.
13.6 mA, 3.40 V, about 2785 counts; resolution ≈ 0.046 °C/count
Example 2 (GATE level): velocity-form digital PI. A DCS PI block has K_c = 2, τ_I = 1 min and a sampling interval Δt = 0.1 min. It is at 50 % output with zero error; the errors at the next three samples are 2, 1.5 and 1.0 %. Find the output after each sample.
- Velocity PI: Δp_k = K_c·[(e_k − e_(k−1)) + (Δt/τ_I)·e_k]; Δt/τ_I = 0.1.
- k = 1: Δp = 2·[(2 − 0) + 0.1·2] = 2·2.2 = 4.4 %, so p = 54.4 %.
- k = 2: Δp = 2·[(1.5 − 2) + 0.1·1.5] = 2·(−0.35) = −0.7 %, so p = 53.7 %.
- k = 3: Δp = 2·[(1.0 − 1.5) + 0.1·1.0] = 2·(−0.4) = −0.8 %, so p = 52.9 %.
Outputs: 54.4 %, 53.7 %, 52.9 %. The sampling adds about Δt/2 = 0.05 min of effective dead time to the loop.
Common mistakes
- Reading the first letter of a tag as the function: in "LIC" L is the variable (level), I and C are the functions.
- Confusing PI (pressure indicator) on a P&ID with PI control.
- Drawing pneumatic signals as dashed lines (dashed is electrical).
- Putting safety trips in the same DCS PID logic instead of an independent SIS.
- Forgetting the 4 mA live zero when scaling signals, which (scaling 0–20 mA instead) gives an error of 20 % of span at the bottom of the range.
- Choosing a sampling interval comparable to the process time constant.
For GATE CH
This topic is mostly tested conceptually: interpreting tag letters and P&ID symbols, valve fail actions, the difference between DCS, PLC and SCADA, and the scan cycle. Short numericals appear on 4–20 mA scaling and on discrete control. Practise decoding tags such as FIC, LAH, PDT and TSH, and converting between engineering units and signals.
Quick check
- What does the tag PDT-205 denote?
- On a P&ID, how is a pneumatic signal line drawn?
- A level transmitter ranged 0–4 m reads 16 mA. What is the level?
- Which IEC 61131-3 language is graphical and modelled on relay logic?
Answers: 1. A pressure-differential transmitter in loop 205. 2. A solid line with double cross-hatches (//). 3. 3 m. 4. Ladder diagram (LD).
Interview questions
All Process Instrumentation and Control interview questionsTry answering each one aloud before you open it.
1.What is a DCS and how is it organised?Concept
A distributed control system spreads control over several redundant controller modules located near the process, each running PID and logic blocks every scan, and links them by a control network to operator stations, an engineering station and a historian. Field instruments connect through I/O cards using 4–20 mA (often with HART) or digital fieldbus. Distribution means a single controller failure affects only its loops, while operators still get one integrated view, alarm system and database.
2.How does a PLC execute its program, and what limits its response time?Concept
A PLC works in a repeating scan: it reads all inputs into memory, executes the program (ladder logic, function blocks or structured text), writes all outputs, and then handles communication and diagnostics. An input change that arrives just after the inputs were read is seen only on the next scan, so the worst-case response is about two scan times plus I/O filter delays. Keeping scan times short and the logic simple is therefore important for interlocks and fast machinery.
3.When would you use a PLC rather than a DCS?Concept
PLCs suit fast discrete and sequential tasks: motor control, interlocks, packaging lines, burner management and packaged units such as compressors, where speed, ruggedness and cost matter. A DCS suits large continuous plants with many interacting analogue loops, advanced control, integrated alarm management and a single plant database. In practice they are combined: PLCs on packaged equipment report to the DCS, and SCADA is used when the equipment is spread over long distances, like pipelines.
4.Explain how to read an instrument tag such as TIC-101 or LAH-205 on a P&ID.Concept
The first letter is the measured or initiating variable (T temperature, L level, F flow, P pressure, A analysis), and succeeding letters give functions: I indicate, C control, T transmit, A alarm, S switch, V valve, E element. H or L after an alarm or switch means high or low. So TIC-101 is a temperature indicating controller in loop 101, and LAH-205 is a high-level alarm in loop 205; all instruments with the same number belong to the same loop.
5.What do the different instrument bubble symbols on a P&ID mean?Concept
A plain circle is a discrete field-mounted instrument. A circle with a solid horizontal line is mounted in the main control room and accessible to the operator, and a dashed line means behind the panel. A circle inside a square is a shared display or shared control function, such as a DCS faceplate; a hexagon is a computer function; and a diamond inside a square is a PLC or logic function.
6.Why are safety interlocks implemented in a separate safety instrumented system?Concept
The basic process control system is changed often, runs complex logic and can fail in ways that are not obvious, so relying on it for both control and protection creates a common-cause failure. A separate SIS, with its own sensors, logic solver and final elements designed to a required safety integrity level, acts independently to bring the process to a safe state. This independence is a core principle of layers of protection in process safety.
7.Why is the velocity form of the digital PID algorithm commonly used in DCS controllers?Concept
The velocity form computes only the change in output each sample, Δp_k = K_c[(e_k − e_(k−1)) + (Δt/τ_I)e_k + ...], instead of the full output with a running integral. Transfer from manual to automatic is then bumpless because the algorithm simply starts adding increments to the current valve position. Reset windup is also easier to prevent, since when the output saturates the increments are just discarded.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?