11 - 225 11 - 225
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
Processing Code 513 Reading the type name of the Q/QnA series PLC CPU
Control table format definition
Element position
Item
Description
Format 1
Format 2
Format 3
%(0)
Station number
Specify the station number of the PLC.
%(0)
%(0)
Control table
Specify a control table of format 2 or.3.
Only
applicable
to
QD51
(-R24)
%(1)
%(1)
Network number
Specify the network number.
%(2)
%(2)
Station number
Specify the station number of the PLC.
%(3)
%(3)
Detailed error code
Detailed error codes are stored here.
%(4)
Requested CPU
Specify the requested CPU.
%(1)
%(4)
%(5)
Processing code
Specify the processing code.
%(2)
%(5)
%(6)
Fixed value
Specify 0.
• It is possible to read the type name of the Q/QnA series 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 whose type
name is to be read.
See Section 4.2.2 for the allowable specification range.
%(1)
• • • • • •
Processing code
• Specify 513 (&H201).
%(2)
• • • • • •
Fixed value
• Specify 0 (&H0).
Format 2 control table
%(0)
• • • • • •
Format 2 control table
• Specify 256 (&H100).
%(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 whose type
name 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 513 (&H201).
%(5)
• • • • • •
Fixed value
• Specify 0 (&H0).