DS Platform (DSL & DSD) at a Glance
AI closed-loop optimization is a preview. Its real AI provider and DSL simulation backend are not connected yet, so optimization and Apply are disabled. This modal neither produces verified improvement KPIs nor writes HMI commands. Existing MCP DSL authoring, compilation and execution verification remain separate features.
Write machine sequences like plain sentences (
DSL), and spot early wear from field logs (DSD).Design, simulate, and diagnose industrial automation right in your browser without wading through complex ladder schematics. {{Version & Scope::Canonical Version:
DS2-SPEC-V2.0(ds2 v2;) · Studio/VSIXv2.2.3// Quick Try:/tutorial3-min Arcade &/play?tutorial=15-step Coach // Included Modules: Target-awareSILS/MILS, Production HMI, CAD drawings, AAS Repository, and 1,345 3D assets}} *(Hover or tap any dottedibadge to open a quick summary.)*
1. Two Core Concepts
Concept · In One Line · What You Do With It
DSL *(Sequence Language)* · Write how machines move in short, readable rules · Describe step order ("Lock → Cut → Unlock"), homing, and safety guards clearly without tangled relay logic. {{Details::Homing: origin flow handles at-origin checks and collision-free return // 3 Safety Guards: `<\ · > (MutexSafe), interlock across Auto/Manual Jog/Homing, zone_mutex (ZoneSafe`)}}
DSD *(Field Diagnostics)* · Find slowing actuators directly from machine logs · Reconstruct real machine order from discrete or live I/O logs and detect subtle wear long before alarms trip. {{Details::Auto-Synthesis: Reverse-synthesizes ds2 v2; drafts from field signals // Early Warning: Spots valve/seal slowdowns and silent drift early}}
2. Two Core Tools
Tool · In One Line · What You Do With It
DS Studio *(PLAY Web · Desktop · VS Code)* · Author sequences and test in your browser or DS Studio Desktop before wiring · Run virtual commissioning across the 6-Tab Sequence Board, external .glb twins, and live ladders, then generate CAD, AAS (.aasx), and PLC packages. Explore setup, downloads, IDE config & 3D samples in the 6-tab AI Connection Guide (/mcp-guide). {{Details::Guided Entry & Target SILS: /tutorial & /play?tutorial=1 Coach, fast MILS vs 120-scenario shop-floor PLC Export & SILS (VENDOR_PLC/PLC_SILS/DS_RT_PC) and --local-agent loopback HILS // 6 Tabs & Outputs: Sequence Board (3D tiles), Control Flow, SCADA 9 views (incl. Text DSL/AASX), Formal Verification, External .glb, HMI, plus CAD/AAS/7 PLCs & 7-Tab showcase}}
DS Pilot *(Plan · Dashboard · Equipment Doctor)* · Connect digital process plans (DSL + AAS) to equipment execution, state observation, and diagnostics · Like route guidance for automated machines, link digital PLAN to equipment ACTION and timing/state FEEDBACK, defining required interfaces, data, and acceptance checks per project. {{Details::3 Family Roles: DS Pilot (Plan & Execute) · DS Pilot Dashboard (Observe operating states, interlock waits & sequence context) · DS Pilot Equipment Doctor (Diagnose timing deviations & operating symptoms) // Delivery & Verification Scope: Project-scoped integration (CONCEPT_AND_SCOPED_DELIVERY, no standalone public installer; physicalAcceptance = NOT_RUN and vendorIdeImport = NOT_RUN tracked separately)}}
3. How to Read Any Diagram: Just Remember Box · Circle · Arrow
Every flow diagram in the Wiki and DS Studio is built from only three simple shapes:
Shape · Name · What It Means · Quick Example
[[shape:box\ · ▢ Box]] · Work (work) · One major process step completed together on a part · LoadPart, PrecisionMachining, UnloadPart
[[shape:circle\ · Circle]] · Call (api) · A sub-mechanism action triggered inside a Box (Work) · ClampUnit.Lock, SpindleUnit.Cut
[[shape:arrow\ · →]] · Arrow (Edge) · The link showing who starts whom and who cleans up whom · LoadPart => PrecisionMachining, `Lock <\ · > Unlock`
4. Secret of the Arrows: Just 2 Primitives (> & |>) Build All 5!
DSL shows 5 arrow symbols, yet you never have to memorize them by rote. There are {{only 2 primitive building blocks::Architecture Axiom AX-02 (Two-Primitive Causal Reducibility): every causal operator reduces cleanly to Start (>) and Reset (|>).}}—> (Start) and |> (Reset)—and the other 3 are Lego combinations of those two!
The 2 Primitive Building Blocks
Glyph · Primitive · What It Does · Everyday Analogy
[[op:start]] · A > B *(Start)* · When A finishes, turn B on (A keeps its "Done" light on) · Green light for the next runner
[[op:reset]] · **`A \ · > B`** *(Reset)* · When A starts, wipe B's old "Done" mark clean · **Eraser bar (`\ · `)** clearing the track
The 3 Composite Arrows Built from > and |>
Glyph · Composite · How Is It Combined? · Why Combine Them?
[[op:baton]] · A => B · A > B + **`B \ · > A`** · Clean Baton Pass! When A finishes, it starts B (>), and B immediately clears A (`\ · >). {{Why fuse them?::Writing them separately can risk scan-boundary races; the compiler fuses => into one atomic StartReset` hand-off per scan.}}
[[op:term]] · **`A =\ · > B`** · A => B + **`A \ · > B`** · Baton Pass + End-Step Auto-Clean! Hands off A to B (=>), and when a new cycle restarts A, automatically clears end-step B's previous "Done" mark (`\ · >). {{Where is it used?::At the end of a sequence (PrecisionMachining =\ · > UnloadPart) or on single-action units (Cut =\ · > AutoReturn`) to prevent 2nd-cycle deadlocks.}}
[[op:mutex]] · **`A <\ · > B`** · **`A \ · > B + B \ · > A`** *(+ Mutual Block)* · Seesaw Safety Lock! Starting one clears the other (`\ · >), and the center wall (\ · ) blocks both from ever running together. {{Where is it used?::Bidirectional actuators (Lock <\ · > Unlock, Up <\ · > Down) so forward and reverse valves never energize simultaneously (Mutual Exclusion`).}}
💡 Visual Clue: Two single arrows (
>) fuse into a double shaft (=>), adding the eraser bar (|) creates=|>, and two arrows pushing against a center wall (|) form<|>!
5. Try It Live: First Machining Cell Example
Hover over any Box (Work), Circle (Call), or Arrow on the right—or any code line on the left—to watch them light up together.
ds2 v2;
project Basic_MachiningCell {
active CellController;
system ClampUnit {
flow Motion {
work Lock { duration 300ms; }
work Unlock finished { duration 300ms; }
Lock <|> Unlock;
}
api Lock = Motion.Lock;
api Unlock = Motion.Unlock;
}
system SpindleUnit {
flow Motion {
work Cut { duration 500ms; }
work AutoReturn;
Cut =|> AutoReturn;
}
api Cut = Motion.Cut;
}
system CellController {
flow MainProcess {
work LoadPart { duration 100ms; }
work PrecisionMachining {
ClampUnit.Lock > SpindleUnit.Cut > ClampUnit.Unlock;
}
work UnloadPart { duration 100ms; }
LoadPart => PrecisionMachining =|> UnloadPart;
}
api RunSingleCycle = MainProcess.LoadPart..MainProcess.UnloadPart;
}
}
- 3 Boxes (
LoadPart·PrecisionMachining·UnloadPart) : Major steps chained with baton-pass arrows (LoadPart => PrecisionMachining =|> UnloadPart;). - 3 Circles (
Lock > Cut > Unlock) : Sub-unit calls insidePrecisionMachining. Parallel actions fit on one line too:A > (B, C) > D;. - Safety & Re-arming (
<|>·=|>) :Lock <|> Unlock;prevents opposing valve actuation, andCut =|> AutoReturn;re-arms the spindle for cycle 2. - Edit One File Only ({{Single Canonical Source::Humans and AI edit only
.ds2text (DSLText). The compiler's enrichedSDF(dsdx-sdf/1.1) is sealed read-only (HOST-E403_SDF_READONLY_SEALED) so source and outputs never drift.}}) : Simulation, HMI, CAD, and AAS stay in lockstep with.ds2.
6. What's Inside v2.0.0 at a Glance
💡 *Skim the short summaries below, and hover over any dotted badge (i) whenever you need international standard IDs or protocol details.*
Area · What You Can Do
Readable ds2 v2; Language · Write control logic in familiar PLC conditions and a unified token model from one axis up to a full factory. {{Details::Conditions & Tokens: IEC 61131-3 ST operators in when/while/interlock and shared product fields via token.<field> // Modularity: Fractal system blocks, clear separation of `<\ · > opposing motion, interlock, and zone_mutex, plus migration from ds2 v1;`}}
Unified Homing & Operating Conditions · Define origin detection and collision-free homing in one origin flow block while enforcing safety locks across Auto, Manual Jog, and Homing. {{Details::Cold-Boot & Scan-Observed Origin: origin flow models start in 10(ORIGIN_REQ) gating AUTO until HMI_SYS_STATE = 30(AUTO_READY) is observed in scan telemetry, and wire origin api directly to HMI_TR_TO_HOMING (optional virtual overlay reset sends no PLC command) // Safety & Recovery Preservation: Recovery STOP/HOMING preserves Finish-waiting steps and in-flight WIP tokens, while client 200ms HMI_HEARTBEAT_IN (500ms watchdog) and `<\ · >/zone_mutex/interlock hold across Manual Jog until authentic HMI_SYS_STATE` recovery}}
Web Studio (PLAY · Desktop) & Operator HMI · Work inside the 6-Tab Sequence Board with auto-mounted 3D tiles, external .glb digital twins, 100ms live ladder monitoring, and smart HMI controls. {{Details::Trial, 120-Scenario SILS & Boundaries: /tutorial & /play?tutorial=1 Coach, 120 shop-floor PLC Export & SILS scenarios (VENDOR_PLC, PLC_SILS, DS_RT_PC; vendorIdeImport = NOT_RUN), --local-agent loopback HILS, CALL-TOKEN-BOUNDARY-1, Kleene 3-valued DS2-I002, and DS2-W002 // 6 Tabs: Sequence Board (3D tiles), Control Flow, SCADA (9 views incl. Text), Formal Verification, External 3D (.glb), and HMI (/play/production)}}
Field-Ready CAD (DWG · PDF) & 7-Tab V3 Bridge · Download standard 3rd-angle layout drawings, electrical schematics, and an offline 7-Tab Digital Twin showcase directly from .ds2. {{Details::CAD & BOM: AutoCAD .dwg (with preview markers) and .pdf layouts + vendor rack/slot/pin aligned schematics (ADDRESS_LAYOUT_CONFLICT detection) and Excel Purchase BOM (.xlsx) // Reports & Showcase: ISO 7200 PDF/HTML reports and showcase-html (7-Tab V3 bridge)}}
Process AAS Repo & Data Space Product DPP · Store sequence causality in system-level SequenceControlData.Edges inside your plant AAS Repository while opening only serial Product Passports (DPP) to Data Spaces. {{Details::Internal AAS Repo (IDTA v3.0.1): System-level Edges (Source/Target & group (a, b) > c Sources/Targets; CrossFlowEdges removed), 1:1 SM-04 TwinInstances bijection, strict bijective OPC UA NodeIds, PREFLIGHT-W001..W005, TargetShellRef [Jump], and 409 tamper checks // Data Space DPP: 5 IDTA templates, Catena-X BPN, .dpp.aasx}}
Production Management, OEE & Bottleneck Analytics · Calculate bottlenecks, steady-state UPH, and critical WIP before wiring, then connect read-only field telemetry to track live OEE. {{Details::Pre-Wiring Analytics: Bottleneck [BN], UPH, Little's Law WIP, single-count Exit output, and DS2-R504 cyclic stall recording // DS Pilot & Zero-Write Telemetry: DS Pilot (Plan · Dashboard · Equipment Doctor, CONCEPT_AND_SCOPED_DELIVERY), REAL_OBSERVE live OEE = A × P × Q with zero PLC writes (physicalAcceptance = NOT_RUN), unmeasured KPIs marked NOT_APPLICABLE}}
Sensorless Timing-Gauge Quality Traceability · Use cylinder motion duration without extra analog sensors to trace quality defects back to upstream actuator wear. {{Details::Root-Cause Tracing: Inline timing gauge pinpoints upstream cylinder wear // Proactive Containment: Pre-defect WECO alerts, automatic part hold flags, and .shadow.xlsx workbooks}}
1,345 3D Assets & Evidence-Backed AI · Build lines from 1,345 public 3D models and collaborate safely with AI using public read-only or 100% local MCP tools. {{Details::3D Catalog: 1,345 models (1,258 .ds2-linked, 927 previews, 418 drafts), /ui/library/ AASX Package Explorer, and 10 industry line workbenches // MCP & Setup: 11 public read-only tools + 86 Desktop / 103 local tools (Dsdx.Authoring single .vsix v2.2.3, per-endpoint Direct AI key isolation) and 6-tab /mcp-guide}}
7 Commercial PLC Exports (Beta) · Download LS Electric XG5000 directly in Studio or generate single-coil packages for all 7 major PLC vendors via local MCP export. {{Details::120 SILS Scenarios & 7 Targets (VENDOR_PLC): Studio exports LS XG5000; MCP generates LS, Siemens TIA, Mitsubishi GX Works3, Rockwell .L5X, Omron, CODESYS, and Beckhoff (vendorIdeImport = NOT_RUN) // Preflight & Safety: Single-coil, Step A/B 32-bit DINT overflow protection, 1-Hop/2-Hop stub guards, Work.Id jog tags (EXPORT-E500), PREFLIGHT-W001..W005 (CAPABILITY_UNSUPPORTED), Manual Jog MutexSafe/ZoneSafe}} *(Beta: review I/O wiring and hardware safety circuits before PLC deployment.)*
7. Where to Go Next (Steps 01 ~ 05)
Step · Recommended Guides · What You Will Learn
01 Overview · Platform at a Glance *(Current)* · 3-Min Tutorial Arcade · Box · Circle · Arrow visual reading and hands-on sequence arcade
02 DSL Basics · Guide 01: DSL Basics · Serial Example · Interlock Example · 4-level hierarchy, parallel Call DAG, and origin flow homing
03 Diagnostics · Guide 02: DSD & Sensor Rules · Catching drift from logs and writing when · while · interlock
04 Studio, OEE & AI · AI Connection Guide (/mcp-guide) · Guide 03: PLAY · Guide 04: AI · Guide 05: Production & OEE · MCP Quickstart · 6-tab MCP & IDE setup, live HMI/ladder, bottleneck & OEE (A×P×Q) analytics, CAD/AAS & AI
05 Roadmap · Phase 1 · Phase 2 · Phase 3 · Phase 4 · Scaling from one station up to plant-wide logistics
주요 기술 문서 바로가기
- example-basic
- example-interlock
- mcp-entry-quickstart
- mcp-troubleshooting-review
- milestone-1-overview
- milestone-2-overview
- milestone-3-overview
- milestone-4-overview
- week-001
- week-002
- week-003
- week-004
- week-005
- 무료 3D 산업 설비 모델 카탈로그 (GLB · AASX · DS2)
- LS ELECTRIC XG5000 PLC → AASX 역설계 변환기
- DualSoft MCP AI 연결 안내
- DS Studio PLAY 무료 브라우저 스튜디오