Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 321
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 OR instruction performs a bitwise OR operation on SourceA and
SourceB and places the result in 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
Dest00000000000011111111010111111111