EasyManua.ls Logo

Omron SYSMAC CV Series - Data Movement Instructions; Move: Mov(030)

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
187
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 AreasLadder 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 !jMOV(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.
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 115 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
3D00100 5 2 1
00005 0 0 0
3D00100 5 2 1
30005 5 2 1
Before
execution
After
execution
Description
Precautions
Data Movement Instructions Section 5-15
(030)
MOV D00100 0005
0000
00

Table of Contents

Related product manuals