Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
720
7  APPLICATION INSTRUCTIONS
7.17  Program Control Instructions
Program standby
PSTOP(P)
Processing details
 • Places the file name program stored in the device designated by (S) in the stand-by status.
 • Only the programs stored in the drive No. 0 (program memory/internal RAM) can be set as the stand-by type.
 • The specified program is placed in the stand-by status when END processing is performed.
 • This instruction will be given priority even in cases when a program execution type has been designated in the parameters.
 • It is not necessary to designate the extension (.QPG) with the file name. (Only .QPG files will be acted on.)
Operation error
 • In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program example
 • The following program places the program with the file name ABC in the stand-by status when X0 goes ON.
(S):   Character string for the name of the program file to be set in the stand-by status or head number of the devices where the character string data is stored 
(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 file name specified by (S) does not exist.
2412
The program type of the file name specified by (S) is the SFC program.
4101
The range of the device specified by (S) exceeds the range of the 
corresponding device.
[Ladder Mode]
[List Mode]
Process
High
performance
Redundant Universal
LCPU
Basic
Command
Command
PSTOP
PSTOPP
S
S
PSTOP
PSTOPP
Step
Instruction
Device