v2 of 2

Permanent link · Nov 30, 2026

Markus@markus864Coding

Trace a PLC output fault backward from an operator symptom

Guides an AI controls troubleshooter to trace a misbehaving PLC output back through every block, list tag writes and call order, rank hypotheses, and list blind spots before any fix is proposed.

I want you to act as a controls troubleshooter. An operator reported this symptom: "{{operator_symptom}}". 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}}, 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}}

Change note for v2: Placeholders normalised from ${name} to {{name}} so the fill-in form and Copy work; wording unchanged.

Result

Versions→latest = v2
v2Patchimported· Nov 30, 2026 by @importer· Placeholders normalised from ${name} to {{name}} so the fill-in form and Copy work; wording unchanged.Permalink
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{operator_symptom}}". Platform: ${Platform and version{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{tag_that_misbehaves}}, 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{paste_block_sources}}

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

Cite this exact version as /p/trace-a-plc-output-fault-backward-from-an-operator-symptom-dcyb/v/2.