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 #397 background imageLoading...
Page #397 background image
395
ECALL, ECALLP
1
2
3
4
4
6
7
8
7.6 Structure creation instructions
7.6.6 ECALL, ECALLP
File name: Name of the program file to be called (character string)
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) Executes the subroutine program of the pointer designated by Pn in the designated program file name when the ECALL
(P) instruction is executed. The ECALL(P) instruction can be used to call a subroutine program that uses a local pointer
from a different program file.
(2) Only the file name of a program file stored in the drive 0 (program memory/internal RAM) can be designated for a file
name.
(3) It is not necessary to designate the extension (.QPG) with the file name.
(Only .QPG files will be acted on.)
7.6.6 ECALL, ECALLP S ubroutine calls between progr am files
7.6.6
ECALL, ECALLP
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
Other
P
Bit Word Bit Word K, H $
File name –– –– ––
Pn –– –– –– ––
to
(Other
than F)
–– ––
Process
High
performance
Redundant
Universal
LCPU
Basic
to
to
S1
S5
S1
S5
Command
Command
Command
Command
ECALLP Pn
Pn
ECALL
File name
ECALL Pn
File name
File name
PnECALLP
File name
ECALL
ECALLP
ECALL
ECALLP
S1
S5
S1
S5
Main routine
program
ECALLABCPn
END
Subroutine
program
RET
Pn
[File name: MAIN] [File name: ABC]

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