![background image](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532180.webp)
175
5-15 Data Movement Instructions
Data Movement Instructions are used for moving data between different ad-
dresses in data areas. These movements can be programmed to be within the
same data area or between different data areas. Data movement is essential for
utilizing all of the data areas of the PC. Effective communications in networks
also requires data movement. All of these instructions change only the content
of the words to which data is being moved, i.e., the content of source words is the
same before and after execution of any of the data movement instructions.
5-15-1 MOVE: MOV(030)
(030)
MOV
S
D
D: Destination
CIO, G, A, T, C, DM, DR, IR
S: Source
CIO, G, A, T, C, #, DM, DR, IR
Operand Data Areas
Ladder Symbol
Variations
j
MOV(030)
! MOV(030)
!
j
MOV(030)
When the execution condition is OFF, MOV(030) is not executed. When the ex-
ecution condition is ON, MOV(030) copies the content of S to D.
If !MOV(030) or !
j
MOV(030) is used, input bits used for S will refreshed just be-
fore, and output bits used for D will be refreshed just after execution.
Note The immediate-refresh variations of MOV(030) can be used in simplex mode
only; they cannot be used in duplex mode.
Source word
Destination word
Bit status
not changed.
Abide by the following guidelines when using MOV(030) to transfer data from
the CPU to Special I/O Units.
•
Be sure that any require data processing has been completed before execut-
ing the move.
•
Be sure that the data being transfer remains stable in memory long enough to
complete the transfer.
•
Be sure to allow enough time between transfers to ensure that data processing
is completed.
Note Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
Content of
*
DM word is not BCD when set for BCD.
EQ (A50006):
Content of D is 0 after execution.
N (A50008):
Same status as bit 15 of D after execution.
Example
When CIO 000000 is ON in the following example, the content of D00100 is co-
pied into CIO 0005.
Address
Instruction
Operands
00000
LD
000000
00001
MOV(030)
D00100
0005
Description
Precautions
Data Movement Instructions
Section 5-15
(030)
MOV
D00100
0005
0000
00
Summary of Contents for CVM1D
Page 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Page 463: ...iv...
Page 465: ...vi...