Chat Prompt Library

Coding

PLC Fault Tracer From an Operator Symptom

Copy. Paste into any AI chat.

PromptCC0 · prompts.chat
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}
Credit
@Markus864 via prompts.chat / f/prompts.chat (CC0). Flagged by @0xForce_.

Related

CodingEthereum Developer@ameya-2003CodingLinux Terminal@fCodingJavaScript Console@omerimzaliCodingExcel Sheet@fCodingUX/UI Developer@devisasariCodingCyber Security Specialist@devisasari

All chat prompts · MCP how-to · Prompt Library

Keep Exploring

Advertise hereReach creators starting from zero.