Batch Read And Write Multiple Blocks; Batch Read Multiple Blocks (Command: 0406) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

8.4

Batch Read and Write Multiple Blocks

Read or write values for specified multiple blocks by handling consecutive devices as one block.

Batch read multiple blocks (command: 0406)

Read values for specified multiple blocks by handling consecutive word devices or bit devices as one block.
Each block can be specified with discontinuous device numbers.
When communicating with a Universal model QCPU or an LCPU, if other than "Specify service process
execution counts" is selected for "Service Processing Setting" of the CPU module, data separation may occur.
To avoid data separation, select "Specify service process execution counts".
When accessing any of the following devices, use the device extension specification (subcommand: 008).
• Link direct device
• Module access device
• CPU buffer memory access device
For the message format for device extension specification, refer to the following section.
Page 438 Read/Write by Device Extension Specification
Message format
The following shows the message format of the request data and response data of the command.
■Request data
Command
Subcommand
Block of bit device
(first point)
■Response data
The value of read device is stored in hexadecimal. The data order differs between ASCII code or binary code. (Page 74
Read data, write data)
Data for the number of word device blocks
Word device
Data in the
first block
Data specified by request data
■Command
ASCII code
0
4
0
6
30
34
30
36
H
H
H
H
8 DEVICE ACCESS
112
8.4 Batch Read and Write Multiple Blocks
Number of word
device blocks
(m points)
Block of bit device
(nth point)
Data for the number of bit device blocks
Bit device
Data in the
Data in the
mth block
first block
Binary code
06
H
Number of bit
Block of word
device blocks
device
(n points)
(first point)
Data in the
nth block
04
H
Block of word
device
(mth point)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents