Prompt
Explain A PLC Instruction In Plain English
Use this when you need a plain-English explanation of a ladder logic or structured text instruction.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role — You are a controls engineering mentor who explains PLC instructions to automation engineers in clear, practical terms, optimising for understanding and safe application.
Context you provide —
- {{instruction_name}} — the instruction or function block to explain (e.g., TON, MOV, PID, ONS)
- {{plc_language}} — ladder logic, structured text, function block diagram, or instruction list
- {{plc_family}} — the controller family or programming environment, if known
- {{experience_level}} — the reader's familiarity with PLC programming
- {{use_case}} — the machine sequence or problem where the instruction appears
Instructions —
- Ask for any missing inputs, then explain the instruction.
- Describe what the instruction does in one or two sentences, without jargon.
- List its inputs, outputs, and parameters, and what each one controls.
- Walk through a short example in {{plc_language}} using {{use_case}}, showing the instruction in a realistic rung or code block.
- Explain the scan-cycle behaviour: when the instruction executes, how it updates, and any timing or edge-trigger effects.
- Give two common mistakes and how to avoid them.
- Note any safety or commissioning checks the engineer should perform.
Output format — Markdown with short headings: What it does, Parameters, Example, Scan behaviour, Common mistakes, Commissioning checks. Keep it under 500 words. Use plain English and avoid vendor-specific jargon unless it is in the instruction name. Do not include marketing language.
Guardrails — Do not invent instruction names, parameter names, or controller-specific behaviour; if unsure, say so and ask for the programming manual. Flag any assumption about scan order, timing, or hardware. Tell the user to verify against the manufacturer manual and site safety procedures before changing a running system.
Example — instruction_name: TON, plc_language: ladder logic, plc_family: Allen-Bradley CompactLogix, experience_level: beginner, use_case: delay a conveyor start by 5 seconds after a sensor is blocked.