6 logic operation, 1 or (|), 1) overview – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual
Page 230: 2) format

8.6 Logic Operation
8-123
8
Command Reference
8.6 Logic Operation
This section explains the commands used to perform bit and integer logic operations.
Although operations that combine math operations are also possible, real number operations cannot be per-
formed.
For priority levels of arithmetic operations, refer to 7.4 Priority Levels of Operations.
8.6.1 OR (|)
(1) Overview
OR performs a logical OR for the immediately preceding operation result and the specified registers, and returns
the operation result. Real number registers cannot be used.
(2) Format
Motion Programs
Sequence Programs
Applicable
Applicable
Table 8.3 Logical OR Truth Table (A=B|C)
B
C
A
0
0
0
0
1
1
1
0
1
1
1
1
MW00100 = DW00102 | AAAAH;
A B C
Item
Description
Usable Registers
A
Data output
• All bit type, integer type, and double integer type registers (Excluding # and C reg-
isters)
• The above registers with subscript
• Subscript registers
B, C
Data input
• All bit type, integer type, and double integer type registers (Excluding # and C reg-
isters)
• The above registers with subscript
• Subscript registers
• Constants