A Lamp and a Button
Part of the First Rungs section of Coddy's PLC Programming journey. Lesson 1 of 20.
A PLC (programmable logic controller) is a small, tough computer that runs machines: conveyors, pumps, packing lines, traffic lights. It reads its inputs (buttons, switches, sensors), runs your program, and switches its outputs (lamps, motors, valves).
Most PLC programs are written in ladder logic. It looks like an electrical drawing: two rails, and rungs between them. Power flows from the left rail to the right.
On this rung, PB1 is a contact: it passes power while the button is pressed. Green is a coil: it turns its output on while power reaches it. So the Green lamp is lit exactly while PB1 is held.
Challenge
EasyMake PB1 light the Green lamp:
- tap the + on rung 1 and add a normally open contact for
PB1 - add a coil for
Greenafter it
Press Run, hold PB1 on the panel, then Check.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}All lessons in First Rungs
Practice on your own: PLC playground