Prompt站外收录 @promptlib/text-2116094048149225473
PLC梯形图启停控制
为PLC程序员生成带互锁保护的电机启停梯形图逻辑,含故障锁定、复位条件和完整测试用例
提示词
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.
变量使用 {{name}} 声明,复制时保留占位符
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
吉伊卡哇风格科普插画
吉伊卡哇(ちいかわ)官方漫画风格科普插画,画面比例 [ASPECT_RATIO],讲解 [TOPIC]。 === 标题 === 主标题“[MAIN_TITLE
站外吉伊卡哇漫画
1.8w 0.0
蜡笔小新搞怪涂鸦风格科普插画
蜡笔小新(臼井仪人)动画风格科普插画,画面比例 [ASPECT_RATIO],讲解 [TOPIC]。 === 标题 === “[MAIN_TITLE]”使用活
站外蜡笔小新扁平化
1w 0.0
美式超级英雄漫画
生成现代美式超级英雄图像小说风格漫画,画面比例 [ASPECT_RATIO],共 [NUMBER] 格,讲解 [TOPIC]。 === 标题 === “[MA
站外美式漫画超级英雄
1.6k 0.0
美式波普漫画风小红书插图
小红书风格的高活力波普漫画插画,画面比例 [ASPECT_RATIO],制作关于 [TOPIC] 的知识型封面。 === 标题设计 === 主标题“[MAIN
站外波普风美式漫画
1.4k 0.0
举报「PLC梯形图启停控制」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次