EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

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 #484 background imageLoading...
Page #484 background image
7-110
CALL(P)
7.6.3 Subroutine program calls (CALL(P))
CALL(P)
Function
(1) When the CALL (P) instruction is executed, executes the subroutine program of the program
specified by Pn.
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)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
P
Bit Word Bit Word
Pn –– –– ––
to
(Other
than F)
––
The CALL (P) instruction can execute subroutine programs specified by a
pointer within the same program file and subroutine programs specified by a
common pointer.
Basic
Process
High
performance
Redundant
Universal
LCPU
Command
Command
Command
Command
CALL
Pn
CALLP
Pn
PnCALL
to
PnCALLP
to
CALL
CALLP
S1
S5
S1
S5
CALL
CALLP
S1
S5
S1
S5
Main routine
program
CALL Pn
END
Subroutine
program
RET
Pn

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