Drive Programming
Command
XOr(exclusive-or)
Value 1
0
0
1
1
<result>= <value 1> XOr <value 2>
Warning: Drive Programming does not control overflow/underflow. The application should take care.
Example
Flowchart
The initial P104 parameter calculation result is 10, as 6 in binary format is 00000110 and 12 in binary
format is 00001100, so the result of the XOr operation is 00001010 that is 10 in decimal format. If
P102 and P103 are changed by the user, then P104 will recalculate accordingly.
XOr
Description
Value 2
Result
0
0
1
1
0
1
1
0
Format
Arguments
• Result: any variable.
• Value 1: any variable or constant
(range -128 to 127).
• Value 2: any variable or constant
(range -2147483648 to 2147483647).
Text
53