399
EFCALL, EFCALLP
1
2
3
4
4
6
7
8
7.6 Structure creation instructions
7.6.7 EFCALL, EFCALLP
Program Example
(1) The following program executes program block P0 of the program A-LINE when X20 is turned ON.
[Ladder Mode] [List Mode]
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)
7.6.7 EFCALL, EFCALLP Subroutine output OF F calls between program file s
7.6.7
EFCALL, EFCALLP
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)
–– ––
[MAIN]
Step
Instruction
Device
[A-LINE]
Step
Instruction
Device
Process
High
performance
Redundant
Universal
LCPU
Basic
to
to
S1
S5
S1
S5
Command
Command
Command
Command
EFCALLP
Pn
Pn
EFCALL
File name
EFCALL Pn
File name
File name
Pn
EFCALLP
File name
EFCALL
EFCALLP
EFCALL
EFCALLP
S1
S5
S1
S5