Allen-Bradley MicroLogix 1200 Reference Manual page 180

Hide thumbs Also See for MicroLogix 1200:
Table of Contents

Advertisement

13-2
Move Instructions
Publication 1762-RM001C-EN-P
Addressing Modes and File Types can be used as shown in the following
table:
Table 13.2 MOV Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
(1)
Data Files
Parameter
Source
• • • • • • • • • • • • • • • • • • • • • • • •
Destination • • • • • • • • •
(1) The ST file is not valid for MicroLogix 1500 1764-LSP Series A processors.
(2) DAT files are valid for the MicroLogix 1500 only. PTO and PWM files are valid for MicroLogix 1200 and 1500 BXB
units.
(3) The Data Log Status file can only be used by the MicroLogix 1500 1764-LRP Processor.
(4) See Important note about indirect addressing.
(5) Some elements can be written to. Consult the function file for details.
You cannot use indirect addressing with: S, ST, MG, PD,
IMPORTANT
RTC, HSC, PTO, PWM, STI, EII, BHI, MMI, DAT, TPI, CS,
IOS, and DLS files.
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-3 in the
processor status file (S2).
Table 13.3 Math Status Bits
With this Bit:
S:0/0
Carry
S:0/1
Overflow
S:0/2
Zero Bit
S:0/3
Sign Bit
S:5/0
Math Overflow Trap
(1)
Bit
(1) Control bit.
If you want to move one word of data without affecting
NOTE
the math flags, use a copy (COP) instruction with a length
of 1 word instead of the MOV instruction.
(2)
Function Files
(5)
(5) (5) (5)
The Controller:
always resets
sets when an overflow condition is detected, otherwise
resets
sets if result is zero, otherwise resets
sets if result is negative (MSB is set), otherwise resets
sets Math Overflow Trap minor error if the Overflow bit is set,
otherwise it remains in last state
Address
Address
(4)
Level
Mode
• •
• •
• •

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Micrologix 1500

Table of Contents