Batch Read And Write; Batch Read In Word Units (Command: 0401) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

8.2

Batch Read and Write

Read or write the values of consecutive devices in batch by specifying the number of device points.

Batch read in word units (command: 0401)

Read values from devices in word units.
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
■Response data
The value of read device is stored in word units. The data order differs between ASCII code or binary code. (Page 74
Read data, write data)
When the current value of a long timer or a long retentive timer is read, the values of a contact and a coil are also stored in the
response data. A 4-word response data is read per one device. The configuration of the data to be read is as follows:
Data
1st word
2nd word
3rd word
4th word
Data specified by request data
■Command
Frame
4C/3C/4E/3E frame
2C frame
■Subcommand
Type
For MELSEC-Q/L series
8 DEVICE ACCESS
88
8.2 Batch Read and Write
Number of
Head device
device points
Description
The current value is stored.
b0: The value of the coil is stored.
b1: The value of the contact is stored.
b2 to b15: Used by the system
Used by the system
ASCII code
0
4
0
30
34
30
H
H
H
2
32
H
ASCII code
0
0
0
30
30
30
H
H
H
1
31
H
0
30
H
Binary code
01
04
H
H
Binary code
00
00
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents