
Programming the Structure of the Sequencer
S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
6-11
Permanent Block Call
Blocks that were created in a programming language other than S7-Graph can be
called using permanent block calls in an S7-Graph FB. After the called block has
been executed, the execution of the S7-Graph FB is continued.
When using a block call, note the following points:
•
Permanent block calls are
-
functions (FC) and function blocks (FB) programmed in STL, LAD, FBD or
SCL and
-
system functions (SFC) and system function blocks (SFB).
•
Function blocks and system function blocks must be assigned an instance DB
when they are called.
•
The blocks must already exist in the “Blocks" folder of the S7 program before
they are called.
•
The names of the blocks can be specified in absolute form (for example FC1)
or, if they are declared in the symbol table, symbolically (for example Motor 1).
•
When the blocks are called, you must supply the formal parameters of the
called block with actual values.
6.12 Block
Comment
Every S7-Graph FB can include a block comment. The block comment can be a
maximum of 2048 characters long. It has no influence on the execution of the
program.
Block comments are displayed only at the single page and overview levels.
Entering the Block Comment
You can enter a block comment when the menu command View > Display with >
Comment is selected (check mark).
1. Select either the overview or single page display level.
2. Enter the block comment directly in the text box located above the sequencers.