8.8 Program Unload from Program Memory
8-43
8
QCPU
INS
T
R
UCTIONS
PUNLOADP
PUNLOADP
(3) An extension (.QPG) does not need to be specified for the file name.
(4) The bit device specified for
is turned ON during the END processing of the scan where
this instruction is completed. The bit device is turned OFF at the next END processing.
(5) 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, set interlocks manually to avoid simultaneous execution.
(6) When the programmable controller CPU is powered ON or the CPU module is reset after
execution of the PUNLOADP instruction, the following operation is performed.
(a) When boot setting has been set in the PLC parameter dialog box, the program where
the boot setting has been set is transferred to the program memory.
When the program deleted by the PUNLOADP instruction is not to be executed, delete
the corresponding program name from the boot setting and program setting of the PLC
parameter dialog box.
(b) When boot setting has not been set in the PLC parameter dialog box, "FILE SET
ERROR (error code: 2400)" occurs.
1) When the program deleted by the PUNLOADP instruction is not to be executed,
delete the corresponding program name from the program setting of the PLC
parameter dialog box.
2) When the program deleted by the PUNLOADP instruction is to be executed again,
write the corresponding program to the CPU module.
(7) Do not execute this instruction in an interrupt program.
(Otherwise, a malfunction may result.)
(8) 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. (Refer to Section 7.16.1)
(9) The 'PUNLOADP instruction' and the 'Online program change' processing cannot be
executed simultaneously.
(a) When the Online program change request is given during processing of the
PUNLOADP instruction, Online program change is delayed.
Online program change is started after the processing of the PUNLOADP instruction is
completed.
(b) When the PUNLOADP instruction is executed during Online program change, the
processing of the PUNLOADP instruction is delayed.
The processing of the PUNLOADP instruction is started after the completion of Online
program change.
O
perat
i
on
E
rror
In any of the following cases, an operation error occurs, the error flag (SM0) is turned ON, and
the corresponding error code is stored to SD0.
• The file name specified for
does not exist.
(Error code: 2410)
• The program specified for
is not in standby status or is being executed.
(Error code: 4101)
d
s
s
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......