In this article, a simple example will teach you the conversion from Boolean algebra to PLC logic.
Note: The PLC logic shown here is for educational use only for students and technicians to learn the basics.
Problem Statement
Design a PLC ladder logic for the following Boolean Expression.
We are using toggle Inputs to control the output.
Y = (A+B) (C+D)
Watch the video to learn this PLC program example.
The inputs listed below.
A: I0.0
B: I0.1
C: I0.2
D: I0.3
The outputs listed below.
Y: Q0.0
Find the equivalent plc program for the given Boolean expression.
Now check the PLC program simulation results.
When Input A and Input C are ON
When Input A and Input C are turned ON, the output Y (Q0.0) will turn ON. The inputs are taken as Normally Open Contacts and when in true state, the signal will pass through these contacts.
As a result, the output Y (Q0.0) will turn ON. If only one input is turned ON i.e., either input A or input C is turned ON, then the output Y Q(0.0) will not turn ON.
When Input A and Input D are ON
Y (Q0.0) will turn ON when Input A and Input D are turned ON. These inputs are used as Normally Open Contacts and when in true states, the signal will flow through these contacts which results in turning ON the output Y (Q0.0).
For the output Y (Q0.0) to turn ON, both the inputs should be ON. If only one input i.e., if input A or Input D is turned ON, then the output Y (Q0.0) will not turn ON.
When Input B and Input C are ON
The signal will flow through Input B and Input C as these inputs are taken as Normally Open Contacts. When the input B and input C are in true state, the output Y (Q0.0) will turn ON.
So, both the inputs i.e., input B and input C should be ON and then only the output Y (Q0.0) will turn ON. Turning ON only one input will not turn ON the output Y (Q0.0).
When Input B and Input D are ON
As Normally Open Contacts used for Input A and Input B are in the true state, the signal will pass through these two Inputs and Y(Q0.0) will turn ON.
The output Y (Q0.0) will turn ON only if both these inputs are turned ON otherwise it will remain OFF.
If you liked this article, please subscribe to our YouTube Channel for PLC and SCADA video tutorials.
You can also follow us on Facebook and Twitter to receive daily updates.
Read Next:
In this article, we will review the main responsibility scopes of the instrumentation and electrical…
Learn the daily alarm PLC program using real-time clock instruction as per the required timings…
A Real-Time Clock accurately tracks time from seconds to years and stores the data in…
Omron PLC logic for sorting the number of products and counting the number of products…
Learn the water fountain control logic using the PLC timers programming to control the high…
Open Telemetry is a framework for collecting data in cloud-native applications including tracing, metrics, and…