EasyManuals Logo

Panasonic FP7 Series Command Reference Manual

Panasonic FP7 Series
1222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #217 background imageLoading...
Page #217 background image
3.37 ECALL (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
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K H SF
D
F
" "
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 "ECALL" 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 PB2 program Description
Program
example
Instructions between SBL
and RET are called and
executed when the ECALL
instruction is executed.
When RET is executed,
program returns to the
calling ECALL instruction.
Operation when the execution condition of the ECALL instruction is OFF
When the execution condition turns OFF, the operation of the current subroutine stops. (It is
also true for calls from the master control or step ladder.) In this case, the operation of each
instruction used in the subroutine is as follows.
3.37 ECALL (Subroutine Call (with PB No. Specification))
WUME-FP7CPUPGR-12 3-113

Table of Contents

Other manuals for Panasonic FP7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP7 Series and is the answer not in the manual?

Panasonic FP7 Series Specifications

General IconGeneral
BrandPanasonic
ModelFP7 Series
CategoryController
LanguageEnglish

Related product manuals