EasyManuals Logo

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #301 background imageLoading...
Page #301 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 301
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) Chapter 7
Description: When enabled, the MVMT instruction uses a Mask to either pass or block Source data
bits. A ‘1’ in the mask means the data bit is passed. A ‘0’ in the mask means the data bit
is blocked.
If you mix integer data types, the instruction fills the upper bits of the smaller integer data
types with 0s so that they are the same size as the largest data type.
Enter an Immediate Mask Value by Using an Input Reference
When you enter a mask, the programming software defaults to decimal values. If you
want to enter a mask by using another format, precede the value with the correct prefix.
Arithmetic Status Flags: Arithmetic status flags are affected.
Fault Conditions: None
Execution:
Example: 1. Copy Target into Dest.
Prefix Description
16# Hexadecimal
For example; 16#0F0F
8# Octal
For example; 8#16
2# Binary
For example; 2#00110011
Condition Function Block Action Structured Text Action
Prescan No action taken. No action taken.
Instruction first scan No action taken. No action taken.
Instruction first run No action taken. No action taken.
EnableIn is cleared EnableOut is cleared, the instruction does nothing, and the
outputs are not updated.
N/A
EnableIn is set The instruction executes.
EnableOut is set.
EnableIn is always set.
The instruction executes.
Postscan No action taken. No action taken.
Target11111111111111111111111111111111
Dest11111111111111111111111111111111

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals