8 DEVICE ACCESS
8.4 Batch Read and Write Multiple Blocks
113
8
■Subcommand
■Number of word device blocks, number of bit device blocks
Specify the number of device blocks to be read in hexadecimal. (Page 73 Number of blocks)
Specify the total number of each block within the following range.
■Block of word device, block of bit device
Specify the device to be read by handling consecutive devices as one block.
Specify the block with the number of points equivalent to the specified "Number of word device blocks" and
"Number of bit device blocks", respectively. When '0' is specified, this specification is not required.
Specify the following items for every block.
• Device: Specify the head device of the consecutive devices. (Page 67 Devices)
• Number of device points: Specify the number of device points to be read. (Page 72 Number of device points)
Specify the total number of device points for each block within the range of 1 to 960.
Word device is 1-word per one point, and bit device is 16-bit for one point.
Use a bit device block when the contact and coil for the following devices are specified.
•Timer
• Retentive timer
• Counter
The following devices cannot be specified.
• Long timer (contact: LTS, coil: LTC, current value: LTN)
• Long retentive timer (contact: LSTS, coil: LSTC, current value: LSTN)
• Long counter (contact: LCS, coil: LCC, current value: LCN)
• Long index register (LZ)
Page 71 Considerations when accessing long timer, long retentive timer, or long counter
Page 71 Considerations when accessing long index register
Type ASCII code Binary code
For MELSEC-Q/L series
For MELSEC iQ-R series
Access target Range
MELSEC iQ-R series module (subcommand: 0000)
MELSEC-Q/L series module (subcommand: 0000)
MELSEC-QnA series module
1Number of word device blocks + Number of bit device blocks 120 points
MELSEC iQ-R series module (subcommand: 0002, 008)
MELSEC-Q/L series module (subcommand: 0080)
1Number of word device blocks + Number of bit device blocks60 points
00
H
00
H
02
H
00
H
Block (1 point)
Number of
device points
Head device