![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532186.webp)
181
5-15-7 MOVE TO REGISTER: MOVR(036)
(036)
MOVR
S
D
D: Destination
IR
S: Source
CIO, G, A, T, C, DM
Operand Data Areas
Ladder Symbol
Variations
j
MOVR(036)
When the execution condition is OFF, MOVR(036) is not executed. When the
execution condition is ON, MOVR(036) copies the PC memory address of word
or bit S to the index register designated in D. The index register must be directly
addressed.
When S contains a timer or counter number, the PC memory bit address of the
timer or counter Completion Flag is copied to the index register. To access the
PC memory address of a timer or counter PV with an index register, move the PC
memory address of the timer or counter PV (#1000 or #1800) to an index register
with MOV(030)
If the index register contains a PC memory address for a timer/counter Comple-
tion Flag, a Transition Flag, or a Step Flag, the leftmost three digits indicate the
PC memory word address, and the rightmost digit indicates the bit.
Precautions
Only direct addresses can be used for IR.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
EQ (A50006):
0000 was placed in the index register.
Example
The following example demonstrates the difference between MOV(030) and
MOVR(036). In the first instruction line, MOVR(036) copies the PC memory ad-
dress of CIO 0020 to IR0 when CIO 000000 is ON. In the second instruction line,
MOV(030) copies the content of CIO 0020 to IR0 when CIO 000000 is ON.
0000
00
0000
00
(036)
MOVR
0020
IR0
1 2 3 4
0 0 1 4
$0014
CIO 0020
IR0
(Address of Wd 0020)
(030)
MOV
0020
IR0
1 2 3 4
$0014
IR0
1 2 3 4
MOV
(Address of Wd 0020)
CIO 0020
Description
Data Movement Instructions
Section 5-15
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...