![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532181.webp)
176
3
D00100
5
2
1
0
0005
0
0
0
3
D00100
5
2
1
3
0005
5
2
1
Before
execution
After
execution
5-15-2 MOVE NOT: MVN(031)
(031)
MVN
S
D
D: Destination
CIO, G, A, T, C, DM, DR, IR
S: Source
CIO, G, A, T, C, #, DM, DR, IR
Operand Data Areas
Ladder Symbol
Variations
j
MVN(031)
When the execution condition is OFF, MVN(031) is not executed. When the ex-
ecution condition is ON, MVN(031) transfers the complement of the content of S
(specified word or four-digit hexadecimal constant) to D, i.e., for each ON bit in S,
the corresponding bit in D is turned OFF, and for each OFF bit in S, the corre-
sponding bit in D is turned ON.
Source word
Destination word
Bit status
inverted.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
EQ (A50006):
Content of D is 0 after execution.
N (A50008):
Same status as bit 15 of D after execution.
Example
When CIO 000000 is ON in the following example, the complement of the con-
tent of D00100 is transferred to the CIO 0002.
Address
Instruction
Operands
00000
LD
000000
00001
MVN(031)
D00100
0002
8
D00100
0
1
F
0
0002
0
0
0
8
D00100
0
1
F
7
0002
F
E
0
Before
execution
After
execution
Complement
The bit contents of D00100 and its complement are illustrated below:
1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
8
0
1
F
D00100
0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0
7
F
E
0
Complement
Description
Data Movement Instructions
Section 5-15
(031)
MVN
D00100
0002
0000
00
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...