beautypg.com

Not (not), Using arithmetic status bits – Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 308

background image

Chapter 21
Move and Logical Instructions

21–8

Not

NOT

Output Instruction

(NOT)

F1

F2

F3

F4

F5

ZOOM on NOT –(NOT)– 2.3.0.0.2
NAME: NOT
SOURCE: B3:0 1010 0110 1110 1100
DEST: B3:1 0101 1001 0001 0011

EDT_DAT

HHT Ladder Display:

HHT Zoom Display:

Ladder Diagrams and APS Displays:

NOT

NOT
Source

B3:0

1010011011101100

Dest

B3:1

0101100100010011

(online monitor mode)

The source value is NOTed (inverted) bit by bit and then stored in the
destination.

Truth Table:

R = NOT A

A R

0 1
1 0

A: Source bit
R: Destination bit

Using Arithmetic Status Bits

C always reset

V always reset

Z set if the result is zero; otherwise reset

S set if the result is negative (most significant bit is set); otherwise reset

Not (NOT)