Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 430

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Data Movement Instructions
Limitations
Description
Precautions
Flags
Example
00000
7-17-2 MOVE NOT – MVN(22)
Limitations
Description
Precautions
412
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
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).
Indirectly addressed DM word is non-existent. (Content of *DM word is
ER:
not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when all zeros are transferred to D.
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.
IR 000
0 1 1 1 0 0 1 1 1 0
HR 05
0 1 1 1 0 0 1 1 1 0
Ladder Symbols
MVN(22)
@MVN(22)
S
D
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
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).
Bit status
not changed.
Address Instruction
@MOV(21)
00000
LD
001
00001
@MOV(21)
HR 05
0
0 0 1 0 1
0
0 0 1 0 1
IR, SR, AR, DM, HR, TC, LR, #
S
D
Bit status
inverted.
Section
7-17
Destination word
Operands
00000
001
HR
05
Operand Data Areas
S: Source word
D: Destination word
IR, SR, AR, DM, HR, LR
Destination word

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents