EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Program Execution Status Check

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
7 APPLICATION INSTRUCTIONS
7.17 Program Control Instructions
725
7
Program execution status check
LDPCHK, ANDPCHK, ORPCHK
Processing details
Checks whether the program of the specified file name is in execution or not (non-execution).
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.
Specify the file name without an extension (.QPG). For example, specify "ABC" when the file name is ABC.QPG.
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.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an error code is stored in SD0.
Program example
Program that keeps Y10 ON when the program file "ABC.QPG" is being executed.
(S): File name of the program whose execution status will be checked (character string)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
$
Others
Bit Word Bit Word
(S) 
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
PCHK
"ABC"
Y10
Execution
Non-execution

Table of Contents

Related product manuals