SCADA, MES, Digital Twins & OT Cybersecurity
Getting data out of the drill cell without breaking it: what SCADA, a historian, and MES each do; a tag with enough context to be useful; why an averaged trend hides a 200 ms current spike; a digital twin with one specific job (predicting drill wear), validated before it's trusted; and the security basics NIST describes for operational technology: an asset list, a separate plant network with a DMZ, controlled remote access, and tested backups of every PLC program.
- 5 min
- 6 steps
- 3 questions
- Lesson 66 of 78
In this lesson
- Who does what
- Tags with context
- History that helps
- A digital twin with one job
- Securing the plant
- Try it
Picking up where you left off.
Who does what
ISA-95 sorts a plant’s systems into levels with different jobs and time scales 1:
- Control (PLCs, drives, robot controllers): milliseconds. Runs the machine.
- Supervisory (HMI and SCADA): seconds. Shows operators what’s happening, raises alarms, lets them start and stop things, and feeds a historian that records values over time.
- Operations (MES): minutes to hours. Which work order is running, how many good parts, which material lot went into which part.
- Business (ERP): days. Orders, inventory, purchasing, costs.
The drill cell’s PLC knows a bracket was drilled. SCADA shows the count climbing and the alarm when the clamp fails. MES records that bracket 4,512 was drilled from steel lot 23-118 on work order 7731 at 10:42. ERP knows the customer order is 60% complete.
The rule from the first lesson holds: each level must keep working if the one above it fails. If MES goes down, the cell finishes parts and holds the records locally until it’s back.
Tags with context
A raw tag like N7:42 = 18.6 is useless six months later. The same value with context is data:
| Field | Example |
|---|---|
| Asset | DrillCell1 / Spindle |
| Signal | Spindle motor current |
| Value and units | 18.6 A |
| Range | 0–40 A |
| Timestamp | 2026-10-02 10:42:07.315, from the PLC clock synced to plant time |
| Quality | good (vs. stale or sensor fault) |
| Source | PLC1, analog input slot 3 ch 2 |
Synchronize every controller’s clock. Without it, the robot’s fault log and the PLC’s alarm log can’t be lined up to see which came first.
History that helps
Historians save space by recording values only when they change by more than a deadband, or by averaging. That’s fine for a tank level. It’s not fine for the drill spindle current: a bit that breaks shows as a spike lasting a fraction of a second, and a one-minute average smooths a 200 ms spike to almost nothing. For anything you’ll want to diagnose, log events (state changes, alarms, the first-out cause, commands and their proof) and peaks, with the part and work order they belong to.
Quick check
Log events and peaks, not just averages, for anything you’ll need to diagnose.
A digital twin with one job
NIST describes a manufacturing digital twin as a virtual model kept in sync with a real machine and used to diagnose, predict, or optimize it, and stresses verification, validation, and uncertainty 2. The useful ones start with one decision.
For the drill cell: when should the drill bit be changed? The twin takes spindle current and feed time for every hole, compares them with a model of how current rises as a bit dulls, and predicts how many holes are left. Before anyone trusts it:
- Validate it against real data: run bits to failure, record current, and check the predictions.
- State its uncertainty: “replace within the next 150 ± 40 holes.”
- Limit its authority: it recommends a bit change on the HMI; it doesn’t command the machine.
A 3D model that moves on screen is a visualization, not a twin.
Quick check
NIST stresses verification, validation, and uncertainty for manufacturing twins.
Securing the plant
Operational technology runs physical equipment, so NIST’s guide puts safety, reliability, and availability ahead of everything else and warns that ordinary IT practices (patching on a schedule, scanning aggressively, forcing reboots) can disrupt a running process 3. The basics for a cell like this one:
- Know what you have. A list of every PLC, HMI, robot controller, drive, and switch, with firmware versions and who’s responsible.
- Separate the networks. Machines on a plant network; office computers on another; a DMZ in between holding the historian copy and anything the business side reads. No direct path from an office PC or the internet to a PLC.
- Control remote access. Vendors connect through one managed gateway, with individual accounts and multi-factor login, turned on only when needed.
- Back up and test. Keep a copy of every PLC and robot program, versioned, off the machine. Practice restoring one to a spare controller; an untested backup isn’t a backup.
- Change control. Every program change logged with who, when, what, and why. NIST’s manufacturing example builds in file-integrity checking and application allowlisting so unexpected changes are noticed 4.
Never run disruptive security tests on a live production line; use a spare controller or test bench.
Playback is optional. If the player is unavailable, open the video at its source.
Quick check
Segmentation keeps an office malware outbreak from reaching the machines.
Try it
Draw the drill cell’s data path from spindle current sensor to the ERP report. Mark each network boundary, what crosses it, and what happens at each level if the link above it goes down. Then write the validation plan for the bit-wear twin: how many bits, what you’d measure, and what accuracy you’d need before letting it schedule bit changes.
Lesson complete
Nice work.
Sources for this lesson
- 1ISA-95 - Enterprise-Control System Integration. International Society of Automation. verifiedTechnology-neutral models for equipment hierarchy, manufacturing operations, and the interfaces among plant control and business systems. Cited at: purpose and layers.
- 2Digital Twins for Advanced Manufacturing. National Institute of Standards and Technology. verifiedRequirements, synchronization, interoperability, verification, validation, uncertainty quantification, and trustworthy manufacturing twins. Cited at: program objective.
- 3NIST SP 800-82 Rev. 3 - Guide to Operational Technology Security. National Institute of Standards and Technology. 2023. verifiedSecurity guidance for OT systems, including PLC, DCS, SCADA, physical-process interactions, reliability, performance, and safety constraints. Cited at: guidance.
- 4NIST SP 1800-10 - Protecting Information and System Integrity in Industrial Control System Environments. National Institute of Standards and Technology. 2022. verifiedPractical manufacturing-sector architectures for allowlisting, anomaly detection, file integrity, change control, secure access, authentication, and authorization. Cited at: capabilities.