PRO1 09E IntroductionProfibusDPandHMI

You might also like

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 33

Introduction to PROFIBUS DP and HMI (1)

PROFIBUS DP

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.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 TP 170B touch panel

... be able to download a project to the TP170B touch panel

... be familiar with the principle of interfacing the touch panel via tags

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.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: 07.07.2019 SITRAIN Training for


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

Result

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


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

DP Slave

Configure rack like central hardware

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


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

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


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

Process
Visualization System
SIMATIC WinCC

SIMATIC Panels

WinCC flexible

ProTool / Pro

WinCC

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.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: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.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: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.9
WinCC flexible

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

Compact
*) Options *) Options *) Options
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: 07.07.2019 SITRAIN Training for
Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.10
Touchpanel: 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…

S7-Transfer Settings OK X

MPI
Profibus

Properties...

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


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

2xL

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.12
WinCC flexible – Configuration Tool

Editor Section
(Work Area)

Properties

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


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

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.14
Buttons

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.15
Defining the Connection to the Controller

2x
L

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.16
Transfer Settings in WinCC flexible

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.17
Exercise 2: Copying the Touchpanel Project

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.18
Exercise 3: Setting the Touchpanel 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…

S7-Transfer Settings OK X

MPI
Profibus

Properties...

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


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

Set PG/PC Interface

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.20
Exercise 5: Checking the PROFIBUS DP
SIMATIC Manager
Options

Set PG/PC Interface

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.21
Exercise 6: Checking the RT Interface of the WinCC flexible Station

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.22
Exercise 7: Checking the Connection to the Controller

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.23
Exercise 8: Transferring the WinCC flexible Project into the Touchpanel

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.24
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: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.25
Rewiring using Absolute Addresses

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.26
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

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.27
If You Want to Know More

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.28
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: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.29
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 MBaud 200 meters
3 to 12 MBaud 100 meters

Master Slave Slave Slave

Segment Length

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.30
PROFIBUS Connector

Standard connector Connector for


with screw terminal Fast Connect

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.31
Preparing a Fast Connect Cable

1. Measure 2. Strip 3. Remove

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.32
Installing PROFIBUS-DP Slaves Later On

Example of a Type File

SIMATIC S7 Date: 07.07.2019 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_09E.33

You might also like