EasyManua.ls Logo

Omron SYSMAC CV Series - Move Not: Mvn(031)

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
188
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 AreasLadder 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
8D00100 0 1 F
00002 0 0 0
8D00100 0 1 F
70002 F E 0
Before
execution
After
execution
Complement
The bit contents of D00100 and its complement are illustrated below:
1000000000011111
801F
D00100
0111111111100000
7FE0
Complement
Description
Data Movement Instructions Section 5-15
(031)
MVN D00100 0002
0000
00

Table of Contents

Related product manuals