Program Standby - Mitsubishi Electric MELSEC-Q/L Programming Manual

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Program standby

PSTOP(P)
Basic
High
Process
Redundant Universal
performance
PSTOP
PSTOPP
(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
Internal device
data
Bit
Word
(S)
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.
Error
Error details
code
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.
Program example
• The following program places the program with the file name ABC in the stand-by status when X0 goes ON.
[Ladder Mode]
LCPU
Command
Command
R, ZR
J\
Bit
Word
[List Mode]
Step
PSTOP
PSTOPP
U\G
Zn
Q00J/
QnH
QnPH
QnPRH
Q00/
Q01
Instruction
Device
7 APPLICATION INSTRUCTIONS
7.17 Program Control Instructions
S
S
Constant
Others
$
QnU
LCPU
719
7

Advertisement

Table of Contents
loading

Table of Contents