Agentic AI factory safety: enforcing hard separation from real-time PLCs
Autonomous AI agents can synthesize shift logs, propose sequence improvements, and diagnose anomalies across factory systems, yet probabilistic reasoning must never hold direct write authority over live PLC actuators or emergency-stop loops. Safe agentic factory architecture separates advisory AI orchestration from read-only telemetry, offline DS2 and 3D verification, human-in-the-loop approval, and certified hardwired safety relays.
On this page
Why probabilistic AI agents must stay isolated from deterministic PLC scan loops#
Agentic AI systems excel at multi-step reasoning across specifications, maintenance records, and asset metadata, but their token-level outputs remain probabilistic and variable in latency. Real-time factory PLCs operate under strict cyclic determinism where a single conflicting actuator command or delayed interlock evaluation can damage tooling or endanger operators. Separating the plant into an advisory AI orchestration plane, an engineer-gated verification plane, and a deterministic PLC plus hardwired safety plane lets teams adopt autonomous workflows without compromising physical safety.
| Factory Plane | Execution Nature | Permitted AI Role | Non-Negotiable Safety Rule |
|---|---|---|---|
| Agentic AI Orchestration | Probabilistic reasoning & planning | Query read-only specs, logs, and AAS metadata | Zero direct writes to live PLC coils or motion blocks |
| Engineering Verification Plane | Deterministic DS2 compile & 3D SILS | Draft models validated by static rules & simulation | Every revision requires human engineer sign-off |
| Real-Time Sequence PLC | Bounded deterministic scan execution | None at runtime (read-only telemetry export only) | Offline vendor IDE import & staged commissioning |
| Hardwired Safety & E-Stop | Certified fail-safe hardware circuits | Explicitly excluded from all AI and MCP scope | Physically independent safety relays & safety PLC |
Enforcing one-way read-only OT telemetry and specification discovery#
Safe agentic diagnostics rely on strict directional isolation: operational signals flow out of equipment into read-only diagnostic layers while reverse write commands remain blocked at the OT boundary. On the engineering side, DualSoft's public read-only Web MCP server exposes 10 discovery tools and 10 published process line examples so AI agents ground every proposal in canonical specifications instead of guessing controller registers.

{
"publicWebMcpSlimMode": true,
"publicWebMcpToolsCount": 10,
"livePlcWriteTools": 0,
"allowedCapabilities": [
"docs_search", "docs_read",
"dsdx.examples.list", "dsdx.examples.get",
"dsdx.library.search", "dsdx.library.get",
"dsdx.scene.catalog", "dsdx.plc.formats"
],
"safetyCircuitAccess": "EXCLUDED"
}| Interface Direction | Unsafe Bi-Directional Agent Plugin | DualSoft Read-Only OT Boundary | Risk Mitigation |
|---|---|---|---|
| Plant -> AI Telemetry | Mixed with remote write session | Read-only log & tag snapshots for anomaly triage | Zero runtime interference on PLC scan time |
| AI -> Spec & Asset Lookup | Unverified prompt memory | Read-only MCP with hashed DS2 & AASX metadata | Traceable citations without mutating plant state |
| AI -> Live PLC Write | Allows direct coil or setpoint edits | Blocked at firewall and absent from public MCP | Prevents unauthorized actuator motion |
| AI -> Safety Relay / E-Stop | Potential logic confusion | Physically disconnected hardware safety rail | Preserves fail-safe stop guarantees |
Human-in-the-loop approval gates and certified physical safety boundaries#
Every control change proposed with AI assistance must pass offline static compilation, visual 3D cell inspection, and explicit sign-off by a qualified control engineer before entering a vendor PLC toolchain. DualSoft records these boundaries explicitly in its public evidence ledger: vendor PLC IDE import (Vendor PLC IDE import not executed Not yet checked) is verified per target project, and physical hardware commissioning (Physical commissioning outside this reference scope Not yet checked) plus hardwired safety validation remain mandatory human responsibilities.

| Approval Gate | Required Artifact | Gate Owner | Public Verification Boundary |
|---|---|---|---|
| Offline Causal & Interlock Check | Compiled DS2 model & static rule report | Deterministic Compiler | Automated pre-export verification |
| 3D Virtual Cell Review | Simulated cycle & fault-recovery replay | Control Engineer | Human inspection before code export |
| Vendor PLC IDE Import & Build | Exported ST / LD / PLCopen XML project | Control Engineer (per site) | Vendor PLC IDE import not executed Not yet checked |
| Physical Commissioning & E-Stop | Hardware I/O test & safety relay sign-off | Site & Safety Engineer | Physical commissioning outside this reference scope Not yet checked |
Governance Matrix: Unguarded Agentic Automation vs DualSoft Safety-Separated Architecture#
| Governance Dimension | Unguarded Autonomous Agent | DualSoft Safety-Separated Stack | Plant Safety Outcome |
|---|---|---|---|
| Live PLC Write Authority | Direct runtime coil/tag writes | Zero live AI write paths (read-only OT) | Eliminates erratic actuator motion |
| Control Change Verification | Unverified prompt output | DS2 static interlock checks + 3D SILS | Catches sequence conflicts offline |
| Engineer Accountability | Opaque automated changes | Mandatory human-in-the-loop approval key | Full revision auditability per site |
| Emergency Stop & Safety PLC | Risks software-layer coupling | Certified hardwired safety relays isolated | Preserves deterministic hardware fail-safe |
| Truth & Evidence Boundaries | Blurs simulation with live plant | Explicit VERIFIED vs NOT_RUN milestones | Honest commissioning scope for teams |
Core Pillar & Related Briefings#
AI PLC Architecture Pillar All Engineering Insights AI Structured Text (IEC 61131-3): deterministic verification before PLC deployment MCP for industrial PLC automation: read-only discovery with strict safety separation
Verified Facts and Scope Boundaries#
- Read-only discovery tools10
The public MCP endpoint provides discovery tools with read-only access.
- Published process examples10
Interactive process-line examples published on dualsoft.ai that open without local installation.
- PLC engineering-tool importVendor PLC IDE import not executed Not yet checked
Importing a project directly into a specific PLC vendor's engineering IDE has not yet been tested.
- Physical equipment commissioningPhysical commissioning outside this reference scope Not yet checked
Physical factory wiring, commissioning, and safety acceptance are outside this software reference scope.
Scope and Verification FAQ#
Should an agentic AI system ever have direct write permission to a running factory PLC?
No. Probabilistic AI reasoning can introduce latency jitter or logical hallucinations that conflict with deterministic PLC scan cycles. Industrial agentic architectures restrict live connectivity to read-only telemetry and route any control revision through offline deterministic compilation, 3D verification, and human engineer approval.
How do read-only diagnostic agents improve plant reliability without editing PLC code?
Read-only diagnostic layers analyze passive PLC signal logs, cycle timelines, and asset metadata to surface abnormal delays, micro-stops, and component wear trends early—helping maintenance engineers act before hard alarms stop the line, without touching running controller logic.
Where do certified safety PLCs and emergency-stop relays sit in an agentic AI factory?
Certified safety relays, hardwired emergency-stop circuits, and safety PLCs sit completely outside AI agent and MCP reach. They form an independent hardware fail-safe layer that cannot be bypassed by software or AI orchestration.
What is the role of human-in-the-loop review in DualSoft's AI PLC workflow?
Engineers review compiled DS2 logic and 3D virtual cell behavior, verify vendor PLC IDE imports for the target controller, and execute physical I/O and safety commissioning checks before authorizing production operation.
Verified by: DualSoft Engineering — Agentic AI Factory Safety & Real-Time PLC Separation Briefing
Scope and deliverables are agreed together before any customer data is handled.



