3 block move (blk), 1) overview, 2) format – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 239: 3) programming examples, 2) format (3) programming examples

Advertising
background image

8 Command Reference

8.8.3 Block Move (BLK)

8-132

8.8.3 Block Move (BLK)

(1) Overview

The BLK command moves the specified number of words from the beginning of the source register to the begin-
ning of the destination register.

(2) Format

(3) Programming Examples

BLK command programming examples are shown below.

Example: MW00100 to MW00109 are moved to MW00200 to MW00209.

As long as the source registers and destination registers are not overlapped, the source data is moved to the destination reg-
isters as it is. If overlapped, the source data may not be moved to the destination registers as it is.

Motion Programs

Sequence Programs

Applicable

Applicable

BLK MW00100 DW00100 W10 ;

A B C

Item

Description

Usable Registers

A

Source leading reg-

ister

• All integer type registers (Excluding # and C registers)
• The above registers with subscript
• Subscript registers

B

Destination leading

register

• All integer type registers (Excluding # and C registers)
• The above registers with subscript
• Subscript registers
• Constants

C

Number of blocks to

be moved

EXAMPLE

Type

Motion Programs/

Sequence Programs

Ladder Programs

B

W

BLK MW00100 DW00100 W10;

L

F

BLK MW00100 MW00200 W10;

1234H

1235H

1236H

123DH

123CH

MW00100

MW00101

MW00102

MW00109

MW00108

1234H

1235H

1236H

123DH

123CH

MW00200

MW00201

MW00202

MW00209

MW00208

Source

Destination

INFO

Advertising