Specifying The Standard Function Block; Saving And Closing The Sequencer - Siemens SIMATIC S7-GRAPH Manual

For s7-300/400 programming sequential control systems
Table of Contents

Advertisement

3.10

Specifying the Standard Function Block

If you work with default system compilation option "Standard FC required", an
executable S7-Graph program requires the standard function block FC70/72, that
contains the run-time system of an S7-Graph sequencer. This is used automatically
by the S7-Graph optional package.
The block is copied automatically to the user project if you select FC70 or FC72 as
the block number and there is not already an FC70 or FC72 in the destination
project. If you want to use a different number for the standard block, you must copy
and renumber yourself.
Some older CPUs have neither SFC17 nor SFC18 (Alarm_SQ or Alarm_S). To
check whether or not your CPU contains these SFCs:
1. Select the menu command PLC > Display Accessible Nodes in the SIMATIC
Manager or click the corresponding button in the toolbar.
2. Open the "Blocks" folder in the S7 program.
If this container contains neither SFC17 nor SFC18 you must use FC71. Follow the
steps outlined below:
3. Start the S7-Graph editor by double-clicking FB1 in the "Blocks" folder in the
drill program.
4. Select the menu command Options > Block Settings.
5. Enter 71 in the "FC number" box and close the dialog.
As default, you work with FC72. Remember that your CPU must be capable of
processing blocks with more than 8 Kbytes. If you CPU does not permit this, you
must do without user-defined parameters and use FC70/71.
3.11

Saving and Closing the Sequencer

When you save the sequencer, it is automatically compiled.
1. Select the menu command File > Save.
Result: The "Select Instance DB" dialog box is opened with the default instance
DB (DB1).
2. Accept the settings by clicking "OK".
Result: The instance data block is automatically created in the "Blocks" folder.
Note
The warning "S1 without content" in the compiler log simply means that no action is
programmed in step 1.
3. To close the sequencer, select the menu command File > Close.
S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
Designing a Sequential Control System based on the Example of a Drill
3-15

Advertisement

Table of Contents
loading

Table of Contents