Tag: Advanced Logic Gates using Ladder Logic

1 articles found.

Simulating Advanced Logic Gates using Ladder Logic Programming

Simulating advanced logic gate, NAND logic gate, The NANA ladder logic in two ways, NAND ladder logic when both inputs are false, NAND ladder logic when input A is false and input B is true, NAND ladder logic when input A is true and input B is false, NAND ladder logic when both inputs are true, NOR logic gate, XOR logic gate, XNOR logic gate, XNOR ladder logic when input A is true and input B is false, XNOR ladder logic when input A is false and input B is true

Hello friends! I hope you are all very well! I am so happy to meet you today to continue learning and practicing PLC ladder logic programming. In an earlier part, we already have gone through the very basic logic gates of “AND”. “OR”, and “NOT”. Today we are going to resume the simulation of logic gates. We have started and gone through simulating the basic logic gates which are “AND”, “OR”, and “NOT” as they are the most important basic logic gates by which we can form other logic gates. However, because the logic of large-scale projects is getting more and more complicating, a lot of time we have to use the other functions to do tasks faster. For example, we have shown in the logic gates article that, XOR can be used to compare two inputs and check if they are equal or not. On the other hand, someone may say, oh we can do XOR by using the basic three gates of “AND”, “OR”, and “NOT”. That’s correct. So why do we need to go learning other logic gates when we can implement them by using that three basic logic gates. Well! That is a very good question. Working in ladder logic programs is getting further complicated especially for large-scale projects. So, it is very beneficial to know shortcuts for writing ladder logic simpler, more readable, and easier for others to develop. Using this variety of logic gates, enrich the logic and fluency of writing the logic in different situations. For example, using XOR logic is very common for comparing two inputs to decide if they are ...