Switches Stay Put
Part of the First Rungs section of Coddy's PLC Programming journey. Lesson 8 of 20.
A pushbutton is momentary: it is pressed only while you hold it. A selector switch is maintained: turn it on and it stays on until you turn it back.
To the PLC both are just inputs, TRUE or FALSE. The difference is in the machine: a switch is for a setting that lasts, like a mode (hand or auto) or a run permit.
Challenge
EasyLight Blue while SW1 is on, and Red while it is off.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}All lessons in First Rungs
2Contacts
Normally Closed ContactsAND: Contacts in SeriesOR: Contacts in ParallelSwitches Stay PutAND with ORNeither ButtonPractice on your own: PLC playground