11 - 179 11 - 179
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Reading extension file register data
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)
Block No.
Specify the block number of the
extension file registers.
%(3)
%(6)
Device number
Specify the device number of the
extension file registers.
Processing Code 4
%(4)
%(7)
Number of points
Specify the number of points to be read.
• It is possible to read data of extension file registers (file registers with block
number 1 or more) using this code.
• Specify the following data for <control table>.
Format 1 control table
%(0)
• • • • • •
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.
%(1)
• • • • • •
Processing code
• Specify 4.
%(2)
• • • • • •
Specify the block number of the extension file registers.
• If 0 is specified for the block No., the data in the file
registers of the PLC CPU is read.
(The same processing as reading R using the
processing code for reading device memory data will
be performed.)
• If a block number greater than 0 is specified, the data
in the extension file registers is read.
• The maximum value that can be specified for the block
No. varies depending on the memory cassette
mounted on the PLC CPU.
%(3)
• • • • • •
Specify the device number of the extension file registers.
The maximum value that can be specified for the device
number is the value set in the parameters of the PLC CPU.
The allowable specification range is from 0 to 8191.
%(4)
• • • • • •
Specify the number of device points to be read, including
the device specified in %(3).
The range that can be specified is from 1 to 64 points.