DeMorgan’s Theorems using Ladder Diagram

DeMorgan theorem is used in digital electronics. Explain the De Morgan theorem using PLC ladder language.

DeMorgan’s Theorems are two additional simplification techniques that can be used to simplify Boolean expressions. Again, the simpler the Boolean expression the simpler the resulting the Boolean expression, the simpler the resulting logic

DeMorgan’s Theorems Formula

DeMorgan’s Theorems

DeMorgan's Theorems

Explanation

De Morgan theorem provides equality between NAND gate and negative OR gate and the equality between the NOR gate and the negative AND gate.

For example, take two variables A and B. The theorem is mathematical stated as, AB=A+B. The complement of the two variables is equal to the OR of complements of individual variables.

Second theorem is stated as: The complement of two variables ORed is equal to the AND of the complements of the individual variables.

List of Inputs/Outputs

List of Inputs

  • I1 :- A
  • I2 :- B

List of Outputs

  • Q1 :- OP 1
  • Q2 :- OP 2
  • Q3 :- OP 3
  • Q4 :- OP 4

Memory coil

  • M2 :- Memory coil for AND operation
    M3 :- Memory coil for OR operation

PLC Ladder Programming

NETWORK 1 :-

AND operation is used as shown in below figure. Result will be stored in M2 coil.

AND logic is used in DeMorgan PLC logic

NETWORK 2 :-

Inverse logic is used for DeMorgan first law as per below figure. It will generate inverse output (Q1).

Inverse logic is used for DeMorgan first law using PLC

NETWORK 3 :-

Two NC contact of variable A and variable B are connected in OR connection. Result will be Q3.

PLC DeMorgan theorem

Note :- LOGIC OPERATION OF Q1 AND Q3 ARE EQUAL AS PER LAW.

NETWORK 4 :-

Combination of two variables. Result will be stored in M3 variable.

DeMorgan Logic using PLC

NETWORK 5 :-

Inverse logic is used. Output Q2 will work inversely as per the law.

OR logic is used in DeMorgan PLC logic

NETWORK 6 :-

NC contacts of two variables are used in this network in AND gate.

AND logic is used in DeMorgan PLC logic

NOTE:-THE LOGIC OPERATION OF Q2 AND Q4 IS EQUAL AS PER LAW.

Note :- The above application may be different from actual application. This example is only for explanation and educational purpose only. We can implement this logic in other PLC. This is the simple concept of De Morgan theorems using ladder logic, we can use this concept in other examples.

All parameters and graphical representations considered in this example are for explanation purpose only, parameters or representation may be different in actual applications. All interlocks are not considered in the application.

Author : Bhavesh

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.

PLC Troubleshooting

PLC Conveyor Program

Motor Logic using PLC

PLC Practical Tests

Switches, Routers, Firewalls

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address

1 thought on “DeMorgan’s Theorems using Ladder Diagram”

Leave a Comment

Share via
Follow us and never miss an update!