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

Page 271

Advertising
background image

5.9 Table Manipulation Instructions

5.9.2 Write Table Block (TBLBW)

5-202

( 3 ) Programming Example

In the following programming example, an area of data that starts at MW00100 is moved to a specified block in record
table data TBL1 when switch 1 (DB00000) turns ON.

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

The data that is written is given below.

The following table shows the contents of table data TBL1 after the instruction is executed.
The number of words that were moved is set to 15 in MW00000, and MB000010 (status) is set to 0 (move successful).

Œ

The column data types are given in parentheses.

Register

Data

Remarks

DL00000

2

First row number of table elements

DL00002

2

First column number of table elements

DW00004

3

Number of row elements

DW00005

3

Number of column elements

Register

Data

Register

Data

Register

Data

MW00100

1

ML00101

2

ML00103

3

MW00105

4

ML00106

5

ML00108

6

MW00110

7

ML00111

8

ML00113

9

Column

Row

1

( W )

2

( W )

3

( L )

4

( L )

5

( F )

1
2

1 2 3

3

4 5 6

4

7 8 9

5

Area that is written

Advertising
This manual is related to the following products: