Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 317
Move/Logical Instructions (MOV, MVM, BTD, MVMT, BTDT, CLR, SWPB, AND, OR, XOR, NOT, BAND, BOR, BXOR, BNOT) Chapter 7
Function Block
Example: When enabled, the AND instruction performs a bitwise AND operation on SourceA and
SourceB and places the result in the Dest.
Condition Action
Prescan No action taken.
Instruction first scan No action taken.
Instruction first run No action taken.
EnableIn is cleared EnableOut is cleared.
EnableIn is set The instruction executes.
EnableOut is set.
Postscan No action taken.
SourceA00000000000001010101010111111111
SourceB00000000000011111111000000000000
Dest00000000000001010101000000000000