11 - 267 11 - 267
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Random writing to device memory
Control table format definition
Element position
Item
Description
Format 1
Format 2
%(0)
• • • • • • •
Station number
Specify the station number of the PLC.
%(0)
Control table
Specify a control table of format 2.
%(1)
Network number
Specify the network number.
%(2)
Station number
Specify the station number of the PLC.
%(3)
Detailed error code
Detailed error codes are stored here.
%(1)
%(4)
Processing code
Specify the processing code.
%(2)
%(5)
Processing unit
Specify the processing unit of the device.
Processing Code 3
%(3)
%(6)
Number of points
Specify the number of points to be written.
• It is possible to write data nonsequentially to the PLC CPU's device memory,
except extension file registers, using this code.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
Specify the station number of the PLC CPU to which data is
written.
See Section 4.2.2 for the allowable specification range.
%(1)
• • • • • •
Processing code
• Specify 3.
%(2)
• • • • • •
Specify the device processing unit.
• When writing in bit units • • • • • 1
• When writing in word units • • • 2
%(3)
• • • • • •
Specify the number of device points to be written. The
allowable specification ranges for the number of points are
as follows:
• When bit units are specified
• Bit devices
1 to 20 points
• When word units are specified
• Bit devices
• Word devices
1 to 10 words
(16 to 160 points, in units of
16 points)
1 to 10 points