Changing The Program Execution Type To Scan Execution 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

Changing the program execution type to scan execution type

PSCAN
This instruction changes the execution type of the program with the specified program name to a normal execution type.
ST
ENO:=PSCAN(EN,program name);
■Execution condition
Instruction
PSCAN
Setting data
■Description, range, data type
Operand
Description
(Program name)
The program name to be changed to a normal execution type, or the start
device where the program name 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 normal
execution type.
• This instruction is accepted during END processing of the program that executed the instruction, and the execution type
changes to a normal execution type during END processing of the specified program.
• The PSCAN 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)
7 PROGRAM CONTROL
96
7.2 Program Control Instructions
Execution condition
RX, RY, LB
Range
Word
SW
G, RWw, RWr, LW
Data type
ANYSTRING_DOUBLE
BOOL
BOOL
Constant
K, H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents