EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #507 background imageLoading...
Page #507 background image
7-133
XCALL
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.8 Subroutine program call (XCALL)
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.
• The device specified for the argument cannot be secured for the data size.
(Error code: 4101)
• Following the execution of the XCALL(P) instruction, the END, FEND, GOEND or STOP
instruction is executed before the execution of the RET instruction.
(Error code: 4211)
• The RET instruction is executed prior to the execution of the XCALL(P) instruction.
(Error code: 4212)
• A 17th nesting level is executed. (Error code: 4213)
• There is no subroutine program for the pointer specified in the XCALL(P) instruction.
(Error code: 4210)
Program Example
(1) The following program executes a subroutine program with argument when X20 is turned
ON.
[Ladder Mode] [List Mode]
Step
Instruction
Device

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals