You are on page 1of 20

Introduction

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.1

SITRAIN Training for


Automation and Drives

Course Contents / Course Aims

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.2

SITRAIN Training for


Automation and Drives

S7-GRAPH: Tool for Graphics Support for Sequencers


IEC 1131-3-Compliant

Design

Documentation
S7-GRAPH

Programming

Archiving

Start-up

SIMATIC S7
Siemens AG 2000. All rights reserved.

HMI

Date:
File:

16.05.2013
GRAPH_01e.3

SITRAIN Training for


Automation and Drives

Principle of a Logic Control System Program


Example of fill level controller
Diagram of a fill level controller
Pump 1

CONTROL

PROCESS
Inlet valve

Inputs
Outputs

Hardware
User program

Overflow
Full

Correction

Empty
M

Query input signals

Generate limit values

Control pumps etc.

Messages:
Fill level...

Outlet valve

Pump 2

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.4

SITRAIN Training for


Automation and Drives

Principle of a Sequential Control System Program


Example of an assembly line
Proximity switches

Motor

SIMATIC S7
Siemens AG 2000. All rights reserved.

LEDs

Light barriers

Acknowledge switches

Date:
File:

16.05.2013
GRAPH_01e.5

SITRAIN Training for


Automation and Drives

Decision Support for Sequential Control System (Sequencer)

Process
Step-by-step execution of
the process

No

Yes

Control program:
Programmed as
logic control system
(with STEP 7)

Control program:
Programmed as
logic control system
(with S7-GRAPH)
Examples:

Examples:
- Fill level controller
- Lift controller

- Assembly line
- Car wash

- Traffic light control


- Production processes
- Machine processes
- Process engineering

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.6

SITRAIN Training for


Automation and Drives

Differentiation from Other Tools

What applications are sequential control systems suitable for?

Sequential processes: Tasks controlled by signals or timers


Time-critical processes that are susceptible to faults
Methodical procedure improves transparency
Program is easier to understand
Maintenance, servicing, diagnostics
Advantage: Fast error removal

Application examples

Car wash
Assembly line
Assembly conveyor
Machine tools
Transfer line
Presses
Process engineering
Packaging technology
Process control and monitoring

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.7

SITRAIN Training for


Automation and Drives

Structural Elements of a Sequencer: Steps


Basic elements of a sequencer to comply with IEC 1131-3

* * *

Step : Graphic representation with directed links


" * * * " = Step name

Initial step: Graphic representation with directed links

* * *

" * * * " = Initial step name

Action block with actions

* * *

"a"

"b"

"c"

"d"

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

"a":
"b":
"c":
"d":

Identifier character (operation e.g. S )


Action name (e.g. MOTOR 1)
Boolean "display" variable
Action in: ( e.g. declaration + STL code)

Actions are controlled according to specific rules that are


described in detail in the IEC1131-3 standard.
In general, they are:
1. Action block for activation
2. Enable / interlock of individual actions
3. Step switching

16.05.2013
GRAPH_01e.8

SITRAIN Training for


Automation and Drives

Structural Elements of a Sequencer: Transition


Basic elements of a sequencer to comply with IEC 1131-3

* * *
%IX2.4

%IX2.3

* * *

Extract from IEC 1131-3:


Transitions
A transition represents the condition whereby control passes from one
or more steps preceding the transition to one or more successor steps
along the corresponding directed link. The transition shall be
represented by a horizontal line across the vertical directed link.
The direction of evolution following the directed links shall be from the
bottom of the predecessor step(s) to the top of the successor step(s).
Each transition shall have an associated transition condition which is
the result of the evaluation of a single Boolean expression.
Angaben %IX2.4 und %IX2.5 stehen fr entsprechende absolute oder
symbolische Operanden
Verbindung mit der Kettenstruktur : Ein Netzwerk in der Sprache KOP

Additional graphical elements, such as branches (alternative, simultaneous), jumps and loops are described in
subsequent chapters of this manual.

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.9

SITRAIN Training for


Automation and Drives

S7-GRAPH Software Package (Multilingual)

Manual
incl. ex.

LAD, FBD

Tool

incl. ex.

Basis: SIMATIC Manager with STEP 7 in LAD, FBD, STL


SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.10

SITRAIN Training for


Automation and Drives

Characteristics of S7-GRAPH

Simple, user-friendly description of


sequential processes
Programming sequencers to DIN EN 6 1131
(corresponds to IEC 1131-3)
Can be used for S7-300 (CPU314 and higher)
and S7-400
Simple configuration (full graphics, windows
technology, zoom functionality)
Processing speed independent of the
sequencer length
Easy interfacing with process visualization
and diagnostics
--> "ProAgent for OP" (OP25...OP37)
--> "ProAgent for WinCC" (OP47, FI25 or
PCs/PGs)
--> "ProDiag" (Transline 2000)
Process synchronization can be activated in
S7-GRAPH

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.11

SITRAIN Training for


Automation and Drives

Exercise: S7-GRAPH Example of a Drill (1)

?????

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.12

SITRAIN Training for


Automation and Drives

Exercise: S7-GRAPH Example of a Drill (2)

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.13

SITRAIN Training for


Automation and Drives

Exercise: S7-GRAPH Example of a Drill (3)

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.14

SITRAIN Training for


Automation and Drives

Exercise: S7-GRAPH Example of a Drill (4)

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.15

SITRAIN Training for


Automation and Drives

Exercise: S7-GRAPH Example of a Drill (5)

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.16

SITRAIN Training for


Automation and Drives

Components of a Training Station with S7-300

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.17

SITRAIN Training for


Automation and Drives

Components of a Training Station with S7-400

SIMATIC S7
Siemens AG 2000. All rights reserved.

Date:
File:

16.05.2013
GRAPH_01e.18

SITRAIN Training for


Automation and Drives

Layout of Simulator

DI

DO

.0

..........

..........

.0

.1

..........

..........

.1

.2

..........

..........

.2

.3

..........

..........

.3

.4

..........

..........

.4

.5

..........

..........

.5

.6

..........

..........

.6

.7

..........

..........

.7

.0

..........

..........

.1

..........

..........

.2

..........

..........

.3

..........

..........

.4

..........

..........

.5

..........

..........

.6

..........

..........

.7

..........

..........

SIMATIC S7
Siemens AG 2000. All rights reserved.

-15V...+15V
AI1

AI2 AO1 -15V...+15V


AO2

.0
.1

AI1

.2

AI2

.3

0 8 1 5

.4
.5

AI1

AI2

AO1

AO2

.6
.7

Date:
File:

16.05.2013
GRAPH_01e.19

SITRAIN Training for


Automation and Drives

Layout of the Assembly Line


INI 1 to INI 3
(Proximity switch)

M1
(Motor)

SIMATIC S7
Siemens AG 2000. All rights reserved.

H 1, H 2, H 3
(LED)

LS1
Light barrier

S 1, S 2, S 3, S 4
(Acknowledge switch)

Date:
File:

16.05.2013
GRAPH_01e.20

SITRAIN Training for


Automation and Drives

You might also like