3 ) programming example – Yaskawa MP900 Series Ladder Programming Manual User Manual

Page 283

Advertising
background image

5.9 Table Manipulation Instructions

5.9.6 Move Table Block (TBLMV)

5-214

( 3 ) Programming Example

In the following programming example, the specified block in record table data TBL1 is moved to the specified block
in table data TBL2 when switch 1 (DB000100) turns ON.

The contents of table data TBL1 are given below.

Œ

The column data types are given in parentheses.

The parameter table is set as shown in the following table.

This table shows the contents of table data TBL2 after the instruction is executed.

Register

Data

Remarks

DL00000

2

First row number at source

DL00002

1

First column number at source

DW00004

3

Number of row elements

DW00005

3

Number of column elements

DL00006

2

First row number at destination

DL00008

2

First column number at destination

3

( L )

1000

1001

10000

2000

2002

20000

3000

3003

30000

4000

4004

40000

5000

5005

50000

Column

Row

1

2
3

4
5

1

( W )

2

( W )

Block to move

Column

Row

1

( W )

2

( W )

3

( W )

4

( L )

5

( L )

1

2
3
4

5

2000

2002

20000

3000

3003

30000

4000

4004

40000

Block that was moved

Advertising
This manual is related to the following products: