Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 325
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 XOR instruction performs a bitwise XOR operation on SourceA and
SourceB and places the result in the destination tag.
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.
value_100000000000001010101010111111111
value_200000000000011111111000000000000
value_result_xor00000000000010101010010111111111