7-116
FCALL(P)
7.6.5 Subroutine program output OFF calls (FCALL(P))
FCALL(P)
Function
(1) When FCALL(P) is executed, the non-execution processing of the subroutine program of the
pointer designated by Pn is performed.
(a) Non-execution processing is identical to the processing that is conducted when the
condition contacts for the individual coil instructions are in the OFF state.
Pn : Head pointer number of a subroutine program (Device name)
to : Number of the device to be passed as an argument to a subroutine program (bits, BIN 16 bits, BIN 32 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn Constants
Other
P
Bit Word Bit Word
Pn –– –– ––
to
(Other
than F)
––
The FCALL (P) instruction can execute subroutine programs designated by a
pointer within the same program file, and subroutine programs designated by
common pointers.
Basic
Process
High
performance
Redundant
Universal
Command
Command
Command
Command
FCALL
Pn
FCALLP
Pn
PnFCALL
to
PnFCALLP
to
FCALL
FCALLP
S1
S5
S1
S5
FCALL
FCALLP
S1
S5
S1
S5
FCALL Pn
END
RET
Pn
Non-execution processing is
executed when the command
for the FCALL(P) instruction is
turned from ON to OFF.
Main routine
program
Subroutine
program