EasyManuals Logo

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 #405 background imageLoading...
Page #405 background image
403
EFCALL, EFCALLP
1
2
3
4
4
6
7
8
7.6 Structure creation instructions
7.6.7 EFCALL, EFCALLP
(9) Up to 16 levels of nesting can be used with the EFCALL (P) instruction. However, this 16 levels is the total number of
levels in the CALL(P), FCALL(P), ECALL(P), EFCALL(P), and XCALL instructions.
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.
Program Example
(1) The following program executes a subroutine program with argument when X0 is ON, and forces non-execution
processing when X20 is turned from ON to OFF.
[Ladder Mode] [List Mode]
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
2411 The specified file cannot be executed.
4101
The device specified for the argument cannot be secured for the data
size.
4210
The subroutine program of the pointer specified by the ECALL (P)
instruction does not exist.
4211
After the EFCALL (P) instruction was executed, the END, FEND,
GOEND, or STOP instruction was executed prior to the RET instruction.
4212 The RET instruction was executed prior to the EFCALL (P) instruction.
4213 The 17th nesting level is executed.
"ABC" P0
EFCALL
"ABC" P0ECALL
FEND
RET RET RET
END
P0
P10
P20
ECALL "DEF" P10 ECALL "GHI" P20
EFCALL
"DEF" P10
EFCALL
"GHI" P20
Step
Instruction
Device

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