From the course: Learning PLC Ladder Logic: 2 Diving Deeper

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Example: MVM instruction

Example: MVM instruction - Ladder Logic Tutorial

From the course: Learning PLC Ladder Logic: 2 Diving Deeper

Start my 1-month free trial

Example: MVM instruction

- [Instructor] I am going to use the same move example with a little modification to show you how the Masked Move Instruction works. Since the Masked Move Instruction is considered more of an advanced instruction, so I will not dive into a very detailed example, as this instruction is usually used in more advanced applications. For this example, this time we will use the Masked Move Instruction to only pass the first bit of the accumulator value. And then, use this number to turn on or off a yellow pilot light. It is only when bit, so it's going to be Boolean, either zero or one. The purpose is to show you that it only passes according to the masked value selected. The source is the Counter Accumulator Value, the mask, in order to only pass the first bit, is simply one, and the destination is to move it to an internal integer value N7:1. So for that, once we press for the first station, the number will be one, so the…

Contents