4 not (!), 1) overview, 2) format – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual
Page 234: 3) programming examples

8.6 Logic Operation
8-127
8
Command Reference
8.6.4 NOT (!)
(1) Overview
NOT inverts the data in the specified register and returns the operation result. Real number registers cannot be
used.
(2) Format
* Bit constants cannot be specified.
(3) Programming Examples
Logical NOT (
!) programming examples are shown below.
Example: MW00100=!MW00101;
Motion Programs
Sequence Programs
Applicable
Applicable
MB001000 = ! MB001010;
A B
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
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*
EXAMPLE
Type
Motion Programs/
Sequence Programs
Ladder Programs
B
MB001000=!MB001010;
W
MW00100=!MW00101;
L
ML00100=!ML00102
F
−
−
0010
0011
0100
0001
MW00101
1234H
1101
1100
1011
1110
MW00100
EDCBH