Efcall; Specification)) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

3.38 EFCALL (Forced Output OFF Type Subroutine Call (with PB No.
3.38 EFCALL (Forced Output OFF Type Subroutine Call (with PB No.

Specification))

Ladder diagram
List of operands
Operand
Description
n
Subroutine number: 0 to 65535/1 PB
PBm
Target PB number: The number of PB where the subroutine specified by n is stored
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
PBm
Outline of operation
● When the execution condition is ON, the SBLn subroutine of PBm is called.
● When the subroutine program is processed up to the "RET" instruction, the program will
return to the address next to the "EFCALL" instruction in the main program, and continue
with processing of the main program.
● The local device of the called PBm is used as the local device in the called subroutine.
Operation Example
PB
PB1 program
X100
Program
example
WUME-FP7CPUPGR-12
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
EFCALL 1 U2
32-Bit
device:
TS
TE
U
W
WI
C
C
M
O
S
E
PB2 program

Specification))

Real
Integer
numbe
r
D
IX
K
H
SF
F
Description
● Instructions between SBL
and RET are called and
executed when the EFCALL
instruction is executed.
● When RET is executed,
program returns to the
calling EFCALL instruction.
St
rin
g
Index
modifie
r
" "
3-115

Advertisement

Table of Contents
loading

Table of Contents