Mitsubishi QD51 Programming Manual page 426

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
PCWT
Instruction
• This instruction is used to write various data to the PLC CPU.
• This instruction is used to operate the PLC CPU.
PCWT <control table>, <storage area for data to be written>
Syntax
Control table
Storage area for data to be
written
PCWT A%( ), B%( )
Examples
• The PCWT instruction reads various data to the PLC CPU and operates 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)
Writing to device memory
2 (&H2)
Monitor registration of device memory
3 (&H3)
Random writing to device memory
5 (&H5)
Monitor registration of extension file registers
6 (&H6)
Random writing to extension file registers
7 (&H7)
Writing data to extension file registers by specifying
sequential addresses
8 (&H8)
Writing a sequence program
9 (&H9)
Writing a microcomputer program
10 (&HA)
Writing comment data
11 (&HB)
Writing extension comment data
12 (&HC)
Writing to a special function module's buffer memory
14 (&HE)
Writing parameter data
15 (&HF)
Analyzing parameter data
16 (&H10)
Remote STOP of a PLC CPU
17 (&H11)
Remote RUN of a PLC CPU
20 (&H14)
Interrupting the PLC CPU
515 (&H203)
Writing to device memory of a Q/QnA series PLC CPU
516 (&H204)
Random writing to device memory of a Q/QnA series PLC
CPU
533 (&H215)
Writing to 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.
3 Cannot be executed while the PLC CPU is running.
4 Available only for the local station.
11 - 256
PC WriTe
• • • •
Specify the type of data written to the PLC CPU.
• • • •
Specify the variable in which data to be written to the
PLC CPU is stored.
• • • •
Writes data stored in the integer array B% to the
PLC CPU with the type of data specified by the
integer array A%.
MELSEC-Q
A series
QnA series
1
2
3
3
3
3
Q series
1
4
11 - 256

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents