Panasonic FP Series Programming Manual page 834

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F14_PGRD
When the execution criterion of F/P14_PGRD is turned ON, the execution proceeds until the END.
Description
The program subsequently switches to the program specified by s.
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Availability of F14_PGRD (see page 1321)
PLC types
Data types
Variable
Data type
ARRAY [0..5] of
s
WORD
Operands
For
WX
s
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable start is set to TRUE, the function is carried out. The instruction reads the
program Prog1 from the IC card and executes it.
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F95_ASC( s:= 'Prog1',
d_Start=> dummy_array[0]);
F14_PGRD(
END_IF;
Program Read from IC card
Function
starting address of area storing program
Relay
T/C
WY
WR
WL
SV
dummy_array
);
Register
EV
DT
LD
FL
Data transfer within the PLC
Constant
-
833

Advertisement

Table of Contents
loading

Table of Contents