7-377
PSTOP(P)
1
2
3
4
6
6
7
8
7.17 Program control instructions
7.17.1 Program standby instruction (PSTOP(P))
7.17.1 Program standby instruction (PSTOP(P))
PSTOP(P)
Function
(1) Places the file name program stored in the device designated by in the stand-by status.
(2) Only the programs stored in the drive No. 0 (program memory/internal RAM) can be set as
the stand-by type.
(3) The specified program is placed in the stand-by status when END processing is performed.
(4) This instruction will be given priority even in cases when a program execution type has been
designated in the parameters.
(5) It is not necessary to designate the extension (.QPG) with the file name.
(Only .QPG files will be acted on.)
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The program with the file name specified by does not exist. (Error code: 2410)
• The program type of the file name specified by is the SFC program.(Error code: 2412)
• The file name storage destination device of exceeds the range of the corresponding
device. (Error code: 4101)
Program Example
(1) The following program places the program with the file name ABC in the stand-by status
when X0 goes ON.
[Ladder Mode] [List Mode]
: 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 Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
Process
High
performance
Redundant
Universal
Basic
Command
Command
PSTOP
PSTOPP
S
S
PSTOP
PSTOPP
S
S
S
S
S
S
Step Instruction Device