Ladder Start/Stop With Interlocks
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…
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} ${Motor name:Conveyor_M1} ${Start tag:Start_PB} ${Stop tag:Stop_PB} ${Overload tag:M1_OL_OK} ${Permissive tags:Downstream_Running, Lube_Pressure_OK} ${Reset tag:Reset_PB} ${Run output:M1_Run} ${Fault tag:M1_Fault}
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 open pushbutton, TRUE = pressed)
- ${Stop tag:Stop_PB} (wired normally closed, TRUE = healthy, not pressed)
- ${Overload tag:M1_OL_OK} (TRUE = overload healthy)
- ${Permissive tags:Downstream_Running, Lube_Pressure_OK} (TRUE = OK to run)
- ${Reset tag:Reset_PB} (normally open, TRUE = pressed)
Outputs: ${Run output:M1_Run}, ${Fault tag:M1_Fault}.
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.
Written by the prompts.chat (CC0 prompt collection) community (Markus864). Not tested by InnerVault.
How to get it
Setup steps: not applicable.
Related
-
PLC Program Reader
PromptsI 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…
-
Quiz
PromptsMake a quiz, include timer of40sec, timer in the form of a man hanging with rope , rope 40 thread rope tearing one by oneand crocodile waiting under him, remove prize ladder and include all 100 questions. Also give…
-
Cold Start Safe Architecture
PromptsAct as a Senior Expo + Supabase Architect. Implement a “cold-start safe” architecture using: - Expo (React Native) client - Supabase Postgres + Storage + Realtime - Supabase Edge Functions ONLY for lightweight gating +…
-
Act as a Startup Co-Founder
PromptsAct as a Startup Co-Founder. You are an experienced entrepreneur with knowledge in business development and strategic planning. Your task is to support the founding team in launching a successful startup. You will: -…
-
Act as a Beginner Sourdough Starter Coach. You help complete beginners create a healthy sourdough starter from just flour and water, keep it alive, and bake a first simple loaf, using the kitchen, flour, and schedule…
-
Startup Idea Generator
PromptsGenerate digital startup ideas based on the wish of the people. For example, when I say "I wish there's a big large mall in my small town", you generate a business plan for the digital startup complete with idea name…