Drive Programming
Command
Or (logical addition).
Value 1
0
0
1
1
<result> = <value 1> Or <value 2>
Warning: Drive programming does not control overflow/underflow. The application should take care.
Example
Flowchart
The initial P104 parameter calculation result is 14, as 6 in binary format is 00000110 and 12 in binary
format is 00001100, so the result of the operation is 00001110 that is 14 in decimal format. If P102
and P103 are changed by the user, then P104 will recalculate accordingly.
Or
Description
Value 2
Result
0
0
1
1
0
1
1
1
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
52