Write a PLC Logic GATE Program for the below plc example.
Logic GATE Program
Write a program that ANDs B3:0 with B3:1 when I:0.0/0 is energized, ORs B3:0 with B3:1 when I:0.0/1 is energized, XORs B3:0 with B3:1 when I:0.0/2 is energized and COMPLEMENTS B3:0 when I:0.0/3 is energized. B3:1 is to hold the result in each case.
If more than one input I:0.0/0-I:0.0/3 is energized, only one of the operations will be performed.
The precedence order for operations should be from AND (highest precedence) to COMPLEMENT (lowest precedence).
PLC Ladder Logic
You can share a detailed explanation of the above PLC ladder logic in the comments section.
Author: Dr. D. J. Jackson
If you liked this article, then 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:
- Two Way Switch Logic using PLC
- PLC Counting Objects on Conveyor
- PLC Program for Paint Spraying
- How to Draw a Schematic Diagram?
- Analyze the Relay Circuit Status