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 lesson, we will continue working with Word Logic Operations which will include the OR, XOR, and Invert instructions. We will use the code from the previous lesson and change the AND instruction to an OR instruction and see how that change impacts the output. Let’s XORcise our brains and write some code for these logic instructions.