7-106
7.6 Structured Instructions
7.6.3 Subroutine program call
CALL
7.6.3
Subroutine program call
CALL
Function
(1) When the CALL(P) instruction is executed, executes the subroutine program of the program
specified for Pn.
CALL(P)
P: Executing condition
:
indicates any of the following
instructions.
CALL
CALLP
Input argument,
EN:
Executing condition
:Bit
p:
Start pointer number of the subroutine program
:ANY16
Output argument,
ENO:
Execution result
:Bit
Setting
data
Internal device
R, ZR
J
\
U
\G
Zn
Constant
K, H
Others
P
Bit
Word
Bit
Word
p
−
−
−
The CALL(P) instruction can execute subroutine programs specified for a
pointer within the same program file and subroutine programs specified for a
common pointer.
Universal
UD
High
Performance
Structured ladder
ST
CALL
EN
ENO
p
N
ot
supporte
d
[
]
M
a
i
n
rout
i
ne
program
CALL
Pn
EN
D
S
u
b
rout
i
ne
program
RET
Pn
Содержание MELSEC Q Series
Страница 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Страница 2: ......
Страница 14: ...A 12 MEMO ...
Страница 340: ...6 178 MEMO MTR ...
Страница 708: ...7 368 MEMO ...
Страница 776: ...8 68 MEMO ...
Страница 796: ...9 20 MEMO ...
Страница 804: ...App 8 MEMO ...
Страница 812: ...Index 8 MEMO ...
Страница 815: ......