Move Not - Mvn(22) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Data Movement Instructions
Example
00000
5-18-2 MOVE NOT – MVN(22)
Limitations
Description
Precautions
Flags
270
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.
0 1 1 1 0 0 1 1 1 0
IR 000
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 (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.
Source word
TIM/CNT numbers cannot be designated as D to change the PV of the timer
or counter. However, these can be easily changed using BSET(71).
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
EQ:
ON when all zeros are transferred to D.
Address Instruction
@MOV(21)
00000
LD
001
00001
@MOV(21)
HR 05
0
0 0 1 0 1
0
0 0 1 0 1
Operand Data Areas
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
S
D
IR, SR, AR, DM, EM, HR, LR
Bit status
inverted.
Section 5-18
Operands
00000
001
HR
S: Source word
D: Destination word
Destination word
05

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF