806
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
• The PLC file settings of the loaded program are set as follows:
■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.
■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.
• In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
The following table lists the number of files and the maximum program No. of each CPU module.
• The following program transfers "ABCD.QPG" stored in drive 4 to drive 0 and places the program in standby status when
M0 is turned ON.
• 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.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
2401 The file size of the local devices cannot be reserved.
2410 The file name does not exist at the drive number specified in (S).
The program file which has the same name as the program file to be loaded
already exists.
2413 There is not enough memory to load the specified program in drive 0.
4100 The drive No. specified in (S) is invalid.
4101 The same number of files as that indicated in the table below has been
already registered in the program memory.
The program No. stored in SD720 is already used, or is larger than the
largest program No. shown in the table below.
CPU model name Program memory (number of files) Largest program No.
Q02(H)CPU, Q02PHCPU 28 28
Q06HCPU, Q06PHCPU 60 60
Q12HCPU 124 124
Q25HCPU 124 124
Q12PHCPU 124 124
Q25PHCPU 124 124
[Ladder Mode] [List Mode]