Batch Read (Word Units) (Command: Wr, Qr) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Batch read (word units) (command: WR, QR)

Reads bit devices (X, Y, M, etc.) in 16-point units.
Reads word devices (D, T, C, etc.) in 1-point units
Message format
The following shows the message format of the request data and response data of the command.
■Request data
Command
Message wait
■Response data
The value of read device is stored in word units. (Page 74 Read data, write data)
Data specified by request data
■Command
ACPU common
W
57
H
■Message wait
Specify the delayed time of the response transmission. (Page 347 Message wait)
■Head device
Specify the head device. (Page 351 Device codes, device numbers)
■Number of device points
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
Specify the number of device points within the following range:
• For bit device: 1  Number of device points  32
• For bit device: Head device No. + Number of device points 16 - 1  Maximum device No.
• For word device: 1  Number of device points  64
• For word device: Head device No. + Number of device points - 1  Maximum device No.
• When specifying bit devices, set the head device No. in multiples of 16 (0, 16, ... in decimal notation).
17 COMMUNICATING USING 1C FRAMES
356
17.4 Device Memory Read and Write
Number of device
Head device
points
(Number of words)
AnA/AnUCPU common
R
52
H
Q
R
51
52
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents