Chapter 7
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT)
Input Parameter
Data Type
EnableIn
BOOL
Source
DINT
Output Parameter
Data Type
EnableOut
BOOL
Dest
DINT
Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
Postscan
328
FBD_LOGICAL Structure
Description
Enable input. If cleared, the instruction does not execute and outputs are not updated.
default is set
Value to NOT.
valid = any integer
Description
The instruction produced a valid result.
Result of the instruction. Arithmetic status flags are set for this output.
When enabled, the instruction evaluates the NOToperation.
If the bit in the
Source is
0
1
If you mix integer data types, the instruction fills the upper bits of the smaller integer data
types with 0s so that they are the same size as the largest data type.
Arithmetic status flags are affected.
None
Execution:
Relay Ladder
Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
The instruction performs a bitwise NOT operation.
The rung-condition-out is set to true.
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
The bit in the
destination is
1
0