beautypg.com

Not (not), Programming, Updates to arithmetic status bits – Rockwell Automation 1761 MicroLogix 1000 Programmable Controllers User Manual

Page 169

background image

Using Data Handling Instructions

9–21

Not (NOT)

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:

S:0/0

Carry (C)

always resets.

S:0/1

Overflow (V)

always resets.

S:0/2

Zero (Z)

sets if result is zero; otherwise resets.

S:0/3

Sign (S)

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

Programming

Execution Times

(

µ

sec) when:

True

False

28.21

6.92

NOT

NOT
Source

Dest