The Binary Code applied to Ladder Logic (II)

Binary Code in Ladder Logic Programming

In this second part of the Binary Code applied to Ladder Logic, we are going to explain other examples of Binary Code applied to Ladder Logic.

XOR contact
XOR Contact
Binary Code applied to Ladder Logic - Example with (4,7) with XOR (4,7)

The OR function examines multiple PLC inputs and has one resulting output. If we translate an OR function into a Ladder Diagram, we can express it symbolically in the form of two PLC inputs A and B using Normally Open contacts (NO) and a PLC output Y using relay coil.

OR contact
OR Contact
Binary Code applied to Ladder Logic -  Example with (4,7) with OR (4,7)



The OR function examines if any of the PLC inputs are TRUE, then the corresponding result is also TRUE. However, all the PLC inputs must be FALSE in order for the corresponding result is also be FALSE.

NOR Contact
NOR Contact
Binary Code applied to Ladder Logic - Example with (4,7) with NOR (4,7)
NAND Contact
NAND Contact
Binary Code applied to Ladder Logic - Example with (4,7) with NAND (4,7)
AND & Contact
AND Contact
Binary Code applied to Ladder Logic -  Example with (4,7) with AND (4,7)

In a PLC, Binary events are expressed symbolically using Ladder Logic. In the form of a Normally Open contact (NO) and Normally Closed contact (NC). The normally open contact (NO) is TRUE when the event is active and FALSE when the event is NOT active. While the Normally Closed contact (NC) is FALSE when the event is active. It is TRUE when the event is NOT active.

1 thought on “The Binary Code applied to Ladder Logic (II)”

  1. Pingback: The Binary Concept Applied to Ladder Logic (I) - Online Ladder Editor for Arduino - Still Beta 😉

Leave a Comment

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial
YouTube
YouTube
Instagram