8 - 2 8 - 2
MELSEC-Q
8 DEDICATED INSTRUCTIONS
8.2 BBLKWR Instruction
Usable devices
Internal device
(System, user)
MELSECNET/H
Direct J \
Set data
Bit
Word
File
register
Bit
Word
Special
function
module
U \G
Index
register
Z
Constant
K, H
Other
n1
—
—
—
—
S
—
—
—
—
—
n2
—
—
—
—
Un
Command
[Instruction
symbol]
BBLKWR
Un
Command
P.BBLKWR
n1
n2
n1
n2
[Execution
condition]
G.BBLKWR
GP.BBLKWR
S
S
Setting Data
Setting
data
Detail
Set Range
Data Type
Un
Module head I/O number of QJ71PB92D
0 to FF
H
n1
Head address for data writing
Specified device area
BIN16 bit
S
Head number of device in which write data is stored
Specified device area
Device name
n2
Number of writing data
1 to 960 (1 to 3C0
H
)
BIN16 bit
Function
The data is written to the buffer memory of the specified module with the signals
prevented from being separated.
Error
If the following event is encountered, an operation error will occur (Error code: 4101).
• A value out of the set range is set for the set data.
• The size of the data obtained by adding the number of data to be written to the head
address for data writing exceeds the buffer memory size.
• The number of data to be written for the head address and subsequent is less than
the number of writing data.
Program Example
Program for writing, with M10 = ON, the data amounting to 0 to 960 buffer memory
addresses of QJ71PB92D (module head I/O number: 0) to D0 to D959 with the signals
prevented from being separated.
U0
M10
K0
D0
K960
GP.BBLKWR
POINT
Execute BBLKRD and BBLKWR for each scanning, respectively.
If either of BBLKRD and BBLKWR is used, the transmission delay time will be
longer.
8