Mitsubishi MELSEC Q Series Programming Manual page 818

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

PLOADP
(b) When there are multiple open program Nos., the program designated by the PLOADP
instruction is added to the lowest number among them to be added.
(The open program Nos. are made when programs are deleted by the PUNLOADP
instruction.)
When programs No. 2 and 4 are open, the new program is added as program No. 2.
Program No.
1
2
3
4
5
(3) Drive Nos. 1, 2, and 4 can be specified. (Drive 3 cannot be specified.)
• Drive 1: Memory card (RAM)
• Drive 2: Memory card (ROM)
• Drive 4: Standard ROM
(4) An extension (.QPG) need not be specified for the file name.
(5) The bit device specified by
this instruction is completed. The bit device is turned OFF at the next END processing.
(6) The PLOADP, PUNLOADP and PSWAPP instructions cannot be executed simultaneously.
If two or more of the above instructions are executed simultaneously, the instruction
executed later will not be executed.
When using the above instructions, provide interlocks manually to avoid simultaneous
execution.
(7) Do not execute this instruction in an interrupt program.
(Otherwise, a malfunction may result.)
(8) To execute the program that was transferred to the program memory with the PLOADP
instruction, execute the scan execution type with the PSCAN instruction (See Section
7.17.3).
(9) The PLC file settings of the loaded program are set as follows:
(a) File usage for each program
All the usage of file register, device initial value, comment, and local device of the
program transferred by this instruction are set as "Use PLC file setting".
However, an error will be returned if both of the conditions below are met when the
program is transferred using this instruction.
To use local devices in the program transferred by this instruction, register a dummy
program file in the parameter, delete the dummy file with the PUNLOADP instruction,
and then load the program with the PLOADP instruction.
(b) I/O refresh setting
Nothing is set for both input and output for the I/O refresh setting of the program
transferred by this instruction.
7-444
Program name
MAIN1
Empty
Adds "MAIN6" by the
MAIN3
PLOADP instruction.
Empty
MAIN5
is turned ON during the END processing of the scan where
D
• Setting is made so that local devices are used in the PLC file setting.
• The number of programs in the program memory exceeds the number of programs
set at the parameters.
Program No. Program name
1
MAIN1
2
MAIN6
MAIN3
3
Empty
4
MAIN5
5
Added to the smallest program
number which is empty.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents