Skip to main content
GitHub 仓库

twincat-agent

twincat-agent 收录了来自 TechIndustryX 的 5 个 skills,并提供仓库级职业覆盖和站内 skill 详情页。

已收集 skills
5
Stars
13
更新
2026-05-16
Forks
3
职业覆盖
2 个职业分类 · 已分类 100%
仓库浏览

这个仓库中的 skills

tc-troubleshooting
电子工程师(非计算机)

Use this skill ONLY when the user reports a build error, a compilation warning, or when `CheckPlcSyntaxAsync` fails. It contains specific fixes for TwinCAT IL Errors (4200-4213) and explanations for standard Compiler Warnings (1502-1990).

2026-05-16
tc-advanced-patterns
电气和电子工程技术专家和技术员

Use this skill when implementing advanced TwinCAT 3 (ExST) features. It covers Properties (GET/SET), Methods, initialization lifecycles (FB_init, FB_reinit, FB_exit), State Machine patterns, pragmas (attributes, conditional compiling, regions, message output), and PlcTaskSystemInfo access.

2026-05-07
tc-datatypes-memory
电气和电子工程技术专家和技术员

Use this skill when the user asks about data types, arrays, structures (STRUCT), enumerations (ENUM), pointers (POINTER), references (REFERENCE), or dynamic memory allocation (NEW/DELETE). It also contains critical rules for memory alignment (pack_mode) to minimize padding bytes.

2026-05-07
tc-naming-conventions
电气和电子工程技术专家和技术员

Use this skill ALWAYS before generating or modifying the names of any variables, Function Blocks (FB), Data Types (DUT), Functions, Methods, Properties, or Interfaces. It contains the mandatory Beckhoff Hungarian notation rules, prefixes (b, n, f, st, fb, etc.), and shading/name resolution rules to avoid conflicts.

2026-05-07
tc-syntax-control-flow
电气和电子工程技术专家和技术员

Use this skill to correctly format ST (Structured Text) logic, operators, and control flow statements. It includes precedence rules, IF/CASE/FOR/WHILE loops syntax, mathematical/bitwise operator rules (MOD, SHL, ADR, BITADR), and the list of reserved IEC keywords.

2026-05-07