Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS...

31
Date: 2/4/2012 File: SERV1_11E.1 SIMATIC S7 Siemens AG 2006. All rights reserved. SITRAIN Training for Automation and Industrial Solutions Introduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP

Transcript of Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS...

Page 1: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.1

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

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

PROFIBUS DP

Page 2: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.2

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Objectives

Upon completion of the chapter the participant will ... … 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

Page 3: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.3

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Structure of a PROFIBUS DP System

S7

S7

PS S7

S7

CP 342- 5 DP

S7-300 CPU 315- 2 DP

STAND.

DP

SLAVE

SIMATIC S7-300

PROFIBUS -DP

STAND.

DP

SLAVE

PS 10A

S7

S7

S7 400 CPU 414- 2 DP

Master

S7-400

S7

S7

PS S7

S7 IM 153

Modular Slave Compact Slaves

ET 200M

Intelligent Slave

S7-300 S7-300

CPU 314

S7

PS S7-300

CP 342- 5 DP

Slaves

Page 4: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.4

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Configuring a PROFIBUS DP Master System

Result

Page 5: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.5

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Configuring Compact and Modular DP Slaves

Configure rack like central hardware

DP Slave

Page 6: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.6

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

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

Page 7: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.7

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Control and Monitoring with SIMATIC HMI

Process

Visualization System

SIMATIC WinCC

SIMATIC Panels

ProTool / Pro

WinCC

WinCC flexible

Page 8: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.8

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Communication between SIMATIC S7 and the HMI System

Press key “set bit“

• MPI • PROFIBUS DP • Industrial Ethernet

Update

M30.0

1

Let go of key “reset bit“

Page 9: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.9

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Configuring Phase, Downloading Phase and Process Control Phase

Transfer

Configuration data

PC/OP/TP Flash

Configuring phase (Offline)

PC/PG WinCC flexible

Configuration data

Source file <Name>.hmi

Process control phase

Ethernet MPI

Flash

DP

PLC

Page 10: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.10

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

WinCC flexible

SIMATIC PANEL Micro

SIMATIC PANEL 70 / 170

SIMATIC PANEL 270 / 370

PC - based Windows 2000 Windows XP

Micro

Compact

Standard

Advanced

*) Option

Advanced Demo - Complete functional scope - Limited to a max. 30 days

R u n t i m e (RT)

RT

Op

tio

ns

E n g i n e e r i n g (ES)

Page 11: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.11

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

HMI Operator Panel: Setting the Interface for the Project Transfer

Transfer

Start

Control Panel

Transfer Settings

Channel Directories

X OK

Advanced

Enable Channel

Remote Control

Serial:

Channel 1:

Enable Channel

Remote Control

Channel 2:

MPI/

Profibus

S7-Transfer Settings X OK

Properties...

Profibus

MPI

PROFIBUS X OK

Address:

Station Parameters

Panel is the only master on bus

1 s Time-out:

Transmission Rate:

NetworkParameters

126 Highest Station:

1

1,5 Mbits/s

Profile: DP

Bus Parameters…

Loader V07.01.01.00_01.34

Page 12: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.12

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

HW Config: Setting the Runtime Interface

2xL

Page 13: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.13

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

WinCC flexible – Configuration Tool

Editor Section (Work Area)

Properties

Page 14: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.14

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Input and Output Fields

Page 15: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.15

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Defining the Connection to the Controller

2xL

Page 16: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.16

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Transfer Settings in WinCC flexible

Page 17: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.17

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 2: Copying the Touchpanel Project

Page 18: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.18

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 3: Setting the HMI Operator Panel Interface for Transfer

Transfer

Start

Control Panel

Transfer Settings

Channel Directories

X OK

Advanced

Enable Channel

Remote Control

Serial:

Channel 1:

Enable Channel

Remote Control

Channel 2:

MPI/

Profibus

S7-Transfer Settings X OK

Properties...

Profibus

MPI

PROFIBUS X OK

Address:

Station Parameters

Panel is the only master on bus

1 s Time-out:

Transmission Rate:

NetworkParameters

126 Highest Station:

1

1,5 Mbits/s

Profile: DP

Bus Parameters…

Loader V07.01.01.00_01.34

Page 19: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.19

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 4: Switching the PG Interface to PROFIBUS DP

SIMATIC Manager

Options

Set PG/PC Interface

Page 20: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.20

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 5: Checking the PROFIBUS DP

SIMATIC Manager

Options

Set PG/PC Interface

Page 21: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.21

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

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

Page 22: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.22

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 7: Checking the Connection to the Controller

2xL

Page 23: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.23

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 8: Transferring the WinCC flexible Project into the HMI

Page 24: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.24

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Exercise 9: Testing the WinCC flexible Project

"QW_DigDisp" (QW 6)

ACTUAL Quantity

0 8 1 5

SETPOINT Quantity

"IW_Thumbw" (IW 2)

DI

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

DO

S_M/A_ModeSelectl

T_M/A_Accept

L_SYSTEM

L_MAN

L_AUTO

T_System_OFF

T_Jog_RIGHT

T_Jog_LEFT

Q 4.1

Q 4.2

Q 4.3

I 0.0 T_System_ON

T_Ackn_Fault L_Conv_Fault

Page 25: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.25

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

Rewiring using Absolute Addresses

Page 26: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.26

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

DI

I 0.1

I 0.2

I 0.3

I 0.4

I 0.5

DO

S_M/A_ModeSelect

T_M/A_Accept

L_SYSTEM

L_MAN

L_AUTO

T_System_OFF

T_Jog_RIGHT

T_Jog_LEFT

Q 4.1

Q 4.2

Q 4.3

I 0.0 T_System_ON

Simulator

Exercise 10: Adapting the S7 Program using "Rewiring"

Rewire

to adapt by the user

Page 27: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.27

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

If You Want to Know More

Page 28: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.28

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

PROFIBUS – DP Terminating Resistor

Slave Master

Slave Slave

Slave

Resistor On Resistor Off

The terminating resistor must

be switched on at the beginning

and at the end of the segment

Page 29: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.29

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

MBaud

kBaud

kBaud

kBaud

100 meters 3 to 12

200 meters 1.5

400 meters 500

1,000 meters 9.6 to 187.5

Segment Length Baud Rate

Segment Length

Master Slave Slave Slave

Segment Length Depending on the Baud Rate

Page 30: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.30

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

PROFIBUS Connector

Standard connector

with screw terminal

Plug for

Fast Connect

Page 31: Introduction to PROFIBUS DP and the HMI Operator Panel (1) · PDF fileIntroduction to PROFIBUS DP and the HMI Operator Panel (1) PROFIBUS DP . Date: 2/4/2012 File: SERV1_11E.2 SIMATIC

Date: 2/4/2012 File: SERV1_11E.31

SIMATIC S7 Siemens AG 2006. All rights reserved.

SITRAIN Training for Automation and Industrial Solutions

1. Measure 2. Strip 3. Remove

Preparing a Fast Connect Cable