How OT Actually Works: When the HMI Reads 47% Steady, But the Tank is Overflowing (A Control Loop Dissection)

The operator screen says the tank is at 47 %, just under setpoint, and steady. Out in the plant the level is 4.3 m and climbing. The high alarm stays silent.



That is the scenario in the first episode of our new series, "How OT actually works". We take one control loop apart: transmitter, PID controller, control valve. The tank (T-101) and every number in it are a hypothetical teaching example.
What the video walks through:
Why a forged level drives the tank up. A PV held just below setpoint makes the controller's integral action wind the output down until the outlet valve is shut.
An alarm calculated from the transmitter that controls the tank isn't a second opinion. It's the same opinion twice.
4–20 mA live zero catches broken wires, not lies. 11.5 mA from a forged signal looks exactly like 11.5 mA from a healthy transmitter.
Siemens S7-1500 PID_Compact defaults, from the Siemens PID control function manual (09/2016 edition; check yours):
  • Setpoint limits fall back to the PV limits of 0–120 %, so a setpoint above the top of the tank is accepted.
  • With the default ActivateRecoverMode, a PV-limit error leaves the loop in automatic. Siemens itself warns this can damage the system.
  • An invalid raw input drives the output to a substitute value, which defaults to 0.0.
Three places a false value can come from on a wired loop, and the trace each leaves:
  • a forced input (on an S7-1500 the force job is stored on the memory card and shown on the CPU display);
  • a write over the network, which depends on the CPU's access settings;
  • injection at the marshalling cabinet.
A historian heuristic for the SOC: loop in automatic, output pinned low, level flat and below setpoint, pump running. It's our own rule, so tune it per loop.
Why the last layer should be an independent high-high trip that doesn't come through the screen.
It ends with a read-only "walk one loop" checklist. Any change goes through MOC with the process owner.
Sources: NIST SP 800-82 Rev. 3, MITRE ATT&CK for ICS, Siemens manuals, and T. Kuphaldt's Lessons In Industrial Instrumentation (CC BY 4.0).



▶ Watch:



#OTsecurity #ICS #ProcessControl #Instrumentation #SCADA #PLC"
 

Attachments

Great breakdown — the part about the alarm coming from the same transmitter is the one most people miss. It's not a second opinion, it's the same opinion twice.

One thing I'd add from the field side: the HMI usually shows you the commanded output and the PV, not what the valve is actually doing. On a pneumatic outlet valve, check the positioner feedback against the command, and check the air supply. I've seen loops that looked like a tuning problem turn out to be a valve that wasn't moving at all, or moving very slowly because of low air / a sticking positioner.

Same for the independent high-high trip — it only helps if it's truly independent: separate transmitter, separate logic, and ideally a hardwired trip, not just another alarm on the same screen.

Good series, looking forward to the next loop.
 
Great breakdown — the part about the alarm coming from the same transmitter is the one most people miss. It's not a second opinion, it's the same opinion twice.

One thing I'd add from the field side: the HMI usually shows you the commanded output and the PV, not what the valve is actually doing. On a pneumatic outlet valve, check the positioner feedback against the command, and check the air supply. I've seen loops that looked like a tuning problem turn out to be a valve that wasn't moving at all, or moving very slowly because of low air / a sticking positioner.

Same for the independent high-high trip — it only helps if it's truly independent: separate transmitter, separate logic, and ideally a hardwired trip, not just another alarm on the same screen.

Good series, looking forward to the next loop.
Thanks, that's a really good point, especially about the valve position feedback.

It's easy to focus on the transmitter and PID logic while overlooking the final control element. A controller output of 20% doesn't necessarily mean the valve is actually 20% open. Low instrument air pressure, a sticking positioner, or mechanical issues can make the real response quite different from what the HMI suggests.

And I completely agree about the high-high trip. If it depends on the same transmitter, controller, or communication path, we're potentially carrying the same failure into what should be an independent protection layer.

One thing I'd like to explore in a future episode is how to distinguish a compromised PV from a genuine actuator problem using the available process signals. Comparing PV, controller output, valve position feedback, and related process measurements could be a useful starting point, although none of those signals should automatically be treated as trustworthy.

That's exactly the kind of field experience I was hoping this series would bring into the discussion. Appreciate you adding it!
 
Thanks, that's a really good point, especially about the valve position feedback.

It's easy to focus on the transmitter and PID logic while overlooking the final control element. A controller output of 20% doesn't necessarily mean the valve is actually 20% open. Low instrument air pressure, a sticking positioner, or mechanical issues can make the real response quite different from what the HMI suggests.

And I completely agree about the high-high trip. If it depends on the same transmitter, controller, or communication path, we're potentially carrying the same failure into what should be an independent protection layer.

One thing I'd like to explore in a future episode is how to distinguish a compromised PV from a genuine actuator problem using the available process signals. Comparing PV, controller output, valve position feedback, and related process measurements could be a useful starting point, although none of those signals should automatically be treated as trustworthy.

That's exactly the kind of field experience I was hoping this series would bring into the discussion. Appreciate you adding it!
That's a good one to dig into, because the two faults can look identical on the screen — a flat PV, an output doing something sensible, and a level still moving the wrong way.

The way I'd separate them is to stop trusting any single signal and look for disagreement between things that should move together.

First, put the loop in manual for a short, safe test — only if the tank and the process let you do that without risk — and step the output in small increments. Watch three things at the same time: the commanded output, the valve position feedback, and an independent check of what's actually happening in the tank, like a local gauge, a sight glass, or a second level reading if one is available. If the position feedback follows the command but the level doesn't move the way you'd expect, I'd lean toward the PV being wrong. If the position feedback doesn't follow the command, or it lags and sticks, that's pointing at the valve, its air supply, or the positioner.

Second, check the air supply pressure at the valve while you're doing it, not just at the header. I've seen a valve that moved fine with no load and then stalled once it had to work against the process.

Third, look at the other process signals around the tank — inlet flow, outlet flow, temperature, or whatever you've got. If the flows say the tank should be filling and the level PV says it's steady, something's off with the level measurement, not the valve.

One thing I'm less sure about is whether the position feedback is really independent. If it comes through the same controller or network as the PV, it might not be an independent witness at all. In that case I'd trust the local gauge and the flow balance more than either screen value.

What independent level check do you have on that tank — a local gauge, a sight glass, or a second transmitter on a separate tapping?
 
Good thread, and the exchange between you two is the useful part. PiMuNet's test makes sense to me, look for disagreement between the signals rather than trusting any one of them, and the manual bump test is a clean way to separate a stuck valve from a lying transmitter, as long as the process allows it.

The point I keep coming back to is the one about position feedback. If it comes back through the same I/O card or the same network path as the PV, it is not really a second opinion, it is the same path wearing a different label. That seems to be where a lot of these checks quietly fail.

On the historian side, would the heuristic from the video, loop in automatic, output pinned low, level flat and below setpoint, have flagged this case, or would the forged 47 percent have looked normal enough to slip past it?
 
Top