652
PLOADP
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 program which reads the ten points of data from D100 to the device data storage file in the standard ROM when M0
turns ON.
[Ladder Mode]
[List Mode]
: 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 that turns ON for 1 scan by the instruction completion (bits)
*1:
Designated as "<Drive No.>:<File Name>". Example) 1:MAIN
*2:
Local devices cannot be used.
F
unct
i
on
(1) The program stored in the memory card or standard ROM is transferred to the program memory (drive 0).
If the transferred program is not registered to the program setting of the PLC parameter dialog box, its program setting in
the CPU module is set to the standby type.
At this time, the program setting of the PLC parameter dialog box does not change.
(To transfer a program with the PLOADP instruction, a continuous free space is required in the program memory.)
(2) The program added using the PLOADP instruction is assigned the lowest number among the unused program Nos.
(To assign a program number manually, store the program number to be assigned in SD720.)
The following example assumes that "MAIN6" is added by the PLOADP instruction.
Error
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH QnPRH
QnU
LCPU
2410
The device data storage file is not set at "PLC file" of PLC parameter.
––
––
––
––
4100
The address specified in n1 is out of the standard ROM range.
The address of n2, specified in n1, is out of the standard ROM range.
––
––
––
––
4101
The range of n2 exceeds that of the device specified in .
––
––
––
––
7.18.16 PLOADP
Loading program from memory card
7.18.16
PLOADP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
*2
––
––
––
––
D
Instruction
Device
Step
Bas
i
c
Redundant
U
n
iv
ersa
l
L
CP
U
Process
High
performance
PLOADP
Command
P
L
OADP
S
D
S
D
S
D