From DS2 single-source model to PLC execution, GRAFCET drawings, and field feedback
Keeping sequence drawings, PLC programs, 3D simulations, HMI screens, and AAS asset records synchronized manually breaks down as soon as a line changes. This architecture guide explains how DualSoft derives engineering deliverables from one sealed DS2 model revision, aligns with GRAFCET and IEC 61131-3 standards, and separates simulation evidence from hardware commissioning.
On this page
One sealed model revision, clear data lineage#
In the DualSoft architecture, engineers and AI tools author human-readable DS2 text, from which the compiler generates a read-only sealed Structured Data Format (SDF) revision and Control IR. Crucially, PLC IR parsed from legacy shop-floor controllers stays distinct from Control IR lowered from the authored SDF, so reverse-engineered evidence and forward-generated control logic never overwrite each other silently.
Virtual-to-Real progression and Real-to-Virtual feedback#
Every execution configuration adds concrete physical constraints without discarding prior model invariants. Model-in-the-loop (MILS) validates sequence ordering and preconditions, software-in-the-loop (DS-SILS and PLC-SILS) adds actuator timing, scan periods, and controller types, hardware-in-the-loop (HILS) introduces real CPU firmware and communication latency against a virtual plant, and live operation (REAL) binds physical I/O. Read-only field logs flow back through DS Pilot so observed deviations inform the next reviewed SDF revision.
GRAFCET and control standard interoperability#
While GRAFCET remains the international standard for unambiguous sequential design intent, surrounding implementation and exchange standards continue to evolve across IEC 61131-3 Structured Text, PLCopen XML, OPC UA, and AutomationML Logic. DualSoft treats DS2 as a deterministic specification layer that emits clean GRAFCET sheets alongside IEC 61131-3 code, wiring drawings, and IDTA AASX packages from the same source hash.
Invariant evidence matrix and commissioning boundaries#
Each verification mode proves only what its execution boundary actually covers. Static compilation, offline timing diagrams, and simulation checks do not claim vendor PLC IDE import approval, safety integrity certification, or physical plant sign-off; whenever controller code, hardware topology, or field I/O changes, the affected evidence is re-verified explicitly.
Execution Configurations: MILS → SILS → HILS → REAL#
| Configuration | Controller / Plant | Information Added | Verification Boundary |
|---|---|---|---|
| MILS | DS2 model logic execution | Sequence order, preconditions, initial state, logical time | Causal order, deadlock & interlock checks (no PLC) |
| DS-SILS | DS scan kernel / virtual plant | Active/Passive systems, kinematics, actuator timing, scan dt | Scan-quantized CT, timing & 3D/HMI verification |
| PLC-SILS | PLC emulator / virtual plant | PLC code, addresses, data types, scan policy | Generated ST/Ladder & PLCopen XML equivalence |
| HILS | Physical PLC / virtual plant | CPU firmware, loaded image, comms/I/O latency, recovery | Real controller timing & I/O bus check (virtual plant) |
| REAL | Physical PLC / live equipment | Field I/O, safety interlocks, production logs, observed CT | Project-scoped site commissioning & acceptance |
Note: each configuration validates only its own boundary; static exports never substitute for vendor IDE import or physical commissioning.
GRAFCET (IEC 60848) & Control Standards Mapping#
| Standard Domain | Specification | Role in DS2 Architecture |
|---|---|---|
| Sequential Design Intent | IEC 60848 · KS C IEC 60848 | Unambiguous step, action, transition, and operating-mode sheets |
| PLC Control Programs | IEC 61131-3 · PLCopen XML | Control IR to 5-zone ST, Ladder, and vendor package export |
| Electrical & CAD Exchange | ISO 7200 · IEC 62714 (AML) | Title-block CAD drawings, I/O BOM, and AutomationML exchange |
| Industrial Information Model | IEC 62541 (OPC UA NodeSet2) | Automated equipment object, status, and alarm NodeSet XML |
| Asset Shell & Passport | IEC 63278-1 · IDTA Part 5 (AASX) | Nameplate, SequenceControlData, and DPP exchange packages |
Related Technical Notes#
Browse 18 DS Studio deliverable previews Read PLC log & unsupervised AI whitepaper
Verified by: DualSoft Engineering — DS2 Control Architecture & GRAFCET Standards Note
Scope and deliverables are agreed together before any customer data is handled.
