Efcall, Efcallp - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

Program Example
(1) The following program executes program block P0 of the program A-LINE when X20 is turned ON.
[Ladder Mode]
[MAIN]
[A-LINE]
7.6.7

EFCALL, EFCALLP

Subroutine output OFF calls between program files
7.6.7
EFCALL, EFCALLP
EFCALL
EFCALLP
EFCALL
EFCALLP
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)
S1
S5
Setting
Internal Devices
Data
Bit
Word
File name
––
Pn
––
(Other
to
S5
S1
than F)
[List Mode]
Step
Step
Command
Command
Command
Command
J
\
R, ZR
Bit
Word
––
Device
Instruction
Instruction
Device
High
Basic
Process
performance
EFCALL
File name
File name
EFCALLP
EFCALL
File name
Pn
File name
Pn
EFCALLP
Zn
U
\G
––
––
EFCALL, EFCALLP
Redundant Universal
LCPU
Pn
Pn
S1
to
S5
S1
to
S5
Constants
Other
P
K, H
$
––
––
––
––
399
1
2
3
4
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents