11 - 235 11 - 235
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Processing Code 516 Random read of device memory of the Q/QnA series PLC CPU
Control table format definition
Element position
Item
Description
Format 1
Format 2
Format 3
%(0)
Station number
Specify the station number of the PLC.
%(0)
%(0)
Control table
Specify a control table of format 2.
Only
applicable
to
QD51
(-R24)
%(1)
%(1)
Network number
Specify the network number.
%(2)
%(2)
Station number
Specify the station number of the PLC.
%(3)
%(3)
Detailed error code
Detailed error codes are stored here.
%(4)
Requested CPU
Specify the requested CPU.
%(1)
%(4)
%(5)
Processing code
Specify the processing code.
%(2)
%(5)
%(6)
Lower
Number of
word device
points
Specify the number of word device
points.
Higher
Number of bit
device points
Specify the number of bit device points.
%(3)
%(6)
%(7)
Number of double-
word device points
Specify the number of double-word
device points.
%(4)
%(7)
%(8)
Fixed value
Specify 0.
%(5)
%(8)
%(9)
Device code
Specify the device code.
%(6)
%(9)
%(10)
lower
%(7)
%(10)
%(11)
Device
number
higher
Specify the device number.
%(8)
%(11)
%(12)
Processing unit
Specify the device processing unit.
Repeat for
the number
of points to
be read.
%(9)
%(12)
%(13)
Fixed value
Specify 0.
• It is possible to read individual devices in the device memory of the Q/QnA series
PLC CPU using this code.
• Specify the following data for <control table>.