11 - 175 11 - 175
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Reading device memory registered to be monitored by the PCWT instruction
Control table format definition
Element position
Item
Description
Format 1
Format 2
%(0)
• • • • • • •
Station number
Specify a control table of format 2.
%(0)
Control table
Specify the network number.
%(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.
Processing Code 2
%(1)
%(4)
Processing code
Specify the processing code.
• It is possible to read data of device memory that was used for monitor
registration by the PCWT instruction with this code.
• An error occurs if device memory is read without performing monitor registration.
• 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 2.
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 2.
• The following processing is performed if file registers (R) are specified as the
device 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.