10 - Introduction to PROFIBUS DP and the HMI Operator Panel

Embed Size (px)

Citation preview

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    1/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

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

    PROFIBUS DP

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    2/31

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

    SIMATIC S7Siemens 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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    3/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Structure of a PROFIBUS DP System

    S7 S7PS S7S7

    CP342-5 DP

    S7-300CPU315-2 DP

    STAND.

    DP

    SLAVE

    SIMATIC S7-300

    PROFIBUS -DP 

    STAND.

    DP

    SLAVE

    PS10A

    S7 S7S7400

    CPU414-2 DP

    Master  

    S7-400

    S7 S7PS S7S7IM153

    Modular SlaveCompact Slaves

    ET 200M

    Intelligent Slave 

    S7-300S7-300

    CPU314

    S7PS S7-300

    CP342-5 DP

    Slaves 

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    4/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Configuring a PROFIBUS DP Master System

    Result

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    5/31

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

    SIMATIC S7Siemens 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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    6/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    7/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Control and Monitoring with SIMATIC HMI

    Process

    Visualization SystemSIMATIC WinCC

    SIMATIC Panels

    ProTool / Pro

    WinCC

    WinCC flexible

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    8/31

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

    SIMATIC S7Siemens 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“ 

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    9/31

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

    SIMATIC S7Siemens 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/PGWinCC flexible

    Configuration

    dataSource file

    .hmi

    Process control phase

    Ethernet MPI

    Flash

    DP

    PLC

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    10/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    WinCC flexible

    SIMATIC PANELMicro

    SIMATIC PANEL70 / 170

    SIMATIC PANEL270 / 370

    PC - basedWindows 2000Windows 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)

       R   T   O  p   t   i  o  n  s

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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    11/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    HMI Operator Panel: Setting the Interface for the Project Transfer

    Transfer

    Start

    ControlPanel

    Transfer Settings 

    Channel Directories

    XOK

    Advanced

    Enable Channel

    Remote Control

    Serial:

    Channel 1:

    Enable Channel

    Remote Control

    Channel 2:

    MPI/

    Profibus

    S7-Transfer Settings  XOK

    Properties...

    Profibus

    MPI

    PROFIBUS  XOK

    Address:

    Station Parameters

    Panel is the only master on bus

    1 sTime-out:

    Transmission Rate:

    NetworkParameters

    126Highest Station:

    1

    1,5 Mbits/s

    Profile: DP

    Bus Parameters… 

    Loader V07.01.01.00_01.34 

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    12/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    HW Config: Setting the Runtime Interface

    2xL

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    13/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    WinCC flexible – Configuration Tool

    Editor Section(Work Area)

    Properties

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    14/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Input and Output Fields

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    15/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Defining the Connection to the Controller

    2xL

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    16/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Transfer Settings in WinCC flexible

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    17/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Exercise 2: Copying the Touchpanel Project

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    18/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Exercise 3: Setting the HMI Operator Panel Interface for Transfer

    Transfer

    Start

    ControlPanel

    Transfer Settings 

    Channel Directories

    XOK

    Advanced

    Enable Channel

    Remote Control

    Serial:

    Channel 1:

    Enable Channel

    Remote Control

    Channel 2:

    MPI/

    Profibus

    S7-Transfer Settings  XOK

    Properties...

    Profibus

    MPI

    PROFIBUS  XOK

    Address:

    Station Parameters

    Panel is the only master on bus

    1 sTime-out:

    Transmission Rate:

    NetworkParameters

    126Highest Station:

    1

    1,5 Mbits/s

    Profile: DP

    Bus Parameters… 

    Loader V07.01.01.00_01.34 

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    19/31

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

    SIMATIC S7Siemens 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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    20/31

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

    SIMATIC S7Siemens 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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    21/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    22/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Exercise 7: Checking the Connection to the Controller

    2xL

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    23/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Exercise 8: Transferring the WinCC flexible Project into the HMI

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    24/31

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

    SIMATIC S7Siemens 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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    25/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    Rewiring using Absolute Addresses

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    26/31

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

    SIMATIC S7Siemens 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

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    27/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    If You Want to Know More

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    28/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    PROFIBUS – DP Terminating Resistor

    SlaveMaster

    SlaveSlave

    Slave

    Resistor OnResistor Off

    The terminating resistor must

    be switched on at the beginning

    and at the end of the segment

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    29/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    MBaud

    kBaud

    kBaud

    kBaud

    100 meters3 to 12

    200 meters1.5

    400 meters500

    1,000 meters9.6 to 187.5Segment LengthBaud Rate

    Segment Length

    Master Slave Slave Slave

    Segment Length Depending on the Baud Rate

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    30/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    PROFIBUS Connector

    Standard connector

    with screw terminal

    Plug for

    Fast Connect

  • 8/20/2019 10 - Introduction to PROFIBUS DP and the HMI Operator Panel

    31/31

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

    SIMATIC S7Siemens AG 2006. All rights reserved.

    SITRAIN Training for   Automation and Industrial Solutions

    1. Measure 2. Strip 3. Remove

    Preparing a Fast Connect Cable