656
PSWAPP
--
Operat
i
on
E
rror
(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.
Program
E
xamp
l
e
(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]
: Character string data of the file name of the program to be unloaded, or head number of the devices storing the character string data (BIN 16 bits)
: Drive No. storing the program to be loaded, character string data of the file name, or head number of the devices storing the character string data (BIN 16
bits)
*1
: Device turned ON for 1 scan on completion of the instruction (bits)
*1:
Designated as "<Drive No.>:<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) designated by is deleted from the program
memory, and at the same time, the program stored in the memory card or standard ROM designated by 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.
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
2410
The file name specified in does not exist.
––
––
––
––
4101
The program specified in is not in standby status or is being
executed.
––
––
––
––
7.18.18 PSWAPP
Loading and unloading
7.18.18
PSWAPP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
*2
––
––
––
––
S
S
I
nstruct
i
on
De
vi
ce
Step
Bas
i
c
Redundant
U
n
iv
ersa
l
L
CP
U
Process
High
performance
PSWAPP
Command
PSWAPP
D
S1
S2
S1
S2
D
S1
S2
D
S1
S2