11 - 173 11 - 173
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• When bit units are specified
• Bit devices
• When word units are specified
• Bit devices
• Word devices
1 to 256 points
1 to 32 words
1 to 64 points
Format 2 control table
%(0)
• • • • • •
Format 2 control table
• Specify 256.
%(1)
• • • • • •
Specify the network number of the network to be accessed.
See Section 4.2.2 for the allowable specification range.
%(2)
• • • • • •
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.
%(3)
• • • • • •
Detailed error codes are stored here.
See Appendix 4.4.2 for the details of the error codes.
%(4)
• • • • • •
Processing code
• Specify 1.
%(5)
• • • • • •
Specify the device processing unit.
• When reading in bit units • • • • • 1
• When reading in word units • • • 2
%(6)
• • • • • •
Specify the device using the defined code.
See Section 4.2.5 for the code numbers.
%(7)
• • • • • •
Specify the device number of the device specified in %(3).
See Section 4.2.5 for the allowable specification range.
Note, however, that values other than 0 or multiples of 16
cannot be specified for the device number when reading
from bit devices in word units.
%(8)
• • • • • •
Specify the number of points of device memory to be read,
including the device specified in %(3) and %(4).
The allowable specification range is as follows:
• When bit units are specified
• Bit devices
• When word units are specified
• Bit devices
• Word devices
1 to 256 points
1 to 32 words
1 to 64 points
• The following processing is performed if file registers (R) are specified as the
device memory to be read:
(1) If the block number of the file registers has never been changed in the PLC
CPU, the data in the file registers of block No. 0 is read.
(2) If the block number of the file registers has been changed in the PLC CPU,
the data in the file registers of the new block number is read.
1) When the block number has been changed using the RSET instruction
for extending the file registers of type SW GHP-UTLPC-FN1 utility
software package or type SW SRX-FNUP software package.
2) When the block number has been changed using the RSET instruction.
The processing cannot be performed normally by processing code 1 if the block
number of the file registers has been changed to 29 or greater using the RSET
instruction. In this case, use processing code 4 (reading extension file register
data) instead.