Mitsubishi QD51 Programming Manual page 342

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 1
11 - 172
Reading device memory data
Control table format definition
Element position
Format 1
Format 2
%(0)
• • • • • • •
%(0)
%(1)
%(2)
%(3)
%(1)
%(4)
%(2)
%(5)
%(3)
%(6)
%(4)
%(7)
%(5)
%(8)
• It is possible to read data of device memory other than extension file registers of
the PLC CPU using this code.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
%(1)
• • • • • •
%(2)
• • • • • •
%(3)
• • • • • •
%(4)
• • • • • •
%(5)
• • • • • •
Item
Station number
Control table
Network number
Station number
Detailed error code
Processing code
Processing unit
Device code
Device number
Number of points
Specify the station number of the PLC CPU from which
data is to be read.
See Section 4.2.2 for the allowable specification range.
Processing code
• Specify 1.
Specify the device processing unit.
• When reading in bit units • • • • • 1
• When reading in word units • • • 2
Always specify "2" when reading from word devices.
Specify the device using the defined code.
See Section 4.2.5 for the code numbers.
Specify the device number of the device specified in %(3).
See Section 4.2.5 for the allowable specification range.
Note, however, that values other than 0 or multiples of 16
cannot be specified for the device number when reading
from bit devices in word units.
Specify the number of points of device memory to be read,
including the device specified in %(3) and %(4).
The allowable specification range is as follows:
MELSEC-Q
Description
Specify the station number of the PLC.
Specify a control table of format 2.
Specify the network number.
Specify the station number of the PLC.
Detailed error codes are stored here.
Specify the processing code.
Specify the device processing unit.
Specify the device code.
Specify the device number.
Specify the number of points to be read.
11 - 172

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents