The Set Coil
Part of the Latches, Edges and Interlocks section of Coddy's PLC Programming journey. Lesson 1 of 20.
A plain coil follows its rung: power on, the tag is TRUE; power off, the tag is FALSE. A set coil works differently. While its rung has power it writes TRUE, and when the power goes away it does nothing at all, so the tag stays TRUE.
The S inside the coil marks it. Press PB1 once and Green stays lit, like a seal-in built into one coil. This is called latching the output. Rockwell software calls the set coil OTL (output latch).
For now nothing turns Green off again. That comes next.
Challenge
EasyLight Green with a press of PB1, and keep it lit after PB1 is released. Use a set coil.
Press Run, press PB1 on the panel, then Check.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}All lessons in Latches, Edges and Interlocks
Practice on your own: PLC playground