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

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Data Movement Instructions

5-15-2 MOVE NOT: MVN(031)

Ladder Symbol
(031)
MVN
Variations
j MVN(031)
Description
Flags
Example
0000
00
188
S
D
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
ER (A50003):
EQ (A50006):
N (A50008):
When CIO 000000 is ON in the following example, the complement of the con-
tent of D00100 is transferred to the CIO 0002.
(031)
MVN
D00100
Before
execution
D00100
8
0
1
F
0002
0
0
0
0
The bit contents of D00100 and its complement are illustrated below:
D00100
1 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1
Complement
0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0
Operand Data Areas
S: Source
CIO, G, A, T, C, #, DM, DR, IR
D: Destination
CIO, G, A, T, C, DM, DR, IR
Destination word
Bit status
inverted.
Content of *DM word is not BCD when set for BCD.
Content of D is 0 after execution.
Same status as bit 15 of D after execution.
0002
After
execution
D00100
Complement
0002
8
0
1
7
F
E
Section 5-15
Address Instruction
00000
LD
00001
MVN(031)
8
0
1
F
7
F
E
0
F
0
Operands
000000
D00100
0002

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents