首页 全部提示词 Coding

PLC Fault Tracer From an Operator Symptom

文本 @markus864 1,221 字符 在 prompts.chat 查看 译文有问题?

这条还没有中文译文,当前显示英文原文。译文由定时任务补齐,也可以到仓库提 issue 催更。

English original

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}