Panasonic fp2/fp2sh User Manual page 231

Programmable controller
Table of Contents

Advertisement

FP2/FP2SH
Method 4: Use the F14 (PGRD) instruction to read the program from the IC memory
card and directly transfer it into the internal RAM of the CPU.
IC memory card
By first saving the programs you desire on the IC memory card, you can use the F14
(PGRD) instruction in the program, to switch a program while in the RUN mode (while
in operation).
The following details the describe the program after executing F14 (PGRD) instruction.
The program will continue executing until the END instruction is executed.
The CPU enters the PROG. mode and the program is read from the IC memory card
and transfer to the internal RAM of the CPU.
The CPU automatically switches to the RUN mode, and the new program executes.
Example:
With F14 (PGRD) instruction, specify a saved file name by the
FPWIN GR to call up the program of from IC memory card.
For the program above, the contents "STEP 1" stored in
DT100 is the file name used to call up the program.
To store the program name to registers such as DT100, you can write it with
alphanumeric code using F0 (MV) or F1 (DMV) instruction, or you can write it with ASCII
conversion using F95 (ASC) instruction. For more details, refer to the programming
manual.
Notes
There are dangers involved when switching programs while in
the RUN mode. Carefully read the section regarding the F14
(PGRD) instruction in the programming manual.
Only files saved with the .spg extension are programs that can
be read using the F14 (PGRD) instruction.
F14 PGRD, DT 100
"STEP1"
7.3
For Use as Program Memory
instruction
IC Memory Card
7 − 21

Advertisement

Table of Contents
loading

Table of Contents