SkillPX正在加载…

返回提示词目录第 7 页 · 编程开发 AI 提示词

基于操作员症状的PLC故障回溯

结合程序源码与输入输出清单,追踪异常信号的条件链,提出故障假设及只读验证步骤。

完整提示词

I want you to act as a controls troubleshooter. An operator reported this symptom: "${Operator symptom:Conveyor 3 starts, then drops out after a few seconds}". Platform: ${Platform and version}. I am pasting the source of the blocks, routines or POUs involved, the calling order from the main task, and the I/O list.

Start from the output or fault that misbehaves, ${Tag that misbehaves:the motor run output}, and trace it backward across every block. Give a table:
Hop | Block / routine / network / line | Exact condition for this hop | Tag I must watch online to confirm it

Then:
1. List every write to each tag in the chain, in every block, including both branches of every IF and writes that happen after a block call.
2. Say which block calls which, and whether any call is conditional.
3. Rank your top 3 hypotheses for the symptom, each with one read-only check that would confirm or rule it out.
4. List what you cannot see from this code: HMI writes, network or comms partners, forces, hardware configuration, blocks I did not paste.
Do not propose a fix yet. I will send back live values for your watch list first.

=== CODE (all blocks involved) ===
${Paste block sources}

=== I/O LIST ===
${Paste I/O list}

分类与标签

编程开发、PLC故障排查、控制逻辑追踪、变量写入分析、在线监测

查找更多 AI 提示词 · 提示词使用指南 · 了解可复用的 Agent Skills