Sie sind auf Seite 1von 45

Siemens AG 2012. All Rights Reserved.

Industry Sector

Exercise 4: TIA Portal

1. Create Project in TIA Portal 2. Configure CPU and IO System 3. Insert IO-Devices from your Training Kit (ET200S, SCALANCE X) 4. Define and assign Device Names 5. Copy Error OBs 6. Download and test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. Create a new Project, click Create 2. Configure a Device


Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. Add a new Device 2. Use a CPU 3. Take the CPU which is at your Training Kit and Add it

Siemens AG 2012. All Rights Reserved. 3 Industry Sector

Exercise 4: TIA Portal

1. Select Ethernet Port 2. Go to Ethernet addresses 3. Add New Subnet

4. Define IP-Address

2 3 4

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. Change to Network View 2. Select your Remote IO from the Training Kit 3. Drag&Drop it into your working area
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. Drag Interface of the remote IO 2. Drop it to the Controllers Interface and release mouse 3. Repeat this step for all IO Devices
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. Select Device 2. Define Device Name


Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

3 2

1. 2. 3.

Double click on IO-Device Configure IOs according to the real setup

Drag&Drop them to the IOSystem Siemens AG 2012. All Rights Reserved.


Industry Sector

Exercise 4: TIA Portal

1. 2.

Right Mouse click on the PROFINET IO System Call Assign Device Name dialog

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1 2

3 4

1. 2. 3. 4.

Select Device Name Select Online Interface Select Device you want to address Assign Name
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. 2. 3. 4. 5.

Select CPU and Download Select Network Type Select Show all devices Select correct CPU Load configuration

2 3 4

Siemens AG 2012. All Rights Reserved. 5 Industry Sector

Exercise 4: TIA Portal

1. Add new block 2. Add OB82, OB83, OB86 3. Download Blocks


Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 4: TIA Portal

1. Open OB 1 and write a little program 2. Test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 5: Fieldbus Integration

1. Integrate IE/PB-Link in your project 2. Configure PROFIBUS Network 3. Download and test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 5: Fieldbus Integration

1. 2. 3.

Select the Gateway you want to use Drag and Drop it to your Network View Connect the Ethernet Port to the IO-Controller

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 5: Fieldbus Integration

1 3
1. 2. 3. Select the DP-Slave, Drag and Drop it to your Network View Connect the PROFIBUS Port to the Proxy Set PROFIBUS-Address
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 5: Fieldbus Integration

1.

Assign device name to the Proxy Download and test

2.

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic / Panel

1. Insert the Panel in your Project 2. Insert a Screen or Screenlayout 3. Insert the Diagnostic View in your Screen 4. Test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic / Panel

Possibility 1

1.

Select Panel Drag and Drop to your Network View Adjust IPSettings if required

2.

3.

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic / Panel

Possibility 2

4 1

1. 2. 3. 4. 5.

Change to Portal View Add new device Select HMI Add Pre-configuration via Wizard is possible.

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic / Panel


1 2

1. 2. 3.

Switch to Connection view Drag&Drop Connection between the stations Connection is created

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic for Comfort Panel

Comfort Panel

1. 2.

Add new screen Besides Alarm View it is possible to select System Diagnostic view (Only available on Comfort Panel) Bring it to your comfort panel screen.

2
Siemens AG 2012. All Rights Reserved. Industry Sector

3.

Exercise 6: Diagnostic Standard Panel

Standard Panel

2
1. 2. 3. Select the Panel in Project view and add a new screen Select Alarm View Bring it to your screen
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic / Panel

1. 2. 3.

Go to Properties Activate for Current Alarm States Activate Diagnosis events

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 6: Diagnostic / Panel

2 1

1. 2.

Compile the panel application Download or start simulation for testing

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1. Go Online, read CPU Diagnostic 2. Switch on Online mode in Network and Device view 3. Create Report System Error 4. Activate Web interface 5. Define a Watch table for the Web interface 6. Download and test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1. 2. 3.

Select the PLC you wish to go Online Select Go online Button Read Online Information's and Functions

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1&2 Change to Device View and Network view and read the diagnostic Information.

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1. 2.

Select Watch & Force Table and add a Watch table for the Web interface. Define variables
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1.

3 2
2. 3.

Go to Device View and select the Controller Select System diagnostics Activate it and configure if necessary

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

2 1

1. 2.

Select Web Interface Activate Web Function for the PLC

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1. 2.

Select Automatic Update Select at least one language for the Web interface

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: Diagnostic

1. 2.

Select Watch table Insert it to the Web interface

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: User Defined Webpage

2 1 4

1. 2. 3. 4.

Select User-defined Web pages Select Directory and Start page of the user page Define DB Number start number, HTML Code will be converted into DBs Generate the Datablocks
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: User Defined Webpage

1.

Web DBs are created for the Web server


Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: User Defined Webpage

1. 2. 3.

Create Startup OB 100 Call Web Server SFC (WWW) Define Ctrl DB and Status

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 7: User Defined Webpage

1.

Download and test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 8: PROFINET Redundancy

1. Configure Topology 2. Define MRP-Manager and MRP-Clients 3. Test

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 8: PROFINET Redundancy


1

1. 2.

Change to topological view Configure the Port interconnections

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 8: PROFINET Redundancy

1.

Define one of your Devices as MRPManager All the other devices in the Ring-Network as MRP-Client

2.

2
Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 8: PROFINET Redundancy

Possibility 1

1.

Possibility 2

Adjust the time behavior of your IO-Devices in the Ring that a Watchdog of 200ms is configured! Reason: MRP (Media Redundancy Protocol) max. Reconfiguration time is 200ms. If this parameter will not be changed, the IO-Device will drop off the network when Redundancy switchover occurs!

Siemens AG 2012. All Rights Reserved. Industry Sector

Exercise 8: PROFINET Redundancy

1.

Download first!!!

2.

Connect the Ring topology

3.

Test Redundancy

Siemens AG 2012. All Rights Reserved. Industry Sector

Congratulation, you made it!!

Siemens AG 2012. All Rights Reserved. Industry Sector

Thank you for your attention!

Siemens AG 2012. All Rights Reserved.

Das könnte Ihnen auch gefallen