EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC-Q/L

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #393 background imageLoading...
Page #393 background image
391
FCALL, FCALLP
1
2
3
4
4
6
7
8
7.6 Structure creation instructions
7.6.5 FCALL, FCALLP
Operation Error
(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.
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)
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.
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4211
After the CALL(P), FCALL (P), ECALL (P), EFCALL (P) or XCALL
instruction was executed, an END, FEND, GOEND, or STOP
instruction was excected prior to the RET instruction.
4212
The RET instruction was executed prior to the CALL (P), FCALL (P),
ECALL (P), EFCALL (P) or XCALL instruction.
7.6.5 FCALL, FCALLP Subro utine program output OFF calls
7.6.5
FCALL, FCALLP
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
LCPU
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals