PLC Skill
by @migo-ovo
General PLC development, explanation, review, refactoring, debugging, and troubleshooting skill across IEC 61131-3 style industrial control work. Use when th...
clawhub install plc-skillπ About This Skill
name: plc-skill description: General PLC development, explanation, review, refactoring, debugging, and troubleshooting skill across IEC 61131-3 style industrial control work. Use when the request involves PLC logic, sequence control, state machines, alarms, interlocks, timers, counters, I/O mapping, Structured Text (ST), Ladder Diagram (LD), Function Block Diagram (FBD), Sequential Function Chart (SFC), program structure, code review, maintainability, or commissioning/debugging. Route through the common PLC layer first, then prefer the matching vendor path when the user mentions Mitsubishi, Siemens, Omron, Allen-Bradley/Rockwell, Schneider, Delta, Keyence, Panasonic, Beckhoff, or Codesys ecosystems, software, CPU families, device models, or vendor-specific terminology. Do not prefer this skill for generic electronics, pure wiring-only work without logic context, broad industrial networking without control-program context, or high-confidence safety conclusions without confirmed field conditions. metadata: { "openclaw": { "requires": { "bins": ["openclaw"] } }, "version": "1.0.0", "author": "OpenClaw Community", "tags": ["plc", "iec61131-3", "st", "ladder", "siemens", "rockwell", "mitsubishi", "omron", "codesys", "beckhoff", "schneider", "delta", "keyence", "panasonic"] }
PLC Skill
Treat this as a general PLC skill with explicit vendor routing, not as a vague all-brands encyclopedia.
Work in two layers:
1. Common PLC layer 2. Vendor-specific layer when the platform is identifiable
Always keep these layers separate.
Operating model
First decide whether the request is actually a PLC/programming task.
Then classify it as one of:
If the vendor is known, use the matching vendor references first for environment, terminology, program organization, instruction semantics, and tooling behavior.
If the vendor is unknown, answer from the common PLC layer first and explicitly mark which details depend on vendor, model, software, or language.
If the user mixes multiple vendor ecosystems or terms, point out the likely mismatch instead of silently merging them.
Core boundaries
This skill covers:
This skill does not default to:
Read order
Start with:
references/skill-architecture.mdreferences/common/scope-and-trigger-rules.mdreferences/common/task-router.mdreferences/common/knowledge-priority.mdreferences/vendors/vendor-routing.mdtemplates/common/template-map.mdThen load only the narrowest files needed.
Common layer responsibilities
Use the common layer for:
Read from references/common/ and templates/common/ first when the vendor is unknown.
Vendor layer responsibilities
Use a vendor layer for:
Current deepest vendor module:
Prepared expansion modules:
Evidence priority
Use evidence in this order:
1. Bundled common references for PLC-generic engineering rules 2. Bundled vendor references for the identified platform 3. Vendor official manuals / official software docs 4. IEC 61131-3 and PLCopen material 5. Bundled templates and examples 6. Community material as low-priority supplement
If the answer depends on vendor-specific behavior and the vendor is not confirmed, say so.
Response rules
Always:
Reference map
Common:
references/common/scope-and-trigger-rules.mdreferences/common/task-router.mdreferences/common/knowledge-priority.mdreferences/common/query-to-doc-routing.mdreferences/common/glossary.mdreferences/common/plcopen-and-iec-notes.mdreferences/common/st-style-guide.mdreferences/common/st-output-style.mdreferences/common/program-templates.mdreferences/common/alarm-and-interlock-patterns.mdreferences/common/scan-cycle-and-output-ownership.mdreferences/common/debugging-and-review.mdreferences/common/debugging-checklists.mdreferences/common/code-review-checklists.mdreferences/common/input-completeness-rules.mdreferences/common/response-fallback-rules.mdreferences/common/output-format.mdreferences/common/safety-boundaries.mdreferences/common/ide-integration-formats.mdreferences/common/hmi-interface-patterns.mdreferences/common/hardware-abstraction-mapping.mdreferences/common/vendor-pitfalls-and-pro-tips.mdreferences/common/version-control-and-code-review.mdRouting:
references/skill-architecture.mdreferences/vendors/vendor-routing.mdreferences/vendors/vendor-module-map.mdreferences/vendors/vendor-recognition-signals.mdMitsubishi:
references/vendors/mitsubishi/mitsubishi-overview.mdreferences/vendors/mitsubishi/mitsubishi-fx3u-rules.mdreferences/vendors/mitsubishi/fx3u-focus.mdreferences/vendors/mitsubishi/fx3u-device-and-instruction-notes.mdreferences/vendors/mitsubishi/gxworks2-structured-project.mdreferences/vendors/mitsubishi/gxworks2-structured-project-deep-notes.mdreferences/vendors/mitsubishi/gxworks2-project-review-patterns.mdreferences/vendors/mitsubishi/official-doc-index.mdMature vendor modules:
Siemens:
references/vendors/siemens/siemens-overview.mdreferences/vendors/siemens/siemens-s7-1200-1500-rules.mdreferences/vendors/siemens/siemens-st-programming-guide.mdreferences/vendors/siemens/official-doc-index.mdRockwell / Allen-Bradley:
references/vendors/rockwell/rockwell-overview.mdreferences/vendors/rockwell/rockwell-logix-rules.mdreferences/vendors/rockwell/rockwell-st-programming-guide.mdreferences/vendors/rockwell/official-doc-index.mdOmron:
references/vendors/omron/omron-overview.mdreferences/vendors/omron/omron-nj-nx-rules.mdreferences/vendors/omron/official-doc-index.mdSchneider:
references/vendors/schneider/schneider-overview.mdreferences/vendors/schneider/schneider-modicon-rules.mdreferences/vendors/schneider/official-doc-index.mdBeckhoff:
references/vendors/beckhoff/beckhoff-overview.mdreferences/vendors/beckhoff/beckhoff-twincat-rules.mdreferences/vendors/beckhoff/official-doc-index.mdCodesys:
references/vendors/codesys/codesys-overview.mdreferences/vendors/codesys/codesys-v3-rules.mdreferences/vendors/codesys/official-doc-index.mdDelta:
references/vendors/delta/delta-overview.mdreferences/vendors/delta/delta-dvp-rules.mdreferences/vendors/delta/official-doc-index.mdKeyence:
references/vendors/keyence/keyence-overview.mdreferences/vendors/keyence/keyence-kv-rules.mdreferences/vendors/keyence/official-doc-index.mdPanasonic:
references/vendors/panasonic/panasonic-overview.mdreferences/vendors/panasonic/panasonic-fpwin-rules.mdreferences/vendors/panasonic/official-doc-index.md