Not (not), Updates to arithmetic status bits, Entering the instruction – Rockwell Automation 1761-HHP-B30 MicroLogix 1000 with Hand-Held Programmer (HHP) User Manual

Page 204

Advertising
background image

Chapter 11
Using Data Handling Instructions

11–21

The source value is NOTed bit by bit and then stored in the destination (one’s
complement).

Truth Table

Dest = NOT A

A

Dest

0

1

1

0

The source and destination must be word addresses.

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

N O T

S R C

N 4

0

P 0 0 0

N O T

D E S T

N 1 1

0

NOT

NOT
Source

N7:4

0

Dest

N7:11

0

Execution Times (

µ

sec) when:

True

False

28.21

6.78

Ladder representation:

Not (NOT)

ENT

1

FUN

1

To enter the function code, press:

1

Advertising