![background image](http://html1.mh-extra.com/html/omron/srm1-programing-02-2001/srm1-programing-02-2001_programming-manual_742414430.webp)
7-17
Section
Data Movement Instructions
412
Limitations
DM 6144 to DM 6655 cannot be used for D.
When the execution condition is OFF, MOV(21) is not executed. When the
execution condition is ON, MOV(21) copies the content of S to D.
Source word
Destination word
Bit status
not changed.
TC numbers cannot be designated as D to change the PV of the timer or counter.
You can, however, easily change the PV of a timer or a counter by 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 @MOV(21) being used to copy the content of
IR 001 to HR 05 when IR 00000 goes from OFF to ON.
@MOV(21)
001
HR 05
00000
Address
Instruction
Operands
00000
LD
00000
00001
@MOV(21)
001
HR
05
0 1 1 1 0 0 1 1 1 0
0 0 1 0 1
HR 05
0 1 1 1 0 0 1 1 1 0
0 0 1 0 1
IR 000
0
0
7-17-2
MOVE NOT – MVN(22)
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
Limitations
DM 6144 to DM 6655 cannot be used for D.
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 (speci-
fied 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 correspond-
ing bit in D is turned ON.
Source word
Destination word
Bit status
inverted.
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).
Description
Precautions
Description
Precautions