Вы находитесь на странице: 1из 31

Introduction to PROFIBUS DP and the HMI Operator Panel (1)

PROFIBUS DP

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.1

SITRAIN Training for


Automation and Industrial Solutions

Objectives
Upon completion of the chapter the participant will ...

SIMATIC S7
Siemens AG 2006. All rights reserved.

be familiar with the use of PROFIBUS DP

...

be familiar with the WinCC flexible software

...

be able to set the interface of the HMI operator panel

...

be able to download a project to the HMI operator panel

...

be familiar with the principle of interfacing the HMI operator panel via tags

Date:
File:

2/4/2012
SERV1_11E.2

SITRAIN Training for


Automation and Industrial Solutions

Structure of a PROFIBUS DP System

Master
PS
S7
10A 400

S7-400

S7

S7
PS S7-300 S7-300

CPU
4142 DP

CPU
314

S7

S7-300

CP
3425 DP

PROFIBUS -DP
ET 200M

SIMATIC S7-300

Slaves

PS S7- S7 S7 S7
300
CP
CPU
3423155 DP
2 DP

S7
STAND.
DP
SLAVE

Compact Slaves

Intelligent Slave

PS IM S7 S7 S7 S7
153

Modular Slave

STAND.
DP
SLAVE

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.3

SITRAIN Training for


Automation and Industrial Solutions

Configuring a PROFIBUS DP Master System

Result

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.4

SITRAIN Training for


Automation and Industrial Solutions

Configuring Compact and Modular DP Slaves

DP Slave

Configure rack like central hardware

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.5

SITRAIN Training for


Automation and Industrial Solutions

Exercise 1: Configuring the DP System (ET 200S)

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.6

SITRAIN Training for


Automation and Industrial Solutions

Control and Monitoring with SIMATIC HMI


Process
Visualization System
SIMATIC WinCC

SIMATIC Panels

WinCC flexible
ProTool / Pro

WinCC

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.7

SITRAIN Training for


Automation and Industrial Solutions

Communication between SIMATIC S7 and the HMI System

M30.0
1

MPI
PROFIBUS DP
Industrial Ethernet

Update
Press key set bit
Let go of key reset bit

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.8

SITRAIN Training for


Automation and Industrial Solutions

Configuring Phase, Downloading Phase and Process Control Phase

Configuring phase
(Offline)

Transfer

Process control phase

PC/PG
WinCC flexible
Configuration
data
Source file
<Name>.hmi

Configuration
data

PC/OP/TP
Flash
Flash
MPI
DP

Ethernet

PLC

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.9

SITRAIN Training for


Automation and Industrial Solutions

WinCC flexible
Advanced

Advanced Demo

- Complete functional scope


- Limited to a max. 30 days

Standard

Compact

*) Option
Micro

SIMATIC PANEL
Micro

SIMATIC PANEL
70 / 170

SIMATIC PANEL
270 / 370

R u n t i m e (RT)

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.10

(ES)
PC - based
Windows 2000
Windows XP

RT Options

E n g i n e e r i n g

SITRAIN Training for


Automation and Industrial Solutions

HMI Operator Panel: Setting the Interface for the Project Transfer
Loader V07.01.01.00_01.34

Transfer

OK X

PROFIBUS
Panel is the only master on bus

Start

Station Parameters

Control
Panel

Address:

Time-out:

1s

NetworkParameters
Transmission Rate:

1,5 Mbits/s

Highest Station:

126

Profile:

DP

Bus Parameters

OK X

Transfer Settings
Channel

Directories

S7-Transfer Settings

OK X

Channel 1:
Serial:

Enable Channel

MPI

Remote Control

Profibus

Channel 2:
MPI/
Profibus

Enable Channel
Remote Control

SIMATIC S7
Siemens AG 2006. All rights reserved.

Properties...
Advanced

Date:
File:

2/4/2012
SERV1_11E.11

SITRAIN Training for


Automation and Industrial Solutions

HW Config: Setting the Runtime Interface

2xL

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.12

SITRAIN Training for


Automation and Industrial Solutions

WinCC flexible Configuration Tool

Editor Section
(Work Area)

Properties

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.13

SITRAIN Training for


Automation and Industrial Solutions

Input and Output Fields

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.14

SITRAIN Training for


Automation and Industrial Solutions

Defining the Connection to the Controller

2xL

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.15

SITRAIN Training for


Automation and Industrial Solutions

Transfer Settings in WinCC flexible

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.16

SITRAIN Training for


Automation and Industrial Solutions

Exercise 2: Copying the Touchpanel Project

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.17

SITRAIN Training for


Automation and Industrial Solutions

Exercise 3: Setting the HMI Operator Panel Interface for Transfer


Loader V07.01.01.00_01.34

Transfer

OK X

PROFIBUS
Panel is the only master on bus

Start

Station Parameters

Control
Panel

Address:

Time-out:

1s

NetworkParameters
Transmission Rate:

1,5 Mbits/s

Highest Station:

126

Profile:

DP

Bus Parameters

OK X

Transfer Settings
Channel

Directories

S7-Transfer Settings

OK X

Channel 1:
Serial:

Enable Channel

MPI

Remote Control

Profibus

Channel 2:
MPI/
Profibus

Enable Channel
Remote Control

SIMATIC S7
Siemens AG 2006. All rights reserved.

Properties...
Advanced

Date:
File:

2/4/2012
SERV1_11E.18

SITRAIN Training for


Automation and Industrial Solutions

Exercise 4: Switching the PG Interface to PROFIBUS DP


SIMATIC Manager
Options
Set PG/PC Interface

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.19

SITRAIN Training for


Automation and Industrial Solutions

Exercise 5: Checking the PROFIBUS DP


SIMATIC Manager
Options
Set PG/PC Interface

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.20

SITRAIN Training for


Automation and Industrial Solutions

Exercise 6: Checking the RT Interface of the WinCC flexible Station

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.21

SITRAIN Training for


Automation and Industrial Solutions

Exercise 7: Checking the Connection to the Controller

2xL

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.22

SITRAIN Training for


Automation and Industrial Solutions

Exercise 8: Transferring the WinCC flexible Project into the HMI

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.23

SITRAIN Training for


Automation and Industrial Solutions

Exercise 9: Testing the WinCC flexible Project


DI

DO

SETPOINT Quantity

I 0.0
I 0.1

T_System_ON
T_System_OFF

L_SYSTEM

Q 4.1

I 0.2
I 0.3

T_Jog_RIGHT

L_MAN

Q 4.2

T_Jog_LEFT

L_AUTO

Q 4.3

I 0.4

S_M/A_ModeSelectl

I 0.5

T_M/A_Accept

T_Ackn_Fault

SIMATIC S7
Siemens AG 2006. All rights reserved.

ACTUAL Quantity

0 8 1 5
"IW_Thumbw" (IW 2)

"QW_DigDisp" (QW 6)

L_Conv_Fault

Date:
File:

2/4/2012
SERV1_11E.24

SITRAIN Training for


Automation and Industrial Solutions

Rewiring using Absolute Addresses

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.25

SITRAIN Training for


Automation and Industrial Solutions

Exercise 10: Adapting the S7 Program using "Rewiring"


Simulator

DI

DO

I 0.0

T_System_ON

I 0.1

T_System_OFF

I 0.2

T_Jog_RIGHT

L_MAN

Q 4.2

I 0.3

T_Jog_LEFT

L_AUTO

Q 4.3

I 0.4

S_M/A_ModeSelect

I 0.5

T_M/A_Accept

L_SYSTEM

Q 4.1

Rewire

to adapt by the user

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.26

SITRAIN Training for


Automation and Industrial Solutions

If You Want to Know More

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.27

SITRAIN Training for


Automation and Industrial Solutions

PROFIBUS DP Terminating Resistor

Master

The terminating resistor must


be switched on at the beginning
and at the end of the segment

Slave

Slave

Slave

Slave

Resistor On
Resistor Off

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.28

SITRAIN Training for


Automation and Industrial Solutions

Segment Length Depending on the Baud Rate

Baud Rate

Master

Segment Length

9.6 to 187.5

kBaud

1,000 meters

500

kBaud

400 meters

1.5

kBaud

200 meters

3 to 12

MBaud

100 meters

Slave

Slave

Slave

Segment Length

SIMATIC S7
Siemens AG 2006. All rights reserved.

Date:
File:

2/4/2012
SERV1_11E.29

SITRAIN Training for


Automation and Industrial Solutions

PROFIBUS Connector

Standard connector
with screw terminal
SIMATIC S7
Siemens AG 2006. All rights reserved.

Plug for
Fast Connect

Date:
File:

2/4/2012
SERV1_11E.30

SITRAIN Training for


Automation and Industrial Solutions

Preparing a Fast Connect Cable

1. Measure

SIMATIC S7
Siemens AG 2006. All rights reserved.

2. Strip

Date:
File:

2/4/2012
SERV1_11E.31

3. Remove

SITRAIN Training for


Automation and Industrial Solutions

Вам также может понравиться