PLC Fault Tracer From an Operator Symptom

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 o

Prompt · برومبت

Works with

claude-code (compatible), claude (compatible), codex (compatible), chatgpt (compatible), gemini-cli (compatible), cursor (compatible), copilot (compatible), opencode (compatible), amp (compatible), roo (compatible), kiro (compatible), goose (compatible), junie (compatible), trae (compatible), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible), aider (compatible)

Content

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}

Source and license

Source
Prompts Chat
Original
f/awesome-chatgpt-prompts/prompts.csv#plc-fault-tracer-from-an-operator-symptom
License
MIT