Mechanical Engineering, Robotics & Workplace Automation

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

  1. Who does what
  2. Tags with context
  3. History that helps
  4. A digital twin with one job
  5. Securing the plant
  6. Try it

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.

ISA-95 levels from the physical process to ERP with a DMZ between plant and business networks; a tag with asset, signal, units, value, timestamp, quality, and source; and a list of OT security practices plus a digital twin with a specific job.
Keep control local, give data context, segment the network. Credit: StudyCorner diagram · CC BY 4.0 · Source

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

The historian stores drill spindle current as a 1-minute average. What can that hide?

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

What makes a digital twin worth trusting?

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.

What is SCADA? SCADA, from sensors to screens. Credit: RealPars · YouTube standard license · 8:09 · Source

Playback is optional. If the player is unavailable, open the video at its source.

Quick check

Where should the plant’s PLC network sit relative to the office network?

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.

1day streak
0/1today's goal
–correct

Up next · 5 min

Observe the Task Before Automating It

Next lesson
Sources for this lesson
  1. 1
    ISA-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.
  2. 2
    Digital 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.
  3. 3
    NIST 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.
  4. 4
    NIST 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.