## 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.

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.

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.

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.

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