11 - 202 11 - 202
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Reading extension comment 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)
Starting address
Specify the starting address of the
extension comment data to be read.
Processing Code 11
%(3)
%(6)
Number of bytes
Specify the number of bytes to be read.
• It is possible to read comment data from the PLC CPU 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 11.
%(2)
• • • • • •
Specify the starting address of the extension comment to
be read.
The maximum number of bytes of extension comment data
is the capacity set by the parameter.
%(3)
• • • • • •
Specify the number of bytes to be read.
The allowable specification range is from 1 to 128 bytes.
Format 2 control table
%(0)
• • • • • •
Format 2 control table
• Specify 256.
%(1)
• • • • • •
Specify the 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 about the error codes.
%(4)
• • • • • •
Processing code
• Specify 11.