Batch Write Multiple Blocks (Command: 1406) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Batch write multiple blocks (command: 1406)

Write 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
There is no response data for this command.
Data specified by request data
■Command
ASCII code
1
4
0
6
31
34
30
36
H
H
H
H
■Subcommand
Type
For MELSEC-Q/L series
For MELSEC iQ-R series
■Number of word device blocks, number of bit device blocks
Specify the number of device blocks to be written in hexadecimal. (Page 73 Number of blocks)
8 DEVICE ACCESS
116
8.4 Batch Read and Write Multiple Blocks
Number of word
Number of bit
device blocks
device blocks
(m points)
(n points)
Block of bit device
(nth point)
Binary code
06
14
H
H
ASCII code
0
0
0
30
30
30
H
H
H
0
0
0
30
30
30
H
H
H
Block of word
device
(first point)
0
30
H
2
32
H
Block of word
device
(mth point)
Binary code
00
00
H
H
02
00
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents