2 block write instruction (tblbw), Program example, Outline – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual
Page 178

1 Ladder Program Instructions
1.8.2 BLOCK WRITE Instruction (TBLBW)
1-168
Program Example
From the table defined as TABLE1, with DW00010 to DW00015 as a parameter table, data 
(element type is integer type) from the starting table element position to the end position are 
stored in block form in the area starting from MW00100.
1.8.2 BLOCK WRITE Instruction (TBLBW)
Outline
The TBLBW instruction writes the contents of a continuous region starting with the speci-
fied register (Write Data) to the file register table elements in block format that are specified 
by table name (Table Name), row number, and column number. The data is processed 
assuming that the type of the table elements in the storage destination register is the same as 
that of the table elements in the storage source register.
If errors such as invalid table names, invalid row numbers, invalid column numbers, or 
insufficient storage register data length are found, they are reported and the contents of the 
storage destination register is retained without writing the data.
Upon normal termination, the number of words transferred is set in the [Output] and the 
[Status] is turned OFF.
When an error occurs, the corresponding error code is set in the [Output] and the [Status] is 
turned ON.
Table 1.33 Block Write Instruction Parameters
ADR
Type
Symbol
Name
Specifications
I/O
0
L
ROW1
Table element beginning
row number
Beginning row number of the target table 
element (1 to 65535)
IN
2
L
COL1
Table element beginning 
column number
Beginning column number of the target table 
element (1 to 32767)
IN
4
W
RLEN
Number of row elements
Number of row elements (1 to 32767)
IN
5
W
CLEN
Number of column 
elements
Number of column elements (1 to 32767)
IN
