8-42
8.8 Program Unload from Program Memory
PUNLOADP
8.8
Program Unload from Program Memory
PUNLOADP
*1 :Local devices cannot be used.
F
unct
i
on
(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 number deleted by the PUNLOADP instruction becomes 'Empty'.
When programs number 1 to 5 have been set in the program setting of the PLC parameter
dialog box, deleting program number 2 with this instruction makes program number 2 empty.
PUNLOADP
indicates the following instruction.
PUNLOADP
Input argument,
EN:
Executing condition
:Bit
s:
Program file name to be unloaded
:String
Output argument,
ENO:
Execution result
:Bit
d:
Device to be turned ON for one scan at the instruction
completion
:Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
$
Others
Bit
Word
Bit
Word
−
−
−
U
*1
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Performance
Structured ladder
ST
P
U
NL
O
ADP
EN
EN
O
s
d
P
U
NL
O
ADP
(EN, s, d);
EN
O
:=
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 t
h
e
P
U
NL
O
ADP instruction
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: ......