Data Movement Instructions; Move: Mov(030) - Omron SYSMAC CVM1 Series Operation Manual

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Data Movement Instructions

5-15 Data Movement Instructions

5-15-1 MOVE: MOV(030)

Ladder Symbol
(030)
MOV
Variations
j MOV(030)
! j MOV(030)
! MOV(030)
Description
Precautions
Flags
Example
0000
00
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.
S
D
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.
Note The immediate-refresh variations of MOV(030) can be used in simplex mode
only; they cannot be used in duplex mode.
Source word
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.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
EQ (A50006):
Content of D is 0 after execution.
N (A50008):
Same status as bit 15 of D after execution.
When CIO 000000 is ON in the following example, the content of D00100 is co-
pied into CIO 0005.
(030)
MOV
D00100
Operand Data Areas
S: Source
CIO, G, A, T, C, #, DM, DR, IR
D: Destination
CIO, G, A, T, C, DM, DR, IR
Bit status
not changed.
0005
Section 5-15
Destination word
Address Instruction
Operands
00000
LD
000000
00001
MOV(030)
D00100
0005
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents