11 - 264 11 - 264
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
• Specify extension devices to be monitored using integer arrays for the number of
points monitored in <storage area for data to be written>.
(0)
(1)
(2)
Device code
Device number
Device code
%
When specifying the nth device point
((n - 1) 2)
%
((n - 1) 2+1)
%
Specify the device type using the defined code number.
See Section 4.2.5 for the code numbers.
Specify the device number of the extension file registers (R).
The maximum value that can be specified for the device
number is the value set in the parameters of the PLC CPU.
For example, when the number of points to be monitored is 2 points:
(0)
%
(2)
%
(3)
%
(1)
%
Block number
.Device number
Block number
.Device number
The specification for
the first point is
((1 - 1)
×
2 + 1)
%
((1 - 1)
×
2)
%
The specification for
the second point is
((2 - 1)
×
2)
%
((2 - 1)
×
2 + 1)
%
×
×
• The following processing is performed if file registers are specified as the device
memory to be monitored:
(1) If the file registers have never been changed in the PLC CPU, data is written to
the file registers of block number 0.
(2) If the block number of the file registers has been changed in the PLC CPU, data
is written to the file registers of the new block number.
1) When the block number has been changed using the RSET instruction of the
microcomputer program package of the type SW GHP-UTLPC-FN1 utility
software package or the type SW SRX-FNUP software package
2) When the block number has been changed with the RSET instruction
Processing cannot be performed normally with processing code 2 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 5 (monitor registration of extension file registers) instead.