Program Control Instructions; Changing The Program Execution Type To Standby Type - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

7.2

Program Control Instructions

Changing the program execution type to standby type

PSTOP
This instruction changes the execution type of the program with the specified program name to a standby type.
ST
ENO:=PSTOP(EN,program name);
■Execution condition
Instruction
PSTOP
Setting data
■Description, range, data type
Operand
Description
(Program name)
Character string data of the program name to be changed to a standby type,
or the start device where the character string data is stored
EN
Execution condition
ENO
Execution result
■Applicable devices/labels
Operand
Bit
SB
(Program name)
Processing details
• This instruction changes the execution type of the program stored in the device specified by (program name) to a standby
type.
• This instruction is accepted during END processing of the program that executed the instruction, and the execution type
changes to a standby type during END processing of the specified program.
• The PSTOP instruction takes precedence even when the execution type is specified in parameter.
Operation error
Error code
Description
2840H
The program specified by (program name) does not exist.
For how to change the program execution type, refer to the following.
MELSEC iQ-R Motion Module User's Manual (Application)
Execution condition
Word
RX, RY, LB
SW
Range
Data type
ANYSTRING_DOUBLE
BOOL
BOOL
Constant
G, RWw, RWr, LW
K, H
7 PROGRAM CONTROL
7.2 Program Control Instructions
7
95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents