1084
7 APPLICATION INSTRUCTIONS
7.30 Program Control Instructions
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.
• 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
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)
Sc: Scan
(1) The program D is executed.
Error code
(SD0)
Description
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.
END
D
A
B
C
END
A
B
C
PSCAN(P)
Sc
Sc
(1)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......