135
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
C
2
3
4
5
2
1
0
2
9
E
St + 1
St
3
4
5
2
1
0
2
9
0
0
0
0
E
St + 1
St
Lost
0000
Flags
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.)
5-14
Data Movement
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.
5-14-1
MOVE – MOV(21)
S
: Source word
IR, SR, AR, DM, HR, TC, LR, #
D
: Destination word
IR, AR, DM, HR, LR
Ladder Symbols
Operand Data Areas
MOV(21)
S
D
@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
Destination word
Bit status
not changed.
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).
Flags
ER:
Indirectly addressed DM word is non-existent. (Content of
*
DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ
:
ON when all zeros are transferred to D.
Limitations
Description
Description
Precautions
Data Movement
Section 5-14
Содержание SYSMAC C1000H
Страница 1: ...Cat No W140 E1 04 Programmable Controllers SYSMAC C1000H C2000H...
Страница 2: ...C1000H C2000H Programmable Controllers Operation Manual Revised May 2003...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 395: ...Cat No W140 E1 04 Note Specifications subject to change without notice Printed in Japan Authorized Distributor...
Страница 396: ...Cat No W140 E1 04 SYSMAC C1000H C2000H Programmable Controllers OPERATION MANUAL...