Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-444
PUNLOADP
(6) When the Programmable Controller is powered OFF, then ON or the CPU module is reset
after execution of the PUNLOADP instruction, the following operation is performed.
(a) When boot setting has been made in the PLC parameter dialog box, the program where
the boot setting has been made 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 made 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. (See Section 7.17.1)
(9) The "PUNLOADP instruction" and "write during RUN" processing cannot be executed
simultaneously.
(a) 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.
(b) 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.
Operation Error
(1) 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 file name designated by does not exist. (Error code: 2410)
The program designated by is not in standby status or is being executed.
(Error code: 4101)
Program Example
(1) The following program deletes "ABCD.QPG" stored in drive 0 from the memory when M0
turns from OFF to ON.
[Ladder Mode] [List Mode]
S
S
Instruction
Device
Step