simatic component based automation getting …...getting started - introduction getting started with...

84
Contents Getting Started - Introduction 1 Step 1: Defining your PROFInet components 2 Step 2: Creating PROFInet Components with STEP 7 3 Step 3 to 7: Configuring a plant with SIMATIC iMap 4 Step 8: Generating and downloading 5 Step 9: Diagnostics 6 Step 10: Visualizing Process Data 7 If you want to learn more... Index SIMATIC Component based Automation Getting Started with SIMATIC iMap Getting Started Edition 12/2002 A5E00122600-03

Upload: others

Post on 17-Jun-2020

30 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Contents

Getting Started - Introduction 1Step 1: Defining your PROFInetcomponents 2Step 2: Creating PROFInetComponents with STEP 7 3Step 3 to 7: Configuring a plantwith SIMATIC iMap 4Step 8: Generating anddownloading 5

Step 9: Diagnostics 6

Step 10: Visualizing ProcessData

7

If you want to learn more...

Index

SIMATIC

Component based AutomationGetting Startedwith SIMATIC iMap

Getting Started

Edition 12/2002A5E00122600-03

Page 2: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Copyright © Siemens AG 2002 All rights reservedThe reproduction, transmission or use of this document or itscontents is not permitted without express written authority.Offenders will be liable for damages. All rights, including rightscreated by patent grant or registration of a utility model or design,are reserved.

Siemens AGBereich Automatisierungs- und AntriebstechnikGeschaeftsgebiet Industrie-AutomatisierungssystemePostfach 4848, D- 90327 Nuernberg

Disclaimer of LiabilityWe have checked the contents of this manual for agreement withthe hardware and software described. Since deviations cannot beprecluded entirely, we cannot guarantee full agreement. However,the data in this manual are reviewed regularly and any necessarycorrections included in subsequent editions. Suggestions forimprovement are welcomed.

©Siemens AG 2001-2002Technical data subject to change.

Siemens Aktiengesellschaft A5E00122600

Safety Guidelines

This manual contains notices intended to ensure personal safety, as well as to protect the products andconnected equipment against damage. These notices are highlighted by the symbols shown below andgraded according to severity by the following texts:

! Dangerindicates that death, severe personal injury or substantial property damage will result if properprecautions are not taken.

! Warningindicates that death, severe personal injury or substantial property damage can result if properprecautions are not taken.

! Cautionindicates that minor personal injury can result if proper precautions are not taken.

Cautionindicates that property damage can result if proper precautions are not taken.

Noticedraws your attention to particularly important information on the product, handling the product, or to aparticular part of the documentation.

Qualified Personnel

Only qualified personnel should be allowed to install and work on this equipment. Qualified persons aredefined as persons who are authorized to commission, to ground and to tag circuits, equipment, andsystems in accordance with established safety practices and standards.

Correct Usage

Note the following:

! WarningThis device and its components may only be used for the applications described in the catalog or thetechnical description, and only in connection with devices or components from other manufacturerswhich have been approved or recommended by Siemens.

This product can only function correctly and safely if it is transported, stored, set up, and installedcorrectly, and operated and maintained as recommended.

Trademarks

SIMATIC®, SIMATIC HMI® and SIMATIC NET® are registered trademarks of SIEMENS AG.

Third parties using for their own purposes any other names in this document which refer to trademarks mightinfringe upon the rights of the trademark owners.

Page 3: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Content

Getting Started with Component based AutomationA5E00122600-03 iii

Content

Getting Started - Introduction..................................................................................................1-1

Step 1: Defining your PROFInet components........................................................................2-1

2.1 Breaking down the plant into modules ..............................................................2-12.2 Defining Devices and Technological Functions ................................................2-4

Step 2: Creating PROFInet Components with STEP 7 ..........................................................3-1

3.1 Basic procedure ................................................................................................3-13.2 Creating the Coordinator Component from WinLC PN.....................................3-33.2.1 Creating an S7 Project and Configuring the Hardware.....................................3-33.2.2 Blocks in the S7 Program..................................................................................3-53.2.3 Creating PROFInet Components ......................................................................3-73.3 Creating the Conveyor component from ET 200X..........................................3-123.3.1 Creating an S7 Project and Configuring the Hardware...................................3-123.3.2 Blocks in the S7 Program................................................................................3-143.3.3 Creating PROFInet Components ....................................................................3-183.4 Creating the ProcessStation component from ET 200S .................................3-193.4.1 Creating an S7 Project and Configuring the Hardware...................................3-193.4.2 Blocks in the S7 Program................................................................................3-223.4.3 Creating PROFInet Components ....................................................................3-26

Step 3 to 7: Configuring a plant with SIMATIC iMap.............................................................4-1

4.1 Step 3: Creating a SIMATIC iMap library..........................................................4-14.2 Step 4: Importing PROFInet Components into a Library ..................................4-44.3 Step 5: Inserting PROFInet components into the project .................................4-74.4 Step 6: Assigning addresses...........................................................................4-104.5 Step 7: Interconnecting technological functions..............................................4-14

Step 8: Generating and downloading ...................................................................................5-17

5.1 Saving and Generating a Project ....................................................................5-175.2 IM 151/CPU: Download PROFIBUS address to the device for the first time..5-195.3 Checking your Settings ...................................................................................5-235.4 Downloading Programs and Interconnections ................................................5-27

Step 9: Diagnostics...................................................................................................................6-1

6.1 Monitoring the plant online ................................................................................6-1

Step 10: Visualizing process data...........................................................................................7-1

7.1 Analyzing with OPC ..........................................................................................7-1

If you want to learn more .........................................................................................................8-1

Index

Page 4: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task
Page 5: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122600-03 1-1

Getting Started - Introduction 1The aim of these instructions is to teach you how to work with SIMATIC iMap withreference to a specific automation task.

Aims and Target Groups

These instructions can be subdivided into two groups of tasks:

Target group Task

Plant and machine constructors Creating PROFInet components with SIMATIC iMapSTEP 7 AddOn

Plant planners and operators • Planning and commissioning a plant withSIMATIC iMap

• Visualizing and analyzing process data

Basic Knowledge Required

The basic knowledge you will need depends on your aims.

It is assumed that plant and machine constructors who are creating PROFInetcomponent will know the following:

• How to use stored program controllers,

• Knowledge of the SIMATIC modules used (e.g. ET 200S, ET 200X) andWindows Logic Controller (WinLC PN)

• How to work with STEP 7 (e.g. programming and planning)

Planners and plant operators who use the off-the-shelf PROFInet components, andtherefore only work with SIMATIC iMap, also require:

• Knowledge of the technical processes used within the plant,

• Knowledge of Windows applications,

• Knowledge of the PROFInet components used.

Page 6: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started - Introduction

Getting Started with Component based Automation1-2 A5E00122600-03

Description of the Automation Task

In the machining station of a machine, workpieces are fed in (1), machined (2) andthen removed (3). A higher-level controller (4) coordinated the individual partialfunctions, and makes the necessary data available via integral operator monitoringand control functions (5). The machined workpieces are then moved on to asecond machine (6). The number of transported workpieces should also berecorded on the analysis PC (5).

Figure 1-1 Automation Task

This automation task differs from the viewpoints of the two target groups:

• Plant and machine constructors have to create reusable PROFInet componentsfrom the parts of the plant. SIMATIC iMap STEP 7 AddOn helps them to createPROFInet components from SIMATIC automation and field devices.

• Plant planners and operators have to plan the plant with reference to off-the-shelf PROFInet components. SIMATIC iMap helps them to plan andcommission the plant and to visualize the process data.

Page 7: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started - Introduction

Getting Started with Component based AutomationA5E00122600-03 1-3

Steps of the Solution

The automation task can be broken down into individual steps of the solution, fromanalysis of the plant through to analysis of the process data. These tasks aregenerally carried out by different users, each using the necessary software.

You can also select and edit individual steps for this sample project, where suchsteps are of relevance for your specific tasks.

Table 1-1 Steps of the solution for the automation task

Steps Tasks Users Software

Step 1 Defining PROFInetcomponents

Component creator -

Step 2 Creating PROFInetComponents

PLC programmers,STEP 7 users,

STEP 7

Step 3 Creating the SIMATICiMap library

Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 4 Importing PROFInetComponents into a Library

Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 5 Inserting PROFInetComponents into theProject

Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 6 Assigning addresses Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 7 Interconnectingtechnological functions

Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 8 Generating anddownloading

Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 9 Diagnostics Planners, commissioningengineers and plant operators

SIMATIC iMap

Step 10 Visualizing and analyzingprocess data

Plant operators, analysis level(instrumentation and control)

SIMATIC iMap,OPC Server,MS Office,MS Visual Basic,C++, etc.

Next Steps

You can Get Started with SIMATIC iMap in the following ways:

If you want to learn about... Read ...

How to create PROFInet components Steps 1 and 2

How to plan a plant with SIMATIC iMap Steps 3 to 9

How to visualize and analyse process data Step 10

Page 8: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task
Page 9: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122600-03 2-1

Step 1: Defining your PROFInetcomponents 22.1 Breaking down the plant into modules

Breaking Down the Plant into Technological Modules

Before you can create PROFInet components using STEP 7 and then interconnectthe associated technological functions in SIMATIC iMap, you must first break downthe plant into reusable modules. These technological modules should form a singleunit consisting of electrical, mechanical and control functions. The plant describedin the automation task section can be broken down as follows:

Figure 2-1 Breaking Down the Plant into Technological Modules

Page 10: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 1: Defining your PROFInet components

Getting Started with Component based Automation2-2 A5E00122600-03

Machine 1

Table 2-1 Technological module, machine 1

Modules Designation Stations

Coordination station Coordinator PROFIBUS master: WinLC PN

Transport module Conveyor PROFIBUS slave: SIMATIC ET 200X stationwith BM 147 basic module

Machining station ProcessStation PROFIBUS slave: SIMATIC ET 200S stationwith IM151/CPU

PC for visualizationand analysis

Analysis PC on the Ethernet

Machine 2

Table 2-2 Technological module, machine 2

Modules Designation Stations

Testing station Testing Link to ET 200X station

Machine 2 is listed for the sake of completeness, and is not discussed further in thefollowing descriptions.

Page 11: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 1: Defining your PROFInet components

Getting Started with Component based AutomationA5E00122600-03 2-3

Structure of the Plant

Figure 2-2 Structure of the plant from the sample project

Reusable Modules

Breaking down the plant gives the following reusable modules:

• one coordination station,

• two transport modules,

• one machining station

PROFInet components are to be created for these modules.

The next step is to define the devices and technological functions for the PROFInetcomponents to be created.

Page 12: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 1: Defining your PROFInet components

Getting Started with Component based Automation2-4 A5E00122600-03

2.2 Defining Devices and Technological Functions

Devices and Component Interfaces of the Modules

Once you have identified the modules in the plant, you can then define thecomponent interfaces. In STEP 7, the component interface of a PROFInetcomponent is implemented by the interface DB that determines the connectorsbetween PROFInet components in SIMATIC iMap.

Interface definitions for the Coordinator, Conveyor and ProcessStation componentsare needed for the plant described in the automation task.

Coordinator Component

The coordinator contains the higher-level functions of a plant.

The OFF/ON signals from the control element ("OffOn" input) are converted to astatic ON signal and output at the "StatOn" output. The processing time"ProcTimeHMI" specified in the control element is limited, and is output at the"ProcTime" output.

The device is a PC station running WinLC PN V1.1 on the Ethernet with aPROFIBUS connector. It acts as a DP master with proxy functionality.

Table 2-3 Component interface for the Coordinator component

Input /Output

Name Type Initial value Description

Input OffOn BOOL FALSE OFF/ON pulse from the HMI

Input ProcTimeHMI INT 0 Machining time from the HMI

Output StatIn BOOL FALSE Stations ON

Output ProcTime INT 0 Output machining time

Page 13: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 1: Defining your PROFInet components

Getting Started with Component based AutomationA5E00122600-03 2-5

Conveyor Component

The conveyor element transports the material in one direction and at one speed. Ithas a sensor on both the input and the output side.

If no errors have occurred and the conveyor is not assigned, the enable signal isoutput at the "ReleaseOut" output for the upstream components. The drive startseither if a log-on signal is received at the "AnnounceIn" input and the conveyor is inthe ON state without errors, or in response to a rising edge at the sensor on theinput side. The assigned state is set by a rising edge at the sensor on the inputside. The drive stops either in response to the sensor on the output side and if noenable signal is received at the "ReleaseIn" input from the next element, or inresponse to the falling edge at the sensor on the output side, which also resets theassigned state.

The drive’s run time is monitored. If this time is exceeded, a fault is set at the"Faulty" output. This can be reset via the "Reset" input on the control element(HMI).

The device is an ET 200X with a BM 147/CPU basic module that acts as anintelligent slave on the PROFIBUS.

Table 2-4 Component interface for the Conveyor component

Input /Output

Name Type Initial value Description

Input ON BOOL FALSE ON signal from higher-levelcontroller

Input ReleaseIn BOOL FALSE Enable signal from downstreammachine

Input AnnounceIn BOOL FALSE Log-on signal from upstreammachine

Output Assigned BOOL FALSE Assigned state

Output ReleaseOut BOOL FALSE Enable signal for upstreammachine

Output AnnounceOut BOOL FALSE Log-on to downstream machine

Table 2-5 Non-interconnectable connectors of the Conveyor component

Input /Output

Name Type Initial value Description

Input Reset BOOL FALSE Initialization from HMI

Output Faulty BOOL FALSE Fault

Page 14: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 1: Defining your PROFInet components

Getting Started with Component based Automation2-6 A5E00122600-03

Note

The "Reset" input and "Faulty" output are non-interconnectable, i.e. they can onlybe accessed via OPC/HMI.

ProcessStation Component

Processing the "ProcessStation" component stops the conveyor. The cylinder thenmoves into the working position. Once the machining time has elapsed, it movesback into the home position and enables the conveyor once more.

If no errors have occurred and the conveyor is not assigned, the enable signal isoutput at the "ReleaseOut" output for the upstream components. The drive startseither if a log-on signal is received at the "AnnounceIn" input and the conveyor is inthe ON state without errors, or in response to a rising edge at the sensor on theinput side. The assigned state is set by a rising edge at the sensor on the inputside. The drive stops either in response to the sensor on the output side and if noenable signal is received at the "ReleaseIn" input from the next element, or inresponse to the falling edge at the sensor on the output side, which also resets theassigned state.

The drive’s run time is monitored. If the run time is exceeded, a fault is set. Thiscan be reset using the Reset command on the control element (HMI).

The device is an ET 200S with an IM 151/CPU that acts as an intelligent slave onthe PROFIBUS.

Table 2-6 Component interface for the ProcessStation component

Input /Output

Name Type Initial value Description

Input ON BOOL FALSE ON signal from higher-level controller

Input ReleaseIn BOOL FALSE Enable signal from downstreammachine

Input AnnounceIn BOOL FALSE Log-on signal from upstream machine

Input ProcTimeIn INT 0 Setpoint machining time

Input Reset BOOL FALSE Initialization from HMI

Output Assigned BOOL FALSE Assigned state

Output ReleaseOut BOOL FALSE Enable signal for upstream machine

Output AnnounceOut BOOL FALSE Log-on to downstream machine

Output ProcTimeOut INT 0 Actual machining time

Output Faulty BOOL FALSE Fault

Table 2-7 Non-interconnectable connectors of the ProcessStation component

Input /Output

Name Type Initial value Description

Input Reset BOOL FALSE Initialization from HMI

Output Faulty BOOL FALSE Fault

Page 15: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 1: Defining your PROFInet components

Getting Started with Component based AutomationA5E00122600-03 2-7

Note

The "Reset" input and "Faulty" output are non-interconnectable, i.e. they can onlybe accessed via OPC/HMI.

Interconnection Diagram

Figure 2-3 Interconnection Diagram

Next Steps

• If you want to create your own PROFInet components using STEP 7, then go toStep 2.

• If you prefer to design a plant with SIMATIC iMap using off-the-shelf PROFInetcomponents, then go to Step 3.

Page 16: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task
Page 17: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122599-03 3-1

Step 2: Creating PROFInet Componentswith STEP 7 33.1 Basic procedure

Note

The "Creating PROFInet Components with STEP 7" chapter is only of relevance tousers who create their own PROFInet components.

Requirements for creating components

• Windows 2000, SP3 or later must be installed on the PG/PC.

• The hardware configuration for the PROFInet components to be created isdefined.

• The component interfaces are defined.

• STEP 7 V5.2 must be installed.

• SIMATIC iMap STEP 7 AddOn V1.2 or later is installed.

Which PROFInet components are created?

There are three PROFInet components to be created for machine 1 in the sampleproject.

Table 3-1 PROFInet components for the sample project

Creating PROFInetcomponents from

...

PC / station Function Designation of thePROFInet

component

a WinLC PN PC with WinLC PN Plant controller Coordinator

an intelligent DPslave (I slave)

ET 200X station Workpiece feeder Conveyor

an intelligent DPslave (I slave)

ET 200S station Workpiecemachining

ProcessStation

Page 18: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-2 A5E00122599-03

Main Procedure

The PROFInet components are created using STEP 7. The following steps arerequired to create each PROFInet component:

1. In SIMATIC Manager, create a project for a component and configure thestation hardware in HW Config.

2. Create the interface DB for the component interface.

3. Create and test the S7 program.

4. Select the PROFInet component using a menu command and store it in adirectory.

Procedure with STEP 7 Sample Projects

Sample projects for the automation task described above are installed, togetherwith SIMATIC iMap STEP 7 AddOn, in the Step7 \ Examples directory. If you usethese samples, you will not need to carry out steps 1 to 3 above. You can openand view individual blocks from the STEP 7 projects supplied, but you will not haveto copy any blocks or type out sections of programs.

The existing sample projects require the following procedure in the subsequentsections:

1. Open the sample project in SIMATIC Manager and Hardware configuration.

2. Open the interface DB and other program blocks.

3. Create the PROFInet component.

The sample projects can be used as templates for creating further PROFInetcomponents. Steps 2 and 3 allow you to modify these projects to suit yourrequirements.

More Detailed Information

The information in these Getting Started instructions is limited to the sample projectand the bare essentials. For more detailed information on the individual topics,consult the SIMATIC iMap online documentation under "Creating PROFInetComponents with STEP 7".

Next Steps

Starting SIMATIC Manager and opening the sample projects one after another.

Page 19: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-3

3.2 Creating the Coordinator Component from WinLC PN

3.2.1 Creating an S7 Project and Configuring the Hardware

S7 project for the "Coordinator" component

Table 3-2 Coordinator: S7 sample project, hardware configuration

Step Description

1 In SIMATIC Manager, select the File > Open... menu command to open thesample project for the "Coordinator" component. The project is located under"ZEn27_02_PN_Coordinator" on the "Sample projects" tab. The path isExamples\ZEn27_02 in the Step7 folder.

2 Select the File > Save As... menu command to create a copy of the project.

3 Open the copied project and its hardware configuration. The coordinator isconfigured as a PC station running WinLC PN V1.1 and with an Ethernetconnector via the IE General communication processor.

Page 20: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-4 A5E00122599-03

Step Description

Next Steps

Opening the program blocks for the "Coordinator" component and learning aboutits PROFInet-specific features.

Page 21: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-5

3.2.2 Blocks in the S7 Program

The block folder for the project contains the S7 program blocks. The interface DB(DB100) was created specifically for the basic project from which the "Coordinator"PROFInet component is created.

In all the sample projects described here, the interface DB is the global data blockDB100.

Interface DB

The interface DB contains the interface definition of the PROFInet component. Itreturns the STEP 7 program name and the data types and attributes of the inputsand outputs. In SIMATIC iMap, connector information entered about the PROFInetcomponent is converted into graphical format:

Example: Interface DB

Page 22: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-6 A5E00122599-03

User-Defined Attributes

The user-defined attributes are an important part of interface DB declarations.

Step Description

1 In SIMATIC Manager, open the block folder for the "Coordinator" project.

2 Select block DB100 and open the Object Properties dialog.

The "Attributes" tab should contain the attribute "CBA_db", with the value "true".This attribute identifies the block as an interface DB.

3 Close the "Properties" dialog.

4 Double click on DB100 to open it.

Inputs and outputs that are identified by a flag symbol also have user-definedattributes that determine the type of connector.

5 Click on the flag symbol to view the assigned attributes.

The "OffOn" entry is identified as the first input.

The "StatOn" entry is identified as the first output. It has the attribute"CBA_direction" and the value "out".

Additional information about user-defined attributes can be found under "Propertiesof the Interface DB" in the SIMATIC iMap basic help.

Page 23: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-7

Organizational Blocks Required

The S7 program on the WinLC PN must contain the following organizational blocksin order to be able to respond to events:

• Diagnostic alarm OB (OB 82) – e.g. if a DP slave is switched to STOP or RUN

• Program sequence error OB (OB 85) – e.g. for errors that occur when theprocess image is updated when a DP slave fails

• Rack failure OB (OB 86) – e.g. when the connection to a DP slave is interrupted

3.2.3 Creating PROFInet Components

Requirements

• The S7 project for the "Coordinator" component has been created and thehardware is configured.

• The interface DB has been created.

• The S7 program has been created.

Note

Create separate folders as the storage locations for each of the components. Thisis the only way to ensure that you do not overwrite existing PROFInet componentsin the sample project.

Page 24: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-8 A5E00122599-03

Creating PROFInet Components

The following steps describe how to create a PROFInet component from the"Coordinator" station.

Step Description

1 In SIMATIC Manager, highlight the "Coordinator" station, and then select theCreate PROFInet component command from the context menu.

Page 25: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-9

Step Description

The "Create PROFInet component" dialog opens.

Page 26: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-10 A5E00122599-03

Step Description

2 On the "Storage Areas" tab, click on the "Browse..." button, and select the folderthat you created from the file system as the location for storing your PROFInetcomponents, e.g. D:\PROFInet_components.

Page 27: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-11

Step Description

3 The paths to the icons and the documentation link then appear on the"Additional Properties" tab.

A brief description of the sample components can be found in the sampleproject folder, i.e. \Examples\ZEn27_02\Coordinator.htm

The Coordinator PROFInet component is stored as an XML file in a separatedirectory together with the STEP 7 project.

Next Steps

Opening the S7 sample project for the "Conveyor" component.

Page 28: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-12 A5E00122599-03

3.3 Creating the Conveyor component from ET 200X

