2 ) format, 3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 206

5.7 Data Shift Instructions
5.7.13 Copy Word (COPYW)
5-137
Instructions
5
( 2 ) Format
∗ C and # registers cannot be used.
( 3 ) Programming Example
In the following programming example, five words of data are copied from the area that starts with the first source
address at MW00000 to the area that starts with the first destination address at MW00100 when switch 1 (DB000000)
turns ON.
The following figure illustrates the result when the above instructions are executed.
Parameter Name
Applicable Data Types
B
W
L
F
A
Index
Constant
First source address
(Src)
×
{
×
×
×
×
×
First destination address
(Dest)
×
{
*
×
×
×
×
×
Number of words to
move (Width)
×
{
×
×
×
{
{
Number of
words to move
First destination
address
First source address
Icon:
Key entry: COPYW
Register
Data
Register
Data before Execution of
Instruction
Data after Execution of
Instruction
MW00000
1
MW00100
123
1
MW00001
2
MW00101
234
2
MW00002
3
MW00102
345
3
MW00003
4
MW00103
456
4
MW00004
5
MW00104
567
5