Bitwise Not (Not); Relay Ladder; Structured Text; Function Block - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)

Bitwise NOT (NOT)

dest := NOT source
The NOT instruction performs a bitwise NOT operation by using the bits in the Source
and places the result in the Destination.
To perform a logical NOT, see
Operands:

Relay Ladder

Operand
Source
Destination

Structured Text

Use NOT as an operator within an expression. This expression evaluates NOT source.
See
Structured Text Programming
structured text.

Function Block

Operand
NOT tag
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
page
340.
Type
Format
SINT
Immediate
INT
Tag
DINT
A SINT or INT tag converts to a DINT value by zero-fill.
SINT
Tag
INT
DINT
for information on the syntax of expressions within
Type
FBD_LOGICAL
Description
Value to NOT
Stores the result
Format
Description
Structure
NOT structure
Chapter 7
327

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents