Using Logic Instructions in PLC Programming

Using Logic Instructions in PLC Programming

Subscribe Share
Using Logic Instructions in PLC Programming
  • 186. Introduction to Logic Gates in PLC Programming

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

  • 187. Introduction to Word Logic Operations in PLC Programming - Part 1

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

  • 188. Introduction to Word Logic Operations in PLC Programming – Part 2

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

  • 189. How to Use the INVERT Instruction to Change the Sign of a Value

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

  • 190. How to Use Data Masking in PLC Programming

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

  • 191. How to Compare Analog Signals Using XOR Instruction

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