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

Page 192

Advertising
background image

Chapter 11
Using Data Handling Instructions

11–9

Updates to Arithmetic Status Bits

The arithmetic status bits are found in Word 0, bits 0–3 in the controller
status file. After an instruction is executed, the arithmetic status bits in the
status file are updated:

With this Bit:

The Controller:

S0/0

Carry (C)

always resets.

S0/1

Overflow (V)

sets if more than one bit in the source is set; otherwise
reset. The math overflow bit (S5/0) is not set.

S0/2

Zero (Z)

sets if destination value is zero.

S0/3

Sign (S)

always resets.

Entering the Instruction

You enter the instruction from within the program monitor functional area.
As you enter the instruction, you can return to previously entered operands
by pressing this key:

Then if you want to edit that operand, press

DEL

or

FUN-DEL

and enter new

parameters. Press

ENT

to accept the operand and move on to the next one.

Once the entire instruction is entered, if you want to edit the instruction’s
parameters you must go into the overwrite mode. (See page 17–4.)

P 0 0 0

E N C

S R C

N 1 1

0 0 0 0 H

P 0 0 0

E N C

D E S T

N 2 3

0 0 0 0 H

3

U

ENT

ANB

0

1

FUN

To enter the function code, press:

Advertising