Mitsubishi QD51 Programming Manual page 399

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 515
Element position
Only
Format 1
applicable
to
%(0)
QD51
(-R24)
%(1)
%(2)
%(3)
%(4)
%(5)
11 - 229
Reading device memory of the Q/QnA series PLC CPU
Control table format definition
Format 2
Format 3
%(0)
%(0)
%(1)
%(1)
%(2)
%(2)
%(3)
%(3)
%(4)
%(4)
%(5)
%(5)
%(6)
%(6)
%(7)
%(7)
%(8)
%(8)
%(9)
• It is possible to read the device memory of the Q/QnA series PLC 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
Requested CPU
Processing code
Device code
lower
Device
number
higher
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 515 (&H203).
Specify the device using the defined code.
• See Section 4.2.5 for the code numbers.
Specify the device number (lower digit) of the device
specified in %(2). See Section 4.2.5 for the allowable
specification range.
Specify the device number (higher digit) of the device
specified in %(2). See Section 4.2.5 for the allowable
specification range.
Specify the number of device points to be read, including
the devices specified in %(2), %(3), and %(4).
The allowable specification ranges are as follows:
(a) Bit devices
• Q series CPU
• QnA series CPU
(b) Word devices
• Q series CPU
• QnA series CPU
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 requested CPU.
Specify the processing code.
Specify the device code.
Specify the device number.
Specify the number of device points to
be read.
1 to 15360 points
1 to 7680 points
1 to 960 points
1 to 480 points
11 - 229

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents