Siemens SIMATIC S5-115U User Manual page 234

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

STEP 5 Operations
Unconditional Block Call "JU"
One block is called within another block, regardless of conditions.
Example: A special function has been programmed in FB26. It is called at several locations in the
program, e.g., in PB63, and processed.
Program Sequence
PB63
JU FB26
Conditional Block Call "JC"
One block is called within another block when the previous condition has been satisfied
(RLO="1").
Example: A special function has been programmed in FB63. It is called and processed under
certain conditions, e.g., in PB10.
Program Sequence
PB10
A
I 31.7
JU FB63
8-34
STL
.
.
FB26
.
.
.
JU FB26
.
STL
.
FB63
.
.
S F 1.0
A I 31.7
JU FB63
.
S5-115U Manual
Explanation
The "JU FB26" statement in program
block PB63 calls function block FB26.
Explanation
The "JC FB63" statement in program
block PB10 calls function block FB63 if
input I 31.7 is "1".
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents