8 - 1 8 - 1
MELSEC-Q
8 DEDICATED INSTRUCTIONS
8. DEDICATED INSTRUCTIONS
8.1 BBLKRD 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
—
—
—
—
D
—
—
—
—
—
n2
—
—
—
—
Un
Command
[Instruction
symbol]
BBLKRD
Un
Command
P.BBLKRD
n1
n2
n1
n2
[Execution
condition]
G.BBLKRD
GP.BBLKRD
D
D
Setting Data
Setting
data
Detail
Set Range
Data Type
Un
Module head I/O number of QJ71PB92D
0 to FF
H
n1
Head address of data to be read
Specified device area
BIN16 bit
D
Head number of device in which read data is stored
Specified device area
Device name
n2
Number of reading data
1 to 1920 (1 to 780
H
)
BIN16 bit
Function
The data is read from 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 read to the head
address of the data to be read exceeds the buffer memory size.
• The number of data to be read for the head address and subsequent is less than the
number of reading data.
Program Example
Program for reading, 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.BBLKRD
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