Mitsubishi QD51 Programming Manual page 340

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
PCRD
Instruction
• Reads various data from the PLC CPU.
PCRD <control table> , <storage area for data read>
Syntax
control table
storage area for data read
PCRD A%( ), B%( )
Examples
• The PCRD instruction reads various data from the PLC CPU.
Description
• The processing to be performed is specified by the processing code in the control table.
The following processing can be performed.
Processing code
Description of the processing
1 (&H1)
Reading device memory data
2 (&H2)
Monitoring device memory registered to be monitored by
the PCWT instruction
4 (&H4)
Reading extension file register data
5 (&H5)
Monitoring extension file registers registered to be
monitored by the PCWT instruction
7 (&H7)
Reading extension file register data by specifying
sequential addresses
8 (&H8)
Loading a sequence program
9 (&H9)
Loading a microcomputer program
10 (&HA)
Reading comment data
11 (&HB)
Reading extension comment data
12 (&HC)
Reading a special function module's buffer memory
13 (&HD)
Reading the type of a PLC CPU
14 (&HE)
Reading parameter data (reading MELSECNET/10
parameters)
21 (&H15)
Reading network information
22 (&H16)
Reading routine parameters
513 (&H201)
Reading the type of a Q/QnA series PLC CPU
515 (&H203)
Reading device memory of a Q/QnA series PLC CPU
516 (&H204)
Random read of device memory of a Q/QnA series PLC
CPU
533 (&H215)
Reading buffer memory of an intelligent functional
module of a Q/QnA series PLC CPU
1 : Possible only within the device range of AnA/AnU/AnUSCPU. (File register R cannot be read.)
2 : Available only for AnA/AnU/AnUSCPU.
11 - 170
PC ReaD
• • • •
Specify the type of data to be read from the PLC
CPU.
• • • •
Specify the variable in which data read from the PLC
CPU is stored.
• • • •
Reads the type of data specified by the integer array
A% from the PLC CPU and stores it in the integer
variable B%.
MELSEC-Q
A series
QnA series
1
2
Q series
1
11 - 170

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents