468
7 APPLICATION INSTRUCTIONS
7.6 Structure Creation Instructions
Subroutine program output OFF calls
FCALL(P)
• When FCALL(P) is executed, the non-execution processing of the subroutine program of the pointer designated by Pn is
performed.
• The FCALL (P) instruction can execute subroutine programs designated by a pointer within the same program file, and
subroutine programs designated by common pointers.
• The FCALL (P) instruction is used in conjunction with the CALL(P) instruction.
Pn: Head pointer number of a subroutine program (Device name)
(S1) to (S5): Number of the device to be passed as an argument to a subroutine program (bits, BIN 16 bits, BIN 32 bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant Others
P
Bit Word Bit Word
Pn
(S1) to (S5) (Other
than F)
• 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.
• The operation results for the individual coil instructions following non-execution processing will be as follows, regardless of the ON/OFF status of the
individual contacts:
Item Operation results
OUT instruction Forced OFF
SET instruction
RST instruction
SFT instruction
Basic instructions
Application instructions
Maintains status
PLS instruction
Pulse generation instruction (P)
Processing identical to when condition contacts are OFF
Present value of low speed/high speed timers 0
Present value of retentive timer
Present value of counter
Preserves
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
Command
Command
FCALL
Pn
FCALLP
Pn
PnFCALL
to
PnFCALLP
to
FCALL
FCALLP
S1
S5
S1
S5
FCALL
FCALLP
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