8.9 Load and Unload
8-45
8
QCPU
INS
T
R
UCTIONS
PS
W
A
P
P
PSWAPP
8.9
Load and Unload
PSWAPP
*1 :Specified by "<Drive number>:<File Name>". Example 1:MAIN
*2 :Local devices cannot be used.
F
unct
i
on
(1) The standby type program stored in the program memory (drive 0) specified for
is deleted
from the program memory, and at the same time, the program stored in the memory card or
standard ROM specified for
is transferred to the program memory and placed in standby
status.
(When the program is transferred to the program memory, the program must have a
continuous free space.)
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.
PSWAPP
indicates the following instruction.
PSWAPP
Input argument,
EN:
Executing condition
:Bit
s1:
Program file name to be unloaded
:String
s2:
Driver number file name that stores programs to be loaded
*1
: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
*2
−
−
−
−
U
n
i
versa
l
UD
Hi
g
h
Performance
Structured ladder
PSWAPP
EN
EN
O
s1
d
s2
ST
PSWAPP
(EN, s1, s2, d);
EN
O
:=
s1
s2
d
s1
s2
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: ......