EasyManua.ls Logo

Allen-Bradley MicroLogix 1400 - Page 264

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
Loading...
Publication 1766-RM001A-EN-P - October 2008
262 Move Instructions
Valid constants are -32,768…32,767 (word) and
-2,147,483,648…2,147,483,647 (long word).
Addressing Modes and File Types can be used as shown in the following
table:
Updates to Math Status Bits
After a MOV instruction is executed, the arithmetic status bits in the status
file are updated. The arithmetic status bits are in word 0, bits 0 to 3 in the
processor status file (S2).
MOV 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
(1)
CS - Comms
IOS - I/O
DLS - Data Log
Address
Mode
(2)
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 ••••••••••• ••••••••• ••
Destination •••••••••••
(3)(3)(3)(3)
••
(1) PTOX and PWMX files are valid for MicroLogix 1400 BXB or BXBA unit.
(2) See Important note about indirect addressing.
(3) Some elements can be written to. Consult the function file for details.
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 sets when an overflow, infinity, or NAN (not a number)
condition is detected, otherwise resets
S:0/2 Zero Bit sets if result is zero, otherwise resets
S:0/3 Sign Bit sets if result is negative (MSB is set), otherwise resets
S:5/0 Math Overflow Trap
Bit
(1)
(1) Control bit.
sets Math Overflow Trap minor error if the Overflow bit is set,
otherwise it remains in last state
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1400

Related product manuals