Memory Bits
Part of the First Rungs section of Coddy's PLC Programming journey. Lesson 19 of 20.
Not every tag is wired to the machine. A memory bit is a BOOL tag inside the PLC: a coil writes it and contacts read it, like an output nobody can see.
Use one to name a condition once and reuse it. Here Ready means both switches are on:
Create it with Tags in the editor bar, or with Create when you pick a coil's tag.
Challenge
EasyCreate a memory bit Ready that is TRUE while SW1 and SW2 are both on. Then light Green while Ready is TRUE and Red while it is not.
Try it yourself
{"v":1,"lang":"ld","tags":[],"rungs":[{"els":[]}]}All lessons in First Rungs
Practice on your own: PLC playground