Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-443
PUNLOADP
1
2
3
4
6
6
7
8
7.18 Other instructions
7.18.17 Unload Program from Program Memory (PUNLOADP)
7.18.17 Unload Program from Program Memory (PUNLOADP)
PUNLOADP
*1: Local devices cannot be used.
Function
(1) The standby program stored in the program memory (drive 0) is deleted from the program
memory.
(The program set as the "scan execution type" with the PSCAN instruction or the program
set as the "low speed execution type" with the PLOW instruction cannot be deleted.)
(2) The program No. deleted by the PUNLOADP instruction is made "Empty".
When programs No. 1 to 5 have been set in the program setting of the PLC parameter dialog
box, deleting program No. 2 with this instruction makes program No. 2 open.
(3) An extension (.QPG) need not be specified for the file name.
(4) The bit device specified by 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, provide interlocks manually to avoid simultaneous
execution.
: Character string data of the program file name to be unloaded, or head number of the devices storing the
character string data (BIN 16 bits)
: Device turned ON for 1 scan on completion of the instruction (bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
$
Other
Bit Word Bit Word
–– –– ––
*1
–– –– –– ––
Process
High
performance
Redundant
Universal
Basic
PUNLOADP
Command
PUNLOADP S D
S
D
S
D
Program No. 2
is deleted.
Program No. Program name
1
2
MAIN1
MAIN2
MAIN3
MAIN4
MAIN5
3
4
5
Program No. Program name
1
2
MAIN1
Empty
MAIN3
MAIN4
MAIN5
3
4
5
Deletes "MAIN2" by the
PUNLOADP instruction.
D