EasyManua.ls Logo

Omron CPM1

Omron CPM1
541 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...
238
Data Movement Instructions Section 5-17
5-17-2 MOVE NOT – MVN(22)
Limitations DM 6144 to DM 6655 cannot be used for D.
Description When the execution condition is OFF, MVN(22) is not executed. When the
execution condition is ON, MVN(22) transfers the inverted content of S (spec-
ified 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.
Precautions TC numbers cannot be designated as D to change the PV of the timer or
counter. However, these can be easily changed using BSET(71).
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ: ON when all zeros are transferred to D.
Example The following example shows @MVN(22) being used to copy the complement
of #F8C5 to DM 0010 when IR 00001 goes from OFF to ON.
S: Source word
IR, SR, AR, DM, HR, TC, LR, #
D: Destination word
IR, SR, AR, DM, HR, LR
Ladder Symbols Operand Data Areas
MVN(22)
S
D
@MVN(22)
S
D
Source word Destination word
Bit status
inverted.
@MVN(22)
#F8C5
DM 0010
00001
Address Instruction Operands
00000 LD 00001
00001 @MOV(21)
# F8C5
DM 0010
0 0 0 0 0 1 1 1 0 0 1 1 0 1 0
DM 0010
1 1 1 1 1 0 0 0 1 1 0 0 1 0 1
#F8C5
0
1

Table of Contents

Other manuals for Omron CPM1

Related product manuals