In this lesson we are going to discuss logic gates. If you don’t know how logic gates work, watching this lesson will explain that for you. If you are familiar logic gates, we will run through a quick refresher explaining the four types of gates. Those types are AND, OR, XOR or Exclusive OR, and ...
In this lesson, we are continuing with our logic gate functions. We are going to be using instructions within the Word Logic Operations folder. We will be writing some code for an AND instruction that is going to compare two inputs and put the result in an output. We will see that the input data ...
In the first lesson, Introduction to Logic Gates in PLC Programming, we reacquainted you with AND, OR, XOR, and Invert logic gates. In Part 1 of this course, we started working with the AND instruction located in the Word Logic Operations folder and wrote some code for that instruction. In this l...
In the previous lessons, we worked with the Logic instructions of AND, OR, XOR, and Invert. We worked with the Invert instruction specifically with a data type that caused the logic to compare the input, bit by bit, and invert the result to the corresponding output bit. In this lesson, we will co...
In previous lessons, we’ve been working with the Logic instructions of AND, OR, XOR, and Invert. In this lesson, we are going to continue to work with the AND instruction to show you how to Mask or allow/prevent parts of an input to pass through your logic. For instance, when you are on a website...
In a continuation of previous lessons where we’ve been working with the Logic instructions of AND, OR, XOR, and Invert, this lesson will go into some detail about comparing values using the XOR instruction. We will be determining if two values are identical and if they are not, we will need to ac...