2 write table block (tblbw), 1 ) operation – Yaskawa MP900 Series Ladder Programming Manual User Manual
Page 269

5.9 Table Manipulation Instructions
5.9.2 Write Table Block (TBLBW)
5-200
5.9.2 Write Table Block (TBLBW)
( 1 ) Operation
The TBLBW instruction moves the data from a continuous area that starts at the first source address to a block of the
table data that is specified by the table name, row number, and column number. The data is stored under the assumption
that the data type of the source area and each element in the table data are the same.
If an error occurs when accessing the table, such as data that is outside of the valid range or not enough data length at
the source, an error is output and no data is written. The contents in the destination area will remain unchanged.
If the instruction ends normally, the number of words that were moved is output, and the Status bit is turned OFF. If an
error occurs, an error code is output and the Status bit is turned ON.
[ a ] If the Move Succeeds
[ b ] If the Move Fails
If the move fails, the destination area will retain the contents from before the instruction was executed.
1
2
3
4
5
6
100
101
102
10
11
103
105
106
15
Columns →
(W) (W) (L) (L) (W)
Rows
↓
100
101
102
103
104
Data type for each column
Block specified in parameter table
First source address
MW
ML + 1
ML + 3
MW + 5
105
ML + 6
ML + 8
Table Data
Data is moved according to
the data type of the table data.
Transferred.
Number of
words moved
Output data
Status
0 (OFF)
Error code
Output data
Status
1 (ON)