Batch Read In Bit Units (Command: 00) - 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 in bit units (command: 00)

Read bit devices (X, Y, M, etc.) in 1-point units.
Message format
The following shows the message format of the request data and response data of the command.
Specify the command type by subheader. (Page 392 Subheader)
■Request data
Number of device
Head device
points
■Response data
The data for the number of device points are stored.
(Page 402 Read data, write data)
For ASCII code, when the number of device points are specified in an odd number, one byte of dummy data
(30H) will be added to the response data. For example, if a data for three points are read, data for four points
is returned. The last byte will be a dummy data.
Data specified by request data
■Head device
Specify the head device number of bit devices to be read. (Page 397 Device codes and device numbers)
■Number of device points
Specify the number of the bit device points to be read.
Specify '00H' when the number of device points is to 256 points. (Page 402 Number of device points)
■Fixed value
Fixed to '0'.
ASCII code
0
0
30
30
H
H
Fixed value
Binary code
00
H
18 COMMUNICATING USING 1E FRAMES
18.4 Read and Write Device Memory
18
403

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents