一个以PLC为重点的技能库,简化工业控制工作流程、故障排除和自动化相关任务。
概览
工业PLC编程的生产级AI代理技能。它结合了厂商中立的工程层和厂商感知的路由,使代理能够生成结构化、可审查的IEC 61131-3控制逻辑,而非通用的PLC伪代码。 PLC Skill 是一个可扩展的知识库,适用于 OpenClaw、Cursor、Claude Code 及其他需要推理 PLC 逻辑、控制序列、互锁、报警及厂商特定自动化环境的开发工具。 该技能被组织为两层系统: 1. : 跨厂商工程指导,涵盖扫描周期推理、状态机、输出所有权、互锁、调试、代码审查及 IEC 61131-3 风格逻辑。2. : 针对术语、语法、内存模型、项目结构、软件行为及官方文档的平台特定路由。 这种分离帮助AI助手避免混淆厂商生态系统、编造不支持的语法,或将每个PLC请求扁平化成模糊的IEC风格代码。
概述(AI 翻译)
工业PLC编程的生产级AI代理技能。它结合了 厂商中立的工程层,配备供应商感知路由,使代理能够产出 结构化、可审查的IEC 61131-3控制逻辑,取代通用的PLC伪代码。
阅读中文版 / Read in Chinese
概述
PLC Skill 是一个可扩展的知识库,适用于 OpenClaw、Cursor、Claude Code 和 其他需要推理PLC逻辑、控制的LLM驱动开发工具 序列、互锁、报警以及厂商专用自动化环境。
该技能被组织为两层系统:
- 通用PLC层:扫描周期跨厂商工程指导 推理、状态机、输出所有权、互锁、调试、代码 审查,以及IEC 61131-3风格逻辑。
- 供应商层:针对术语、语法、内存的平台特定路由 模型、项目结构、软件行为以及官方文档。
这种分离帮助AI助手避免混淆供应商生态系统,避免弥补 不支持的语法,或者将每个PLC请求都扁平化成模糊的IEC风格代码。
能力
- **结构化文本(ST)、梯形图(LD)的逻辑设计与生成,
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
PLC Skill
Production-grade AI agent skill for industrial PLC programming. It combines a vendor-neutral engineering layer with vendor-aware routing so agents can produce structured, reviewable IEC 61131-3 control logic instead of generic PLC pseudocode.
Overview
PLC Skill is an extensible knowledge base for OpenClaw, Cursor, Claude Code, and other LLM-powered development tools that need to reason about PLC logic, control sequences, interlocks, alarms, and vendor-specific automation environments.
The skill is organized as a two-layer system:
- Common PLC layer: Cross-vendor engineering guidance for scan-cycle reasoning, state machines, output ownership, interlocks, debugging, code review, and IEC 61131-3 style logic.
- Vendor layer: Platform-specific routing for terminology, syntax, memory models, project structure, software behavior, and official documentation.
This separation helps an AI assistant avoid mixing vendor ecosystems, making up unsupported syntax, or flattening every PLC request into vague IEC-style code.
Capabilities
- Logic design and generation for Structured Text (ST), Ladder Diagram (LD), Function Block Diagram (FBD), and Sequential Function Chart (SFC) oriented work.
- State machines and sequencers with explicit state ownership, transition conditions, and output mapping.
- Code review and refactoring for scan-cycle risks, multiple writers, hidden latches, unclear interlocks, and maintainability problems.
- Debugging and troubleshooting using observable-first workflows for timers, edge triggers, resets, alarms, and sequence faults.
- Vendor-aware routing for cues such as TIA Portal, Studio 5000, GX Works, Sysmac Studio, TwinCAT, CODESYS, and related platform terminology.
See SHOWCASE.md for examples of how the skill changes typical AI-generated PLC output.
Support Depth
| Depth | Vendors and environments | Expected behavior |
|---|---|---|
| Mature path | Mitsubishi FX3U + GX Works2 + Structured Project + ST | Deepest bundled guidance, examples, and review patterns. |
| Targeted modules | Siemens, Rockwell / Allen-Bradley, Omron | Vendor routing, rules, examples, and focused eval coverage. |
| Baseline modules | Beckhoff, Schneider, CODESYS, Delta, Keyence, Panasonic | Recognition, reference routing, cheatsheets, and official-doc indexes. |
Do not assume every vendor path has the same depth. When a platform is unknown or only partially covered, the skill should answer from the common PLC layer and mark vendor-dependent details clearly.
When to Use It
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add migo-ovo/plc-skill