EasyManuals Logo
Home>Allen-Bradley>Controller>MicroLogix 1400

Allen-Bradley MicroLogix 1400 User Manual

Allen-Bradley MicroLogix 1400
694 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 #267 background imageLoading...
Page #267 background image
Publication 1766-RM001A-EN-P - October 2008
Move Instructions 265
• Valid constants for the mask are -32768…32767 (word) and
-2,147,483,648…2,147,483,647 (long word). The mask is displayed
as a hexadecimal unsigned value from 0000 0000…FFFF FFFF.
Addressing Modes and File Types can be used as shown in the following
table:
Updates to Math Status Bits
After a MVM instruction is executed, the arithmetic status bits in the status
file are updated. The arithmetic status bits are in word 0 bits 0-3 in the
processor status file (S2).
Mask Example (Word Addressing Level)
Word Value in
Hexadecimal
Value in Binary
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Value in Destination
Before Move
FFFF 1 1 1 1
1 1 1 1 11111 1 1 1
Source Value 5555 0 1 0 1
0 1 0 101010 1 0 1
Mask F0F0 1 1 1 1
0 0 0 0 11110 0 0 0
Value in Destination
After Move
5F5F 0 1 0 1
1 1 1 1 01011 1 1 1
MVM Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 92.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
DLS - Data Log
Address
Mode
(1)
Address Level
O
I
S
B
T, C, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HSC
PTOX, PWMX
STI
EII
BHI
MMI
LCD
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Source •• ••• •• • • •••
Mask •• ••• •• •
• • •••
Destination • • • • • • • •
• •••
(1) See Important note about indirect addressing.
IMPORTANT
You cannot use indirect addressing with: S, MG, PD, RTC, HSC, PTOX,
PWMX, STI, EII, BHI, MMI, CS, IOS, and DLS files.
Math Status Bits
With this Bit: The Controller:
S:0/0 Carry always resets
S:0/1 Overflow always resets
S:0/2 Zero Bit sets if destination is zero, otherwise resets
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley MicroLogix 1400 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicroLogix 1400
CategoryController
LanguageEnglish

Related product manuals