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 #298 background imageLoading...
Page #298 background image
298 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 7 Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)
Enter an Immediate Mask Value
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: Copy data from value_a to value_b, while allowing data to be masked (a 0 masks the data
in value_a).
Prefix Description
16# Hexadecimal
For example; 16#0F0F
8# Octal
For example; 8#16
2# Binary
For example; 2#00110011
Condition Relay Ladder Action
Prescan The rung-condition-out is set to false.
Rung-condition-in is false The rung-condition-out is set to false.
Rung-condition-in is true The instruction passes the Source through the Mask and copies the result into the Destination.
Unmasked bits in the Destination remain unchanged.
The rung-condition-out is set to true.
Postscan The rung-condition-out is set to false.
11111111111111111111111111111111
01010101010101010101010101010101
11110000111100001111000011110000
0 1 0 111110 1 0 111110 1 0 111110 1 0 11111
The shaded boxes show the bits that changed in value_b.

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