Sunteți pe pagina 1din 31

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

PROFIBUS DP

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.1
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

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.2
Structure of a PROFIBUS DP System

Master
PS S7 S7 S7
S7-400 10A 400 PS S7-300 S7-300 S7
S7-300
CPU CPU CP
414- 314 342-
2 DP 5 DP

PROFIBUS -DP

ET 200M
SIMATIC S7-300
PS S7- S7 S7 S7 S7 PS IM S7 S7 S7 S7
Slaves 300 CP STAND.
153
CPU 342- DP
315- 5 DP SLAVE
2 DP
Compact Slaves
Intelligent Slave Modular Slave

STAND.
DP
SLAVE

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.3
Configuring a PROFIBUS DP Master System

Result

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.4
Configuring Compact and Modular DP Slaves

DP Slave

Configure rack like central hardware

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.5
Exercise 1: Configuring the DP System (ET 200S)

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.6
Control and Monitoring with SIMATIC HMI

Process
Visualization System
SIMATIC WinCC

SIMATIC Panels

WinCC flexible

ProTool / Pro

WinCC

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.7
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 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.8
Configuring Phase, Downloading Phase and Process Control Phase

Configuring phase Transfer Process control phase


(Offline)

PC/PG
WinCC flexible
PC/OP/TP
Configuration Configuration
data data Flash Flash
Source file
<Name>.hmi
Ethernet MPI
DP

PLC

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.9
WinCC flexible

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

Compact
*) Option
Micro

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

SIMATIC PANEL SIMATIC PANEL SIMATIC PANEL PC - based


Micro 70 / 170 270 / 370 Windows 2000
Windows XP

R u n t i m e (RT)

RT Options
SIMATIC S7 Date: 2/4/2012 SITRAIN Training for
Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.10
HMI Operator Panel: Setting the Interface for the Project Transfer
Loader V07.01.01.00_01.34

Transfer PROFIBUS OK X
Panel is the only master on bus
Start
Station Parameters
Address: 1
Control
Panel Time-out: 1s

NetworkParameters
Transmission Rate: 1,5 Mbits/s

Highest Station: 126

Profile: DP

Bus Parameters

Transfer Settings OK X
Channel Directories
S7-Transfer Settings OK X
Channel 1:
Enable Channel MPI
Serial:
Remote Control Profibus
Channel 2:
MPI/ Enable Channel
Properties...
Profibus
Remote Control Advanced

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.11
HW Config: Setting the Runtime Interface

2xL

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.12
WinCC flexible Configuration Tool

Editor Section
(Work Area)

Properties

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.13
Input and Output Fields

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.14
Defining the Connection to the Controller

2xL

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.15
Transfer Settings in WinCC flexible

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.16
Exercise 2: Copying the Touchpanel Project

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.17
Exercise 3: Setting the HMI Operator Panel Interface for Transfer
Loader V07.01.01.00_01.34

Transfer PROFIBUS OK X
Panel is the only master on bus
Start
Station Parameters
Address: 1
Control
Panel Time-out: 1s

NetworkParameters
Transmission Rate: 1,5 Mbits/s

Highest Station: 126

Profile: DP

Bus Parameters

Transfer Settings OK X
Channel Directories
S7-Transfer Settings OK X
Channel 1:
Enable Channel MPI
Serial:
Remote Control Profibus
Channel 2:
MPI/ Enable Channel
Properties...
Profibus
Remote Control Advanced

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.18
Exercise 4: Switching the PG Interface to PROFIBUS DP
SIMATIC Manager
Options

Set PG/PC Interface

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.19
Exercise 5: Checking the PROFIBUS DP
SIMATIC Manager
Options

Set PG/PC Interface

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.20
Exercise 6: Checking the RT Interface of the WinCC flexible Station

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.21
Exercise 7: Checking the Connection to the Controller

2xL

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.22
Exercise 8: Transferring the WinCC flexible Project into the HMI

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.23
Exercise 9: Testing the WinCC flexible Project
DI DO SETPOINT Quantity ACTUAL Quantity
I 0.0 T_System_ON
I 0.1 T_System_OFF L_SYSTEM Q 4.1
I 0.2 L_MAN Q 4.2
0 8 1 5
T_Jog_RIGHT
I 0.3 T_Jog_LEFT L_AUTO Q 4.3
I 0.4 S_M/A_ModeSelectl "IW_Thumbw" (IW 2) "QW_DigDisp" (QW 6)
I 0.5 T_M/A_Accept

T_Ackn_Fault L_Conv_Fault

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.24
Rewiring using Absolute Addresses

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.25
Exercise 10: Adapting the S7 Program using "Rewiring"
DI Simulator DO
I 0.0 T_System_ON
I 0.1 T_System_OFF L_SYSTEM Q 4.1
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

Rewire

to adapt by the user

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.26
If You Want to Know More

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.27
PROFIBUS DP Terminating Resistor

Master Slave Slave

The terminating resistor must


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

Resistor On
Resistor Off

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.28
Segment Length Depending on the Baud Rate

Baud Rate 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

Master Slave Slave Slave

Segment Length

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.29
PROFIBUS Connector

Standard connector Plug for


with screw terminal Fast Connect

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.30
Preparing a Fast Connect Cable

1. Measure 2. Strip 3. Remove

SIMATIC S7 Date: 2/4/2012 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2006. All rights reserved. File: SERV1_11E.31

S-ar putea să vă placă și