0
0
FreertosHow-ToBeginner · 3 min read

How to Implement NOT Logic in Ladder Diagram for PLC

In ladder diagrams, NOT logic is implemented using a normally closed (NC) contact, which passes power when the input is OFF and blocks it when ON. This inverts the input signal, effectively creating a NOT condition in your PLC logic.
📐

Syntax

A normally closed (NC) contact is used to implement NOT logic in ladder diagrams. It is represented as a contact that is closed when the input is OFF and opens when the input is ON.

The syntax looks like this:

--|/|-- (NC contact symbol)

Where:

  • |/| means the contact is normally closed.
  • This contact passes power when the input is FALSE or OFF.
  • It blocks power when the input is TRUE or ON.
plaintext
--|/|--  // Normally Closed Contact (NOT logic)
💻

Example

This example shows how to use a normally closed contact to invert an input signal. If the input Start_Button is OFF, the output Motor will be ON. If Start_Button is ON, the Motor will be OFF.

plaintext
(* Ladder Diagram Example *)

// Input: Start_Button
// Output: Motor

|----|/|----( )----|
     Start_Button  Motor
Output
If Start_Button = OFF, Motor = ON If Start_Button = ON, Motor = OFF
⚠️

Common Pitfalls

One common mistake is using a normally open (NO) contact instead of a normally closed (NC) contact when trying to implement NOT logic. This causes the output to behave the same as the input, not inverted.

Another pitfall is misunderstanding the contact symbols, leading to incorrect wiring and logic errors.

plaintext
// Wrong way (NO contact, no inversion)
|----| |----( )----|
     Start_Button  Motor

// Right way (NC contact, inversion)
|----|/|----( )----|
     Start_Button  Motor
📊

Quick Reference

SymbolMeaningBehavior
| |Normally Open (NO) ContactPasses power when input is ON
|/|Normally Closed (NC) ContactPasses power when input is OFF (NOT logic)

Key Takeaways

Use a normally closed (NC) contact to implement NOT logic in ladder diagrams.
NC contacts pass power when the input is OFF, inverting the signal.
Avoid using normally open (NO) contacts when you need inverted logic.
Understand contact symbols clearly to prevent logic errors.
Test your ladder logic to confirm the NOT behavior works as expected.