EasyManua.ls Logo

Allen-Bradley Logix5000

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
Loading...
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

Related product manuals