EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #605 background imageLoading...
Page #605 background image
603
PCHK
1
2
3
4
4
6
7
8
7.17 Program control instructions
7.17.5 PCHK
: File name of the program whose execution status will be checked (character string)
Function
\
(1) Checks whether the program of the specified file name is in execution or not (non-execution).
(2) The instruction is in conduction when the program of the specified file name is in execution, and the instruction is in non-
conduction when the program is in non-execution.
(3) Specify the file name without an extension (.QPG).
For example, specify "ABC" when the file name is ABC.QPG.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program Example
(1) Program that keeps Y10 ON when the program file "ABC.QPG" is being executed.
Remark
Non-execution indicates that the program execution type is a stand-by type.
Execution indicates that the program execution type is a scan execution type (including during output OFF (during non-
execution processing)), low speed execution type or fixed scan execution type.
7.17.5 PCHK Progr am execu tion status check
7.17.5
PCHK
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– ––
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
2410 The program with the specified file name does not exist. –– –– ––
Basic
Universal
LCPU
Process
High
performance
Redundant
LDPCHK
PCHK
ORPCHK
PCHK
ANDPCHK
PCHK
Command
Command
File name
File name
File name
S
S
PCHK
"ABC"
Y10
Execution
Non-execution

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals