Mitsubishi MELSEC-Q/L Programming Manual page 658

Table of Contents

Advertisement

PSWAPP
--
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.
Error
code
2410
The file name specified in
The program specified in
4101
executed.
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]
7.18.18 PSWAPP
Loading and unloading
7.18.18
PSWAPP
PSWAPP
: 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)
S1
: 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
S2
*1
bits)
: Device turned ON for 1 scan on completion of the instruction (bits)
D
Setting
Internal Devices
Data
Bit
Word
––
S1
––
S2
*2
D
*1:
Designated as "<Drive No.>:<File Name>".
*2:
Local devices cannot be used.
Function
(1) The standby type program stored in the program memory (drive 0) designated by
memory, and at the same time, the program stored in the memory card or standard ROM designated by
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.
656
Error details
does not exist.
S
is not in standby status or is being
S
[List Mode]
Step
Command
J
\
R, ZR
Bit
––
Example) 1:MAIN
Q00J/
Q00/
QnH
Q01
––
––
Instruction
Device
High
Basic
Process
performance
PSWAPP
U
\G
Word
––
––
––
is deleted from the program
S1
QnPH QnPRH
QnU
LCPU
––
––
––
––
––
––
LCPU
Redundant Universal
S1
S2
D
Constants
Zn
Other
$
––
––
––
––
is transferred
S2

Advertisement

Table of Contents
loading

Table of Contents