Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1086

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions change the execution type of the program with the file name stored in the device specified by (filename)
to a scan execution type.
• Only programs stored in program memory can be changed to a scan execution type.
• The execution type of the specified program changes to a scan execution type during END processing.
Ex.
While there are programs A, B, and C, the PSCAN(P) instruction is executed for program D within program A.
A
B
C
PSCAN(P)
Sc
Sc: Scan
(1) The program D is executed.
• The PSCAN(P) instruction takes precedence even when the execution type is specified in parameter.
• Extension ".PRG" does not need to be specified as a part of file name. (Only .PRG files can be processed by these
instructions.)
Operation error
Error code
Description
(SD0)
2840H
The program with the file name specified by (file name) does not exist.
2841H
The program with the file name specified by (file name) is not registered in parameter.
2842H
The type of the program with the file name specified by (file name) is not supported.
3204H
The file name specified by (file name) is the SFC program and the SFC program with another file name is already operating.
For how to change the program execution type, refer to the following.
 MELSEC iQ-R CPU Module User's Manual (Application)
For the operation when the SFC program is specified, refer to the following.
 MELSEC iQ-R Programming Manual (Program Design)
7 APPLICATION INSTRUCTIONS
1084
7.30 Program Control Instructions
END
A
B
C
Sc
D
END
(1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents