Mitsubishi MELSEC-Q/L Programming Manual page 656

Table of Contents

Advertisement

PUNLOADP
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
2401
The file size of the local devices cannot be reserved.
The file name does not exist at the drive number specified in
2410
The program file which has the same name as the program file to be
loaded already exists.
2413
There is not enough memory to load the specified program in drive 0.
4100
The drive No. specified in
The same number of files as that indicated in the table below has been
already registered in the program memory.
4101
The program No. stored in SD720 is already used, or is larger than the
largest program No. shown in the table below.
CPU Model Name
Q02 (H) CPU
Q06HCPU
Q12HCPU
Q25HCPU
Q12PHCPU
Q25PHCPU
Program Example
(1) The following program transfers "ABCD.QPG" stored in drive 4 to drive 0 and places the program in standby status when
M0 is turned ON.
[Ladder Mode]
7.18.17 PUNLOADP
Unloading program from program memory
7.18.17
PUNLOADP
PUNLOADP
: 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)
S
: Device turned ON for 1 scan on completion of the instruction (bits)
D
Setting
Internal Devices
Data
Bit
Word
––
S
1
*
D
*1:
Local devices cannot be used.
654
Error details
is invalid.
S
Program Memory (No. of Files)
28
60
124
124
124
124
[List Mode]
Step
Command
J
\
R, ZR
Bit
––
Q00J/
Q00/
QnH
Q01
––
.
S
––
––
––
––
Largest Program No.
28
60
124
124
124
124
Instruction
Device
High
Basic
Process
performance
PUNLOADP
U
\G
Word
––
––
QnPH QnPRH
QnU
LCPU
––
––
––
––
––
––
––
––
––
––
––
––
––
––
––
LCPU
Redundant Universal
S
D
Constants
Zn
Other
$
––
––
––

Advertisement

Table of Contents
loading

Table of Contents