
Chapter 5. Application instructions
5-69
-
Execution conditions
2) Program example
-
Program that performs the exclusive OR of the contents of P04 and h2345, then stores the result to
the P06 word when the P020 is switched on.
Input condition
WXOR, DWXOR
WXORP, DWXORP
Executed only once
Executed only once
Executed per scan
Executed per scan
WXORP P04 h2345 P06
P020
16 bits
0
0
1
1
1
0
1
0
1
1
0
1
0
0
1
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
WXOR
h3AD3
h2345
0
0
0
1
1
0
0
1
1
0
0
1
0
1
1
0
h1996
h3AD3
P06
P04
h2345