In this article, you will learn the PLC program for Boolean expression and learn the plc automation with basic logic.
Please note: The logic diagram example provided here is designed for educational use for students and engineers to learn PLC fundamentals.
Problem Statement
Design a PLC ladder logic for the following Boolean Expression.
We are using toggle Inputs to control the output.
Convert the given boolean logic to PLC ladder logic.
Y = A(BC+D)
Watch the below PLC tutorial video to learn the basics.
Digital Inputs:
The list of inputs are listed.
A: I0.0
B: I0.1
C: I0.2
D: I0.3
Digital Outputs:
The list of outputs are listed.
Y: Q0.0
Now we simulate the program with different input statuses.
When Input B, Input C, and Input A are ON
When Input B, Input C and Input A are turned ON, the output Y (Q0.0) will turn ON. If one of these Inputs are turned OFF, Y(Q0.0) is turned OFF. These inputs are used as Normally Open Contacts and are connected in series.
Therefore, all the inputs should be ON so that the output Y (Q0.0) will turn ON. The output Y (Q0.0) will not turn ON, if all the inputs i.e., B, C and D are not turned ON.
When both Input D and Input A are ON
Y (Q0.0) will turn ON When Input D and Input A are turned ON. As the input D is connected in parallel with the output of BC, instead of turning ON the inputs B and C, the input D will also allow the signal to pass when turned ON.
The inputs D and A are connected in series. Therefore, turning ON the inputs D and A will also turn ON the output Y (Q0.0). If only one input is turned ON, the output Y (Q0.0) will not turn ON.
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:
This is a complex PLC programming example on an automated test bench to carry out…
Create PLC programming for pumping and draining for 20 seconds to fill the tank and…
Design a control system for automatic door lock with delay using PLC programming and motion…
In the PLC emergency stop example program, when the emergency button is pressed, the elevator…
This article is about controlling the double-acting pneumatic cylinder movement control with a timer circuit.
In this article, we will review the main responsibility scopes of the instrumentation and electrical…