Prompt
0 copies · 0 said it worked
Write PLC ladder logic for a motor start/stop with interlocks
Asks the model to act as a PLC programmer and produce ladder rungs for a motor start/stop circuit with stop-dominant seal-in, latched overload fault, rising-edge reset, and permissive interlocks, plus a test table.
People use this for
- plc ladder logic motor start stop
- motor start stop seal-in circuit
- plc motor interlock ladder rungs
- ladder logic overload fault latch
- write plc code motor start stop with interlocks
Imported on Nov 29, 2026 from Ladder Start/Stop With Interlocks . License observed at the source on Nov 29, 2026: CC0.
Are you the author?Claim this profileRequest removal
Fill in the variables
Prompt
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}}. Inputs, with what TRUE means: - {{start_tag}} (normally open pushbutton, TRUE = pressed) - {{stop_tag}} (wired normally closed, TRUE = healthy, not pressed) - {{overload_tag}} (TRUE = overload healthy) - {{permissive_tags}} (TRUE = OK to run) - {{reset_tag}} (normally open, TRUE = pressed) Outputs: {{run_output}}, {{fault_tag}}. Requirements: 1. Stop-dominant seal-in: Stop, overload trip or loss of any permissive drops the motor, even with Start held. 2. Overload trip latches M1_Fault. Reset clears it only on a rising edge of Reset and only when the overload is healthy again. 3. Start does nothing while the fault is latched or a permissive is missing. No restart on its own when a permissive returns. 4. Each output is written in exactly one rung. Use only instructions that exist on my platform. If you are unsure one exists, mark it UNSURE. Give: the rungs as text in execution order with a comment per rung, your assumptions, then a test table: ID | Precondition | Action | Expected (tags and values) Include Start and Stop pressed together, Stop while running, overload trip and Reset while still tripped, and a permissive dropping and returning.
No result recorded for this import yet. Tried it? File a report so the next person knows how it went.
I want you to act as a PLC programmer writing ladder logic for${Platform and version{platform_and_version}}. Write a motor start/stop circuit for${Motor name:Conveyor_M1{motor_name}}. Inputs, with what TRUE means: -${Start tag:Start_PB{start_tag}} (normally open pushbutton, TRUE = pressed) -${Stop tag:Stop_PB{stop_tag}} (wired normally closed, TRUE = healthy, not pressed) -${Overload tag:M1_OL_OK{overload_tag}} (TRUE = overload healthy) -${Permissive tags:Downstream_Running, Lube_Pressure_OK{permissive_tags}} (TRUE = OK to run) -${Reset tag:Reset_PB{reset_tag}} (normally open, TRUE = pressed) Outputs:${Run output:M1_Run{run_output}},${Fault tag:M1_Fault{fault_tag}}. Requirements: 1. Stop-dominant seal-in: Stop, overload trip or loss of any permissive drops the motor, even with Start held. 2. Overload trip latches M1_Fault. Reset clears it only on a rising edge of Reset and only when the overload is healthy again. 3. Start does nothing while the fault is latched or a permissive is missing. No restart on its own when a permissive returns. 4. Each output is written in exactly one rung. Use only instructions that exist on my platform. If you are unsure one exists, mark it UNSURE. Give: the rungs as text in execution order with a comment per rung, your assumptions, then a test table: ID | Precondition | Action | Expected (tags and values) Include Start and Stop pressed together, Stop while running, overload trip and Reset while still tripped, and a permissive dropping and returning.
Tried it
Structured reports from people who ran this prompt. They roll up into the per-model badges above.
No one has filed a report yet. Try the prompt and be the first.
Related prompts
- Claude api: reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming,…
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER — read BEFORE opening the target file; don't skip because it "looks like a one-liner" — whenever: the prompt names Claude/Anthropic in any fo
Coding · @anthropic
- Agent that writes, runs, and repairs tests after code changes
A system prompt defining a test-writer-fixer agent that writes unit, integration, and end-to-end tests, runs suites, analyzes failures, and repairs tests without weakening them.
Coding · @ersinyilmaz
- Quality engineering agent role for risk-based test strategy and CI quality gates
A senior quality engineering role prompt that guides an assistant through risk-based test strategy, test automation architecture, CI/CD quality gates, edge-case analysis, and defect management, writing results to a TODO checklist file.
Coding · @wkaandemir
- SQL Index Recommendation Reviewer for slow queries and schemas
Reviews a schema and slow SQL queries, proposes composite indexes in the right column order, flags non-sargable filters, and warns about duplicate, redundant, and low-selectivity indexes, with a stdlib Python helper.
Data & Finance · @f
- Flaky Test Detector: separate flaky CI tests from real failures
Agent skill that reads repeated CI run results (JUnit XML or CSV history), flags tests that pass and fail without code changes, ranks them by flip and failure rate, and recommends targeted fixes or quarantine plans instead of retries.
Coding · @f
License: CC0v2 · updated Nov 30, 2026 · first published Nov 29, 2026
Comments
No comments yet. If you tried this prompt, say how it went.