11 - 327 11 - 327
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Processing Code 516 Random data writing to the device memory of a 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.
Only
applicable
to QD51
(-R24)
%(0)
%(0)
Control table
Specify a format 2 or format 3 control table.
%(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 to be read.
Higher
Number of
bit device
points
Specify the number of bit device points
to be read.
%(3)
%(6)
%(7)
Number of double-
word device points
Specify the number of double-word
device points to be read.
%(4)
%(7)
%(8)
Device code
Specify the device code.
%(5)
%(8)
%(9)
Lower
%(6)
%(9)
%(10)
Device
number
Higher
Specify the device number.
%(7)
%(10)
%(11)
Processing unit
Specify the device processing unit.
Repeat
for the
number of
points to
be read.
%(8)
%(11)
%(12)
Fixed value
Specify 0.
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
• It is possible to write data nonsequentially to a Q/QnA series PLC CPU’s device
memory using this code.
• Specify the following data for <control table>.