7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
809
7
• 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 program deletes "ABCD.QPG" stored in drive 0 from the memory when M0 turns from OFF to ON.
• 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.
• Do not execute this instruction in an interrupt program. (Otherwise, a malfunction may result.)
• The program to be deleted from the program memory by this instruction should be set to the "standby execution type" with
the PSTOP instruction beforehand. (Page 719 Program standby)
• The "PUNLOADP instruction" and "write during RUN" processing cannot be executed simultaneously.
• Do not execute "Read from PLC" or "Verify with PLC" and the instruction simultaneously. If the instruction is executed,
"Read from PLC" or "Verify with PLC" is not complete normally because the program file status stored in the program
memory is changed. If executed, execute "Read from PLC" or "Verify with PLC" again after the instruction completion.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
2410 The file name specified in (S) does not exist.
4101 The program specified in (S) is not in standby status or is being executed.
[Ladder Mode] [List Mode]
• When a write during RUN request is given during processing of the PUNLOADP instruction, write during RUN is delayed. Write during RUN is started
after the processing of the PUNLOADP instruction is completed.
• When the PUNLOADP instruction is executed during write during RUN, the processing of the PUNLOADP instruction is delayed. The processing of the
PUNLOADP instruction is started after completion of write during RUN.
Instruction
Device
Step