From the course: Learning PLC Ladder Logic: 1 The Basics

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

I/O with a push button and light

I/O with a push button and light - Ladder Logic Tutorial

From the course: Learning PLC Ladder Logic: 1 The Basics

Start my 1-month free trial

I/O with a push button and light

- So let's try to take an example that demonstrates how the input instructions, XIC and XIO and Output instruction work. So in a simple example we have a normally opened push button that's connected to a light using PLC. The input device provides the input module with a status of the device. Example if it's on or off, and using this memory location within the program reflects the change. The same thing applies for an output device where the specific memory location within the output module is to reflect any changes accordingly. So, the input device, which is the push button is connected to the PLC input module and the output device which is light is connected to the output module of the PLC. So let's see how the Ladder Logic Program behaves when using Examine If Closed instruction. Using XIC instruction, the instruction is only activated when the memory location is one. So, when the push button is not pressed, this means that the logic state is zero and the instruction is false and…

Contents