To understand the basic working of Programmable Logic Controller (PLC) by taking a simple program.
Create a program (ladder diagram) to turn on the lamp only when both the switches are closed (And operation).
I1 I2 O1
This ladder diagram represents an And operation
Truth table | |||
I1 | I2 | O1 | |
0 | 0 | 0 | |
1 | 0 | 0 | |
0 | 1 | 0 | |
1 | 1 | 1 |
Download the program (ladder diagram) developed into PLC's memory using PROGRAMMER.
Program mode
Downloading...
HALTED (Forced off)
After downloading the program, put the PLC into RUN mode to solve the programmed instructions.
RUN mode...
0
0
0
OFF
OFF
OFF
0
0
0
OFF