Data Movement; Move - Mov(21) - Omron SYSMAC C2000H Operation Manual

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Data Movement

Limitations
Description
Flags
5-14

Data Movement

5-14-1
MOVE – MOV(21)
Description
Precautions
Flags
St and E must be in the same data area, and E must be greater than or equal
to St.
When the execution condition is OFF, WSFT(16) is not executed. When the
execution condition is ON, WSFT(16) shifts data between St and E in word
units. Zeros are written into St and the content of E is lost.
F
0
Lost
3
4
ER:
The St and E words are in different areas, or St is greater than E.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
This section describes the instructions used for moving data between differ-
ent addresses 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 communica-
tions in Link Systems 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.
Ladder Symbols
MOV(21)
@MOV(21)
S
D
When the execution condition is OFF, MOV(21) is not executed. When the
execution condition is ON, MOV(21) copies the content of S to D.
Source word
TC numbers cannot be designated as D to change the PV of the timer or
counter. However, these can be easily changed using BSET(71).
Indirectly addressed DM word is non-existent. (Content of *DM word
ER:
is not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when all zeros are transferred to D.
E
St + 1
C
2
3
4
5
2
E
St + 1
5
2
1
0
2
9
IR, SR, AR, DM, HR, TC, LR, #
S
D
Bit status
not changed.
Section 5-14
St
1
0
2
9
0000
St
0
0
0
0
Operand Data Areas
S: Source word
D: Destination word
IR, AR, DM, HR, LR
Destination word
135

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents