Subroutine Program Calls (Call(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

CALL(P)
7.6.3

Subroutine program calls (CALL(P))

CALL(P)
CALL
CALLP
CALL
CALLP
Setting
Data
Pn
to
S1
Function
(1) When the CALL (P) instruction is executed, executes the subroutine program of the program
specified by Pn.
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.
7-110
Command
Command
Command
Command
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)
S1
S5
Internal Devices
R, ZR
Bit
Word
––
––
(Other
S5
than F)
Main routine
program
CALL Pn
END
High
Basic
performance
CALL
CALLP
J
\
U
\G
Bit
Word
––
Subroutine
program
Pn
RET
Process
Redundant Universal
LCPU
Pn
CALL
Pn
CALLP
Pn
S1
to
S5
Pn
S1
to
S5
Constants
Other
Zn
K, H
P
––

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents