106
SIMATIC Component Based Automation SIMATIC iMap Commission the Plant, Tutorial _ _____________ _ _____________ _ _____________ _ _____________ Preface Tutorial - Introduction 1 Part 1: Creating PROFINET components 2 Part 2: Systems commissioning 3 Appendix A SIMATIC Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02

Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Embed Size (px)

Citation preview

Page 1: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC Component Based Automation SIMATIC iMap Commission the Plant, Tutorial

________________________________________________________

Preface

Tutorial - Introduction 1

Part 1: Creating PROFINET components

2Part 2: Systems commissioning

3

Appendix A

SIMATIC

Component Based AutomationSIMATIC iMap Commission the Plant, Tutorial

Commissioning Manual

01/2008 A5E00716704-02

Page 2: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Safety Guidelines Safety Guidelines This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are graded according to the degree of danger.

DANGER indicates that death or severe personal injury will result if proper precautions are not taken.

WARNING indicates that death or severe personal injury may result if proper precautions are not taken.

CAUTION with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.

CAUTION without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.

NOTICE indicates that an unintended result or situation can occur if the corresponding information is not taken into account.

If more than one degree of danger is present, the warning notice representing the highest degree of danger will be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to property damage.

Qualified Personnel The device/system may only be set up and used in conjunction with this documentation. Commissioning and operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes in this documentation qualified persons are defined as persons who are authorized to commission, ground and label devices, systems and circuits in accordance with established safety practices and standards.

Prescribed Usage Note the following:

WARNING This device may only be used for the applications described in the catalog or the technical description and only in connection with devices or components from other manufacturers which have been approved or recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly as well as careful operation and maintenance.

Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.

Disclaimer of Liability We have reviewed the contents of this publication to ensure consistency with the hardware and software described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the information in this publication is reviewed regularly and any necessary corrections are included in subsequent editions.

Siemens AG Automation and Drives Postfach 48 48 90327 NÜRNBERG GERMANY

Ordernumber: A5E00716704-02 Ⓟ 10/2007

Copyright © Siemens AG 2008. Technical data subject to change

이 기기는 업무용(A급) 전자파 적합기기로서 판매자 또는 사용자는 이 점을 주의하시기 바라며 가정 외의 지역에서 사용하는 것을 목적으로 합니다.

Page 3: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 3

Preface

Purpose of the tutorial The aim of the manual is provide you with the skills to commission the example system described here. It is intended for programmers and persons involved in project planning, commissioning and servicing of automation systems.

Basic knowledge requirements A general knowledge of automation technology and comprehensive knowledge of the SIMATIC devices used are necessary in order to understand the manual. You will also need to know how to use computers or PC-like equipment (such as programming devices) in the Windows 2000 or XP. Because SIMATIC devices based on the STEP 7 are used with SIMATIC iMap, you should also know how to work with the basic software. For this information, refer to the manual entitled "Programming with STEP 7". We recommend that you read the manual "Getting Started with SIMATIC iMap", which will help you to get to know SIMATIC iMap.

Scope of the manual The manual is valid for the software package SIMATIC iMap V3.0 and higher.

Guide The tutorial includes: ● A description of the complete system ● Part 1: Instructions for creating PROFINET components and ● Part 2: Instructions for commissioning the system

Position in the information landscape This manual is part of the SIMATIC iMap documentation package. The documentation is installed with the software and includes the electronic manuals in PDF format: ● Getting Started with SIMATIC iMap ● Commissioning systems, tutorial ● Configuring systems in SIMATIC iMap ● Creating PROFINET components The complete documentation is also available as basic help in HTML format.

Page 4: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Preface

SIMATIC iMap Commission the Plant, Tutorial 4 Commissioning Manual, 01/2008, A5E00716704-02

Conventions Menu commands are written in bold letters, for example: Project > Save. Placeholders are set in angle brackets, for example: <file name>.

See also SIMATIC Technical Support (Page 103)

Page 5: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 5

Table of contents Preface ...................................................................................................................................................... 3 1 Tutorial - Introduction................................................................................................................................. 7

1.1 Overview ........................................................................................................................................7 1.2 Description of the Complete Plant .................................................................................................8

2 Part 1: Creating PROFINET components ................................................................................................ 11 2.1 Overview ......................................................................................................................................11 2.2 Requirements...............................................................................................................................12 2.3 Basic procedure ...........................................................................................................................12 2.4 Creating the PROFINET components .........................................................................................13 2.4.1 Machine 1.....................................................................................................................................13 2.4.1.1 Creating PROFINET component for CPU 317-2 PN/DP .............................................................13 2.4.1.2 Creating the PROFINET component for CPU 314C-2 DP ..........................................................21 2.4.1.3 Creating the PROFINET Component for ET 200M......................................................................27 2.4.2 Machine 2.....................................................................................................................................33 2.4.2.1 Creating PROFINET components for ET 200S with IM151/CPU ................................................33 2.4.2.2 Creating PROFINET component for ET 200X with BM147/CPU ................................................39 2.4.3 Machine 3.....................................................................................................................................45 2.4.3.1 Creating PROFINET component for CPU 315-2 DP ...................................................................45 2.4.3.2 Creating PROFINET component for CPU 319-3 PN/DP .............................................................50 2.4.4 Plant Control ................................................................................................................................59 2.4.4.1 Creating the PROFINET component for WinLC PN ....................................................................59

3 Part 2: Systems commissioning............................................................................................................... 65 3.1 Overview ......................................................................................................................................65 3.2 Requirements...............................................................................................................................65 3.3 Basic procedures .........................................................................................................................66 3.4 Set up the hardware of the machines: .........................................................................................67 3.4.1 Machine 1.....................................................................................................................................67 3.4.1.1 CPU 317-2 PN/DP - hardware setup ...........................................................................................67 3.4.1.2 ET 200M - Hardware Setup .........................................................................................................67 3.4.1.3 CPU 314C-2 DP - Hardware Setup .............................................................................................68 3.4.2 Machine 2.....................................................................................................................................69 3.4.2.1 IE/PB Link - Hardware Setup .......................................................................................................69 3.4.2.2 ET 200S with IM151/CPU - Hardware Setup...............................................................................69 3.4.2.3 ET 200X with BM147/CPU - Hardware Setup .............................................................................70 3.4.3 Machine 3.....................................................................................................................................70 3.4.3.1 CPU 315-2 DP with CP 343-1 - Hardware Setup ........................................................................70 3.4.3.2 CPU 319-3 PN/DP with ET 200S (IM 151-3 PN) - hardware setup.............................................71 3.4.4 Plant Control ................................................................................................................................72 3.4.4.1 WinLC PN - hardware setup ........................................................................................................72 3.5 First assignment of the addresses (baptism)...............................................................................72

Page 6: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Table of contents

SIMATIC iMap Commission the Plant, Tutorial 6 Commissioning Manual, 01/2008, A5E00716704-02

3.5.1 Assign an IP address to a device the first time........................................................................... 72 3.5.2 Settings for the PC station with WinLC PN................................................................................. 75 3.5.3 Assigning a PROFIBUS Device a PROFIBUS Address the First Time ...................................... 76 3.6 Configuration in SIMATIC iMap .................................................................................................. 80 3.6.1 Configuring the Plant - Basic Procedure..................................................................................... 80 3.6.2 Creating a New Project in SIMATIC iMap................................................................................... 80 3.6.3 Configuring a complete plant in SIMATIC iMap. ......................................................................... 81 3.6.4 Assigning a name to a PROFINET IO device with SIMATIC iMap............................................. 88 3.7 Commissioning the complete plant ............................................................................................. 91 3.8 Online monitoring and OPC access............................................................................................ 93 3.8.1 Online monitoring of complete plant ........................................................................................... 93 3.8.2 Analyze process data with OPC ................................................................................................. 96

A Appendix................................................................................................................................................ 101 A.1 Literature and Links................................................................................................................... 101 A.2 Tips for Operation ..................................................................................................................... 102 A.3 SIMATIC Technical Support...................................................................................................... 103

Index...................................................................................................................................................... 105

Page 7: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 7

Tutorial - Introduction 11.1 Overview

Aim of the tutorials for commissioning the system Numerous tasks are required to commission a system with PROFINET and PROFIBUS devices: in STEP 7, SIMATIC iMap and the system itself. The aim of the tutorial is to provide you with the skills to commission the example system described here.

Content of the tutorial The tutorial includes: ● A description of a complete system ● Part 1: Instructions for creating PROFINET components and ● Part 2: Instructions for commissioning the system

Procedure Based on the described example, you can learn how to commission a complex system using step-by-step procedures from the creation of the PROFINET components to online monitoring of the configured system. If you have pre-assembled PROFINET components and you only wish to interconnect them, you can start with Part 2: Commissioning the system.

Examples You will find examples for the instructions described below: ● STEP 7 Basic project "Zxx27_09_CBA_Example" in the STEP 7 installation directory

under \Step7\EXAMPLES\Zxx27_09 ● PROFINET components in the installation directory of SIMATIC iMap under

\iMap\examples\components ● SIMATIC iMap-Projekt "Project_002" in the installation directory of SIMATIC iMap under

\iMap\examples\projects\Project_002

Page 8: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Tutorial - Introduction 1.2 Description of the Complete Plant

SIMATIC iMap Commission the Plant, Tutorial 8 Commissioning Manual, 01/2008, A5E00716704-02

1.2 Description of the Complete Plant The complete plant consists of three machines and a central plant control system. Each machine includes at least one PROFINET device with an Ethernet connection. When the PROFINET device is a PROFIBUS master, the machine may also contain a PROFIBUS device.

Configuration of the plant

Figure 1-1 Complete plant

Page 9: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Tutorial - Introduction 1.2 Description of the Complete Plant

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 9

Plant components Components Device Device type Function Plant_Control PC station with WinLC PN PROFINET device Plant control

visualization (optional) Machine 1 – Processing and measurement Coordinator CPU 317-2 PN/DP PROFINET device with proxy

functionality (DP master)

Coordination of Machine 1

Processing CPU 314-2 DP PROFIBUS device (intelligent DP slave)

Machining station

Measurement ET 200M with IM 153 PROFIBUS device (DP slave) Measuring station Machine 2 – Conveyance and scanning IE/PB link Network gateway with proxy

functionality (DP master) No independent function

Conveyor ET 200X with BM147/CPU PROFIBUS device (intelligent DP slave)

Conveyor station

Scan ET 200S with IM151/CPU PROFIBUS device (intelligent DP slave)

Scan

Machine 3 – Final assembly Application CPU 319-3 PN/DP with ET 200S

(IM 151-3 PN) PROFINET device Station for washing,

filling and labeling Packaging CPU 315-2 DP

with CP 343-1 PROFINET device Packaging station

See also Basic procedure (Page 12)

Page 10: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Tutorial - Introduction 1.2 Description of the Complete Plant

SIMATIC iMap Commission the Plant, Tutorial 10 Commissioning Manual, 01/2008, A5E00716704-02

Page 11: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 11

Part 1: Creating PROFINET components 22.1 Overview

You need PROFINET components to configure a plant with SIMATIC iMap. They can be created at any time regardless of the actual configuration of the hardware. You can create PROFINET components as required for the entire plant or for one subplant. If you use the pre-assembled PROFINET components, you can skip this chapter and continue with Part 2: Commissioning the System. The STEP 7 basic project for the plant described in the tutorial contains all the pre-configured devices in accordance with the following description. The project is stored as "Zxx27_09" in the path C:\Program Files\Siemens\Step7\EXAMPLES\ when SIMATIC iMap STEP 7 AddOn V3.0 and higher is installed.

Components of the plant

Plant PROFINET device PROFIBUS device PROFINET component Plant control system PC station with WinLC

PN Plant control system

Machine 1, Processing

CPU 317-2 PN/DP Coordinator CPU 314C-2 DP Processing ET 200M with IM153-1 ET200M_Measuring Machine 2, Scanning IE/PB link IE-PB-Link1_5MB*) ET 200S with IM151/CPU ET200S_Scan ET 200X with

BM147/CPU ET200X_Conveyor

Machine 3, Packaging

CPU 319-3 PN/DP Application CPU 315-2 DP with a

CP 343-1 Packaging

*) The PROFINET components of the gateway IE/PB Link is provided in complete form in the installation directory of STEP 7 under Step7\s7cbacompproj.

Page 12: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.2 Requirements

SIMATIC iMap Commission the Plant, Tutorial 12 Commissioning Manual, 01/2008, A5E00716704-02

2.2 Requirements

Software requirements The following software must be installed before the PROFINET components can be created for the plant: ● STEP 7 V5.3 SP3 and higher ● SIMATIC iMap STEP 7 AddOn V3.0 You need administrator rights for the installation of SIMATIC iMap STEP 7 AddOn.

2.3 Basic procedure

Required steps The PROFINET components are created using STEP 7. The following steps are required to create each PROFINET component:

Figure 2-1 Basic Procedure - Creating PROFINET Components

Page 13: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 13

2.4 Creating the PROFINET components

2.4.1 Machine 1

2.4.1.1 Creating PROFINET component for CPU 317-2 PN/DP Create the PROFINET "Coordinator" component for coordination of Machine 1, Processing.

Content of the PROFINET component The PROFINET "Coordinator" component contains:

PROFINET component PROFINET device Technological function Coordinator SIMATIC 300 station with

CPU 317-2 PN/DP (PROFINET device with proxy functionality)

Coordination of Machine 1 (S7 program with the technological interface)

Basic procedures The PROFINET components are created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Create the PROFINET component using a menu command and save it in a directory.

Page 14: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 14 Commissioning Manual, 01/2008, A5E00716704-02

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station with the name "Coordinator". 2. Configure the hardware based on the following diagram:

Note: The DP master system (X1) must be connected to a network. The transmission rate set here is used in SIMATIC iMap for the PROFIBUS of the PROFINET device with proxy functionality. No IP address and subnet mask has to be configured for Industrial Ethernet (X2).

How to create the interface DB Task Procedure 1. In SIMATIC Manager, mark the SIMATIC 300 station and then select the Create PROFINET Interface

command from the pop-up menu. This opens the "New/Open PROFINET Interface" dialog box.

2. Select the 317-2 PN/DP CPU from the left pane of the "New/Open PROFINET Interface" dialog box. Add the function "Coordinator" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Confirm your entries with "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

Page 15: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 15

Task Procedure 4. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

6. The interconnectable connectors are visualized in graphic format in the right pane of the Interface Editor, as in

the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Additional information... about the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

Page 16: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 16 Commissioning Manual, 01/2008, A5E00716704-02

How to create the S7 program Task Procedure 1. Copy all blocks from the "CPU 300-2 PN/DP" block folder of the PROFINET System Library into the block

folder of the CPU. 2. Create the program. The following is an example based on a section from OB1. The example illustrates the

reference to the PROFINET interface DB. … //enable component A "PN_Interface_DB".On JCN noon = "PN_Interface_DB".Standby //forward HMIStop to Output HMIStop A "PN_Interface_DB".Ext_StoP = "PN_Interface_DB".Ext_Ostop //increments OCnt if Cnt==Ocnt L "PN_Interface_DB".Counter_In L "PN_Interface_DB".Counter_Out <>D JC GO L "PN_Interface_DB".Counter_Out L 1 +D T "PN_Interface_DB".Counter_OutGO: NOP 0 …

3. Compile and debug the S7 program.

Page 17: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 17

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, select the SIMATIC PC station and select Create PROFINET component in the pop-up

menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name: "Coordinator“.

Page 18: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 18 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. In the "Component type" tab, select "Standard component with proxy functionality" and "Updating PN

interfaces automatic (at cycle control point)".

Page 19: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 19

Task Procedure 4. In the "Storage areas" tab, you can enter a path of your choice or use the default path.

Page 20: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 20 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 5. In the "Additional properties" tab, you can enter the paths of the icon files and the path of the documentation

link or use the default paths. You can also use the included icons (default path: Step7\s7data\s7cbac1x).

Result: The PROFINET component will be stored as an XML file at the specified file location along with the archived component project.

Page 21: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 21

2.4.1.2 Creating the PROFINET component for CPU 314C-2 DP Create the PROFINET component "Processing" as the processing station with CPU 314C-2 DP for Machine 1.

Content of the PROFINET component The PROFINET "Processing" component contains:

PROFINET component PROFIBUS device Technological function Processing CPU 314C-2 DP

(intelligent DP slave) Processing station (S7 program with the component interface)

Basic procedure The PROFINET component is created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Create the PROFINET component using a menu command and save it in a directory.

Page 22: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 22 Commissioning Manual, 01/2008, A5E00716704-02

How to configure the hardware Task

Procedure

1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station. 2. Configure the hardware based on the following diagram:

The DP connection (X2) must be configured as a DP slave.

How to create the interface DB Task Procedure 1. In SIMATIC Manager, mark the SIMATIC S7-300 station and then select the Create PROFINET Interface

command from the pop-up menu. The "New/Open PROFINET Interface" dialog box is opened.

2. Select CPU 314C-2 DP in the left pane of the "New/Open PROFINET Interface" dialog. Add the function "Processing" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Click "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

Page 23: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 23

Task Procedure 4. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required

properties: Name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: Name, data type, interconnectable, HMI, MES as shown in the diagram below.

6. Enter the S7 variables for HMI/MES access via OPC in the S7 variables section and assign the entries the

required properties: name, data type, HMI/MES, as shown in the following diagram:

Selected entries are made read-only when the "Read-only" option is activated. The entries cannot be seen in SIMATIC iMap; they are not displayed in the right window of the Interface Editor.

Page 24: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 24 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 7. The interconnectable connections are visualized in graphic format in the right pane of the Interface Editor, as

in the plant view of SIMATIC iMap.

8. Save the PROFINET interface DB using the File > Save menu command.

Additional information... about the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

How to create the S7 program Task Procedure 1. Copy all the blocks from the "I-DP-Slave" block folder of the PROFINET System Library into the block folder of

the CPU. 2. Create the S7 program. The following is an example based on a section from OB1. The example illustrates the

reference to the PROFINET interface DB. //refreshing the input section of the interface db CALL "PN_IN" DB_NO :="PN_InOut_DB" RET_VAL:=MW20 … CALL "Conveyor_with_stop" , "Conveyor_with_stop_DB" ExternStop :="PN_Interface_DB".Ext_Stop ExternStart :="PN_Interface_DB".Ext_Start RunDelay :="PN_Interface_DB".Run_Delay …. //refreshing the output section of the interface db CALL "PN_OUT" DB_NO :="PN_InOut_DB" RET_VAL:=MW22

3. Compile and debug the S7 program.

CAUTION Note that the PN_IN (FC10) block must be called at the start of OB1 and the PN_OUT (FC11) block at the end of OB1.

Page 25: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 25

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, select the SIMATIC 300 station and then select the Create PROFINET Component

command from the pop-up menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name: "Processing".

Page 26: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 26 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Accept the default settings in the "Component type" tab:

Result: The PROFINET component is stored as an XML file at the specified file location along with the component project.

Page 27: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 27

2.4.1.3 Creating the PROFINET Component for ET 200M Create the PROFINET "ET200M_Measuring" component as a measuring module for Machine 1.

Content of the PROFINET component The PROFINET "ET200M_Measuring" component contains:

PROFINET component PROFIBUS device Technological function ET200M_Measuring ET 200M with IM153

(DP slave with fixed functionality)

Measuring module Technological connection only (see below))

Note The PROFINET component ET200M_Measuring contains no S7 program, only the component interface – whereby the signal inputs are formed directly by the outputs of the technological function and the signal outputs are formed by the inputs of the technological function.

Basic procedure The PROFINET component is created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Create the PROFINET component using a menu command and save it in a directory.

Page 28: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 28 Commissioning Manual, 01/2008, A5E00716704-02

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station. 2. Configure the hardware based on the following diagram:

The input and output modules of the IM153-1 are important here.

Note The CPU (DP master) is not part of the PROFINET component to be created and is therefore not displayed in SIMATIC iMap. It is needed, however, in HW Config for the configuration.

How to create the interface DB Task Procedure 1. In SIMATIC Manager, mark the SIMATIC 300 station and then select the Create PROFINET Interface

command from the context menu. The "New/Open PROFINET Interface" dialog box is opened.

2. Select IM 153-1 in the left window of the "New/Open PROFINET Interface" dialog. Insert the function "ET200M_Measuring" and confirm the field "Insert PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Click "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

Page 29: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 29

Task Procedure 4. The output signals of the IM 153-1 are formed by the addresses (slots) of the PN_Input section. In the

following illustration, DP_MasterOutputSlot1 corresponds to the address area of the first output module (slot 5 in HW Config) and DP_MasterOutputSlot2 corresponds to the address area of the second output module (slot 6 in HW Config). Enter the inputs of the technological function in the slots of the PN_Input section, and assign the entries the required properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. The input signals of the IM 153-1 are formed by the addresses (slots) of the PN_Output section. In the

following illustration, DP_MasterInputSlot1 corresponds to the address area of the first input module (slot 4 in HW Config). Enter the outputs of the technological function in the slots of the PN_Output section, and assign the entries the required properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

Page 30: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 30 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 6. The interconnectable connections are visualized in graphic format in the right pane of the Interface Editor, as

in the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Additional information... about the interface DB can be found under "Properties of the Interface DB" and "Special features of DP slaves with fixed functionality" in the SIMATIC iMap or SIMATIC Manager basic help.

S7 program No separate S7 program is needed for the ET 200M since it is a module without its own SPS (CPU).

Page 31: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 31

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, select the SIMATIC 300 station and then select the Create PROFINET Component

command from the pop-up menu. 2. In the "General" tab:

• Activate the option "Create component from a slave". • Activate the option "Identification" and enter the following name: "ET200M_Measuring".

Page 32: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 32 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Accept the default settings in the "Component type" tab:

Result: The PROFINET component will be stored as an XML file at the specified file location along with the archived component project.

Page 33: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 33

2.4.2 Machine 2

2.4.2.1 Creating PROFINET components for ET 200S with IM151/CPU Create PROFINET component "ET200S_Scan" as the scanning station with ET 200S for Machine 2.

Content of the PROFINET component The PROFINET "ET200S_Scan" component contains:

PROFINET component PROFIBUS device Technological function ET200S_Scan ET 200S with IM151/CPU

(intelligent DP slave) Scanning station (S7 program with the component interface)

Basic procedure The PROFINET component is created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Create the PROFINET component using a menu command and save it in a directory.

Page 34: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 34 Commissioning Manual, 01/2008, A5E00716704-02

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station. 2. Configure the hardware based on the following diagram:

The DP connection (X2) must be configured as a DP slave.

How to create the interface DB Task Procedure 1. In SIMATIC Manager, mark the SIMATIC 300 station and then select the Create PROFINET Interface

command from the context menu. The "New/Open PROFINET Interface" dialog box is opened.

2. Select IM 151/CPU in the left window of the "New/Open PROFINET Interface" dialog. Add the function "ET200S_Scan" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

Page 35: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 35

Task Procedure 3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type,

"Global DB". Click "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

4. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required properties: Name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: Name, data type, interconnectable, HMI, MES as shown in the diagram below.

Page 36: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 36 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 6. Enter the S7 variables for HMI/MES access via OPC in the S7 variables section and assign the entries the

required properties: name, data type, HMI,MES, as shown in the following diagram:

Selected entries are made read-only when the "Read-only" option is activated. The entries cannot be seen in SIMATIC iMap; they are not displayed in the right window of the Interface Editor.

7. The interconnectable connections are visualized in graphic format in the right pane of the Interface Editor, as in the plant view of SIMATIC iMap.

8. Save the PROFINET interface DB using the File > Save menu command.

Additional information... About the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

Page 37: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 37

How to create the S7 program Task Procedure 1. Copy all blocks from the "I-DP-Slave" block folder of the PROFINET System Library into the block folder of the

CPU. 2. Create the S7 program. The following is an example based on a section from OB1. The example illustrates the

reference to the PROFINET interface DB. //refreshing the input section of the interface db CALL "PN_IN" DB_NO :="PN_InOut_DB" RET_VAL:=MW20 … CALL "Conveyor_with_stop" , "Conveyor_with_stop_DB" ExternStop :="PN_Interface_DB".Ext_Stop ExternStart :="PN_Interface_DB".Ext_Start RunDelay :="PN_Interface_DB".Run_Delay …. //refreshing the output section of the interface db CALL "PN_OUT" DB_NO :="PN_InOut_DB" RET_VAL:=MW22

3. Compile and debug the S7 program.

CAUTION Note that the PN_IN (FC10) block must be called at the start of OB1 and the PN_OUT (FC11) block at the end of OB1.

Page 38: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 38 Commissioning Manual, 01/2008, A5E00716704-02

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, select the SIMATIC 300 station and then select the Create PROFINET Component

command from the shortcut menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name: "ET200S_Scan".

Page 39: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 39

Task Procedure Accept the default settings in the "Component type" tab:

Result: The PROFINET component will be stored as an XML file at the specified file location along with the component project.

2.4.2.2 Creating PROFINET component for ET 200X with BM147/CPU Create the PROFINET component "ET200X_Conveyor" for controlling a conveyor belt using with ET 200X for Machine 2.

Content of the PROFINET component The PROFINET "ET200X_Conveyor" component contains:

PROFINET component PROFIBUS device Technological function ET200X_Conveyor ET 200X with basic module

BM147/CPU (intelligent DP slave)

Conveyance station (S7 program with the component interface)

Page 40: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 40 Commissioning Manual, 01/2008, A5E00716704-02

Basic procedure The PROFINET component is created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Select the PROFINET component using a menu command and store it in a directory.

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station. 2. Configure the hardware based on the following diagram:

The DP connection (X2) must be configured as a DP slave.

Page 41: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 41

How to create the interface DB Task Procedure 1. In SIMATIC Manager, mark the SIMATIC 300 station and then select the Create PROFINET Interface

command from the context menu. The "New/Open PROFINET Interface" dialog box is opened.

2. Select BM 147/CPU in the left window of the "New/Open PROFINET Interface" dialog. Add the function "ET200X_Conveyor" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Click "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

4. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required properties: Name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: Name, data type, interconnectable, HMI, MES as shown in the diagram below.

Page 42: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 42 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 6. The interconnectable connections are visualized in graphic format in the right pane of the Interface Editor, as

in the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Additional information... About the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

How to create the S7 program Task Procedure 1. Copy all blocks from the "I-DP-Slave" block folder of the PROFINET System Library into the block folder of the

CPU. 2. Create the S7 program. The following is an example based on a section from OB1. The example illustrates the

reference to the PROFINET interface DB. //refreshing the input section of the interface db CALL "PN_IN" DB_NO :="PN_InOut_DB" RET_VAL:=MW20 … CALL "Conveyor_with_stop" , "Conveyor_with_stop_DB" ExternStop :="PN_Interface_DB".Ext_Stop ExternStart :="PN_Interface_DB".Ext_Start RunDelay :="PN_Interface_DB".Run_Delay …. //refreshing the output section of the interface db CALL "PN_OUT" DB_NO :="PN_InOut_DB" RET_VAL:=MW22

3. Compile and debug the S7 program.

CAUTION Note that the PN_IN (FC10) block must be called at the start of OB1 and the PN_OUT (FC11) block at the end of OB1.

Page 43: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 43

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, select the SIMATIC 300 station and then select the Create PROFINET Component

command from the shortcut menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name:

"ET200X_Conveyor°.

Page 44: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 44 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Accept the default settings in the "Component type" tab:

Result: The PROFINET component will be stored as an XML file at the specified file location along with the archived component project.

See also Creating PROFINET components for ET 200S with IM151/CPU (Page 33)

Page 45: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 45

2.4.3 Machine 3

2.4.3.1 Creating PROFINET component for CPU 315-2 DP For Machine 3, Finishing, create the PROFINET component "Packaging" from a CPU 315-2 DP with a CP 343-1 PN as the controller for the packaging station.

Content of the PROFINET component The PROFINET "Packaging" component contains:

PROFINET component PROFINET device Technological function Packaging CPU 315-2 DP

with CP 343-1 (PROFINET device without proxy functionality)

Packaging station (S7 program with the component interface)

Basic procedures The PROFINET components are created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Create the PROFINET component using a menu command and save it in a directory.

Page 46: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 46 Commissioning Manual, 01/2008, A5E00716704-02

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station with the name "Packaging". 2. Configure the hardware based on the following diagram:

Note: No IP address has to be configured for the CP 343-1.

How to create the interface DB Task Procedure 1. In SIMATIC Manager, mark the SIMATIC S7-300 station and then select the Create PROFINET Interface

command from the shortcut menu. This opens the "New/Open PROFINET Interface" dialog box.

2. Select CPU 315-2 DP in the left window of the "New/Open PROFINET Interface" dialog. Add the function "Packaging" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Confirm your entries with "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

Page 47: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 47

Task Procedure 4. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

6. The interconnectable connectors are visualized in graphic format in the right pane of the Interface Editor, as in

the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Additional information... about the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

Page 48: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 48 Commissioning Manual, 01/2008, A5E00716704-02

How to create the S7 program Task Procedure 1. Copy all blocks from the "CPU 300" block folder of the PROFINET System Library into the block folder of the

CPU. 2. Create the S7 program in OB1. The following is an example based on a section from OB1. The example

illustrates the reference to the PROFINET interface DB. … //refreshing the interface db CALL "PN_InOut", DB41 LADDR :=W#16#110 DONE :=M30.0 ERROR :=M30.1 STATUS:=MW32 //calling the technological function block CALL "Conveyor_with_stop" , "Conveyor_with_stop_DB" ExternStop :="PN_Interface_DB".Ext_Stop ExternStart :="PN_Interface_DB".Ext_Start RunDelay :="PN_Interface_DB".Run_Delay … StartNext :="PN_Interface_DB".Start_Next Running :="PN_Interface_DB".Running … //forwarding the counter value L "PN_Interface_DB".Counter_In T "PN_Interface_DB".Counter_Out …

3 Compile and debug the S7 program.

Note Note that the PN_InOut (FB88) block must be called cyclically in the user program, e.g. in OB1 or in a time OB.

Page 49: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 49

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, mark the SIMATIC 300 station and then select the Create PROFINET Component

command from the shortcut menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name: “Packaging“.

Page 50: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 50 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Select "Standard component without proxy functionality" in the "Component type" tab.

Result: The PROFINET component will be stored as an XML file at the specified file location along with the archived component project.

2.4.3.2 Creating PROFINET component for CPU 319-3 PN/DP For Machine 3, Finishing, create the PROFINET component "Application" from a CPU 319-3 PN/DP with ET 200S (IM 151-3 PN).

Content of the PROFINET component The PROFINET "Application" component contains:

PROFINET component PROFINET device Technological function Application CPU 319-3 PN/DP with ET

200S (IM 151-3 PN) Station for washing, filling and labeling

Page 51: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 51

Basic procedures The PROFINET components are created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the PROFINET component using a menu command and save it in a directory.

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC 300 station with the name "Application". 2. Configure the hardware based on the following diagram:

Notes: The DP master system (X2) must be connected to the network. The transmission rate set here is used in SIMATIC iMap for the PROFIBUS of the PROFINET device with proxy functionality. The PROFINET IO system (X3) must be connected to the network in order to be able to connect the ET 200S (IM 151-3 PN) to this line.

Page 52: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 52 Commissioning Manual, 01/2008, A5E00716704-02

Creating the functions and interface DB for multi-function components Task Procedure 1. In SIMATIC Manager, mark the SIMATIC S7-300 station and then select the Create PROFINET Interface

command from the shortcut menu. This opens the "New/Open PROFINET Interface" dialog box.

2. Select the 319-3 PN/DP CPU from the left pane of the "New/Open PROFINET Interface" dialog box. Add the function "Rinser" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Confirm your entries with "OK."

4. Configure the functions and Global DBs based on the following diagram:

Page 53: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 53

Configuration of the interface DB of the "Rinser" function Task Procedure 1. Open the interface DB of the "Rinser" function in the PROFINET interface editor. 2. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

6. The interconnectable connectors are visualized in graphic format in the right pane of the Interface Editor, as in

the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Page 54: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 54 Commissioning Manual, 01/2008, A5E00716704-02

Configuration of the interface DB of the "Filler" function Task Procedure 1. Open the interface DB of the "Filler" function in the PROFINET interface editor. 2. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

6. The interconnectable connectors are visualized in graphic format in the right pane of the Interface Editor, as in

the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Page 55: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 55

Configuration of the interface DB of the "Capper_Labeler" function Task Procedure 1. Open the interface DB of the "Capper_Labeler" function in the PROFINET interface editor. 2. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

6. The interconnectable connectors are visualized in graphic format in the right pane of the Interface Editor, as in

the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Additional information... about the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

Page 56: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 56 Commissioning Manual, 01/2008, A5E00716704-02

How to create the S7 program Task Procedure 1. Copy all blocks from the "CPU 319" block folder of the PROFINET System Library into the block folder of the

CPU. 2. Create the program. The following is an example based on a section from OB1. The example illustrates the

reference to the PROFINET interface DB. … //enable component A "PN_Interface_DB".On JCN noon = "PN_Interface_DB".RTime //forward Start_Next to Go A "PN_Interface_DB".Start_Next = "PN_Interface_DB".Go //increments OCnt if Cnt==Ocnt L "PN_Interface_DB".Caps L "PN_Interface_DB".Speed <>D JC GO L "PN_Interface_DB".Speed L 1 +D T "PN_Interface_DB".Speed GO: NOP 0 …

3 Compile and debug the S7 program.

Page 57: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 57

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, mark the SIMATIC 300 station and then select the Create PROFINET Component

command from the shortcut menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name: “Application“.

Page 58: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 58 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Select "Standard component with proxy functionality" in the "Component type" tab.

Result: The PROFINET component will be stored as an XML file at the specified file location along with the archived component project.

Page 59: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 59

2.4.4 Plant Control

2.4.4.1 Creating the PROFINET component for WinLC PN Create the PROFINET "Plant Control" component for coordination of the complete plant.

Content of the PROFINET component The PROFINET "Plant Control" component contains:

PROFINET component PROFINET device Technological function Plant control system PC station with Win AC PN

option (WinLC PN) (PROFINET device without proxy functionality)

Plant control system (S7 program with the technological interface)

Basic procedures The PROFINET components are created with STEP 7. The following steps are required for creating: ● In SIMATIC Manager, create a project for a component and configure the station

hardware in HW Config. ● Create the interface DB for the technological interface. ● Create the S7 program. ● Select the PROFINET component using a menu command and store it in a directory.

Page 60: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 60 Commissioning Manual, 01/2008, A5E00716704-02

How to configure the hardware Task Procedure 1. Create a project in SIMATIC Manager and insert a SIMATIC PC station with the name "Plant Control". 2. Configure the hardware based on the following diagram:

Note: No IP address has to be configured for Ethernet-CP IE General.

Note: Optional proxy functionality If the PC station of the WinLC PN has a PROFIBUS connector, such as a CP5611, you can optionally create a PROFINET component with proxy functionality. This will allow you to connect PROFIBUS devices (DP slaves) to the WinLC PN. Perform the following additional task in this case: ● Configure the PC station in HW Config and connect it to the DP master system network. ● Select "Standard component with proxy functionality" in the "Component type" tab to

create the PROFINET component.

Page 61: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 61

How to create the interface DB Task Procedure 1. In SIMATIC Manager, select the PC station and select Create PROFINET Interface from the shortcut menu.

This opens the "New/Open PROFINET Interface" dialog box. 2. Select WinLC PN in the left window of the "New/Open PROFINET Interface" dialog. Add the function "Plant

Control" and click on "Add PN block". Result: The next dialog box shows the properties of the new block to create.

3. In the "Name and type" field, enter the desired block number, DB100 for example, and select the block type, "Global DB". Confirm your entries with "OK." Result: The interface DB is created in the PROFINET interface editor. Double-click the new entry to open the interface DB in the PROFINET interface editor.

4. Enter the inputs of the technological function in the PN_Input section, and assign the entries the required properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

5. Enter the outputs of the technological function in the PN_Output section, and assign the entries the required

properties: name, data type, interconnectable, HMI, MES as shown in the diagram below.

Page 62: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 62 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 6. The interconnectable connectors are visualized in graphic format in the right pane of the Interface Editor, as in

the plant view of SIMATIC iMap.

7. Save the PROFINET interface DB using the File > Save menu command.

Additional information... about the interface DB can be found under "Properties of the Interface DB" in the SIMATIC iMap or SIMATIC Manager basic help.

How to create the S7 program Task Procedure 1. Copy all blocks from the "WinLC PN" block folder of the PROFINET System Library into the block folder of the

WinLC PN. 2. Create the program. The following is an example based on a section from OB1. The example illustrates the

reference to the PROFINET interface DB. … //forwards RunDelay to ORunDelay L "PN_Interface_DB".RunDelay T "PN_Interface_DB".RunDelay_Out //forwards EStop to OEStop A "PN_Interface_DB".HMIStop = "PN_Interface_DB".HMIStop_Out //increments OCnt if Cnt==OCnt L "PN_Interface_DB".Counter_In L "PN_Interface_DB".Counter_Out <>D JC GO L "PN_Interface_DB".Counter_Out L 1 +D T "PN_Interface_DB".Counter_Out GO: NOP 0 ...

3. Compile and debug the S7 program.

Page 63: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 63

How to create a PROFINET component Task Procedure 1. In SIMATIC Manager, select the SIMATIC PC station and select Create PROFINET component in the shortcut

menu. 2. In the "General" tab, activate the option "Identification, New" and enter the following name: "Plant Control“.

Page 64: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 1: Creating PROFINET components 2.4 Creating the PROFINET components

SIMATIC iMap Commission the Plant, Tutorial 64 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Select "Standard component without proxy functionality" in the "Component type" tab.

Result: The PROFINET component will be stored as an XML file at the specified file location along with the archived component project.

Page 65: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 65

Part 2: Systems commissioning 33.1 Overview

The following descriptions contain step-by-step instructions for commissioning the complete plant.

See also Requirements (Page 65) Basic procedures (Page 66) Description of the Complete Plant (Page 8)

3.2 Requirements

Hardware Requirements The devices must be operable and have the latest firmware versions installed.

Software requirements The following software including the required licenses must be installed on the engineering station: ● STEP 7 V5.3 SP3 and higher

Required for the generation of the project, the download of the program and the diagnostics for the specific device.

● SIMATIC iMap, V3.0 and later – You need administrator rights for the installation of SIMATIC iMap. – You need at least main user rights to operate SIMATIC iMap.

● SIMATIC NET V6.2 SP2 and higher Optional – required for the use of WinLC PN and OPC. SIMATIC NET must also be installed on the PC station with WinLC PN.

Page 66: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.3 Basic procedures

SIMATIC iMap Commission the Plant, Tutorial 66 Commissioning Manual, 01/2008, A5E00716704-02

Tip Devices are assigned fixed IP and PROFIBUS addresses in the following descriptions. To ensure correct commissioning, we recommend you use the same addresses. All IP addresses must be in the same subnet for the described plant.

Requirement for Configuration of the Plant in SIMATIC iMap The PROFINET components are created and stored in the file system. Tip: Use the example components from the installation directory of SIMATIC iMap: \imap\examples\components.

3.3 Basic procedures

Required steps The following commissioning tasks must be performed for each device of a plant: ● In the plant:

– Setup hardware – Configure the addresses on the PROFIBUS devices – Network devices and connect them with the engineering PC

● In STEP 7: – Assign IP and PROFIBUS addresses once as needed – Assign PROFINET IO addresses – Make settings for downloading, online monitoring and diagnostics

● In SIMATIC iMap: – Configure the plant – Assign PROFINET IO device names for the first time – Commission the plant (download configuration data to the target devices) – Perform online monitoring and diagnostics for the plant

Page 67: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.4 Set up the hardware of the machines:

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 67

3.4 Set up the hardware of the machines:

3.4.1 Machine 1

3.4.1.1 CPU 317-2 PN/DP - hardware setup

Required Hardware You will need the following S7-300 modules:

Number Name Order No.: 1x CPU 317-2 PN/DP 6ES7 317 2EJ10-0AB0 / V2.1 1x Power supply module PS 307 5A 6ES7 307-1EA00-0AA0

How to setup the CPU 317-2 PN/DP Task Procedure 1. Mount the modules on the rail. 2. Connect the power supply. 3. Connect the PG/PC using the PG cable to the MPI interface of the CPU 317-2 PN/DP. 4. Connect the Ethernet cable to the CPU 317-2 PN/DP. 5. Switch on the power supply of the CPU 317-2 PN/DP.

3.4.1.2 ET 200M - Hardware Setup

Required Hardware You will require the following modules:

Number Name Order No.: 1 x Interface module IM 153-1 6ES7 153-1AA**-0XB0 1 x Expansion module DI 16xDC24V (no current) 6ES7 321-1BH82-0AA0 1 x Expansion module DO 16xDC24V/0.5A 6ES7 322-1BH01-0AA0 1 x Expansion module DO 8xDC24V/0.5A 6ES7 322-8BF80-0AB0

Page 68: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.4 Set up the hardware of the machines:

SIMATIC iMap Commission the Plant, Tutorial 68 Commissioning Manual, 01/2008, A5E00716704-02

How to set up the ET 200M Task Procedure 1. Mount the modules on the rail. 2. Set the interface module IM 153-1 to PROFIBUS address 3. 3. Connect the power supply. 4. Wire the I/O modules. 5. Connect the PROFIBUS cable to the IM153-1.

3.4.1.3 CPU 314C-2 DP - Hardware Setup

Required Hardware You will need the following S7-300 module:

Number Name Order No.: 1x CPU 314C-2 DP 6ES7 314 6CF01-0AB0 / V2.0

How to setup the CPU 314C-2 PN/DP Task Procedure 1. Mount the module on the rail. 2. Connect the power supply. 3. Connect the PG/PC using the PG cable to the MPI interface of the CPU 314C-2 PN/DP. 4. Switch on the power supply of the CPU 314C-2 PN/DP.

Page 69: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.4 Set up the hardware of the machines:

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 69

3.4.2 Machine 2

3.4.2.1 IE/PB Link - Hardware Setup

Required Hardware One network gateway IE/PB Link with the required accessories (see Device Manual).

How to set up the IE/PB Link Task Procedure 1. Mount the modules on the rail. 2. Connect the power supply. 3. Connect the IE/PB Link to the Ethernet and PROFIBUS. 4. Switch on the power supply.

3.4.2.2 ET 200S with IM151/CPU - Hardware Setup

Required Hardware You will require the following modules:

Number Name Order No.: 1 x Interface module IM151/7 CPU and terminal

module, 1 unit 6ES7 151-7AA10-0AB0 / V2.1

2 x Terminal module TM-P15S23-A1, 1 unit 6ES7 193-4CC30-0AA0 2 x Terminal module TM-E15S24-A1, 5 units 6ES7 193-4CA20-0AA0 2 x Power module PM-E DC24 V, 1 unit 6ES7 138-4CA00-0AA0 1 x 2DI DC24V; High Feature, 2 units 6ES7 131-4BB00-0AB0 1 x 2DO DC24V; 0.5 A; High Feature, 2 units 6ES7 132-4BB00-0AB0 1 x Bus connector 6ES7 972-0BA10-0XA0

How to set up the ET 200S Task Procedure 1. Mount the modules on the rail. 2. Connect the power supply. 3. Wire the I/O modules. 4. Connect the PG/PC with the PG cable to the IM151/CPU. 5. Switch on the power supply of the IM151/CPU.

Page 70: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.4 Set up the hardware of the machines:

SIMATIC iMap Commission the Plant, Tutorial 70 Commissioning Manual, 01/2008, A5E00716704-02

3.4.2.3 ET 200X with BM147/CPU - Hardware Setup

Required Hardware You will require the following modules:

Number Name Order No.: 1 x Basic Module BM147/CPU 6ES7 147-1AA10-0XB0 / V2.1 1 x Expansion module DI 4xDC24V 6ES7 141-1BD30-0XA0 1 x Expansion module DO 4xDC24V/0.5A 6ES7 142-1BD30-0XA0

How to set up the ET 200X Task Procedure 1. Mount the modules on the rail. 2. Connect the power supply. 3. Wire the I/O modules. 4. Connect the IE/PB Link to the BM147/CPU with the PROFIBUS cable. 5. Switch the IE/PB Link on if you have not already done so.

3.4.3 Machine 3

3.4.3.1 CPU 315-2 DP with CP 343-1 - Hardware Setup

Required Hardware You will need the following S7-300 modules:

Number Name Order No.: 1 x Central module CPU 315-2 DP 6ES7 315-2AF03-0AB0 1 x Power supply module PS 307 5A 6ES7 307-1EA00-0AA0 1 x CP 343-1 communications processor 6GK7 343-1HX00-0XE0 1 x I/O modules DI8/DO8xDC24V/0.5A 6ES7 323-1BH01-0AA0

Page 71: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.4 Set up the hardware of the machines:

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 71

How to set up the hardware Task Procedure 1. Mount the modules on the rail. 2. Connect the CP 343-1 to the backplane bus using the bus connector. 3. Connect the power supply. 4. Wire the I/O modules. 5. Connect the Ethernet cable to the CP 343-1.

3.4.3.2 CPU 319-3 PN/DP with ET 200S (IM 151-3 PN) - hardware setup

Required Hardware You will require the following modules:

Number Name Order No.: 1 x Central module CPU 319-3 PN/DP 6ES7 318-3EL00-0AB0 1 x Power supply module PS 307 2A 6ES7 307-1BA00-0AA0 1 x PROFINET IO interface module for ET 200S (IM 151-3

PN) 6ES7 151-3AA00-0AB0

1 x Output module DO2xDC24V/0.5A 6ES7 132-4BB00-0AB0

How to set up the hardware Task Procedure 1. Mount the modules on the rail. 2. Connect the power supply. 3. Wire the output modules. 4. Connect the Ethernet cable to the CPU 319-3 PN/DP and the interface module for the PROFINET IO

device.

Page 72: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial 72 Commissioning Manual, 01/2008, A5E00716704-02

3.4.4 Plant Control

3.4.4.1 WinLC PN - hardware setup

Required Hardware ● PC with Windows 2000 Professional as of SP4 or Windows XP Professional as of SP1 ● PROFIBUS connector, e.g. via CP 5611 - optional

How to set up the hardware for the WinLC PN Task Procedure 1. Connect the PC to the local engineering station via Ethernet. 2. Optionally connect the PC to any DP slaves via a PROFIBUS cable.

3.5 First assignment of the addresses (baptism)

3.5.1 Assign an IP address to a device the first time

Prerequisites ● The IP address of the device must be known. ● The connector to the Ethernet LAN must be established; no subnet gateway (router)

should be inserted. ● The Ethernet connector of your PG/PC must be available from STEP 7; the PG/PC

interface must be set as follows: S7ONLINE [STEP 7] > TCP/IP > <network module> To set the PG/PC interface, select the command Tools > Set PG/PC interface... in the SIMATIC Manager or the Windows Start menu command Start > SIMATIC > STEP 7 > Set PG-PC interface.

Page 73: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 73

These IP addresses are used in the descriptions Device IP address Subnet mask CPU 317-2 PN/DP 192.168.0.5 255.255.255.0 CPU 315-2 DP 192.168.0.10 255.255.255.0 IE PB link 192.168.0.20 255.255.255.0 WinLC 192.168.0.30 255.255.255.0 CPU 319-3 PN/DP 192.168.0.40 255.255.255.0

Page 74: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial 74 Commissioning Manual, 01/2008, A5E00716704-02

How to assign an IP address to a PROFINET device the first time Task Procedure 1. Open SIMATIC Manager. 2. Select the command PLC > Assign Ethernet Address. 3. Click on the "Browse..." button to search the network for accessible modules.

4. Select the device with the right MAC address from the available components. 0.0.0.0 is displayed in the "IP

Address" column the first time an address is assigned. 5. Enter the IP parameters and assign them to the device.

Page 75: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 75

3.5.2 Settings for the PC station with WinLC PN These settings apply to the PC with the WinLC PN

Prerequisites ● See chapter "WinLC PN - Hardware Setup" ● The software package "WinAC PN Option V4.1" must be installed on the PC. ● The software package "SIMATIC NET" V6.2 SP2 and higher must be installed on the PC.

How to configure the local PC station of the WinLC PN Task Procedure 1. Open the component configurator using

• the icon in the task bar or • Start > Program > Autostart > Component Configurator.

2. Add the Industrial Ethernet CP. Make sure that the index of the Industrial Ethernet-CP in the Station Configurator Editor is identical to the slot number of the CP "IE General" in the STEP 7 basic project (HW Config).

3. Apply any changes and close the Station Configuration Editor. 4. Ensure that the PG/PC interface is set as follows:

S7ONLINE [STEP 7] > TCP/IP > <network module> To set the PG/PC interface, select the Windows Start menu command Start > SIMATIC > SIMATIC NET > Settings > PG/ PC Interface:

Additional information... For additional information about LC PN, refer to the "WinAC PN Option V4.1" manual.

Page 76: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial 76 Commissioning Manual, 01/2008, A5E00716704-02

3.5.3 Assigning a PROFIBUS Device a PROFIBUS Address the First Time This PROFIBUS address now has to be loaded once into the device from STEP 7 via MPI if you have not already done so. This chapter also applies for the following PROFIBUS devices (central modules as intelligent DP slaves):

PROFINET component PROFIBUS device PROFIBUS address Processing CPU 314C-2 DP 5 ET200S_Scan IM 151/CPU 3 ET200X_Conveyor BM 147/CPU 120

Note At commissioning (factory state), each of these modules can be reached at MPI address 2, HSA 31 and 187.5 kbps.

Requirements ● The CPU must be in STOP. ● The PG/PC must be connected to the CPU with a PG cable.

Page 77: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 77

How to assign a PROFIBUS address to the CPU acting as a DP slave the first time Task Procedure 1. Set the PG/PC interface to MPI.

Select the start menu command Start > SIMATIC > STEP 7 > Set PG/PC Interface. Configure the PD/PC interface so that the S7ONLINE (STEP 7) access point is set to MPI.

2. Start the SIMATIC Manager and create a temporary project with a SIMATIC 300 station. The project's sole purpose is the first time assignment of addresses.

3. Open the hardware configuration of the station and configure the respective CPU (CPU 314C-2 DP, IM 151/CPU or BM 147/CPU) as a DP slave. Input and output modules are not required here. Select the operating mode "DP Slave" in the object properties of the DP interface.

The "Commissioning / test mode" option must be deactivated.

Page 78: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial 78 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 4. Configure the PROFIBUS interface of the CPU and set the desired PROFIBUS address, for example:

Page 79: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.5 First assignment of the addresses (baptism)

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 79

Task Procedure 5. In the object properties of the "Configuration" tab, configure any type of data exchange between the intelligent

DP slave (I-slave) and a DP master:

6. Save and compile the station with the menu command Station > Save and compile. 7. Select the command PLC >Load to Module.

Select the CPU under "Select Target Module" and confirm your selection with "OK". 8. In the "Select Node Address" dialog enter the MPI address of the CPU or accept the displayed address by

pressing "OK". Result: The system data including the PROFIBUS address are uploaded to the CPU. The CPU can now

communicate via PROFIBUS. You can ignore the red error LED since the correct hardware configuration will be downloaded later from SIMATIC iMap.

Page 80: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial 80 Commissioning Manual, 01/2008, A5E00716704-02

3.6 Configuration in SIMATIC iMap

3.6.1 Configuring the Plant - Basic Procedure This procedure can be carried out independent of the hardware setup for the plant.

Prerequisites The PROFINET component must exist and be available in the file system.

Basic procedures ● Creating a new project in SIMATIC iMap ● Importing PROFINET components from the file system into the project library ● Inserting PROFINET components from the library into the SIMATIC iMap project ● Assigning Addresses ● Interconnecting the technological functions and generating the SIMATIC iMap project

3.6.2 Creating a New Project in SIMATIC iMap This description applies to both a complete plant or any subplant.

How to create a new SIMATIC iMap project Task Procedure 1. Start SIMATIC iMap if you have not already done so:

Double-click on the SIMATIC iMap icon on the desktop or In Windows, select Start / Programs / Component based Automation / SIMATIC iMap. Result: SIMATIC iMap is started and a new project is created. Continue with Step 3.

2. If you have already started SIMATIC iMap, create a new project by selecting the menu command Project > New.

3. Save the project by selecting the menu command Project > Save.

Page 81: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 81

Task Procedure 4. In the dialog "Save SIMATIC iMap project As", select a folder and enter a name, for example, "Tutorial" in the

"File name" field.

Result: The project is saved.

3.6.3 Configuring a complete plant in SIMATIC iMap.

Required steps The following commissioning tasks must be performed in SIMATIC iMap: ● Importing PROFINET components into the project library ● Dragging instances of the PROFINET components to the chart view ● Connecting devices in the network view ● Interconnecting the technological functions in the plant view ● Generation of the instances ● Saving the project

Page 82: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial 82 Commissioning Manual, 01/2008, A5E00716704-02

Structuring connected functions There are two procedures for configuring functions with subordinate charts in the chart view: ● Interconnection in the chart view in the highest chart in the chart hierarchy (system chart)

and subsequent arrangement of the functions into subordinate charts: – Recommended in the event of a large number of interconnections between the

functions – Chart interfaces for interconnections are automatically generated when functions are

arranged in subordinate charts. – Increased transparency for new configurations

● Arrangement of the functions in subordinate charts and subsequent cross-chart interconnection of the functions – Integration of new functions in existing configurations with subordinate charts – Recommended in the event of a small number of interconnections between the

functions

Note How to proceed in the sample project In view of the fact that in the Tutorial you will create a new configuration with many interconnections, the interconnection of the chart view in the highest chart of the chart hierarchy is described first, and then the arrangement of the functions in subordinate charts.

Page 83: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 83

How to Configure the Complete Plant Task Procedure 1. How to import PROFINET components into the project library with Library > Import components.

Tip: Use the example components from the installation directory of SIMATIC iMap; \imap\examples\components.

2. Drag the instances of the PROFINET components from the library to the chart view of the project.

Page 84: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial 84 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. Connect the PROFIBUS devices in the network view by means of drag & drop in accordance with the following

figure:

Assign the IP or PROFIBUS addresses to the devices as described above.

Page 85: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 85

Task Procedure 4. In the system view in the highest chart in the chart hierarchy you can arrange and interconnect the

technological functions as in the following figure:

The interconnection lines on the plant are converted into communication links so that the data can be transferred via Industrial Ethernet and PROFIBUS. The value of the Filler.Ready output is sent to the Capper_Labeler.Go input, etc.

5. Generate the project with the command Project > Generate > Controller Unit > All.

Page 86: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial 86 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 6. The generation status of the instances are displayed in the project view.

Note: The generation status of the devices changes after successful generation of to .

Page 87: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 87

Task Procedure 7. Arrange the functions by moving them to subordinate charts:

8. Save the project with the the command Project > Save as with the name "Tutorial", for example.

Additional information... Additional information can be found in the basic help of SIMATIC iMap under: ● Interconnecting Technological Functions ● Generating the Project

Page 88: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial 88 Commissioning Manual, 01/2008, A5E00716704-02

3.6.4 Assigning a name to a PROFINET IO device with SIMATIC iMap

Prerequisites ● The IP address of the device must be known. ● The connector to the Ethernet LAN must be established; no subnet gateway (router)

should be inserted. ● The Ethernet connector of your PG/PC must be available from STEP 7; the PG/PC

interface must be set as follows: S7ONLINE [STEP 7] > TCP/IP > <network module> To set the PG/PC interface, select the command Tools > Set PG/PC interface... in the SIMATIC Manager or the Windows Start menu command Start > SIMATIC > STEP 7> Set PG-PC interface.

This IP address is used in the descriptions Device (internal PROFINET IO device)

IP address Subnet mask

ET 200S (IM 151-3 PN) 192.168.0.41 -

Page 89: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 89

How to assign an IP address to a PROFINET IO device with SIMATIC iMap Task Procedure 1. Open the SIMATIC iMap tutorial project and select Properties from the pop-up menu for the PROFINET device

CPU 319-3 PN_DP. 2. Assign the PROFINET IO system name in the "Internal IE devices" tab and assign IP addresses to the

PROFINET IO devices:

3. Generate the project with the command Project > Generate > Controller Unit > Changes Only.

Page 90: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.6 Configuration in SIMATIC iMap

SIMATIC iMap Commission the Plant, Tutorial 90 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 3. In the network or project view, select Special > Assign device name from the pop-up menu for the PROFINET

device CPU 319-3 PN_DP and assign the desired name.

This ensures that the PROFINET IO device can be reached by the PROFINET IO controller on the basis of its name. The IP address is assigned to the PROFINET IO device when the program is downloaded from SIMATIC iMap to the PROFINET IO controller (CPU 319-3 PN_DP).

Page 91: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.7 Commissioning the complete plant

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 91

3.7 Commissioning the complete plant

How to download the project configuration data to the target systems Task Procedure 1. In the network view of SIMATIC iMap, optionally mark all the devices or a PROFINET device with proxy

functionality, e.g. CPU 317-2 PN/DP or IE/PB link and the associated PROFIBUS devices. Download the data into the devices using the command Download Selected Instances > All from the context menu.

Page 92: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.7 Commissioning the complete plant

SIMATIC iMap Commission the Plant, Tutorial 92 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure 2. A list of the marked instances and the action to be performed is displayed in the "Download" dialog.

Click "Execute".

3. If one or more of the target devices are in RUN, a list of devices to be stopped will be displayed in the "Download - Stop devices" dialog. Click on "Next". Result: The target devices are set to STOP and the data is downloaded to the target devices. In the "Download" dialog, the actions performed are displayed in the list of devices.

4. In the dialog "Download - Start devices...", the devices which have to be restarted after loading are displayed. Click "Next" to start the selected devices. Result: The marked devices are started and operational.

5. As required, select the other instances and download the data into the devices using the command Download Selected Instances > All from the pop-up menu.

Result: The devices are ready for operation and can be monitored online.

Page 93: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 93

Notes about downloading First, the data must be loaded to the DP master(s) with proxy functionality (e.g. CPU 317-2 PN/DP, CPU 319-3 PN/DP and IE/PB Link) and then to the associated PROFIBUS devices (DP slaves). The programs must be downloaded to the DP master and DP slaves each time changes are made to the PROFIBUS in the project, for example, each time PROFIBUS devices are connected or disconnected. The program download must first be performed with either: ● Online > Download Selected Instances > All or ● Online > Download Selected Instances > Program Only > Complete. The interconnections can be subsequently downloaded.

3.8 Online monitoring and OPC access

3.8.1 Online monitoring of complete plant

How to switch online view on and off Task Procedure 1. Switching online view on/off

To switch on the online view in SIMATIC iMap: • Click on the "Online Monitoring" icon or • select Online > Monitor. You are asked if you wish to compare the online and offline program data of the devices. This comparison is optional. You can perform it immediately or at a later point in time. If you answer with "Yes", the data is compared and the results are displayed in the information window.

Page 94: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial 94 Commissioning Manual, 01/2008, A5E00716704-02

Task Procedure Result: The online view of SIMATIC iMap is switched on and any diagnostic information is immediately

displayed on the devices and technological functions in the diagnostics window.

Page 95: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 95

How to create a variable table Task Procedure 1. Open the "Variable table" tab in the diagnostics window of SIMATIC iMap. 2. Select the "Rinser" function in the plant view and drag it into the variable table.

Result: The connections appear in the lines of the variable table. 3. You can alternatively mark the individual connections or all the technological functions and drag them into the

variable table. 4. Mark one or more items in the variable table and select Monitor in the context menu.

Result: The marked items are highlighted with the "Online Monitoring" icon and the current online values are displayed in the "Online value" column.

Page 96: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial 96 Commissioning Manual, 01/2008, A5E00716704-02

Additional information... Additional information can be found in the basic help of SIMATIC iMap under: ● Diagnostics concept in SIMATIC iMap ● Plant with SIMATIC devices ● Perform online monitoring and diagnostics of variables

3.8.2 Analyze process data with OPC

OPC: OLE for Process Control In SIMATIC iMap, you can create an OPC symbol file for the project. This file contains information about the current process data. Anyone in the office can use an OPC client program to access the data for PROFINET devices at the control and production levels.

Figure 3-1 Using OPC

Prerequisites ● An OPC client program must be installed, e.g.OPC Scout from SIMATIC NET. ● The SIMATIC iMap project is open and has been generated without error.

Page 97: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 97

How to analyze the process data

Table 3-1 Creating and editing the OPC symbol file

Step Description 1. In SIMATIC iMap, select Options > Create OPC Symbol File > All. 2. Select a prefix and a folder as the storage Iocation in the "Create OPC symbol file" dialog field.

The OPC symbol file <project name> will be saved in this folder. You can then close SIMATIC iMap.

3. In the Windows task bar select: Start > SIMATIC > SIMATIC NET > Set PC station. The configuration console opens. This is used to make your new OPC symbol file known to a SIMATIC NET OPC server. In the left window open the folder "Applications, Symbols".

4. Select the active symbol file (<projectname>.sti, see section 2). Use the "Edit list" icon in order to find the file.

5. In the configuration console, click on the "Extended symbols" button and select the module for the TCP/IP protocol on your PG/PC from the "PROFINET" box. You need this setting to be able to access non-connectable connections (see "Properties of the PROFINET Interface")

Page 98: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial 98 Commissioning Manual, 01/2008, A5E00716704-02

Step Description 6. In the configuration console, open the OPC selection dialog box and select the PROFINET and the S7

protocols.

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

Page 99: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 99

Step Description 7. Use the command Start > SIMATIC > SIMATIC NET > Industrial Ethernet > SOFTNET Industrial Ethernet >

OPC Scout to start OPC Scout from the task bar. 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-hand window. Example:

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

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

Page 100: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Part 2: Systems commissioning 3.8 Online monitoring and OPC access

SIMATIC iMap Commission the Plant, Tutorial 100 Commissioning Manual, 01/2008, A5E00716704-02

Tip: Access with visualization software Save your selected visualization data to an .OPP file. You can then open this file directly using OPC Scout. When visualization is working with the "OPC Scout" diagnostic tool, you can use any OPC-compatible visualization software (e.g. ProTool/Pro, WinCC, etc.) to access the OPC server running on the PC.

Page 101: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 101

Appendix AA.1 Literature and Links

Requirement ● the SIMATIC manual collection which includes all of the latest manuals or ● a connection to the Internet. Here you can find constantly updated information in the form

of FAQs as well as manuals and software for download.

Manuals Links to manuals containing further information about working with SIMATIC iMap are given below. The device manuals are included in the SIMATIC Manual Collection.

Title Link or download address SIMATIC Manual Collection as of Edition: 11/2005

SIMATIC Manual Collection (http://support.automation.siemens.com/WW/view/en/21727495)

SIMATIC iMap Manuals SIMATIC iMap Manuals (http://support.automation.siemens.com/WW/view/en/10805413/133300)

PROFINET system description General information on PROFINET CBA and PROFINET IO (http://support.automation.siemens.com/WW/view/en/25571355)

Page 102: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Appendix A.2 Tips for Operation

SIMATIC iMap Commission the Plant, Tutorial 102 Commissioning Manual, 01/2008, A5E00716704-02

A.2 Tips for Operation The following software is required to commission a system with PROFINET and PROFIBUS devices: Windows 2000 or XP, SIMATIC STEP 7 and SIMATIC iMap. The following user tasks are often used in these programs:

Windows 2000/XP In Windows 2000/XP, commands are called from the Windows taskbar. Examples: ● Select Start > Simatic > SIMATIC NET > ... ● Start SIMATIC iMap by double-clicking on the "iMap" icon.

SIMATIC Manager / SIMATIC iMap Menu commands can be selected from the Menu bar, from a context menu (right mouse button) or by clicking on an icon in the icon bar. Objects or windows must be selected for menu commands. Examples: ● Select the menu command Library > New.... ● Select Create PROFINET Component from the shortcut menu. ● Click on the "Online Monitoring" icon.

Page 103: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Appendix A.3 SIMATIC Technical Support

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 103

A.3 SIMATIC Technical Support

SIMATIC Technical Support You can contact Technical Support for all A&D products: ● via the Internet using the Support Request:

http://www.siemens.com/automation/support-request ● E-mail: [email protected] ● Phone: +49 (0) 180 5050 222 ● Fax: +49 (0) 180 5050 223 Further information about our technical support is available in the Internet at www.siemens.com/automation/service

Service & Support on the Internet In addition to our documentation, we offer a comprehensive knowledge base online on the Internet at: http://www.siemens.com/automation/service&support There you will find: ● The latest product information, FAQs, downloads, tips and tricks. ● Our newsletter, providing you with the latest information about your products. ● A Knowledge Manager to find the right documents for you. ● Our bulletin board, where users and specialists share their knowledge worldwide. ● your local contact partner for Automation & Drives in our Partner Database ● Information about field service, repairs, spare parts and lots more under "Services."

Additional Support Please contact your local Siemens representative and offices if you have any questions about the products described in this manual and do not find the right answers. Find your contact partner at: http://www.siemens.com/automation/partner A signpost to the documentation of the various SIMATIC products and systems is available at: http://www.siemens.de/simatic-tech-doku-portal

Training center SIEMENS offers a range of courses to help you to get started with your S7-300 Automation System. Please contact your local Training Center, or the Central Training Center in Nuremberg, D -90327 Germany. Phone: +49 (911) 895-3200 http://www.sitrain.com

Page 104: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Appendix A.3 SIMATIC Technical Support

SIMATIC iMap Commission the Plant, Tutorial 104 Commissioning Manual, 01/2008, A5E00716704-02

Page 105: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual, 01/2008, A5E00716704-02 105

Index

A Additional Support, 103 Analyzing process data

Getting Started, 97

C CPU 314C-2 DP

Hardware setup, 68 CPU 317-2 PN/DP - hardware setup, 67

D Download, 101

E ET 200M

Hardware setup, 67 ET 200S with IM151/CPU

Hardware setup, 69 ET 200X with BM 147/CPU

Hardware setup, 70 Examples, 7

F FAQs, 101

H Hotline, 103

I Information, 101 Interface DB, 46, 53, 54, 55 Internet, 101, 103

M Manual collection, 101

O OPC

OLE for Process Control, 96

S Service, 103 SIMATIC Customer Support Hotline, 103 SIMATIC manual collection, 101 Support, 103

T Training center, 103

Page 106: Component Based Automation SIMATIC iMap Commission … · Component Based Automation SIMATIC iMap Commission the Plant, Tutorial Commissioning Manual 01/2008 A5E00716704-02 . Safety

Index

SIMATIC Component Based Automation SIMATIC iMap Commission the Plant, Tutorial 106 Commissioning Manual, 01/2008, A5E00716704-02