Move (mov) – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 198

Advertising
background image

Chapter 11
Using Data Handling Instructions

11–15

This output instruction moves the source data to the destination location. As
long as the rung remains true, the instruction moves the data each scan.

Entering Parameters

Enter the following parameters when programming this instruction:

Source is the address or constant of the data you want to move.

Destination is the address where the instruction moves the data.

If you wish to move one word of data without affecting the math flags, use a
copy (COP) instruction with a length of 1 word instead of the MOV
instruction.

Updates to Arithmetic Status Bits

With this Bit:

The Controller:

S0/0

Carry (C)

always resets.

S0/1

Overflow (V)

always resets.

S0/2

Zero (Z)

sets if result is zero; otherwise resets.

S0/3

Sign (S)

sets if result is negative (most significant bit is set);
otherwise resets.

Entering the Instruction

You enter the instruction from within the program monitor functional area.

P 0 0 0

M O V

S R C

2 3

P 0 0 0

M O V

D E S T

O 0

0 0 0 0 H

Move (MOV)

MOV

MOVE
Source

23

Dest

O:0.0

0

Execution Times (

µ

sec) when:

True

False

25.05

6.78

Ladder representation:

Tip

6

ENT

ANB

0

1

FUN

To enter the function code, press:

Advertising