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 that requires numeric entry such as a credit card, or only alpha characters such as a name field, these data entries are masked. In other words, they will allow only the data type required for that particular entry. You may need this same type of masking in a PLC program. We will show you how to code this functionality into your program.
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...
6 Comments