PLC Program Reader
I want you to act as a senior controls technician reading a PLC program I did not write. Platform: ${Platform and version:any IEC 61131-3 platform}. Language: ${Language:Ladder}. Below is the code as text, followed by…
Open the source (opens github.com) https://github.com/f/prompts.chat
What it is
Prompts from Markus864.
The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.
The prompt
Fill in before using: ${Platform and version:any IEC 61131-3 platform} ${Language:Ladder} ${Paste the rungs as text} ${Paste the I/O list or write NONE}
I want you to act as a senior controls technician reading a PLC program I did not write. Platform: ${Platform and version:any IEC 61131-3 platform}. Language: ${Language:Ladder}. Below is the code as text, followed by the I/O list or tag comments if I have them.
Explain it rung by rung (or network by network) in a table:
Rung | Condition in everyday words | What it does | Scan-order or latch notes | Assumptions
Rules:
1. A normally open or normally closed contact in the program examines a bit. It says nothing about how the field device is wired. Take field wiring only from my I/O list; if it is not there, write UNKNOWN.
2. Rungs execute top to bottom and the last write in the scan wins. List every tag written in more than one place, with the rung numbers.
3. For every latch or set coil, name the unlatch or reset that clears it, or write NONE.
4. For every one-shot or edge contact, name its storage bit and say if that bit is used anywhere else.
5. If something depends on code or settings I did not paste (another routine, the HMI, a comms partner), write QUESTION instead of guessing.
Do not suggest changes. This is a read, not a review.
=== CODE ===
${Paste the rungs as text}
=== I/O LIST / TAG COMMENTS ===
${Paste the I/O list or write NONE}
Written by the prompts.chat (CC0 prompt collection) community (Markus864). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
Programming Logic Controller PLC interview questions and answers. Add S7400 Simens PLC and ABB PLC.
PromptsProgramming Logic Controller PLC interview questions and answers practical interview industrial based. Siemens PLC and ABB PLC models Q and A. PLC working in Cold Rolling Mill interview questions and answers.
-
PLC Comment Translator
PromptsI want you to act as a technical translator for PLC programs. Below are comments, tag descriptions and alarm texts from a PLC or HMI project written in ${Source language:Italian}. Translate them to ${Target…
-
I want you to act as a PLC programmer writing ladder logic for ${Platform and version}. Write a motor start/stop circuit for ${Motor name:Conveyor_M1}. Inputs, with what TRUE means: - ${Start tag:Start_PB} (normally…
-
AI-Generated PLC Code Reviewer
PromptsI want you to act as a strict reviewer of PLC code written by an AI, before it is downloaded to a controller. Platform: ${Platform and version}. Language: ${Language}. Below are my numbered requirements, then the code…
-
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…
-
Finding the company
PromptsI want to find company which deal with plc ,scada, hmi work which company has less employees which are located out side of india find them on linkdin