Siemens SIMATIC S5 Manual page 130

Hide thumbs Also See for SIMATIC S5:
Table of Contents

Advertisement

STEP 5 Operations
Conditional Block Call "JC"
One block is called within another block when the previous condition has been satisfied
(RLO="1").
In the case of jump operations to missing blocks, the operating system of the CPU 942-7UF12
responds differently depending on the operating mode.
If a jump is called to a missing block in safety mode, the S5-115F stops.
If a jump is called to a missing block in test mode, the jump is not executed and the program
processes the next operation. The S5-115F remains in RUN.
For this reason, construction of the complete user program step by step by successively loading
of blocks is possible without continually rewriting OB 1. It is therefore possible to program
OB 1 with all planned block calls.
Example: A special function has been programmed in FB 63. It is called and processed under
certain conditions, e.g. in PB 10.
Program Sequence
PB 10
A
I 31.7
JC FB 63
3-34
STL
.
FB 63
.
.
S F 10.0
A I 31.7
JC FB 63
.
Explanation
The "JC FB 63" statement in program
block PB 10 calls function block FB 63
if input I 31.7 is "1".
EWA 4NEB 811 6149-02
Manual S5-115F

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5-115f

Table of Contents