13 copy word instruction (copyw) – Yaskawa Ladder Works Programming Manual User Manual

Page 119

Advertising
background image

6.13 COPY WORD Instruction (COPYW)

6-22

6.13 COPY WORD Instruction (COPYW)

[Outline]

The COPYW instruction copies the designated number of words (Width) from the beginning of the
copy source register (Source) to the beginning of the copy destination register (Dest). The copy
process copies the entire block of data from the copy source to the copy destination. Even if there is
overlap between the copy source and the copy destination, the full copy data block is copied to the
copy destination.

[Format]

Symbol : COPYW
Full Name : Copy Word
Category : MOVE

Icon :

[Parameter]

Parameter Name

Setting

Source

· Any integer type register
· Any integer type register with subscript

Dest

· Any integer type register (except for # and C registers)
· Any integer type register with subscript (except for # and C registers)

Width

· Any integer type register
· Any integer type register with subscript
· Constant

[Program Example]

The word data of MW00000 to MW00009 are transferred to MW00100 to MW00109.

After
transfer

1032H

1133H

1234H

1841H

1032H

1133H

1234H

1841H

1842H

1842H

MW00001

MW00002

MW00008

MW00009

MW00100

MW00101

MW00102

MW00108

MW00109

MW00000


Advertising