Contents
S7-GRAPH for S7-300/400 Programming Sequential Control Systems
C79000-G7076-C526-01
ix
9
Assigning Parameters to and Calling the S7-Graph FB ...................................... 9-1
9.1
Calling the S7-Graph FB in the S7 Program ............................................................ 9-1
9.2
Calling the S7-Graph FB ......................................................................................... 9-1
9.3
Selecting an FB Parameter Set ............................................................................... 9-2
9.4
Parameter Sets of the FB........................................................................................ 9-3
9.5
Input Parameters of the S7-Graph FB ..................................................................... 9-5
9.6
Output Parameters of the S7-Graph FB................................................................... 9-8
9.7
The Modes of the Sequential Control System........................................................ 9-10
9.7.1
Automatic Mode (SW_AUTO) ............................................................................... 9-11
9.7.2
Manual mode (SW_MAN) ..................................................................................... 9-12
9.7.3
Inching mode (SW_TAP)....................................................................................... 9-13
9.7.4
Automatic or Switch to next Mode (SW_TOP) ....................................................... 9-14
10
Downloading the S7-Graph FB and Instance DB............................................... 10-1
10.1
Downloading blocks from the Programming Device to the CPU ............................. 10-1
10.2
Uploading Blocks from the CPU to the Programming Device ................................. 10-2
11
Monitoring and Testing the Sequential Control System ................................... 11-1
11.1
Monitoring and Test Functions in S7-Graph........................................................... 11-2
11.1.1
Monitoring the Status Information.......................................................................... 11-2
11.1.2
Control Sequencer ................................................................................................ 11-3
11.1.3
Synchronization .................................................................................................... 11-4
11.2
Test Functions of STEP 7 ..................................................................................... 11-5
12
Printing the Sequencer ....................................................................................... 12-1
13
Overview of All Actions ...................................................................................... 13-1
13.1
Standard Actions with and without Interlock........................................................... 13-1
13.2
Event-Dependent Actions - with and without Interlock............................................ 13-3
13.3
Counters in Actions............................................................................................. 13-13
13.4
Timers in Actions ................................................................................................ 13-18
13.5
Arithmetic in Actions............................................................................................ 13-23
14
Notes on Configuration ...................................................................................... 14-1
14.1
General Level Structure and Program Structure .................................................... 14-1
14.2
Points to Note about Programming Sequencers .................................................... 14-8
14.3
Linking to Operator Control and Monitoring Systems ........................................... 14-12