
Designing a Sequential Control System based on the Example of a Drill
S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
3-9
3.6
Creating an S7-Graph FB and Programming a Sequencer
Create an S7-Graph FB
The S7-Graph FB will contain the sequencer. To create an S7-Graph FB, follow the
steps outlined below:
1. Open the “Blocks" folder in “Drill Program" in the SIMATIC Manager.
2. Select the menu command Insert > S7 Block > Function Block.
3. Set “S7-Graph" as the language in the “Properties" dialog box.
Result: The empty FB with the default number 1 is created in the "Blocks"
folder.
Programming a Sequencer
After you have started the S7-Graph editor by double-clicking FB1 the system
inserts the first step (initial step) and the first transition. You can create the
structure both at the "Overview" level and at the "Single Page" level.
Using the mouse and the "Sequencer" toolbar at the left-hand edge of the screen,
you can then position all the remaining steps and transitions, the alternative
branch and the jump from the end of the sequencer to the start of the sequencer.
There are two ways of doing this and both are illustrated here.
Method 1: "Direct" Mode
1. Select transition 1 and click the
Insert Step + Transition button with the mouse
you arrive at step-transition 6.
2. Select step 3 and click the
Open Alternative Branch button.
This opens the alternative branch for supplying coolant. The branch begins with
transition 7.
3. Select the
Insert Step + Transition button with the mouse
and add step (S7) and transition (T8).