Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: How to use Masked Move Instruction in PLC
Share
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > How to use Masked Move Instruction in PLC

How to use Masked Move Instruction in PLC

Last updated: January 17, 2022 7:21 pm
Editorial Staff
PLC Tutorials
No Comments
Share
3 Min Read
SHARE

The pattern of bits in the mask determines which bits will be passed from the source address to the destination address, and which bits will be masked. Only bits in the mask that are set (1) will activate the mask operation. In this article, MVM (Masked Move) is discussed.

Contents
Masked Move Instruction Block DiagramMVM Instruction DescriptionMVM Instruction Function :Example 1Example 2Example PLC Program using MVM InstructionProgram DescriptionConclusion

Masked Move Instruction Block Diagram

Masked Move Instruction in PLC

MVM Instruction Description

There are three parameters in MVM,

Source :

It is the address of the data you wants to move.

Mask :

Address of the mask through which the instruction moves data. The mask acts like a filter    for the destination.

Destination :

It is the address where the instruction moves the data.

There are three ways to give mask address,

  1. To enter a hexadecimal mask: type the hexadecimal value followed by the letter H (Hexadecimal).
  2. To enter a binary mask: type the binary value followed by the letter B (Binary).
  3. To enter a decimal mask: type the decimal value.

Note : RSLogix will make any necessary conversion and display the hexadecimal value.

MVM Instruction Function :

Activation of mask bit pattern will move the data in Source address to destination address. Move function will not happen until mask bit is activated.

Example 1

When the rung condition goes true,

Case 1

Output When Mask Bit is not activated,

MVM PLC Block

Case 2

Output When Mask Bit is activated,

Masked Move Instruction Block Diagram

Example 2

When the rung condition goes true,

Case 1

Output When Mask Bit is not activated,

Masked Move Instructions

Case 2

Output When Mask Bit is activated,

Mask Command in PLC

Example PLC Program using MVM Instruction

In this program, When N7:2 equals to the value 9, turn ON O:0/0,

PLC Program using Mask Instruction

Program Description

 Rung 0000

When input condition goes true (I:0/0 turns “ON”),MVM instruction will move the data in N7:0 to N7:2.

Rung 0001

Equal block is used from comparator function to turn on O: 0/0 when N7:2 equal 9.

Conclusion

The above explained concept for Masked Move is for example only. We can use this example program to understand the working of MVM instruction in AB PLC.

Author : Hema Sundaresan

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

PLC Analog Input Scaling

SCADA for Substation

PLC Counter Instruction

Features of SCADA

PLC Troubleshooting

Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

PLC Program to Drain Same Products from Two Tanks
Open User Communication in Siemens Tia Portal – PLC to PLC
Basics of 4 to 20 mA analog Signals
Understanding Braking Theory in VFD
PLC Programming using Level Switches
How to Design an Effective HMI? – Human Machine Interface
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

Normally-open and Normally-closed Switch Contacts
4-20 mA Transmitter Wiring Types : 2-Wire, 3-Wire, 4-Wire
PLC Packing Machine Control System Program in XG5000
Tools Required for PLC Programmer to Carry at Site
PLC Logic for Automatic Bending Machine for Exhaust Pipe
Compare Modbus, Fieldbus, and Profibus
Seven Segment Display Programming with Structured Text
What is Fail-safe in Siemens PLC?

Keep Learning

Statement List (STL) to Find Highest Value in the Data Block

Statement List (STL) to Find Highest Value

STAR DELTA Starter PLC Logic

STAR DELTA Programming using PLC Controller

Upgrading and Migration of PLC Systems

Upgrading and Migration of PLC Systems

Types of Cables used in Industrial Automation

Types of Cables used in Industrial Automation

Multiple Pumps Control using PLC

Multiple Pumps Control using PLC

Water Treatment Plant SCADA

Typical HMI Screen Design for Water Treatment Plant

Ladder Diagram Example using Memory Bits and Set Coils

Ladder Diagram Example using Memory Bits and Set Coils

PLC Program for Fishpond Water Level Monitoring System

PLC Program for Artificial Fishpond Water Level Monitoring System

Learn More

Measuring process vessel clogging

DP Transmitter Applications

Difference Between RCCB and MCCB

Difference Between RCCB and MCCB

Parallel Circuit Unknown Resistance

Simplified Formulas for Parallel Circuit Resistance Calculations

Nuclear Magnetic Resonance Spectrometer Questions and Answers

Continuous Wave NMR Spectroscopy Questions & Answers

Siemens Tia Portal Function Block

Function Blocks in PLC (FBs) – What You Need To Know?

Introduction to Mechatronics

Introduction to Mechatronics

Temperature Effect on Wet-Leg System

Effect of Temperature & Pressure on Level Measurement

Absorption Chiller Principle - HVAC System

HVAC Double Effect Absorption Chiller

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?