3.3.1 Creating an S7 Project and Configuring the Hardware

S7 project for the "Conveyor" component

Table 3-3 Conveyor: S7 sample project, hardware configuration

Step Description

1 In SIMATIC Manager, select the File > Open... menu command to open thesample project for the "Conveyor" component. The project is located under"ZEn27_01_PN_ Conveyor" on the "Sample projects" tab. The path isExamples\ZEn27_01 in the Step7 folder.

2 Select the File > Save As... menu command to create a copy of the project.

Page 29: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-13

Step Description

3 Open the copied project and its hardware configuration. The conveyor elementis configured as a SIMATIC 300 station with the ET 200X distributed peripheraland the BM 147 basic module as a programmable DP slave.

Next Steps

Opening the program blocks for the "Conveyor" component and learning about itsPROFInet-specific features.

Page 30: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-14 A5E00122599-03

3.3.2 Blocks in the S7 Program

The block folder of the sample project contains the S7 program blocks. Theinterface DB (DB100) was created specifically for the basic project from which the"Conveyor" PROFInet component will be created. You will also need the PN_IN(FC10) and PN_OUT (FC11) functions and the PN_IO_DB (DB2) data block.

Interface DB

The interface DB contains the interface definition of the PROFInet component. Itreturns the STEP 7 program name and the data types and attributes of the inputsand outputs.

In SIMATIC iMap, connector information entered about the PROFInet component isconverted into graphical format:

Page 31: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-15

User-Defined Attributes

The user-defined attributes are an important part of interface DB declarations.

Step Description

1 In SIMATIC Manager, open the block folder for the "Conveyor" project.

2 Select block DB100 and open the Object Properties dialog.

The "Attributes" tab should contain the attribute "CBA_db", with the value "true".This attribute identifies the block as an interface DB.

3 Close the "Properties" dialog.

4 Double click on DB100 to open it.

Inputs and outputs that are identified by a flag symbol also have user-definedattributes that determine the type of connector.

Page 32: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-16 A5E00122599-03

Step Description

5 Click on the flag symbol to view the assigned attributes.

The "IN" entry is identified as the first input. It has the attribute "CBA_direction"and the value "in". The "Reset" and "Faulty" entries are identified as non-connectable, i.e. they can only be accessed via OPC, and do not appear asconnectors in the SIMATIC iMap plant view. They have the attribute"CBA_transfer_type" and the value "s7extended".

The "Pad" entry is identified as a separator element to ensure correct alignmentat the ends of words. It has the attribute "CBA_pad_item" and the value "true".

The "Assigned" entry is identified as the first output. It has the attribute"CBA_direction" and the value "out".

Additional information about the user-defined attributes can be found under"Properties of the Interface DB" in the SIMATIC iMap basic help.

Other blocks

The following blocks are important while the program for the PROFInetcomponents to be created is running:

Block Description

FC10 PN_IN - Copies the data from the transfer area of the CPU pre-processor tothe inputs of the interface DB

Attribute: CBA_islave_copy_fc and value: in

FC11 PN_OUT - Copies the outputs of the interface DB to the transfer area of theCPU pre-processor

Attribute: CBA_islave_copy_fc and value: out

DB2 PN_IO_DB – Data block, parameters of the PN_IN and PN_OUT function calls

Attribute: CBA_islave_copy_db and value: true

The data block number can be modified as required.

The functions PN_IN and PN_OUT are called in the user program (OB1) for anintelligent DP slave. The PN_IO_DB data block is passed as a parameter.

Page 33: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-17

Function Calls in OB1

The block PN_IN (FC10) must be called right at the start of OB1 to ensure that it isthe current data that is transferred.

Table 3-4 Call: PN_IN

Call Block no.

CALL "PN_IN" FC10

DB_NO :="PN_IO_DB" DB2

RET_VAL:=#tempRET_VAL

The block PN_OUT (FC11) must be called right at the end of OB1 to ensure thatthe data in the transfer area is not overwritten.

Table 3-5 Call: PN_OUT

Call Block no.

CALL "PN_OUT" FC11

DB_NO :="PN_IO_DB" DB2

RET_VAL:=#tempRET_VAL

Additional information about blocks can be found under "Special Features of DPSlaves" in the SIMATIC iMap basic help.

Organizational Blocks Required

The S7 program of an intelligent DP slave must contain the following organizationalblocks in order to be able to respond to events:

• Diagnostic alarm OB (OB 82) – e.g. if the DP master is switched to STOP orRUN

• Rack failure OB (OB 86) – e.g. when the connection to the DP master isinterrupted

Next Steps

Creating the "Conveyor" PROFInet component from the PC station for the STEP 7project.

Page 34: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-18 A5E00122599-03

3.3.3 Creating PROFInet Components

Requirements

• The S7 project for the "Conveyor" component has been created and thehardware is configured.

• The interface DB has been created.

• The S7 program has been created.

Creating PROFInet Components

Create the PROFInet component from the "Conveyor" station following thedescription in the section entitled "Creating a Coordinator Component from WinLCPN".

Result:

The "Conveyor" PROFInet component is stored as an XML file in a separatedirectory together with the STEP 7 project.

Next Steps

Opening the S7 sample project for the "ProcessStation" component.

Page 35: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-19

3.4 Creating the ProcessStation component from ET 200S

3.4.1 Creating an S7 Project and Configuring the Hardware

S7 project for the "ProcessStation" component

Table 3-6 ProcessStation: S7 sample project, hardware configuration

Step Description

1 In SIMATIC Manager, select the File > Open... menu command to open thesample project for the "ProcessStation" component. The project is located under"ZEn27_03_PN_ProcessStation" on the "Sample projects" tab. The path isExamples\ZEn27_03 in the Step7 folder.

2 Select the File > Save As... menu command to create a copy of the project.

Page 36: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-20 A5E00122599-03

Step Description

3 Open the copied project and its hardware configuration. The process station isconfigured as a SIMATIC 300 station with the ET 200S distributed peripheraland IM 151/CPU as a programmable DP slave.

4 Check the settings of the integral interface. Click on the X1 MPI/DP line andopen the object properties. The interface must be set to the "PROFIBUS" typeon the "General" tab.

Page 37: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-21

Step Description

5 The operating mode "DP slave" must be set on the "Operating mode" tab withthe "Commissioning/Test operation" option.

Next Steps

Opening the program blocks for the "ProcessStation" component and learningabout its PROFInet-specific features.

Page 38: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-22 A5E00122599-03

3.4.2 Blocks in the S7 Program

The block folder of the sample project contains the S7 program blocks. Theinterface DB (DB100) was created specifically for the basic project from which the "ProcessStation " PROFInet component will be created. You will also need thePN_IN (FC10) and PN_OUT (FC11) functions and the PN_IO_DB (DB2) datablock.

Interface DB

The interface DB contains the interface definition of the PROFInet component. Itreturns the STEP 7 program name and the data types and attributes of the inputsand outputs.

In SIMATIC iMap, connector information entered about the PROFInet component isconverted into graphical format:

Page 39: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-23

User-Defined Attributes

The user-defined attributes are an important part of interface DB declarations.

Step Description

1 In SIMATIC Manager, open the block folder for the "ProcessStation" project.

2 Select block DB100 and open the Object Properties dialog.

The "Attributes" tab should contain the attribute "CBA_db", with the value "true".This attribute identifies the block as an interface DB.

3 Close the "Properties" dialog.

4 Double click on DB100 to open it.

Inputs and outputs that are identified by a flag symbol also have user-definedattributes that determine the type of connector.

Page 40: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-24 A5E00122599-03

Step Description

5 Click on the flag symbol to view the assigned attributes.

The “On“ entry is identified as the first input. It has the attribute "CBA_direction"and the value "in".

The "Reset" and "Faulty" entries are identified as non-connectable, i.e. they canonly be accessed via OPC, and do not appear as connectors in the SIMATICiMap plant view. They have the attribute "CBA_transfer_type" and the value"s7extended".

The "Pad" entry is identified as a separator element to ensure correct alignmentat the ends of words. It has the attribute "CBA_pad_item" and the value "true".

The "Assigned" entry is identified as the first output. It has the attribute"CBA_direction" and the value "out".

Additional information about the user-defined attributes can be found under"Properties of the Interface DB" in the SIMATIC iMap basic help.

Other blocks

The following blocks are important while the program for the PROFInetcomponents to be created is running:

Block Description

FC10 PN_IN - Copies the data from the transfer area of the CPU pre-processor tothe inputs of the interface DB

Attribute: CBA_islave_copy_fc and value: in

FC11 PN_OUT - Copies the outputs of the interface DB to the transfer area of theCPU pre-processor

Attribute: CBA_islave_copy_fc and value: out

DB2 PN_IO_DB – Data block, parameters of the PN_IN and PN_OUT function calls

Attribute: CBA_islave_copy_db and value: true

The data block number can be modified as required.

The functions PN_IN and PN_OUT are called in the user program (OB1) for anintelligent DP slave. The PN_IO_DB data block is passed as a parameter.

Page 41: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based AutomationA5E00122599-03 3-25

Function Calls in OB1

The block PN_IN (FC10) must be called right at the start of OB1 to ensure that it isthe current data that is transferred.

Table 3-7 Call: PN_IN

Call Block no.

CALL "PN_IN" FC10

DB_NO :="PN_IO_DB" DB2

RET_VAL:=#tempRET_VAL

The block PN_OUT (FC11) must be called right at the end of OB1 to ensure thatthe data in the transfer area is not overwritten.

Table 3-8 Call: PN_OUT

Call Block no.

CALL "PN_OUT" FC11

DB_NO :="PN_IO_DB" DB2

RET_VAL:=#tempRET_VAL

Additional information about blocks can be found under "Special Features of DPSlaves" in the SIMATIC iMap basic help.

Organizational Blocks Required

The S7 program of an intelligent DP slave must contain the following organizationalblocks in order to be able to respond to events:

• Diagnostic alarm OB (OB 82) – e.g. if the DP master is switched to STOP orRUN

• Rack failure OB (OB 86) - e.g. when the connection to the DP master isinterrupted

Next Steps

Creating the "ProcessStation" PROFInet component from the PC station for theSTEP 7 project.

Page 42: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 2: Creating PROFInet Components with STEP 7

Getting Started with Component based Automation3-26 A5E00122599-03

3.4.3 Creating PROFInet Components

Requirements

• The S7 project for the " ProcessStation" component has been created and thehardware is configured.

• The interface DB has been created.

• The S7 program has been created.

Creating PROFInet Components

Create the PROFInet component from the "ProcessStation" station following thedescription in the section entitled "Creating a Coordinator Component fromWinLC PN".

Result:

The "ProcessStation" PROFInet component is saved as an XML file in the STEP 7project.

Next Steps

Once you have created all your PROFInet components, you can close STEP 7 andmove on to step 3.

Page 43: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122599-03 4-1

Step 3 to 7: Configuring a plant withSIMATIC iMap 44.1 Step 3: Creating a SIMATIC iMap library

Requirement

• SIMATIC iMap must be installed on your PC/PG.

• The PROFInet components have been created and stored in the file system.

Alternative procedures

There are two ways to insert PROFInet components from the sample project into aSIMATIC iMap project:

• Create a new library in SIMATIC iMap, then import the PROFInet componentscreated in STEP 7 from the file system into the library.

or

• Open the "Getting_Started" library with the off-the-shelf PROFInet components.

Page 44: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-2 A5E00122600-03

Creating a New Library

Libraries are used to administer and structure your PROFInet components.

Table 4-1 Creating a New Library

Step Description

1 Start SIMATIC iMap by selecting Start / Programs / Component basedAutomation / SIMATIC iMap.

2 Select Library > New....

3 Under “Search in“, select the path Programs / Siemens / iMap / libs.

4 In the "libs" folder, create a library with the file name "lib_1“. Click on the "Save"button to confirm your input.

The library is created and opened in the library window.

Page 45: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-3

Opening the Off-the-Shelf Library

Table 4-2 Opening the Off-the-Shelf Library

Step Description

1 Start SIMATIC iMap by selecting Start / Programs / Component basedAutomation / SIMATIC iMap.

2 Select Library > Open....

3 Under “Search in“, select the path Programs / Siemens / iMap examples /libs.

4 Open the "Getting_Started" folder and select the “Getting_Started.cbl" library.Click on the "Open" button to confirm your input.

The library is opened in the library window.

Tips

• You can also open SIMATIC iMap by clicking on the iMap icon on your desktop.

• In libraries, you can sort PROFInet components by technology, for example.

• A SIMATIC iMap library for "Getting Started" containing off-the-shelf PROFInetcomponents can be found in the iMap install directory atiMap\Examples\libs\Getting_Started.

Next Steps

• Once you have created a new library, you should then import the PROFInetcomponents that you created in STEP 7 from the file system and into the newlibrary. To do this, go to step 4.

• If you wish to work with the off-the-shelf library which already contains a numberof prepared PROFInet components from the sample project, then go to step 5.

Page 46: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-4 A5E00122600-03

4.2 Step 4: Importing PROFInet Components into a Library

Requirements

• The library "lib_1" must be created and open in SIMATIC iMap.

• The PROFInet components were created with STEP 7 and are stored in the"PROFInet_Components" folder in the file system or

• the path to the off-the-shelf PROFInet components is already known (generallyPrograms / Siemens / iMap / examples / components).

Importing Components into the Library

Before you can edit the PROFInet components in the sample project, you must firstimport them from the file system and into the new SIMATIC iMap library.

Table 4-3 Importing Components into the Library

Step Description

1 Right click in the library window and then select the ImportComponents...command from the context menu.

2 Under “Search in“, select the path Programs / Siemens / iMap / components.

Page 47: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-5

Step Description

3 Select the "coordinator.xml" file from the "Coordinator" folder. Click on the"Open" button to confirm your input.

The "Coordinator" PROFInet component is imported into the library and isdisplayed as an icon.

Page 48: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-6 A5E00122600-03

Step Description

4 Repeat steps 1 to 3 with the "Conveyor" and "ProcessStation" PROFInetcomponents until you have imported all the PROFInet components that youneed for your project into the library.

Tips

• The preview window contains the PROFInet component that is selected in thelibrary window. It is represented as a technological function with inputs andoutputs or as a device with its bus ports on two table (see diagrams above).

• You can change the component representation and display the details using theView context menu in the library window.

Next Steps

Inserting PROFInet components from the library into the project.

Page 49: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-7

4.3 Step 5: Inserting PROFInet components into the project

Requirements

• The PROFInet components have been imported into the library and the "lib_1"library is open.

or

• The "Getting_Started" library is open.

Inserting PROFInet Components from the Library into the Project

PROFInet components can be inserted into the plant view or into the network viewfor the project in one of the following ways:

• Highlight the component in the library window and then select Paste IntoProject from the context menu.

• Drag the component from the library into one of the windows – network view,plant view or project window.

Table 4-4 Inserting PROFInet Components into the Project

Step Description

1 Switch from the plant view to the network view.

2 In the library window, highlight the "Coordinator" component, then select PasteInto Project from the context menu.

The Ethernet is represented by a green line and the PROFIBUS by a violet linein the network view. The "Coordinator" is automatically coupled to the Ethernetand as a master to the PROFIBUS.

Page 50: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-8 A5E00122600-03

Step Description

3 Use Drag & Drop to insert the "Conveyor" component from the library into thenetwork view. The possible destinations on the PROFIBUS are indicated bygreen segments.

4 Repeat step 3 with the "ProcessStation" and "Conveyor" components until youhave inserted all the components that you need for your project.

In the project window, the component is listed as a technological function on the"Plant chart" tab and as a device on the "Network chart" tab.

Note

If a DP slave component is inserted into the network view first, then thiscomponent appears in the network view above a separating line. It can then beconnected to the PROFIBUS using Drag&Drop.

Page 51: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-9

Example for Unconnected Components

Figure 4-1 Example for Unconnected Components

Hint

Close any windows that you do not need. You can open them again using the Viewmenu.

Next Steps

Assigning addresses to the devices in the network view.

Page 52: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-10 A5E00122600-03

4.4 Step 6: Assigning addresses

Requirements

• The PROFInet components have been inserted into the project.

• The IP address and subnet mask for the PC on which the WinLC PN is installedare both known.

• The PROFIBUS addresses have been set for the devices.

The addresses must be assigned to the devices in the plant using the device-specific resources normally used for commissioning.

• The PROFIBUS address of the ET 200X, BM 147/CPU is set at the DIL switchon the device (see the ET 200X manual).

• The PROFIBUS address of the ET 200S, IM 151/CPU is assigned via HWConfig (see the section entitled "IM 151/CPU: Downloading the PROFIBUSaddress to the device for the first time").

Assigning Addresses in SIMATIC iMap

The IP and PROFIBUS addresses of the physical devices in the plant are assignedto the devices in the iMap project. Addresses are needed in order to give a uniqueidentification to each PROFInet device, and thus allow communication(downloading, online monitoring) between SIMATIC iMap and the devices in theplant.

Page 53: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-11

Table 4-5 Assigning Addresses in SIMATIC iMap

Step Description

1 In the network view, highlight the "Coordinator" component, then select Edit >Properties....

Attention:

Make sure that the device number (e.g. WinLC PN) is the same as thestation name in the associated component wizard.

(See the section entitled "Checking your Settings")

Page 54: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-12 A5E00122600-03

Step Description

2 On the "Addresses" tab, enter the IP address and subnet mask of the WinLCPN. These must be the IP address and subnet mask of the PC on which theWinLC PN is running. Click on the "OK" button to confirm your input. Theaddresses are then assigned to the component.

3 In the network view, highlight the "Conveyor" component and select Edit >Properties.... On the "Addresses" tab, enter the PROFIBUS address as set onthe device using the DIL switch, and click on the "OK" button to confirm yourinput.

Page 55: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-13

Step Description

4 Repeat step 3 for the "ProcessStation" and "Conveyor_1" components. All theaddresses are now assigned,

Note

You can assign any names to the devices, apart from the name of the WinLC PN,which must be identical to the station name set in the associated componentwizard.

Next Steps

Interconnecting the technological functions in the project plant view.

Page 56: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-14 A5E00122600-03

4.5 Step 7: Interconnecting technological functions

Requirements

• The PROFInet components must be correctly coupled to the networks.

• The component interfaces, i.e.the connector assignments and theinterconnection diagram must be known.

Rules for interconnection

• You must always connect an output to an input, but an output may beinterconnected to several inputs.

• The two connectors of an interconnection must be of the same data type, e.g.both of type I2 or type U12.

Interconnecting Technological Functions

You can interconnect technological functions in the plant view.

Table 4-6 Interconnecting Technological Functions

Step Description

1 Switch from the network view to the plant view. When the technologicalfunctions first appear in the plant view, they are overlapped.

2 Use Drag & Drop to arrange the technological functions, and thus make theplant clearer and easier to understand. To drag a function, click on its title bar.

Page 57: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based AutomationA5E00122600-03 4-15

Step Description

3 a) Click on the "StatOn" output of the coordinator and on the "On" input of theconveyor.

a) Click on the "StatOn" output of the coordinator and on the "On" input of theProcessStation. The interconnection is represented by a line. Connector pointsof the same type, e.g. BOOL, are shown in green. The selected output and thecurrently selected input are also shown in green.

4 Interconnect the inputs and outputs of the technological functions. Theconnector assignments are shown in the following interconnection diagram.

Note

Interconnections are replaced by numbered continuation connectors if a linecannot be represented. You can change the representation of the lines by movingthe technological functions as required.

Page 58: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 3 to 7: Configuring a plant with SIMATIC iMap

Getting Started with Component based Automation4-16 A5E00122600-03

Recommendation

Check the interconnections before you go any further:

1. Open SIMATIC iMap again. A warning appears, telling you that the librarycannot be opened a second time. Simply ignore this message for this step.

2. Open the "Getting_Started" sample project.

3. Compare the connectors in the plant view.

Tips

• You can use the Properties... context menu to display information about theconnectors of a selected technological function.

• Select View > Plant view > Dot Screen to display a dot screen to simplifypositioning of your technological functions.

• Select View > Zoom to change the size of the plant view on screen.

Next Steps

Saving and generating a project.

Page 59: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-17

Step 8: Generating and downloading 55.1 Saving and Generating a Project

Requirements

• STEP 7 must be installed on the same computer as SIMATIC iMap.

• The "lib_1" library must be open, although the library window may be closed.

Saving and Generating a Project

When you generate the SIMATIC iMap project, the current data concerning thePROFInet components is prepared for downloading to the devices of the plant.

Table 5-1 Saving and Generating a Project

Step Description

1 Select Project > Generate > Changes Only. A message appears to tell youthat the project must be automatically saved before generating. You are askedwhether you wish to continue. Click on "Yes" to confirm. The "Save SIMATICiMap Project As" dialog opens.

2 Under “Search in“, select the path Programs / Siemens / iMap / projects.

3 Enter "Plant_1" as the project file name and click on the "Save" button toconfirm your input. The project is saved and generated.

The entire project is generated when you call the Project > Generate >Changes Only menu command for the first time. Thereafter only the changesare generated when you call this menu command again.

Page 60: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based Automation5-18 A5E00122600-03

Step Description

4 You can follow the generation progress messages in the Info window.

Note

Generation can take a long time for large projects, You can cancel generation atany time by clicking on the "Cancel" button in the message box.

Hint

If generation is successful, all the PROFInet components in the project areassigned the generation status "generated" in their properties. The program canthen be downloaded.

Next Steps

Download the assigned PROFIBUS address to the IM 151/CPU for the first time.

Page 61: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-19

5.2 IM 151/CPU: Download PROFIBUS address to the device for the firsttime

PROFIBUS address of the IM 151/CPU

In step 6, you assigned a PROFIBUS address to the IM151_CPU device inSIMATIC iMap. You will have to download this PROFIBUS address from STEP 7via MPI to the device yourself for the first time.

Requirements

• The IM 151/CPU must be set to STOP.

• The PG/PC must be connected to the IM151/CPU via MPI.

• The SIMATIC iMap project must have been generated. When you open theproperties of the IM151_CPU device, the generation status "Generated" mustappear on the "General" tab. Generate the project if this is not the case.

Page 62: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based Automation5-20 A5E00122600-03

Download PROFIBUS address to the device for the first time

Table 5-2 IM 151/CPU: Download PROFIBUS address to the device for the first time

Step Description

1 Set the PG/PC interface to MPI.

From the task bar, select:

Start > Simatic > STEP 7 > Set PG/PC Interface. Configure the PG/PC interface asfollows:

Note: The communication processor may have a different name on your PG.

2 In the SIMATIC iMap network view, select the device IM151_CPU and then selectSpecial > Configuration from the context menu.

The station hardware configuration is opened in the shadow project.

Page 63: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-21

Step Description

3 In HW Config, select PLC > Download to Module.

In the "Select Target Module" dialog box, select the IM 151 / CPU and click on "OK" toconfirm.

Page 64: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based Automation5-22 A5E00122600-03

Step Description

4 In the "Select Station Address" dialog, enter the MPI address of the CPU or click on "OK"to accept the displayed address, e.g:

Result: The system data, including the PROFIBUS address, are downloaded to the IM151 / CPU. The ET 200S can then communicate via the PROFIBUS.

5 Connect the ET 200S to the WinLC PN using the PROFIBUS cable.

Next Steps

Check the PG/PC interface and PC station settings on your computer. You canthen download the project data from SIMATIC iMap to the devices of the plant.

Page 65: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-23

5.3 Checking your Settings

Possible configurations

With WinLC PN, we distinguish between two situations:

• STEP 7/SIMATIC iMap and WinLC PN are both on the local PC

• STEP 7/SIMATIC iMap are on the local PC, while WinLC PN is on the remotePC

The settings you will need for both configurations are described below.

General requirements

SIMATIC NET IE SOFTNET-PG V6.0 + SP5 or later must be installed on both thelocal and the remote PC (with the WinLC PN).

STEP 7, SIMATIC iMap and WinLC PN are both on the local PC

Station name and device name

The station name of the PC containing the WinLC PN must be the same as thedevice names of the "Coordinator" components in the SIMATIC iMap network view.

You can modify the station names:

• via the "Station name" button in the component wizard.

• via the device properties in the SIMATIC iMap network view.

Page 66: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based Automation5-24 A5E00122600-03

Table 5-3 Settings on the local PG/PC

Step Description

1 Select the following command:

Start > Simatic > SIMATIC NET > Settings > Set PC Station

The configuration console opens.

2 Under "Modules" in the "Tree" window, select the Ethernet module of thecomputer.

The "Configured mode" operating mode must be set under "General".

The index must be the same as the CP "IE General" slot in the componentproject in STEP 7/HW Config.

3 Select the PROFIBUS module of the computer.

The "PG mode" operating mode must be set under "General".

Page 67: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-25

Step Description

4 Select "Access Points" and check the following settings:

• The local PROFIBUS module must be set as the access point for the"CP_L2_1" application.

• "PC internal (local)“ must be set as the access point for the "S7ONLINE(STEP 7)" application.

5 Accept any changes and close the configuration console.

Hint

You can also set the access points using Start > Settings > Control Panel > SetPG/PC Interface.

Page 68: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based Automation5-26 A5E00122600-03

STEP 7 and SIMATIC iMap are on the local PC, while WinLC PN is on theremote PC

Table 5-4 Settings on the local PG/PC (with SIMATIC iMap)

Step Description

1 Select the following command:

Start > Simatic > SIMATIC NET > Settings > Set PC Station

The configuration console opens.

2 Select the Ethernet module in the computer from the "Tree" window.

The "PG mode" operating mode must be set under "General".

3 Select "Access Points" and check the following setting:

"TCP/IP“ must be set as the access point for the "S7ONLINE (STEP 7)"application.

4 Accept any changes and close the configuration console.

5 Open the "Plant_1" project in SIMATIC iMap.

6 Select any device from the SIMATIC iMap network view, then select Special >Assign PG/PC.

This and the next step only have to be carried out if the automatic PG/PCassignment when the project was generated was unsuccessful. A messageappears in the Info window in the event of an error.

7 From the "Assign PG/PC" dialog, select a new interface of the industrialEthernet type and assign this to your project. Detailed information can be foundin the online help for that dialog box or in the SIMATIC iMap help topics under"Assign PG/PC".

Table 5-5 Settings on the remote PG/PC

Step Description

1 Select the following command:

Start > Simatic > SIMATIC NET > Settings > Set PC Station

The configuration console opens.

2 Select the Ethernet module in the computer from the "Tree“ window.

The "Configured mode" operating mode must be set under "General".

The index must be the same as the CP "IE General" slot in the componentproject in STEP 7/HW Config.

3 Select the PROFIBUS module in the computer from the "Tree“ window.

The "PG mode" operating mode must be set under "General".

4 Accept any changes and close the configuration console.

5 Select Start > Settings > Control Panel > Set PG/PC interface. Check thefollowing setting:

The local PROFIBUS module must be set as the access point for the"CP_L2_1" application.

Page 69: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-27

5.4 Downloading Programs and Interconnections

Requirements

• The project has been saved under "Plant_1" and has been generated withouterror.

• STEP 7 and SIMATIC NET have been installed.

• The WinLC PN has started and is in the STOP or RUN-P state. (If it is in theRUN-P state, it will be stopped during the download).

• The devices of the plant are running.

• If the WinLC PN is on a remote PC: The PG/PC is connected to the remote PCvia Ethernet. The DP slaves ET 200X and ET 200S are connected to the WinLCvia PROFIBUS.

• The necessary PG/PC interface and PC station settings have been made.

Note

Commissioning of the individual devices is described in the associated productdocumentation.

Download

Downloading transfers data from SIMATIC iMap to the devices of the plant. All orjust the selected PROFInet components may be downloaded. The following datamay be downloaded using the Online menu:

• The user programs you have created, including the hardware and networkconfiguration,

• the interconnections between technological functions,

• all, i.e.both programs and interconnections.

The program must be downloaded when a device is commissioned.Interconnections can be downloaded later if required, for example in order to testthe PROFInet communication between the components.

Page 70: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based Automation5-28 A5E00122600-03

Downloading Programs and Interconnections

For the sample project, the programs and interconnections of all the PROFInetcomponents will be downloaded to the devices of the plant.

Table 5-6 Downloading Programs and Interconnections

Step Description

1 In the network view, highlight the "Coordinator" device (WinLC PN) and selectOnline > Download Selected Device > All.

The program and interconnections are downloaded to the WinLC PN. You arethen prompted to stop the WinLC.

2 Click on "Yes" to confirm the message.

Messages appear, asking whether you want to overwrite individual blocks.

3 Click on the "Yes" button to confirm these messages.

The blocks are overwritten with the new programs from SIMATIC iMap.

You are then prompted to restart the WinLC.

4 Click on the "Yes" button to confirm the message.

5 In the network view, highlight all the other devices and select Online >Download Selected Device > All.

The programs and interconnections of the selected PROFInet components aredownloaded to the devices of the plant.

Messages similar to those for the WinLC PN appear for the other devices.

6 Click on the "Yes" button to confirm these messages.

7 Messages concerning progress of the download and asking whether you wishto cancel the action appear in the Info window.

Note

Downloading can take a long time for large projects, You can cancel the process atany time by clicking on the "Cancel" button in the message box.

Page 71: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 8: Generating and downloading

Getting Started with Component based AutomationA5E00122600-03 5-29

Tips

• You can determine which devices need a program download by carrying out anonline-offline comparison.

• If you have only changed interconnections in the project, then only theinterconnections have to be downloaded. You do not have to download theprogram again.

• A program download is generally only needed once, while the interconnectionscan be downloaded as often as required.

• The devices and technological functions that require interconnections to bedownloaded are identified by a "download" symbol in the online view and arelisted on the "Devices" or "Functions" tab in the diagnostic window.

Next Steps

Learning how to represent the diagnostic information in the diagnostic window withreference to an example.

Page 72: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task
Page 73: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122600-03 6-1

Step 9: Diagnostics 66.1 Monitoring the plant online

Requirement

• The SIMATIC iMap project "Plant_1" has been generated.

• The programs and interconnections of all the PROFInet components in theproject have been downloaded to the devices in the plant.

Diagnostics

When SIMATIC iMap is connected to the plant online, information about the statusof the PROFInet communication partners and the operating states of the devices(regardless of the type of device) appear in the diagnostic window, the plant viewand the network view.

Page 74: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 9: Diagnostics

Getting Started with Component based Automation6-2 A5E00122600-03

Table 6-1 Diagnostics

Step Description

1 Select Online > Monitor. SIMATIC iMap is connected to the plant online. A faultthat appears in the diagnostic window is identified by a symbol on the affecteddevice in the plant and network views.

2 All faulty functions are displayed on the "Functions" tab in the diagnosticwindow.

3 All faulty devices are displayed on the "Devices" tab in the diagnostic window.Information on the currently selected object is displayed in the right-handwindow. Click on the "Help" button to call up online help on troubleshooting.

Page 75: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 9: Diagnostics

Getting Started with Component based AutomationA5E00122600-03 6-3

Step Description

4 Click on the "Online Monitoring" icon to switch to online mode.

Select the "Conveyor" device from the network view, then select Online-OfflineComparison > Interconnection Only from the context menu (right mousebutton). The online and offline data for the interconnections are compared, andthe result appears in the Info window.

Possible display when no interconnections have yet been downloaded.

Possible Errors

Possible errors in functions and devices are identified by symbols in the plant andnetwork views. The type of error is described in the diagnostic window.

• Functions

– The interconnection is faulty

– Interconnection download required.

• Device

– The device is not available.

– The device has a fault.

– Program download is required.

Tips

• Click on the column headers, e.g. on "Reference object", in the Info window toswitch to the ideal column width.

• Double- click on a faulty function in the diagnostic window to display theaffected technological function in the plant view.

• If you double-click on a faulty device in the diagnostic window, the affecteddevice is displayed in the network view.

• If "Download necessary" is signalled as a fault, you can click on the "Download"button to start downloading the interconnections immediately.

Next Steps

Visualizing the process data.

Page 76: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task
Page 77: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122600-03 7-1

Step 10: Visualizing process data 77.1 Analyzing with OPC

OPC: OLE for Process Control

In SIMATIC iMap, you can create an OPC symbol file for the project. This filecontains information about the current process data.

Anyone in the office can use an OPC client program to access the data forPROFInet devices at the control and production levels.

Requirements

• An OPC client program must be installed, e.g. OPC Scout from SIMATIC Net.

• The SIMATIC iMap project "Plant_1" is open and has been generated withouterror.

Analyzing Process Data

Table 7-1 Creating and Editing the OPC Symbol File

Step Description

1 In SIMATIC iMap, select Options > CreateOPC Symbol File....

2 In the "Save OPC symbol file as" dialog box, select a folder as the storage location.

The following OPC symbol files are stored in this folder:

• _TAGFILE_.SSD

• _TAGFILE_.WSD

You can then close SIMATIC iMap.

Page 78: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 10: Visualizing process data

Getting Started with Component based Automation7-2 A5E00122600-03

Step Description

3 Select Start > Simatic > SIMATIC NET > Settings > Set PC Station.

The configuration console opens. This is used to make your new OPC symbol file known to aSIMATIC NET OPC server.

In the "Tree" window, open the "Applications, Symbols" folder.

4 Select the "Use a symbol file" option and enter the path of the _TAGFILE_.SSD symbol fileunder "File name" (see Step 2).

Click on the "Browse" button to search for the file.

5 Click on the "Extended symbols" button (see picture in step 2) and select the module for theTCP/IP protocol on your PG/PC from the "PROFInet" box.

This settings requires you to access the non-connectable connectors (attribute"CBA_transfer_type" with the value "true", see "Blocks in the S7 Program").

Page 79: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 10: Visualizing process data

Getting Started with Component based AutomationA5E00122600-03 7-3

Step Description

6 Open the OPC protocol selection dialog and highlight the PROFInet and S7 protocols.

Click on the "Apply" button to confirm your settings.

7 Use the command Start > Simatic > SIMATIC NET > Industrial Ethernet > SOFTNETIndustrial Ethernet > OPC Scout to start OPC Scout.

OPC Scout opens. Here you can create a new group for your project data.

Double-click to open this group. The OPC navigator opens.

Select the project variables that you wish to display by selecting the function in the "Nodes"window. Then use the arrow button to transfer the desired item name to the right-handwindow.

Example:

Page 80: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Step 10: Visualizing process data

Getting Started with Component based Automation7-4 A5E00122600-03

Step Description

8 Click on the "OK" button to confirm your input.

A table with the selected OPC variables and their status information appears in OPC Scout.

Hint

Save your selected visualization data to an .OPP file. You can then open this filedirectly using OPC Scout.

When visualization is working with the "OPC Scout" diagnostic tool, you can useany OPC-compatible software package (e.g. ProTool/Pro, WinCC) to access theOPC server running on the PC.

Page 81: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122600-03 8-1

If you want to learn more 8Detailed descriptions...

... of PROFInet devices and how to work with SIMATIC iMap can be found in theappropriate product documentation:

on the subject Manual can be found on the CD-ROM...

SIMATIC iMap Configuring Plants withSIMATIC iMap

SIMATIC iMap V1.2

WinLC PN V1.1 WinLC PN V1.1 WinLC PN V1.1

OPC Industrial communications witha PG/PC

SIMATIC NET V6.0

Page 82: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task
Page 83: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Getting Started with Component based AutomationA5E00122600-03 8-2

Page 84: SIMATIC Component based Automation Getting …...Getting Started - Introduction Getting Started with Component based Automation 1-2 A5E00122600-03 Description of the Automation Task

Index

Getting Started with Component based AutomationA5E00122600-03 Index-1

Analyzing process dataGetting Started 7-1

Assign IP addressWinLC PN 4-12

Assign PROFIBUS address 4-12Assign subnet mask

Subnet mask 4-12Assigning Addresses 4-10Breaking down the plant

Getting Started 2-1component interface

Defining 2-4Component interface

Conveyor component 2-5Coordinator component 2-4ProcessStation component 2-6

Continuation connector 4-15Create OPC Symbol File

Getting Started 7-1Creating a new library

Getting Started 4-2Creating PROFInet Components

Getting Started 3-8Diagnostic window

Getting Started 6-1Diagnostics

Getting Started 6-1Download 6-3Downloading programs and

interconnections 5-28Generation 5-18Getting Started

Steps of the Solution 1-3Importing

Getting Started 4-4Importing components into a library

Getting Started 4-4Inserting PROFInet Components from the

Library into the ProjectGetting Started 4-7

Interconnecting technological functionsGetting Started 4-14

InterconnectionGetting Started 4-15

Interconnection diagramGetting Started 2-7

Library window 4-6Network view

Getting Started 4-7Online-offline comparison 5-29OPC

OLE for Process Control 7-1Opening the sample library

Getting Started 4-3Plant view 4-14

PN_INFunction call 3-16, 3-24

PN_OUTFunction call 3-16, 3-24

Possible errorsGetting Started 6-3

Preview window 4-6PROFInet components for the sample

project 3-1Sample project

Getting_Started 4-16Saving a project 5-17Saving and generating a project 5-17Set PC Station

Getting Started 7-2Structure of the plant

Getting Started 2-3Technological functions 4-14technological modules

Breaking down the plant 2-1Visualization data

Getting Started 7-4

Index