Mitsubishi QD51 Programming Manual page 369

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
Processing Code 10
11 - 199
Reading comment data
Control table format definition
Element position
Format 1
Format 2
%(0)
• • • • • • •
%(0)
%(1)
%(2)
%(3)
%(1)
%(4)
%(2)
%(5)
%(3)
%(6)
• 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)
• • • • • •
%(1)
• • • • • •
%(2)
• • • • • •
%(3)
• • • • • •
Format 2 control table
%(0)
• • • • • •
%(1)
• • • • • •
%(2)
• • • • • •
%(3)
• • • • • •
%(4)
• • • • • •
Item
Station number
Control table
Network number
Station number
Detailed error code
Processing code
Starting address
Number of bytes
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.
Processing code
• Specify 10.
Specify the starting address of the comment to be read.
The maximum number of bytes of comment data is the
capacity set by the parameter.
Specify the number of bytes to be read.
The allowable specification range is from 1 to 128 bytes.
Format 2 control table
• Specify 256.
Specify the number of the network to be accessed.
See Section 4.2.2 for the allowable specification range.
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.
Detailed error codes are stored here.
See Appendix 4.4.2 for the details about the error codes.
Processing code
• Specify 10.
MELSEC-Q
Description
Specify the station number of the PLC.
Specify a control table of format 2.
Specify the network number.
Specify the station number of the PLC.
Detailed error codes are stored here.
Specify the processing code.
Specify the starting address of the
comment data to be read.
Specify the number of bytes to be read.
11 - 199

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents