Download  Print this page
Most useful pages: More

Advertisement

SIMATIC NET
Commissioning PC Stations
- Manual and Quick Start
Manual
Release 5/2005
C79000 - G8976 - C156 - 07
Preface, Contents
Advanced PC Configuration -
Introduction
Getting Started
Configured Mode
PG Operation
Additional Functions
Configuring the OPC Server
Using the CP 1616 as a
PROFINET IO Controller/Device
Examples
Industrial Ethernet
PROFIBUS-DP
Unspecified S7 Connection
SNMP
PROFINET
Tools
Station Configuration Editor
NCM PC
PC Station Wizard
Symbol File Configurator
Configuration Console
OPC Scout
DCOM Settings
Appendix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Advertisement

   Related Manuals for Siemens SIMATIC NET

   Summary of Contents for Siemens SIMATIC NET

  • Page 1

    Preface, Contents Advanced PC Configuration - Introduction Getting Started SIMATIC NET Configured Mode PG Operation Commissioning PC Stations Additional Functions - Manual and Quick Start Configuring the OPC Server Using the CP 1616 as a PROFINET IO Controller/Device Manual Examples...

  • Page 2: Release

    Classification of the Safety-Related Notices This manual contains notices which you should observe to ensure your own personal safety, as well as to protect the product and connected equipment. These notices are highlighted in the manual by a warning triangle and are marked as follows according to the level of danger: Danger indicates that death or severe personal injury will result if proper precautions are...

  • Page 3

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

  • Page 4

    Caution Before installing and starting the module, read the instructions in the corresponding documentation. For ordering data of the documentation, please refer to catalogs or contact your local Siemens representative. Copyright E Siemens AG 2001- 2005 All rights reserved Disclaimer...

  • Page 5: This Manual

    ... supports you when commissioning your SIMATIC NET PC modules in a PC station and helps you to use them successfully..introduces all the tools made available by the SIMATIC NET software for solving your communication tasks..along with the OPC documentation on the SIMATIC NET PC / Windows CD...

  • Page 6

    S Version 5.3 SP1 and higher of the project engineering software SIMATIC NCM PC / STEP 7 with the NCM S7 option; S CD 11/2003 and higher from SIMATIC NET Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 7

    This manual... Symbols used in this manual This symbol appears in the margin to draw your attention to useful tips. This symbol highlights particularly relevant literature. Passages marked with this symbol indicate that there is useful information you should refer to in the basic help of STEP 7. This symbol indicates that detailed help is available in the context-sensitive help.

  • Page 8: Table Of Contents

    Contents Contents This manual............. Contents .

  • Page 9: Profibus-dp

    Contents 5.5.1 Significance in SIMATIC NET ........

  • Page 10

    Contents Configuration Console ........10 Example —...

  • Page 11

    Contents 13.10 Adapting Mismatched Configurations ......14 PC Station Wizard ........... . . 15 Symbol File Configurator Too .

  • Page 12

    ......Project Engineering up to SIMATIC NET CD 05/2000 ... . .

  • Page 13: Welcome To Advanced Pc Configuration

    (OS). The engineering station is a networked PC with the SIMATIC NCM PC program or STEP 7 installed. Characteristics - Comparison with Previous Products The new features of the SIMATIC NET software involve several changes to the previous configuration and project engineering procedures and these are summarized below: S You can make all settings with one tool during project engineering and download them completely to the PC station.

  • Page 14

    1 Welcome to Advanced PC Configuration LDB Databases no Longer Required By configuring on a central station and with the option of downloading, LDB databases are no longer required for the DP, FMS, and S7 protocols. Configuration and project engineering data can be exported to XDB files in STEP 7; they must be imported into the central data management on the PC station using the Station Configuration Editor.

  • Page 15: Pc Stations In Simatic

    PC station by software. PC Station Software - The OPC Server as Central Component A PC station contains SIMATIC NET communication modules and software applications. One typical software application with which user programs can communicate is the SIMATIC NET OPC server.

  • Page 16

    1 Welcome to Advanced PC Configuration Uniform Engineering Environment The PC station is handled just like a SIMATIC S7 controller during project engineering with STEP 7 / NCM PC: You connect the S7 stations and PC stations to the network in the network view and specify communication connections. The project engineering data is downloaded to the stations at the touch of a button.

  • Page 17

    1 Welcome to Advanced PC Configuration Index for Every Component To allow communication between the components in the PC station and to receive project engineering data, each component is assigned a unique identification number. The identification number for modules, applications, and other components in a PC station is the index.

  • Page 18: A Brief Introduction To Tools And Utilities

    1 Welcome to Advanced PC Configuration A Brief Introduction to Tools and Utilities Once you have installed the SIMATIC NET software, you have the following tools available: Basic tools: Station Configuration Editor With this tool, you insert the modules and components into the “virtual”...

  • Page 19: Guide To Installation And Commissioning

    1 Welcome to Advanced PC Configuration Guide to Installation and Commissioning Before you start commissioning, you should clarify the area of operation of your PC station and select the required mode for your communication module. The steps involved in commissioning differ depending on the mode you select for your communication module.

  • Page 20

    1 Welcome to Advanced PC Configuration Mixed operation is possible. Since you can set the mode for individual communication modules, you can also use the PC station in mixed operation. Mixed operation, in this sense, means the use of several communications modules some in the configured and some in the PG mode.

  • Page 21: Commissioning For Pg Operation - Overview

    PG operation is the default mode for programming devices (PG/PC) and HMI stations. Step How does it work? Tool 1. Installing SIMATIC Install the SIMATIC NET software SIMATIC NET CD / Windows NET software based on the installation instructions 2. Installing the Install the communication module in the...

  • Page 22: Commissioning For Configured Mode - Overview

    Step How does it work? Tool 1. Installing SIMATIC Install the SIMATIC NET software SIMATIC NET CD / Windows NET Software on the based on the installation instructions Engineering PC/PG and on the PC Station 2.

  • Page 23

    OPC server) Project engineering data of the PC SIMATIC Manager station is saved in an XDB file . 1. Installing SIMATIC Install the SIMATIC NET software SIMATIC NET CD / Windows NET software based on the installation instructions 2. Installing the...

  • Page 24

    PC station. Step How does it work? Tool 1. Installing SIMATIC Install the SIMATIC NET software SIMATIC NET CD / Windows NET software based on the installation instructions 2. Installing the Install the communication module in the...

  • Page 25

    1 Welcome to Advanced PC Configuration Step How does it work? Tool for “offline mode”: Save project HW Config / NetPro engineering data of the PC station in XDB. 7. Downloading the Depending on how the PC station can Project Engineering be reached: Data to the PC Station Data to the PC Station...

  • Page 26: Getting Started

    S Installing SIMATIC NET PC Software Follow the procedure described in the Installation Instructions that accompany every SIMATIC NET PC module to install the products of the SIMATIC NET PC Software CD. The installed products are described in detail in the “Tools” section.

  • Page 27: Steps In Creating Project Engineering Data

    2 Getting Started “Configured Mode” Steps in Creating Project Engineering Data To create the project engineering data, you use the SIMATIC NCM PC or SIMATIC STEP 7 tool. Why do we need project engineering data? To allow the device networked in a plant to communicate, the devices must be supplied with data on the components and the communication connections.

  • Page 28

    2 Getting Started “Configured Mode” Follow the steps below: Steps in Project Engineering Start the SIMATIC NCM PC from the Start menu. " " (Start SIMATIC SIMATIC NCM PC). As an alternative if “online local” : Use the PC Station Wizard If you want to create the project engineering database on the PC station you are configuring (online local) and the initial configuration has been made, you can start the PC Station Wizard as an alternative.

  • Page 29

    2 Getting Started “Configured Mode” Steps in Project Engineering Change to NCM PC Config / HW Config and enter the intended modules and applications (take them from the catalog). (omitted if data entered by the PC Station Wizard) The software applications that use communication services directly must also be specified in project engineering.

  • Page 30

    2 Getting Started “Configured Mode” Steps in Project Engineering Save the configuration. (omitted if data entered by the PC Station Wizard) Change to NetPro to network the station and to create the connections in the project engineering. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 31

    2 Getting Started “Configured Mode” Steps in Project Engineering Note: You can create the S7 station shown in the screenshot only with STEP 7/HW Config. In SIMATIC NCM PC, you can open and edit a project containing S7 stations. You can, however, only create and download project engineering data for PC stations.

  • Page 32

    2 Getting Started “Configured Mode” Steps in Project Engineering If the PC station is available online (local or remote), the next step is the initial configuration of the station. Note: To load the project engineering data locally, you must set the access point S7ONLINE for the PC station to PC-internal (local).

  • Page 33

    2 Getting Started “Configured Mode” Where to go from here - optional activities Once the project engineering configuration has been accepted, the PC station is operational. The following steps allowing the use of symbols, diagnostics, and calling the OPC Scout are optional. You should, however, check that the modules in your PC station are operational using the diagnostic functions.

  • Page 34: Steps For Initial Configuration

    2 Getting Started “Configured Mode” Steps for Initial Configuration For the initial configuration, use one of the following tools depending on the procedure: S Station Configuration Editor S STEP 7 / NCM PC Why do we need an initial configuration? When a module is started up for the first time, it must be configured.

  • Page 35: Case A) Initial Configuration Using Remote Configuration With Step 7 / Ncm Pc

    2 Getting Started “Configured Mode” 2.2.1 Case a) Initial configuration using remote configuration with STEP 7 / NCM PC The target PC station that is available online is configured directly with STEP7 / NCM PC remote. The advantage of this is that the project engineering data and the PC configuration are consistent and the total effort is minimal.

  • Page 36

    2 Getting Started “Configured Mode” How to Make the ”Initial Configuration with an XDB File” Follow the instructions in the online help of the dialog to create and complete the remote configuration. Result: The PC station with its modules and applications is configured and ready to receive project engineering data Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 37: Case B) Initial Configuration With Xdb File

    2 Getting Started “Configured Mode” 2.2.2 Case b) Initial configuration with XDB file In this case, you can import the XDB file with the project engineering data for the PC station directly. The advantage of this is that the project engineering data and the PC configuration are consistent and the total effort is minimal.

  • Page 38

    You can also follow this procedure in the example “OPC Configuration for Industrial Ethernet” in this manual; see Section 7. Where to we go from here? you can now use the other tools from SIMATIC NET for diagnostics, commissioning, and testing. See also Section 1.3.

  • Page 39: Initial Configuration Without Xdb File

    2 Getting Started “Configured Mode” 2.2.3 Initial configuration without XDB file In this case, you specify the modules during initial configuration in the Station Configuration Editor. You can transfer project engineering data to the PC station later by downloading or importing an XDB file.

  • Page 40

    2 Getting Started “Configured Mode” How to Make the Initial Configuration without an XDB File In the properties dialog that opens, give the module an address. In some cases, you can also set further module parameters, for example bus parameters, (mandatory with PROFIBUS).

  • Page 41: Getting Started

    SIMATIC NET software and the hardware on your PC station. S Installing SIMATIC NET PC software Follow the procedure described in the Installation Instructions that accompany every SIMATIC NET PC module to install the products of the SIMATIC NET PC Software CD. S Installing hardware (PC modules) Install the hardware in your computer as described in the Installation Instructions that accompany every module.

  • Page 42: Configuration For Pg Operation - Programming Device (pg/pc)

    How to Configure for PG Operation You can start the configuration program from the Windows taskbar: " " " Start SIMATIC SIMATIC NET Set PG/PC Interface. As an alternative you can also start it from the Control Panel: " " " Start...

  • Page 43

    3 Getting Started “PG Operation” How to Configure for PG Operation Set the required communication parameters. With your module selected, you can click on “Properties” and then set the communication parameters. In normal situations, the parameter settings do not need to be modified (for more detailed information on the parameters, refer to the online help that you can display by clicking the “Help”...

  • Page 44: Configuration For Pg Operation - Hmi Stations

    You start in the same way as described for commissioning for PG operation in the previous section: You can start the configuration program from the Windows taskbar: " " " Start SIMATIC SIMATIC NET Set PG/PC Interface. As an alternative you can also start it from the Control Panel: " " " Start Settings Control Panel Set PG/PC Interface.

  • Page 45

    3 Getting Started “PG Operation” How to Configure for HMI Operation Select the access point in the “Access Point of the Application” list box. The current assignment then appears at the bottom in the list box “Interface Parameter Assignment Used”. If the suitable access point for your application is not present, click the “Select”...

  • Page 46

    3 Getting Started “PG Operation” How to Configure for HMI Operation Confirm your entries. As an alternative, you can also specify new access points in the “Configuration Console” tool. -> see “Tools” In the “Interface Parameter Assignment Used“ list box (or “Assigned Interface Parameter Assignment”), select the entry you require.

  • Page 47

    3 Getting Started “PG Operation” Entries in the Client Program For communication without project engineering data as described here, all the data of the partner device relevant for communication must be known. Apart from the access point described above, this includes the connection name and the station address.

  • Page 48

    3 Getting Started “PG Operation” After adding the item and as long as the item is active, the connection can be used like a configured connection. This means that you can browse in the name space and also add further items without using the syntax of the unconfigured connection. All you need to do is specify the connection name, for example S7:[S7_conn_1]MB1.

  • Page 49: Using Additional Functions - Special Features To Note

    4 Using Additional Functions - Special Features to Note 4 Using Additional Functions - Special Features to Note Checking the Configuration and Diagnostics The “Configuration Console” tool is a central tool for access to the components and data of the PC station during the following tasks: S Commissioning and operation S Editing the configuration S Diagnostics...

  • Page 50: Detecting Errors In Communication With The Opc Scout

    4 Using Additional Functions - Special Features to Note 4.2.1 Detecting Errors in Communication with the OPC Scout Introduction The OPC Scout shows you the status of the communication connections. This can be done using the properties of process variables or using information variables. You can then recognize when a partner device is not accessible.

  • Page 51

    4 Using Additional Functions - Special Features to Note Errors when Adding Variables S Variable cannot be added Adding some or all variables is denied in the Navigator of the OPC Scout. Possible causes for this are as follows: - The variable name entered does not have the correct syntax. - When using symbolic variables: The symbol file does not match the project engineering configuration.

  • Page 52: Further Functions / Special Features

    PC station is not necessary. Follow the steps below: Call the relevant export functions for SIMATIC NET OPC symbol files in the engineering programs PROFINET iMap or SIMOTION Scout. Follow the instructions in the corresponding documentation.

  • Page 53: Configuring Access Points For Step 7 And Step 5

    4 Using Additional Functions - Special Features to Note You can check the selected module with the “Configuration Console” program using the “Access points” function: S fixed access point SIMOTION CP_SM_1: e.g. CP_SM_1: -> CP5613(PROFIBUS) S fixed access point PROFINET CP_PN_1: e.g. CP_PN_1: -> CP1613(RFC1006) For further information on PROFINET and SIMOTION, please refer to the documentation of the PROFINET iMap or SIMOTION Scout engineering programs.

  • Page 54

    Start the “Configuration Console” program (taskbar Start Simatic " SIMATIC NET Configuration Console). In the navigation area, go to the branch SIMATIC NET Configuration Access Points. After right-clicking on the branch end “Access Points”, select the menu New " "...

  • Page 55: Points To Note With Softnet Industrial Ethernet Modules

    4 Using Additional Functions - Special Features to Note 4.3.3 Points to Note with SOFTNET Industrial Ethernet Modules Introduction Modules operated with the “SOFTNET Industrial Ethernet” software product are integrated in Windows just like a standard network adapter supplemented by additional protocols.

  • Page 56: Project Engineering For The Opc Server

    5 Project Engineering for the OPC Server OPC Server With the SIMATIC NET OPC Server described here, SIMATIC NET offers you a convenient tool with which your PC applications can write and read process data and receive notification of process events.

  • Page 57: Significance Of Project Engineering

    What Can be Configured in the Project Engineering Database? You can configure the OPC client (e.g., operator control and monitoring system) following: Protocol and service-dependent OPC Server for SIMATIC NET properties Data Access Alarms & Events Properties for specific connections Protocol software from SIMATIC NET...

  • Page 58: Specifying The Properties Of The Opc Server In Project Engineering

    5 Project Engineering for the OPC Server Specifying the Properties of the OPC Server in Project Engineering To check the properties of the OPC Server or to modify parameters, open the Properties dialog of the OPC server object in STEP 7 / NCM PC. The “General”...

  • Page 59

    5 Project Engineering for the OPC Server Table 5-1 Parameter Possible Settings / Significance Can be set for a specific protocol / Function / Function Scan cycle Here, you make the settings to control time updating by the OPC Server. The scan cycle time decides how often the OPC server updates the values the OPC items.

  • Page 60: Specifying Connection Properties For The Opc Server In

    5 Project Engineering for the OPC Server Specifying Connection Properties for the OPC Server in Project Engineering When using OPC, communication connections are established and managed by the OPC Server. As a result, you create the communication connections only for the “OPC Server”...

  • Page 61

    5 Project Engineering for the OPC Server FMS Connection Here, you assign a VFD to the FMS connection; you create VFDs in the properties dialog of the OPC Server. The Options button opens the dialog in which you will find the “OPC” tab. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 62

    5 Project Engineering for the OPC Server S7 Connection (S7 Communication). Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 63

    5 Project Engineering for the OPC Server ISO Transport Connection (SEND/RECEIVE Interface). ISO-on-TCP Connection (SEND/RECEIVE Interface) Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 64: Using Symbols For S7 Connections

    5 Project Engineering for the OPC Server Using Symbols for S7 Connections Symbol tables are created during project engineering with STEP 7 on a central engineering station in the form of STI files. You can continue to use the symbol definitions made in the STEP 7 project engineering when working with OPC.

  • Page 65: Configuring Opc Properties For Snmp In Project Engineering

    Configuring OPC Properties for SNMP in Project Engineering 5.5.1 Significance in SIMATIC NET You configure the OPC server an SNMP client in the “SNMP” tab by specifying the protocol properties for SNMP for the transfer and a node list for the SNMP queries.

  • Page 66: Snmp Traps

    You can add others to this list or edit the parameters of the entered devices. Device Profiles on the SIMATIC NET Software CD Device profiles are available for the following modules on the SIMATIC NET Software CD: S CP 1613 - -> MIBII_V10.txt (supports only MIBII objects) S OSM - ->...

  • Page 67

    5 Project Engineering for the OPC Server Parameter Meaning egpNeighborLoss The EGP neighbor (EGP = Exterior Gateway Protocol) of the device is not operational. The Exterior Gateway Protocol is used to exchange routing information between two neighboring gateway hosts. enterpriseSpecific This is sent when a device-specific trap was sent.

  • Page 68: Using The Cp 1616 As A Profinet Io Controller/device

    6 Using the CP 1616 as a PROFINET IO Controller/Device 6 Using the CP 1616 as a PROFINET IO Controller/Device Note As of STEP 7 V5.3 SP3, the CP 1616 is part of the hardware library. If you want to operate the CP 1616 with an earlier version of STEP 7, you can install an HSP update.

  • Page 69

    6 Using the CP 1616 as a PROFINET IO Controller/Device CP 1616 as IO Controller A PC communicates over Industrial Ethernet with PROFINET IO devices. The user program runs on the PC. The data traffic is handled over the CP 1616 with several SIMATIC S7 PROFINET IO devices (for example ET 200S) over Industrial Ethernet.

  • Page 70

    6 Using the CP 1616 as a PROFINET IO Controller/Device CP 1616 as IO Device The IO-Base device user program runs on a PC with a CP 1616 installed in it. The data exchange with the controller is handled over the CP 1616 and Industrial Ethernet.

  • Page 71: Initialize Cp 1616 (ip Address And Device Name)

    6 Using the CP 1616 as a PROFINET IO Controller/Device Initialize CP 1616 (IP address and device name) Assigning the IP address Follow the steps outlined below Open the SIMATIC Manager. Assign Ethernet " " Select the menu command PLC Ethernet Address...

  • Page 72: Configuring The Cp 1616

    6 Using the CP 1616 as a PROFINET IO Controller/Device Configuring the CP 1616 Using the CP 1616 as a PROFINET IO Controller Follow the steps outlined below " Create a new project in the SIMATIC Manager with the File New menu command.

  • Page 73

    6 Using the CP 1616 as a PROFINET IO Controller/Device Follow the steps outlined below Now configure the devices in the PROFINET IO system to meet your requirements. Once configuration is completed (for example, CP 1616 as PROFINET IO controller and ET 200S as PROFINET IO device), the project can be compiled and downloaded (to the PC) "...

  • Page 74

    6 Using the CP 1616 as a PROFINET IO Controller/Device Using the CP 1616 as a PROFINET IO Device To use the CP 1616 as PROFINET IO device, select (or create) a project containing a PROFINET IO controller, a PROFINET IO system and possibly also devices (for example ET 200S).

  • Page 75

    6 Using the CP 1616 as a PROFINET IO Controller/Device Using the CP 1616 as PROFINET IO Controller and Device You can also use the CP 1616 as a controller and device at the same time. In other words, the same CP 1616 has the function of a controller and a device. When configuring in STEP 7, there is one feature you must bear in mind: A separate network must be configured for each mode because the same IP address cannot be used twice in the same network.

  • Page 76

    6 Using the CP 1616 as a PROFINET IO Controller/Device Follow the steps outlined below In the “PROFINET” tab, you can set the mode of the CP 1616. Select the options “PROFINET IO Controller” and “Enable PROFINET IO device operation”. Then confirm your entries with OK.

  • Page 77: Example: Installing Linux Drivers (suse Linux 9.2)

    6 Using the CP 1616 as a PROFINET IO Controller/Device Follow the steps outlined below Disable the “Assign IP address via IO Controller” option. Based on the device name, the IP address of the CP 1616 is then assigned during compilation. Once the configuration is completed, the project can be compiled and downloaded (to the PC) "...

  • Page 78: Installing The Profinet Io Sample Program (suse Linux 9.2)

    6 Using the CP 1616 as a PROFINET IO Controller/Device installing the PROFINET IO Sample Program (Suse Linux 9.2) The “pniotest” sample program is restricted to the use of the CP1616 as controller. Follow the steps outlined below Run the “make test” command in the “/host -xxx/” (xxx = version -specific) directory. Run the “./pniotest“...

  • Page 79: Example - Opc Application For Industrial Ethernet

    7 Example — OPC Application for Industrial Ethernet 7 Example — OPC Application for Industrial Ethernet Overview Explanation of the Configuration Example This example illustrates how you can connect an S7-400 programmable controller with a PC station over Industrial Ethernet. In the configuration example presented here, typical communication partners are connected to Industrial Ethernet and can be reached over the OPC server.

  • Page 80

    If you want to try out the example yourself, you require the following: S a PC S a communication module for Industrial Ethernet (CP 1613) S the SIMATIC NET CD 11/2003 software S an S7-400 with a CP 443-1 S Industrial Ethernet cabling between the PC module and S7 device For the S7-400 device and the PC station, you require a STEP 7 project that was created on a central ES station (not this PC station).

  • Page 81: Hardware And Software Installation

    Installing the Software Activity Turn on the PC and start Windows. Insert the SIMATIC NET 11/2003 CD. If the installation program does not start the CD automatically, start the start.exe program on the CD. Follow the on-screen instructions of the installation program.

  • Page 82: Creating The Step 7 Project

    7 Example — OPC Application for Industrial Ethernet Creating the STEP 7 Project 7.3.1 STEP 7 Project Engineering on a Central Engineering Station In the requirements, we have already said that you require a STEP 7 project for this example. Below, you will find a brief outline of how such a project is created. Activity Create a project in the SIMATIC Manager.

  • Page 83: Using Symbol Files

    7 Example — OPC Application for Industrial Ethernet Activity In NetPro, you will find the network assignment of the SIMATIC 400 station and the PC station displayed graphically. 7.3.2 Using Symbol Files Introduction Symbol tables are created during project engineering with STEP 7 on a central engineering station in the form of STI files.

  • Page 84

    7 Example — OPC Application for Industrial Ethernet Specifying the Use of Symbol Files Activity Select the “OPC server” in the “PC station” in “HW Config“ (or NetPro) and select “Object Properties” in the context menu. Result: The properties dialog of the OPC server opens. Go to the “S7”...

  • Page 85

    7 Example — OPC Application for Industrial Ethernet Activity Click the “Select” button. Result: The “Use Symbols” dialog opens. In this dialog, you can specify which symbols you want to use and can configure them. Confirm the dialog with “OK”. Also confirm the properties dialog of the OPC server with “OK”.

  • Page 86: Configuring The Pc Station

    7 Example — OPC Application for Industrial Ethernet Configuring the PC Station Overview After starting the PC station, after installing the software and installing the CP 1613, the CP 1613 is in PG operation. Handling the Project Engineering Data Depending on the case, two situations must be distinguished (see Section 2.2): S Project engineering before initial configuration - XDB file available S Initial configuration not dependent on project engineering In this example, we assume that the project engineering data is available in the...

  • Page 87

    7 Example — OPC Application for Industrial Ethernet Procedure for “Initial Configuration” " Start the Station Configuration Editor by selecting it in the start menu (Start Station Configuration Editor). Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 88

    7 Example — OPC Application for Industrial Ethernet Procedure for “Initial Configuration” Click the “Import Station” button, select the XDB file that you want to import and confirm the dialog with “OK”. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 89

    7 Example — OPC Application for Industrial Ethernet Procedure for “Initial Configuration” Result: All the communication data created with S7 is now on the PC station. The CP 1613 is in the “configured mode”. PC configuration is complete. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 90: Using The Opc Scout

    Start the OPC Scout from the start menu: " " " (Start SIMATIC SIMATIC NET OPC Scout). Double-click the “OPC.SimaticNET” entry to link the OPC Scout with the OPC Server. The OPC Server is started. Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 91: Inserting A Group And Variables

    7 Example — OPC Application for Industrial Ethernet 7.5.2 Inserting a Group and Variables Organizing Process Variables The process variables of the OPC server (known as OPC items) are assigned to groups. You therefore require an OPC group before you can insert OPC items. Follow the steps outlined below to create a group and add items to it: Activity After the OPC Server starts, a dialog opens in which you can create a group.

  • Page 92

    7 Example — OPC Application for Industrial Ethernet Activity Select the following OPC items from the appropriate branches in the middle window and transfer these variables to the right-hand pane by clicking on the arrow button. Examples: SIMATIC_400(1)_CPU_416-1.Pump2.Current SIMATIC_400(1)_CPU_416-1.Pump2.Emergency SIMATIC_400(1)_CPU_416-1.Pump2.Flow SIMATIC_400(1)_CPU_416-1.Pump2.Power The items are added to the group after you confirm the dialog with “OK”.

  • Page 93: Displaying And Modifying Values Of Variables

    7 Example — OPC Application for Industrial Ethernet 7.5.3 Displaying and Modifying Values of Variables Executing Synchronous Write Jobs Activity The selected variables are displayed with the following additional information in the table of the main window: The current value of the item Access Rights Information about the integrity of the data Time Stamp...

  • Page 94: Example - Opc Application For Profibus-dp

    8 Example — OPC Application for PROFIBUS-DP 8 Example — OPC Application for PROFIBUS-DP Overview Explanation of the Configuration Example This example illustrates how to connect an ET 200 B DP slave with a CP 5613 in a PC station over PROFIBUS DP. In the configuration example presented here, typical communication partners are connected to PROFIBUS and can be reached over the OPC server.

  • Page 95

    If you want to try out the example yourself, you require the following: S a PC S the communication module for PROFIBUS (CP 5613) S The software of the SIMATIC NET CD 11/2003 (NCM installed) S an ET 200B DP slave S PROFIBUS cabling between the PC module and ET 200B...

  • Page 96: Hardware And Software Installation

    Activity Turn on the PC and start Windows. Insert the SIMATIC NET 11/2003 CD. If the installation program does not start the CD automatically, start the start.exe program on the CD. Follow the on-screen instructions of the installation program. Install the SIMATIC NET software and SIMATIC NCM PC.

  • Page 97: Configuring The Pc Station

    8 Example — OPC Application for PROFIBUS-DP Configuring the PC Station Overview After starting the PC station, after installing the software and installing the hardware, the CP 5613 is in PG operation. By adding the CP 5613 in the Station Configuration Editor, the module is automatically switched to the “configured mode”.

  • Page 98

    8 Example — OPC Application for PROFIBUS-DP Procedure for “Initial Configuration” " Start the Station Configuration Editor by selecting it in the start menu (Start Station Configuration Editor). Using the “Add” button, add the OPC server to be operated on the station. Confirm the dialog with “OK”.

  • Page 99

    8 Example — OPC Application for PROFIBUS-DP Procedure for “Initial Configuration” Check whether the settings of the module match the local configuration. Confirm the configuration with “OK”. Result: The CP 5613 is in the “configured mode”. PC configuration is complete. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 100: Changing The Configuration On The Pc Station

    8 Example — OPC Application for PROFIBUS-DP Changing the configuration on the PC station Below, you will see how to expand the hardware configuration of the local PC station by a DP master system and a DP slave using the PC Station Wizard. 8.4.1 Changing the Hardware Configuration - Preparations Activity...

  • Page 101

    8 Example — OPC Application for PROFIBUS-DP Activity Select the project property you want to edit first. For DP project engineering, select the “Change hardware configuration (module properties, DP)” option: Click the “Finish” button. Result: SIMATIC NCM PC Config is started. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 102: Inserting A Dp Master System

    8 Example — OPC Application for PROFIBUS-DP 8.4.2 Inserting a DP Master System CP 5613 as DP Master In the STEP 7 project, a SIMATIC PC station was created as an image of the local PC. This PC station already includes the OPC server as the basic component for productive communication and the CP 5613.

  • Page 103: Inserting A Dp Slave

    8 Example — OPC Application for PROFIBUS-DP 8.4.3 Inserting a DP Slave ET 200B as DP Slave In this section, you insert an ET 200B as DP slave and assign it to the DP master system. Activity Open the catalog in the right pane of the application window. If it is not already displayed, open the catalog by clicking on the following button: Select the DP Slave ET 200B with 16 digital input and output bits in the catalog: Commissioning PC Stations - Manual and Quick Start...

  • Page 104

    8 Example — OPC Application for PROFIBUS-DP Activity Holding down the left mouse button, drag the DP slave to the DP master system until the mouse pointer touches the DP master system (shown as an alternating dark and light shaded line in the display).

  • Page 105: Using The Opc Scout

    Start the OPC Scout from the start menu: " " " " " Start SIMATIC SIMATIC NET PROFIBUS CP5613_CP6514 OPC Scout Double-click the “OPC.SimaticNET” entry to link the OPC Scout with the OPC Server. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 106: Inserting Groups And Variables

    8 Example — OPC Application for PROFIBUS-DP 8.5.2 Inserting Groups and Variables Organizing Process Variables The process variables of the OPC server (known as OPC items) are assigned to groups. You therefore require an OPC group before you can insert OPC variables. Follow the steps outlined below to create a group and add items to it: Activity After the OPC Server starts, a dialog opens in which you can create a group.

  • Page 107: Displaying And Modifying Values Of Variables

    8 Example — OPC Application for PROFIBUS-DP Activity Select the following OPC items from the appropriate branches in the left-hand window and transfer these variables to the right-hand pane by clicking on the arrow button. The structure displayed and the variable names depend on the names specified in the STEP 7 program. DP:[CP_5613]Slave005IB0,2 DP:[CP_5613]Slave005QB0,2 The items are added to the group after you confirm the dialog with “OK”.

  • Page 108

    8 Example — OPC Application for PROFIBUS-DP Activity The selected variable has an array with two elements as the data type. Arrays are shown in braces, the elements are separated by a vertical bar. Enter {4|1} to set the output byte 0 to the value 4 and the output byte 1 to the value 1: Click the “OK”...

  • Page 109: Example - Unspecified Connection From A Pc Application

    Explanation of the Configuration Example In this chapter you will learn how to configure and commission an S7 connection from an existing PC application with the aid of the SIMATIC NET CD 11/2003. In the configuration example presented here, typical communication partners are connected to Industrial Ethernet and can be reached over the OPC server.

  • Page 110: Installing The Software

    Installing the Software Activity Turn on the PC and start Windows. Insert the “SIMATIC NET 11/2003” CD. If the installation program does not start the CD automatically, start the start.exe program on the Follow the on-screen instructions of the installation program.

  • Page 111: Configuring The Pc Station

    9 Example — Unspecified Connection from a PC Application Configuring the PC Station Overview After starting the PC station, installing the software, and installing the hardware, the PC module of the PC station is in PG operation. By adding the communication module in the Station Configuration Editor, the module is automatically switched to the “configured mode”.

  • Page 112

    9 Example — Unspecified Connection from a PC Application Procedure for “Initial Configuration” " Start the Station Configuration Editor by selecting it in the start menu (Start Station Configuration Editor). Select the first line and click on the “Add” button to include the application. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 113

    9 Example — Unspecified Connection from a PC Application Procedure for “Initial Configuration” Select the application in the “Type:” field and the slot in the “Index:” field. The name of the application is the VFD name in your in your C application (assigned in STEP 7;...

  • Page 114

    9 Example — Unspecified Connection from a PC Application Procedure for “Initial Configuration” Check whether the settings of the module match the local configuration. Confirm the dialog with “OK”. The application and the CP 1612 are inserted in the Station Configuration Editor. Confirm the dialog with “OK”.

  • Page 115

    9 Example — Unspecified Connection from a PC Application Caution The IP addresses are read out automatically. Please note that when using DHCP, the IP addresses can change each time the computer restarts. These changes are not automatically updated in the project engineering. Here, a synchronization is necessary otherwise the configured connections will not be established and communication will not be possible.

  • Page 116: Creating, Editing And Downloading A Step 7 Project

    9 Example — Unspecified Connection from a PC Application Creating, Editing and Downloading a STEP 7 Project Below, you will see how to create a new STEP 7 project with PC Station Wizard, add an S7 connection and download the project engineering data to the target system.

  • Page 117

    9 Example — Unspecified Connection from a PC Application Activity Create a copy of this PC as a PC station in the STEP 7 project and assign the project name (here Sample_IE). With this point, the set information is entered automatically in your project. Select “Create a copy of the local PC station”.

  • Page 118: Edit The Network And Connection Project Engineering Data

    9 Example — Unspecified Connection from a PC Application 9.4.2 Edit the Network and Connection Project Engineering Data Activity Select “Edit network and connection configuration”. Click on the “Finish” button to start NetPro. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 119

    9 Example — Unspecified Connection from a PC Application Activity When you close the PC Station Wizard, the following menu appears. (In NetPro, you can enter the VFD name of the application (for example VFD 20) by double-clicking on application and entering the required name. To insert a connection, you must select the application.

  • Page 120

    9 Example — Unspecified Connection from a PC Application Activity You can select the partner, however, only if it already exists in the project. In this example, you configure an unspecified connection. In the case of an S7 connection, no project engineering data whatsoever is required on the partner.

  • Page 121

    9 Example — Unspecified Connection from a PC Application Activity When you have created a new connection, the following menu appears. Enter the address of the partner in the field indicated. Click the “Address Details” button to open the following menu. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 122

    9 Example — Unspecified Connection from a PC Application Activity To specify the access point of the partner application, enter the slot of the CPU in the SIMATIC S7. If you have specified the slot, click on the “OK” button. The main menu appears again.

  • Page 123

    9 Example — Unspecified Connection from a PC Application Activity Confirm with OK. You might be informed of errors by the consistency check. You can only download the project when it is free of errors. If you receive a warning, this is only for your information. You can close the window and download to the PC station.

  • Page 124: Downloading The Project Engineering Configuration

    9 Example — Unspecified Connection from a PC Application 9.4.3 Downloading the Project Engineering Configuration Activity " " With “PLC Download to Current Project Selected Stations”, the project engineering data is loaded locally in the Station Manager on your PC. Loading deletes the existing data on the relevant component and overwrites it with the new information.

  • Page 125

    9 Example — Unspecified Connection from a PC Application Activity Open the Station Configuration Editor - the following configuration screen opens. The application and the CP 1612 are inserted in the Station Configuration Editor. Confirm the dialog with “OK”. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 126: Configuration Console

    " " " Start the Configuration Console with “Start SIMATIC SIMATIC NET Settings Configuration Console”. The project engineering data is loaded locally in the Station Manager on your PC. Select the required “access point”. By double-clicking on the selected access point, a window opens in which you can assign the module.

  • Page 127

    9 Example — Unspecified Connection from a PC Application Activity Select your module under “Assigned interface parameter assignment“. Confirm with “OK”. The setting is entered in the tools. When you now start your application, it functions without changes in the source code. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 128: Snmp

    S a PC S a network adapter S the SIMATIC NET CD 11/2003 software S a device with SNMP capability (for example SIMATIC NET OSM/ESM) S a network connection between the OPC SNMP server and the device with SNMP capability For the PC station, you require a STEP 7 project that was created on a central ES station (not this PC station).

  • Page 129

    Activity Turn on the PC and start Windows. Insert the SIMATIC NET 11/2003 CD. If the installation program does not start the CD automatically, start the start.exe program on the CD. Follow the on-screen instructions of the installation program. Install the SIMATIC NET PC software and SIMATIC NCM PC.

  • Page 130: Configuration Of The Snmp Opc Server

    10 Example — SNMP Communication with OPC 10.2 Configuration of the SNMP OPC Server Activity " " Start “SIMATIC NCM PC Config” with Start SIMATIC SIMATIC NCM PC Manager and then double-click on the configuration icon. Double-click on the “OPC Server” field in the section “(0) PC” to configure the OPC Server: Result: The “Properties - OPC Server”...

  • Page 131

    10 Example — SNMP Communication with OPC Activity Select the “SNMP” tab. Change the cycle time if necessary. The cycle time is the minimum time in which the variables of the OPC SNMP Server are polled. For more detailed information on the cycle time, refer to the online help available with the “Help” button.

  • Page 132: Editing The Plant Configuration

    10 Example — SNMP Communication with OPC 10.2.1 Editing the Plant Configuration Activity In this case, no devices have been registered yet. Click on the “Add ...” button to make a new node known in the plant configuration of the OPC Server: Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 133

    10 Example — SNMP Communication with OPC Activity Enter the necessary information for your device in the “Add Nodes” dialog box: Enter a node name in the “Name” field. Enter the IP address of the device. Select a device profile. The device profile describes the mapping of SNMP variables and traps to the OPC interface.

  • Page 134

    10 Example — SNMP Communication with OPC Activity The settings are then visible in the window of the plant configuration. With “Import Nodes”, all devices that have an IP address and exist in the current project are included automatically in the list of the plant configuration. If the device supports Web based management, this can be started with the “Web based Management ...”...

  • Page 135

    10 Example — SNMP Communication with OPC 10.3 Configuring the PC Station Overview After starting the PC station, installing the software, and installing the hardware, the PC module of the PC station is in PG operation. Handling the Project Engineering Data Depending on the case, two situations must be distinguished (see Section 2.2): S Project engineering before initial configuration - XDB file available S Initial configuration not dependent on project engineering...

  • Page 136

    10 Example — SNMP Communication with OPC Procedure for “Initial Configuration” " Start the Station Configuration Editor by selecting it in the start menu (Start Station Configuration Editor). Click the “Import Station” button, select the XDB file that you want to import and confirm the dialog with “OK”.

  • Page 137

    10 Example — SNMP Communication with OPC Procedure for “Initial Configuration” Confirm the configuration with “OK”. Result: All the communication data configured with S7 is now on the PC station. The communication module is in the “configured mode”. PC configuration is complete. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 138

    You can now access the objects of the programmable controller with any OPC client. The OPC Scout is supplied with the SIMATIC NET PC Software as a tool for commissioning and testing. The next section describes how to read and write variables with this program.

  • Page 139: Inserting A Group

    10 Example — SNMP Communication with OPC 10.4.2 Inserting a Group Organizing Process Variables The process variables of the OPC server (known as OPC items) are assigned to groups. You therefore require an OPC group before you can insert OPC variables. Follow the steps outlined below to create a group and add items to it: Activity Enter a group name in the “Add group”...

  • Page 140

    10 Example — SNMP Communication with OPC Activity Now click on “OK” to insert all the items listed in the right part of the window in the group. The right part of the main window includes the following additional information for the items of the selected group: The current value of the item.

  • Page 141

    10 Example — SNMP Communication with OPC 10.4.3 Setting the Trap Recipient based on the Example of an OSM/ESM Writing Values You set the trap recipient of an OSM/ESM by assigning suitable values to two OPC items. The procedure described here is also an example of how to write values for OPC items using the OPC Scout.

  • Page 142

    10 Example — SNMP Communication with OPC Activity Enter the IP address of the trap recipient and click the “OK” button: Select the snTrapState1 entry and select the menu command “Write value(s)” in the context-sensitive menu. The dialog box for synchronous and asynchronous writing appears. Enter “2”...

  • Page 143: Creating A Device Profile With The Mib Compiler

    10 Example — SNMP Communication with OPC 10.5 Creating a Device Profile with the MIB Compiler Device Profile A device profile contains the SNMP objects (OPC items) required for the SNMP interface of the OPC Server. It maps SNMP variables and SNMP traps on the OPC interface.

  • Page 144

    10 Example — SNMP Communication with OPC Activity Select the “SNMP” tab and click on the “Edit plant configuration ...” button: A dialog box appears in which all the SNMP-compliant devices registered with the OPC Server are listed. Select the device for which you want to create a profile and click the “Edit ...” button to display the dialog box with the node data of the device: Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 145

    10 Example — SNMP Communication with OPC Activity Click on the “Create Profile ...” button to open the dialog box of the MIB compiler: The dialog box of the MIB compiler is in three areas: Left area: MIB area for displaying the MIB objects from the loaded MIB files. Right area: Profile area for adopting and displaying the OPC items / OPC events.

  • Page 146

    10 Example — SNMP Communication with OPC Activity Select the MIB objects for the profile in the structure tree on the left and drag them to the profile area of the dialog box. You can also select a node and drag it to the right-hand area. In this case, all the SNMP variables belonging to the node are adopted as OPC variables.

  • Page 147: Profinet

    S a PC S a network adapter for Industrial Ethernet S the SIMATIC NET CD 11/2003 software S an S7-300 PLC with a CP 343-1 PN PROFINET communications processor S Industrial Ethernet cabling between the PC module and S7 device For the S7-300, you require a project created with the PROFINET tool “SIMATIC iMap”.

  • Page 148

    Installing the Software Activity Turn on the PC and start Windows. Insert the SIMATIC NET 11/2003 CD. If the installation program does not start the CD automatically, start the Setup.exe program on the CD. Follow the on-screen instructions of the installation program.

  • Page 149

    11 Example — PROFINET Communication with OPC 11.2 Configuring the PC Station Overview After starting the PC station, installing the software, and installing the hardware, the PC module of the PC station is in PG operation. By adding the communication module in the Station Configuration Editor, the module is automatically switched to the “configured mode”.

  • Page 150

    11 Example — PROFINET Communication with OPC Procedure for “Initial Configuration” " Start the Station Configuration Editor by selecting it in the start menu (Start Station Configuration Editor). Click the “Import Station” button, select the XDB file that you want to import and confirm the dialog with “OK”.

  • Page 151

    11 Example — PROFINET Communication with OPC 11.3 Using Symbol Files Specifying the Use of Symbol Files The PROFInet tool “SIMATIC iMap” creates a symbol file for the OPC server. Read the documentation of SIMATIC iMap for information on creating a symbol file.

  • Page 152

    11 Example — PROFINET Communication with OPC Activity Select the device parameter assignment “CP1613 (RFC1006)” as the PROFInet module and confirm the dialog: Confirm with “OK”. The last dialog box of the Commissioning Wizard appears. Click the “Finish” button to complete your work with the wizard.

  • Page 153: Station Configuration Editor Tool

    12 Station Configuration Editor Tool 12 Station Configuration Editor Tool With the Station Configuration Editor, you can access the component management of the Station Manager in the PC station. You require the Station Configuration Editor for the initial configuration (as an alternative to remote configuration) and for project engineering and maintenance of a PC station.

  • Page 154: Managing Components: "components" Tab

    The Station Configuration Editor is always available and started on the PC station on which you have installed the SIMATIC NET CD. You can bring it to the foreground by clicking the icon shown here in the taskbar of the Windows desktop (SYSTRAY).

  • Page 155

    12 Station Configuration Editor Tool Displaying the mode Configuration list Note You will find more information on the meaning of the display boxes and the buttons in the integrated help system. Assigning the station name You can assign a name for the PC station by clicking the “Station Name” button. To be able to identify a project engineering configuration that is already loaded locally, the name assigned here must match the name you assigned to the PC station in the project engineering communication settings with NCM PC / STEP 7.

  • Page 156

    12 Station Configuration Editor Tool Creating new components You can select the components installed on your PC station (applications, OPC Server, modules such as controllers) by clicking the “Add” button. The modules are detected automatically. Notice The components in the configuration list you can edit here must be entered in exactly the same order as in the component image you created in SIMATIC NCM PC with HW Config.

  • Page 157

    12 Station Configuration Editor Tool You can import an XDB file at any time regardless of the current mode (online or offline). You can also specify (option) whether you want the “offline mode” to be set following the import. Setting the Online or Offline Mode The current mode is displayed in the in the title bar of the Station Configuration Editor.

  • Page 158: Evaluating Messages: "diagnostics" Tab

    12 Station Configuration Editor Tool Checks and diagnostics S Note on diagnostic entries The entry in the “Status” field in the configuration list constantly informs you whether or not the created component matches the actual hardware configuration and whether there is a match to an existing loaded project engineering database.

  • Page 159

    12 Station Configuration Editor Tool Configuring Activation of Warnings When warnings are enabled, a new event in the diagnostic buffer causes a display in the station manager ICON in the system tray. Whether a warning is indicated depends on the set warning level. Here, you can configure the warning activation (yellow ! character) over the Station Manager icon in the system tray of the taskbar.

  • Page 160: Simatic Ncm Pc Project Engineering Tool

    This is required to configure PC stations and their components. S NetPro This is primarily used for the project engineering of connections and communication properties of the SIMATIC NET OPC server and applications. Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 161

    To create the configuration and project engineering data of a PC station, use the following functions: S Creating and configuring components of the PC station S Setting communication properties of the SIMATIC NET OPC Server in the project engineering S Configuring connections in the project engineering...

  • Page 162

    STEP 7, it may contain components from STEP 7 optional packages. If this is the case, you can only edit stations using SIMATIC NET PC that do not contain components from STEP 7 optional packages.

  • Page 163: Relationship Between Simatic Ncm Pc And Step

    13 SIMATIC NCM PC Project Engineering Tool 13.2 Relationship Between SIMATIC NCM PC and STEP 7 SIMATIC NCM PC and STEP 7 are compatible with each other. S You can open and edit projects that you created with SIMATIC NCM PC at any time in STEP 7/SIMATIC Manager.

  • Page 164

    13 SIMATIC NCM PC Project Engineering Tool The following graphic illustrates the differences once more: STEP 7 SIMATIC NCM PC SIMATIC PC station SIMATIC PC station Other station Other station SIMATIC S5 SIMATIC S5 PG/PC PG/PC SIMATIC 400 station after data import can be used SIMATIC 300 station for configuring connections: SIMATIC H station...

  • Page 165: Creating A Pc Station

    13 SIMATIC NCM PC Project Engineering Tool 13.3 Creating a PC Station The PC Station in the STEP 7 Project The “SIMATIC PC Station” is an object in a SIMATIC STEP 7 project. A typical PC station for OPC operation consists of the following elements: S One or more communications modules (CPs) S An OPC server application and/or other applications S In some situations, other controlling elements such as soft PLC or slot PLC...

  • Page 166

    13 SIMATIC NCM PC Project Engineering Tool Creating and Managing Objects After starting SIMATIC NCM PC, you either open an existing project or create a new one. You use projects to manage your configurations consisting of all or part of the stations of your plant. Objects are arranged in a hierarchical structure within a project.

  • Page 167

    13 SIMATIC NCM PC Project Engineering Tool Note When you start STEP 7, a wizard is opened that helps you to create a new project. In SIMATIC NCM PC, this wizard is replaced by the PC Station Wizard. Depending on your initial situation, this wizard provides you with more extensive support for your PC station.

  • Page 168: Configuring A Pc Station With Simatic Ncm Pc Config

    13 SIMATIC NCM PC Project Engineering Tool 13.4 Configuring a PC Station with SIMATIC NCM PC Config Creating an Image of the PC Configuration To allow the configuration data sent by the configuration system to be assigned to a module or an application, it must have a unique identification number. The identification number for modules, applications, and other components in a PC station is the index.

  • Page 169

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps below: Drag the components from the catalog to the list (the “virtual rack”) displayed in PC Config. Notice Please note the following if you are transferring data by downloading: Make sure you arrange the components exactly the same as in the configuration list of the Station Configuration Editor (see Section 12.2).

  • Page 170

    13 SIMATIC NCM PC Project Engineering Tool PC Components in the Catalog For the SIMATIC PC station, you can select the following components: S Application - Application (standard application) You use standard interfaces to communicate with other applications and devices via your PC module. The user programs included in the application use suitable interfaces for communication, such as the SAPI programming interface or the SEND/RECEIVE programming interface.

  • Page 171: Creating The Dp Master System

    13 SIMATIC NCM PC Project Engineering Tool 13.5 Creating the DP Master System Read the information below if you want to use a PROFIBUS CP and configure a DP master system. Significance of the Configuration Data in a DP Master System The configuration data inform the DP master in the PC station of the data and address areas of the attached slaves.

  • Page 172

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps below: Now go to the catalog and insert the DP slaves devices that will be addressed over the application. Drag the DP slave from the catalog onto the icon of the DP master system. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 173: Creating A Profinet Io System

    13 SIMATIC NCM PC Project Engineering Tool 13.6 Creating a PROFINET IO System The following information applies if you want to use an Ethernet CP as PROFINET IO controller in the PC station and want to configure a PROFINET IO system.

  • Page 174

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps below: Now go to the catalog and insert the IO devices that will be addressed over the application. Drag the IO device from the catalog onto the icon of the PROFINET IO system. PROFINET IO Devices PROFINET IO devices can be connected either directly to Ind.

  • Page 175: Configuring Connections

    13 SIMATIC NCM PC Project Engineering Tool 13.7 Configuring Connections Meaning During operation, configured connections are established either implicitly or on request, depending on the parameter assignment. They are then available to the OPC Server or the PC application for communication. General Rules Regardless of the application type, the general rules for connection configuration apply:...

  • Page 176

    13 SIMATIC NCM PC Project Engineering Tool Connections to S7 Stations When you configure systems that include PC stations and SIMATIC S7 stations, the use of STEP 7 is generally advisable. You can then edit and process every station type completely and with full functionality. After creating a new project in SIMATIC NCM PC, you will find that the required destination station (for example an S7 station) may not exist depending on the particular application intended.

  • Page 177: Project Engineering For A Pc Station As Dp Slave

    13 SIMATIC NCM PC Project Engineering Tool 13.8 Project Engineering for a PC Station as DP Slave This section explains how to create the project engineering for a PC station with the CP 5611 as DP slave. Two situations can be distinguished: S The DP master engineering data was created in NCM/STEP 7 (in the example as other PC station) S The engineering data for the DP master cannot be created in NCM / STEP 7...

  • Page 178

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps outlined below: Save and compile the configuration. In the next section, the PC station will be assigned to a DP master system, in the example also a PC station. Follow the steps below: Follow the steps outlined below: In HW Config, open the configuration of the PC station set up with a DP master system.

  • Page 179

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps outlined below: When you move the DP slave onto the master system, the following dialog appears: Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 180

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps outlined below: Click on the ”Connect” button and confirm with OK. This creates a link between the DP slave now connected to the master system and the PC station previously created in the engineering. In the next section, the submodules of the DP slave will be configured with the inputs and outputs.

  • Page 181

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps below: Follow the steps outlined below: To create inputs and outputs in the project engineering, select universal modules under ”PC station as DP slave” in the catalog and insert them in the list. By double -clicking on the inserted universal module, you can configure the module with the required I/O types.

  • Page 182

    13 SIMATIC NCM PC Project Engineering Tool Follow the steps outlined below: Repeat these steps for all submodules. Save and compile the configuration. 13.8.2 Configuration with a “Third- party” DP Master DP master system for configuring the DP slave If the DP master engineering cannot be done in NCM / STEP 7, however you want to engineer the PC station used DP slave in NCM / STEP 7, you will have to create a substitute DP master with a DP master system in the S7 project.

  • Page 183

    13 SIMATIC NCM PC Project Engineering Tool Examples / model The SIMATIC.NET\dp\demo_gsd folder contains two model GSD files for the SIMATIC NET SOFTNET PB modules: S siem8076.gsd Use this model file if the DP slave will be operated with its own application.

  • Page 184

    13 SIMATIC NCM PC Project Engineering Tool 13.9 Downloading Project Engineering Data to the PC Station (after Initial Configuration) To allow applications to exchange information over configured communication connections, the project engineering data created with NCM PC / STEP 7 must be loaded on the PC station.

  • Page 185: Online Mode

    13 SIMATIC NCM PC Project Engineering Tool 13.9.1 Online Mode The online mode allows you to download the configuration data directly to a PC station attached to the network (MPI, PROFIBUS or Ethernet), or to load the data on the local PC station if you are using this as the configuration station. S Online mode - networked (engineering station networked with runtime Runtime PC Engineering station...

  • Page 186

    13 SIMATIC NCM PC Project Engineering Tool S Online mode - local (configuration station and PC station identical) Download This situation occurs when the configuration system is installed on the PC station (engineering station). In this case, the configuration data are transferred directly over an internal PC connection.

  • Page 187: Pc Station Wizard

    13 SIMATIC NCM PC Project Engineering Tool Using the PC Station Wizard. In the situation described here, “online - local”, the use of the PC Station Wizard is also possible. If you have not yet created the project engineering data for the PC station in NCM PC / STEP 7 following initial configuration or the configuration has changed compared with an existing project engineering database, you can transfer the current configuration to the project engineering database with the PC Station...

  • Page 188

    13 SIMATIC NCM PC Project Engineering Tool Note To make it possible to identify the PC station, the station name in the configuration must match the locally configured station name. If this is not the case, it is not possible to adopt the configuration on the PC station! Set the station name, if necessary, in the Station Configuration Editor.

  • Page 189: 13.10 Adapting Mismatched Configurations

    13 SIMATIC NCM PC Project Engineering Tool 13.10 Adapting Mismatched Configurations The Station Configuration Editor displays assigned indexes If you cannot download configuration information to the PC station, this may be due to a mismatched configuration. The Station Configuration Editor will provide you with an overview of the indexes allocated to the PC station.

  • Page 190: 14 Pc Station Wizard

    14 PC Station Wizard 14 PC Station Wizard The PC Station Wizard supports you when creating projects in SIMATIC NCM PC or STEP 7. It allows the automatic adoption of configuration on the local PC station. This helps you to make sure that your configuration data is consistent. A typical use case, for example, might be to adopt the configuration of a PC station in a “temporary”...

  • Page 191

    14 PC Station Wizard The PC Station Wizard supports you in the following situations: S Changing local settings If the SIMATIC NCM PC configuration tool is installed on the destination PC station, the wizard can compare the configuration data with the planned configuration data that already exist.

  • Page 192: 15 Symbol File Configurator Too

    With the Symbol File Configurator, you can create symbol files that allow you the option of access to symbolic variables over the SIMATIC NET OPC server. A symbol file is structured hierarchically and has a structure similar to a file system.

  • Page 193

    15 Symbol File Configurator Too How to Start the Symbol File Configurator You start the Symbol File Configurator from the Windows Start menu: Start " SIMATIC " SIMATIC NET " Settings " Symbol File Configurator Structure Navigation area Content area with folders and...

  • Page 194

    15 Symbol File Configurator Too Parameter Meaning EU Lo Indicates the low limit of the range of values of the variable (Engineering Units Low). The information about a range of values is used for the “Percent Deadband” OPC functionality. EU Hi Indicates the high limit of the range of values of the variable (Engineering Units High).

  • Page 195: The Meaning Of Symbols

    15 Symbol File Configurator Too 15.2 The Meaning of Symbols Definitions The terms listed below are important in conjunction with the Symbol File Configurator: Term Meaning OPC ItemID The OPC ItemID is the identifier of a process variable used by the OPC server. An ItemID is transferred by the OPC client to the OPC Server to identify a process variable and is unique for the OPC Server.

  • Page 196: Configuration Console

    15 Symbol File Configurator Too When to Use Symbols? The use of symbolic names is not mandatory. One exception to this is communication over PROFInet or communication with a SIMOTION partner. Here only symbols are used. You can either do without self-defined symbols or add symbols at a later point in time.

  • Page 197: Menus Of The Symbol File Configurator In Detail

    “File” Menu This menu contains standardized commands for working with the files (for example, “Open File”, “Save File” etc.). All symbol files have the extension “sti” (Siemens Tag Info). The following menu commands are available. Table 15-1 Menu Command Meaning Select this menu command to create a new symbol file.

  • Page 198

    15 Symbol File Configurator Too “Edit” Menu This menu contains commands with which you can edit folders and symbols. Here, you will find the essential functions of the tool. In the following sections, you will find a detailed description based on sequences of steps. Table 15-2 Menu Command Meaning...

  • Page 199: Managing Symbols

    15 Symbol File Configurator Too 15.4 Managing Symbols 15.4.1 How to Insert a New Symbol Activity Select a folder in the left-hand area of the program window. The program always creates new symbols below the selected folder. Select “New Symbol” in the “Edit” menu. Select “New Symbol”...

  • Page 200: How To Insert A New Folder

    15 Symbol File Configurator Too Activity The variable appears in the Selected Items part of the window. Add a symbolic name here. Repeat steps 3 and 4 when necessary for other variables. Close the “Add Items” dialog by clicking the “OK” button. 15.4.2 How to Insert a New Folder Activity...

  • Page 201: How To Add A Name Space Prefix

    15 Symbol File Configurator Too 15.4.3 How to Add a Name Space Prefix Activity Select “Add/Change Prefix ” in the “Edit” menu. The “Change Prefix” dialog appears. Here, enter a name for the prefix or change an existing prefix name and confirm your entry by clicking the “OK”...

  • Page 202: How To Export A Symbol File

    15 Symbol File Configurator Too 15.4.6 How to Export a Symbol File Activity In the OPC Address Space dialog, select the context-sensitive menu “Export to CSV File”. A dialog appears in which you can save a file. Select a folder and enter a file name. Confirm your entries by clicking the “OK” button. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 203: 16 Configuration Console Tool

    16.1 Characteristics, Function and Activation How to Start the Configuration Console Select the following from the Start menu of the Windows operating system: Programs " SIMATIC NET " Settings " Configuration Console Commissioning PC Stations - Manual and Quick Start...

  • Page 204

    S Access points S Language settings Navigation area Input/output area You will find configuration examples in the main folder ”SIMATIC NET Configuration”. For more detailed information, refer to Section 16.2.9. Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 205: Support During Commissioning And Operation

    16 Configuration Console Tool 16.2 Support During Commissioning and Operation Overview The essential functions provided by the “Configuration Console” tool for commissioning and operation are as follows: S Configure and set the traces for OPC and protocols S Deactivate the protocols to commission the system gradually S Set the symbol files for OPC S Force the OPC Server to shut down (for example, when an OPC application is no longer reacting)

  • Page 206

    16 Configuration Console Tool If you want to trigger a restart on the module..Activity Open the “Modules” folder in the navigation area. Select the relevant module. Click on the “General” property object. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 207: Forcing The Opc Server To Close Down

    16.2.2 Forcing the OPC Server to Close Down The OPC server for SIMATIC NET is started automatically by the operating system when a client wants to use it. The OPC server maintains reference counters to be able to recognize when the last registered client is closed. The OPC Server then closes itself down.

  • Page 208

    16 Configuration Console Tool If you want to close down the or restart OPC server ..Activity Open the “Applications” folder in the navigation area. Select “OPC Settings”. Click on the “Exit OPC Server” property object. If you want to send a notification text to the OPC clients about the close down over the OPC Server, you can enter this in the “Notification text”...

  • Page 209: Activating Configured Protocols Step By Step

    16 Configuration Console Tool 16.2.3 Activating Configured Protocols Step by Step By configuring a DP master system and connections, you specify which protocols will be used by the OPC Server. During the commissioning of a system, it is sometimes useful to commission the protocols individually one after the other.

  • Page 210

    Note By deactivating protocols you restrict the range of functions and possibly also the operability of the PC station, the SIMATIC NET Information Service therefore notifies you of this setting! Commissioning PC Stations - Manual and Quick Start...

  • Page 211: Setting A Symbol File For Opc

    Setting a Symbol File for OPC Note The following information relates to the “Configuration Console” program of the SIMATIC NET software as of Version 6.1. If you want to use a symbol file for the OPC Server... Activity Open the “Applications” folder in the navigation area.

  • Page 212

    16 Configuration Console Tool Activity Additional Settings for PROFInet and SIMOTION. If you use a symbol file created by the engineering tools for PROFInet or SIMOTION, you must also select a module for the communication paths. Click on the “Advanced Symbols...” button Note: It is only necessary to make settings in advanced symbols if the “S7_extended”...

  • Page 213: Setting Traces

    The SIMATIC NET Information Service signals the activation of a trace so that the user is immediately aware of the reduced performance.

  • Page 214

    16 Configuration Console Tool Activity The table lists the possible traces for the protocols and the OPC Servers in the input/output area. Click on a protocol or an OPC server, for example on “PROFIdrive” to open the OPC Server for PROFIdrive.

  • Page 215

    16 Configuration Console Tool If you want to create traces of the protocol libraries..Activity Open the “Applications” folder in the navigation area. Open the “OPC settings” folder in the navigation area. Click on the “Protocol trace” property. The table lists the traces for the protocol libraries. The protocol libraries for the protocols DP, S7, FMS, SR etc.

  • Page 216

    16 Configuration Console Tool Activity Double-click on a protocol, for example, on “S7” for the trace settings of SAPI S7. The corresponding Properties dialog box opens. Activate the trace by setting the first option box to “Overwrite trace file” or “Append to trace file”. “Apply”...

  • Page 217: Language Setting

    If the check box ”Adopt language setting from SIMATIC Manager“ is selected, the language of the SIMATIC NET tools will be set to the language selected for the SIMATIC Manager. This is only possible if the language is included in the list. Otherwise, the language selected in the ”Language”...

  • Page 218: Automatic Startup Of Applications And Services

    16 Configuration Console Tool 16.2.7 Automatic Startup of Applications and Services; Applications and services you set up on a PC station can be synchronized with the startup of the PC station. As soon as the PC station is operational, user applications and user services are started.

  • Page 219

    16 Configuration Console Tool Step Activity To enter an application in the list, click the ”New” button at the top. The operating system then displays the file selection dialog. Here, you can select the application. After exiting the file selection dialog, the path of the application can be seen in the list. You can enter any call parameters for the specific application in the text box below.

  • Page 220

    16 Configuration Console Tool Note for software developers: Applications can be synchronized with the startup and shutdown using global events. S Event ”SimaticNetPcStationUpEvent”: The global event ”SimaticNetPcStationUpEvent“ is in the ”signaled” state when the PC station has started up and is ready for OPC communication. Applications that require a started-up PC station and functioning OPC communication the previously had to wait for an undefined time can wait for the event and therefore be synchronized with the startup of the PC station.

  • Page 221: Security Setting (windows Xp + Sp2 Only)

    The default settings of the operating system do not allow any communication from applications over the network. Although installing the SIMATIC NET CD enters the OPC servers in the exceptions list of the Windows Firewall, this is not enough to allow operation with OPC again.

  • Page 222

    16 Configuration Console Tool Step Activity Note: The ”Disable“ button cancels these settings. You should also remember that this disable also affects other applications that use this access method. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 223: Configuration Examples

    Follow the steps below to display the configuration examples ... Step Activity Select the ”SIMATIC NET Configuration” folder in the navigation area. In the middle section of the window you will see the configuration examples listed. The texts with a blue underscore are HTML links to the corresponding examples.

  • Page 224: Editing The Configuration

    16 Configuration Console Tool 16.3 Editing the Configuration Overview During configuration you can do the following: S Change the mode of the module and set the index S Set the Industrial Ethernet network parameters S Set the Industrial Ethernet station addresses for the CP 1613 S Assign the application access points to the individual modules S Set the PROFIBUS DP slave mode These options are described in the following sections 16.3.1 to 16.3.5.

  • Page 225

    16 Configuration Console Tool Activity Select the mode you want to use for the module: Configured mode The parameters for the module are set in the project engineering data. PG Operation The parameters for the module are set in the “Set PG/PC Interface” or Configuration Console program.

  • Page 226: Displaying And Setting The Industrial Ethernet Network Parameters For A Cp 1613

    16 Configuration Console Tool 16.3.2 Displaying and Setting the Industrial Ethernet Network Parameters for a CP 1613 For the Industrial Ethernet module CP 1613, the current settings are displayed and can be modified for the following functions: S duplex mode (half duplex, full duplex, automatic) S medium type (AUI, TP, automatic) S transmission rate (10 Mbps, 100 Mbps, automatic) Three sets of option buttons are available with which the user can select the...

  • Page 227

    16 Configuration Console Tool If you want to display and set the Industrial Ethernet network parameters of the CP 1613 ..Activity Open the “Modules” folder in the navigation area. Select the “CP 1613” Ethernet module. Click on the “Network parameters” property object. If you want to modify the network parameters: Activate the required option button for each parameter.

  • Page 228: Setting The Industrial Ethernet Station Addresses

    16 Configuration Console Tool 16.3.3 Setting the Industrial Ethernet Station Addresses Note The modules for SOFTNET Industrial Ethernet are managed by the Windows operating system. This means that the station addresses of these modules must be set with the standard mechanisms of Windows. If you want to set the Industrial Ethernet station addresses of the CP 1613..

  • Page 229: Assigning Access Points To The Individual Modules

    16 Configuration Console Tool Activity Depending on the mode set for the module, you can modify or only check the address parameters. Configured mode The parameters are set in the project engineering and cannot be changed. PG Operation The parameters can be changed. If you have selected “PG operation”, set the address parameters.

  • Page 230

    16 Configuration Console Tool If you want to assign an access point of an interface parameter assignment to a module..Activity Open the “Access points” folder in the navigation area. Double-click on the access point you want to edit in the right-hand window. Set the interface parameter assignment to be assigned to the access point.

  • Page 231: Setting The Profibus Dp Slave

    16 Configuration Console Tool 16.3.5 Setting the PROFIBUS DP Slave To be able to use the DP slave submodule of the CP 5614/CP 5614 FO/CP 5614 A2 with OPC, configure the submodule as described below. It is not possible to configure these settings in the project engineering data NCM PC / STEP 7.

  • Page 232

    16 Configuration Console Tool Activity Set the remaining properties of the DP slave module as follows: Use DP slave module with OPC With this check box, you decide whether or not the DP slave module will be used for OPC. Address The network address of the DP slave on PROFIBUS.

  • Page 233: Diagnostics With "configuration Console

    16 Configuration Console Tool 16.4 Diagnostics with “Configuration Console” Overview In diagnostics with “Configuration Console”, you can, for example, do the following S Display the operability of the modules S Display the PROFIBUS network parameters S Display the available network nodes S Display and set the Industrial Ethernet network parameters S Display the version information of hardware and software These options are described in the following sections 16.4.1 to 16.4.5.

  • Page 234

    16 Configuration Console Tool Activity The bus parameters and the version information of the module are queried and displayed here. By querying the module, the internal communication path is tested. The result of the operation is displayed. Click the “Test” button again to query the bus parameters. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 235: Displaying The Industrial Ethernet Network Parameters For A Cp 1613

    16 Configuration Console Tool 16.4.2 Displaying the Industrial Ethernet Network Parameters for a CP 1613 For the Industrial Ethernet module CP 1613, the following current settings are displayed S duplex mode (half duplex, full duplex, automatic) S medium type (AUI, TP, automatic) S transmission rate (10 Mbps, 100 Mbps, automatic) As long as no valid connection to the module is detected, the output fields display the entry “unknown”.

  • Page 236: Displaying Profibus Network Nodes

    16 Configuration Console Tool 16.4.3 Displaying PROFIBUS Network Nodes If the module is operational, a list with all the nodes on the bus is created after starting this function. If the module is currently communicating and the module supports the function, the list of bus parameters is created from local information of the module.

  • Page 237

    16 Configuration Console Tool Activity After the call, the bus nodes are queried and displayed. Four different symbols are used to indicate the operating mode of a station: Empty box with gray background (the same background color as tabs): No partner device found Empty box with bright background: Passive station (for example DP slave) Check mark on bright background: Active station (for example DP master)

  • Page 238: Displaying Profibus Network Parameters

    16 Configuration Console Tool 16.4.4 Displaying PROFIBUS Network Parameters Follow the steps outlined below... Activity Open the “Modules” folder in the navigation area. Select the relevant PROFIBUS module. Click on the “Address” property object. After the call, the address parameters set for the module are displayed. Timeout Here, you can set the connection monitoring time for the CP 5511 / CP 5512 / CP 5611.

  • Page 239: Displaying Version Information Of Hardware And Firmware

    16 Configuration Console Tool 16.4.5 Displaying Version Information of Hardware and Firmware Follow the steps outlined below... Activity Open the “Modules” folder in the navigation area. Select the relevant module. Click on the “Version” property object. After the call, version information about the communication module is displayed. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 240: 17 Opc Scout

    17 OPC Scout 17 OPC Scout With the OPC Scout, you can test an OPC application or commission the OPC server. The following description assumes that you are familiar with the terminology and mechanisms of OPC (OPC server and OPC client). You will find basic and detailed information on this topic in the Industrial Communication with PG/PC manual /1/.

  • Page 241

    17 OPC Scout How to Start the OPC Scout You start the OPC Scout from the Start menu of the Windows operating system: Programs " SIMATIC NET " PROFIBUS " CP5613_5614 " OPC Scout (or in the part of the Start menu in your product)

  • Page 242: Connecting The Opc Scout To A Local Server

    OPC.SimaticNET.DP (high-performance DP inproc server) OPC.SimaticNET.PD (PROFIDrive OPC server) Open the Server menu and select the Connect menu command. The OPC Scout is connected to the local OPC Server for SIMATIC NET. A dialog for creating a group opens. 17.3...

  • Page 243: Create A Group

    17 OPC Scout 17.4 Create a Group You must first create one or more groups in which you can then manage the items you want to monitor or control. Activity Open the Group menu and select the Add Group menu command or click on [New Group] in the Navigator window.

  • Page 244

    17 OPC Scout Activity Select the required group for which you want to browse the process space of the server in the Servers and Groups Navigator of the OPC Scout. Open the Item menu and select the Add Item(s) command. The OPC Navigator window opens.

  • Page 245: Create New Variables

    17 OPC Scout 17.6 Create New Variables You can create new variables using the OPC Navigator window. Activity In the left column of the OPC Navigator window, select the entry for which you want to create a new variable. All variables that have already been defined are displayed in the middle column. Double-click the entry New Definition.

  • Page 246: Customizing The Display

    17 OPC Scout 17.8 Customizing the Display You can decide what information is displayed for variables in the OPC Scout window. Activity Open the View menu and click the Options menu command. The ”Options” window is displayed and the ”Columns to Display” tab is visible. Select the information you want to have displayed for the variables in the OPC Scout.

  • Page 247: Display Attributes

    17 OPC Scout Meaning of the Columns Name Meaning OPC ItemIDs Unique name of the OPC item. Value Value of the variable displayed in the format set in the Format column. Format Representation For integers, you can select between the original format, hexadecimal, or binary.

  • Page 248: File Menu

    17 OPC Scout 17.10 Change Values Using the OPC Scout you can modify the values of writable variables directly. Activity Select the variable whose value you want to change in the variable display in the main window of the OPC Scout. You can also select more than one variable and assign a common new value.

  • Page 249: View Menu

    17 OPC Scout The menu command has the following function Print Item List to File Writes the currently displayed items and all values to a file. A file list box is displayed in which you can enter the file name. Print Project to File Writes information about servers, groups, and all items of all groups to a file.

  • Page 250: Group Menu

    17 OPC Scout 17.11.4 Group Menu The Group menu contains the following commands: The menu command has the following function Add Group Adds a group. The Add Group window opens. You enter the name and properties of the group in the window. Remove Group Deletes the selected group.

  • Page 251

    17 OPC Scout 17.11.6 ? Menu The ? menu contains the following commands: The menu command has the following function Change Language Changes the display language of the OPC Scout. About OPC Server Opens a dialog box with general information on the OPC Server and version.

  • Page 252: Dcom Settings

    18 DCOM Settings with the dcomcnfg System Program 18 DCOM Settings with the dcomcnfg System Program 18.1 Characteristics, Functions and Activation To allow a client to use a COM object on another computer, the properties of the COM object must be configured on the client and on the remote computer. You configure DCOM and the required COM objects using the Windows system program dcomcnfg.

  • Page 253

    18 DCOM Settings with the dcomcnfg System Program This opens the required properties dialog Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 254

    18 DCOM Settings with the dcomcnfg System Program for example Windows 2000,... for example Windows The “General”, “Options” and “MSDTC” tabs only appear in Windows XP and are not discussed further in this section. The “Default Properties”, “Default Protocols” and “Default COM Security” tabs provide the same setting options as in other Windows versions.

  • Page 255

    18 DCOM Settings with the dcomcnfg System Program Note In Windows XP + SP2, the “Default COM Security” tab has been renamed to ”COM Security”. Note If you lower the security settings, the system must be restarted to activate the changes.

  • Page 256

    18 DCOM Settings with the dcomcnfg System Program Settings When operating in a domain, the default authentication level can by set to “Connect” and the Default Impersonation Level to “Identify” for security reasons. In this case the relevant accounts must be specified in the “Default Security” (see Section 18.3).

  • Page 257: Security" Tab

    18 DCOM Settings with the dcomcnfg System Program 18.3 ”Default Security” / ”Default COM Security” / ”COM Security” Tab Description of the Settings In this tab (Windows 2000 : ”Default Security” ; Windows XP : ”Default COM Security”, Windows XP+SP2 : ”COM Security”), you can specify the permissions for DCOM.

  • Page 258

    18 DCOM Settings with the dcomcnfg System Program Table 18-1 Default Permissions Meaning Access permissions The default access permissions for all COM objects specify which accounts are allowed to access the object; in other words, call the methods and which accounts are explicitly denied access. Launch permissions The default launch permissions for all COM objects specify which accounts have the right to create the object and which accounts are...

  • Page 259

    18 DCOM Settings with the dcomcnfg System Program New as of Windows XP + SP2: As of Service Pack 2 for Windows XP, you can also set the limit for applications that specify their own permissions. Communication over OPC requires the following security limits: S Local and remote access for the ANONYMOUS LOGON in Access Permission You should set the following permissions for the applications used (for example, OPC.SimaticNET) (see 18.4 and 18.6.4):...

  • Page 260: Dcom Configuration / "applications" Tab

    The DCOM configuration of the properties for the computer with the OPC client differs from that of the computer with the OPC server. The OPC server for SIMATIC NET is listed as “OPC.SimaticNET”. In other Windows operating systems, you will find the COM objects in the “Applications”...

  • Page 261

    In the “Default Protocols” tab, you specify the network protocols that are available for DCOM. Note The OPC server of SIMATIC NET was tested with the “Connection-oriented TCP/IP” protocol. Since the order of the protocols in the dialog decides the priority, DCOM uses the protocol at the top of the list if it is available.

  • Page 262: Configuration Of The Server Computer

    18 DCOM Settings with the dcomcnfg System Program 18.6 Configuration of the Server Computer Introduction On the PC station in which the OPC server is operated, you must set which accounts have the right to use the server. In addition to the special permissions in conjunction with OPC, the account of the user of the OPC servers must also have user permissions.

  • Page 263

    18 DCOM Settings with the dcomcnfg System Program 18.6.1 “General” Tab: Registering the OPC Server With the OPC server, the default setting assumes an open system and assumes that the user will adapt the settings when higher security is required. If you select the “Security”...

  • Page 264

    18 DCOM Settings with the dcomcnfg System Program 18.6.2 “Location” Tab Description of the Settings The “Location” tab is used to specify the computer on which the server is started. Since the configuration of the computer with the OPC server is described in this section, you must select the “Run application on this computer”...

  • Page 265

    This mode must not be used with the OPC server for SIMATIC NET, since the OPC server would otherwise be started more than once by different user accounts and this is not permitted.

  • Page 266

    18 DCOM Settings with the dcomcnfg System Program Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 267

    18 DCOM Settings with the dcomcnfg System Program 18.6.4 “Security” Tab Introduction You specify the access permissions for the OPC server in the “Security” tab. For the three aspects relevant to COM objects, you can either use the default permissions or user-defined permissions for the selected COM object. Notice If you select the default settings in the “Security”...

  • Page 268

    18 DCOM Settings with the dcomcnfg System Program Specifying the Standard Permissions The users that are allowed to use the OPC server must be entered in the default access permissions, launch permissions, and configuration permissions. Several users have been entered in the following examples of the required permissions: Both on the server and on the client computer, the logons (and therefore the information about permissions in the logon) must exist on the other computer.

  • Page 269

    S Local and remote activation for Anonymous Logon in Launch Permission; S Local and remote access for the Anonymous Logon in Access Permission The settings are made automatically when you install the SIMATIC NET CD. Multiterminal Mode In multiterminal mode with the identity “This user” for the OPC server, you must assign standard permissions to the “This user”...

  • Page 270

    18 DCOM Settings with the dcomcnfg System Program Specifying Access Permissions Activity After clicking the “Edit” button in the “Use custom access permissions” box, the following dialog box appears: Add the account of the user under which the OPC server will start. If different, you must also add the account of the user under which the client runs.

  • Page 271

    18 DCOM Settings with the dcomcnfg System Program Specifying Launch Permissions Activity After clicking the “Edit” button in the “Use custom launch permissions” box, the following dialog box appears: Add the account of the user under which the OPC Server will be started and, if different, the account under which the client runs.

  • Page 272

    18 DCOM Settings with the dcomcnfg System Program Specifying Configuration Permissions Activity After clicking the “Edit” button in the “Use custom configuration permissions” box, the following dialog box appears: Add the account of the user under which the OPC Server will be started and, if different, the account under which the client runs.

  • Page 273: Configuration Of The Client Computer

    18 DCOM Settings with the dcomcnfg System Program 18.7 Configuration of the Client Computer Overview When operating with DCOM, this situation is that the OPC server runs on a different computer from the OPC clients (applications). This is why no process for the OPC server is visible in the Windows Task Manager of the client computer.

  • Page 274

    18 DCOM Settings with the dcomcnfg System Program Registering the OPC server - follow the steps below: The location of the server must be specified in the “Location” tab. For DCOM operation, only the check box “Run application on the following computer:” must be selected.

  • Page 275

    18 DCOM Settings with the dcomcnfg System Program Registering the OPC Scout as Client The OPC Scout is an OPC client that you will find in DCOM as a registered object. If you display the properties of the OPC Scout application DCOM, “None” is displayed as the authentication level.

  • Page 276

    18 DCOM Settings with the dcomcnfg System Program It is advisable to register other OPC clients as DCOM objects. The advantage of this is that you can configure the security settings as described here with DCOMCNFG without needing to modify system-wide settings. Security Settings per User Program You can also make the settings described in the earlier sections using the user program.

  • Page 277: A Notes For Users Of Older Versions

    LDB and XDB Databases - Overview Consequences of the New Central Project Engineering As of the SIMATIC NET PC software CD 07/2001, all SIMATIC NET PC software products have central project engineering and download mechanisms. The project engineering data is now stored in XDB configuration files.

  • Page 278

    Description A project engineering configuration created with the tools of the SIMATIC NET product CDs up to and including SIMATIC NET CD 05/2000 will be called the “previous project engineering” in the description below. Previous Project Engineering with LDB databases Each protocol of each module required its own database.

  • Page 279

    A Notes for Users of Older Versions Previous Project Engineering with LDB and XDB Databases Even when the entire communication of all modules for the S7 protocol was stored in the XDB database, separate LDB databases were required for DP and FMS. An optional OPC server also had its own data storage: Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 280

    COML TF Continued use possible, as previously with COML TF. Note If you want to continue using the previous project engineering tools, use the SIMATIC NET CD 05/2000. Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

  • Page 281: Simatic Net Cd 05/2000 And Earlier

    What to do: Keep using the products of the SIMATIC NET 5/2000 CD if you want to use a CP 1413 in your computer or replace it with a CP 1613. PG-1613 up to version 2.1 for Windows 2000 Pro or Windows NT 4.0 Situation: PG operation possible as before.

  • Page 282

    PG operation under Windows 2000 Pro or Windows NT 4.0 remains possible and is unchanged. What to do: Under Windows Me or Windows 98, use the SIMATIC NET CD 05/2000. Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 283

    What to do: Keep using the products of the SIMATIC NET 05/2000 CD if you want to use a CP 5412 in your computer or replace it with a CP 5613. Commissioning PC Stations - Manual and Quick Start...

  • Page 284

    A Notes for Users of Older Versions DP 5613 up to version 2.1 for Windows 2000 Pro or Windows NT 4.0 Situation: A DP project engineering configuration created with the COM PROFIBUS program cannot be used. What to do: A DP project engineering configuration created with the COM PROFIBUS program must be recreated with SIMATIC NCM PC V5.1 Service Pack 2 or higher or STEP 7 Version 5.1 Service Pack 2 or higher.

  • Page 285

    FDL interface over OPC with SIMATIC NCM PC or STEP 7 in the future! What to do: Under Windows 98, use the SIMATIC NET CD 05/2000. A DP project engineering configuration created with the COM PROFIBUS program must be recreated with SIMATIC NCM PC V5.1 Service Pack 2 or higher or STEP 7 Version 5.1 Service Pack 2 or higher.

  • Page 286

    What to do: Under Windows 98, use the SIMATIC NET CD 05/2000. A project engineering configuration created with the COML S7 program must be recreated with SIMATIC NCM PC V5.1 Service Pack 2 or higher or STEP 7 Version 5.1 Service Pack 2 or higher.

  • Page 287

    B Description of the PROFINET Configuration File Configuration File When you install the PROFInet OPC Server for SIMATIC NET, a configuration file is installed. For special adaptations, it may be necessary to modify the factory settings contained in the configuration file.

  • Page 288

    B Description of the PROFINET Configuration File The Cycle Time Parameter This parameter will be configured in the user interface as of SIMATIC NET V6.1 with STEP 7/SIMATIC NCM PC V5.2 and higher. Parameter Meaning Syntax [PROTOCOL] CycleTime=100 Purpose The scan cycle time specifies how often the OPC server updates the values of the OPC items using a new communication job.

  • Page 289

    Relationship between the Set Protocol-specific Since the SIMATIC NET OPC Server can use Cycle Times variables of different protocols at the same time, the maximum update rate of the OPC server is the...

  • Page 290

    B Description of the PROFINET Configuration File The InitiateTimeout Parameter This parameter is specified in section [<connectionname>]. The connection name contains the IP address from the iMap project engineering (network view) and the PROFInet device name configured in iMap. Parameter Meaning Syntax [192.11.2.34|S7-300 Station (1)]...

  • Page 291

    B Description of the PROFINET Configuration File The Timeout Parameter This parameter is specified in section [<connectionname>]. The connection name contains the IP address from the iMap project engineering (network view) and the PROFInet device name configured in iMap. Parameter Meaning Syntax [192.11.2.34|S7-300 Station (1)]...

  • Page 292: C References And Literature

    - System software for S7-300/400 System and Standard Functions Part of the online documentation in STEP 7 Siemens AG For installing and operating an Industrial Ethernet network SIMATIC NET manual Industrial Twisted Pair Networks Siemens AG Commissioning PC Stations - Manual and Quick Start Release 5/2005...

  • Page 293

    C References and Literature Ethernet, IEEE 802.3 (ISO 8802-3) For installing and operating an Industrial Ethernet network SIMATIC NET manual for Triaxial Networks for Industrial Ethernet /10/ Lokale Netze - Kommunikationsplattform der 90er Jahre Andreas Zenk Addison-Wesley ISBN 3-89319-567-X /11/...

  • Page 294

    Programming Manual Siemens AG Order numbers The order numbers for the SIEMENS documentation listed above can be found in the catalogs “SIMATIC NET Industrial Communication, Catalog IK PI” and “SIMATIC Programmable Logic Controllers SIMATIC S7 / M7 / C7, Catalog ST70”.

  • Page 295: D Glossary

    / module. Advanced PC Configuration (APC) As of the SIMATIC NET PC/Windows CD 07/2001, a new standard for PC commissioning is available - Advanced PC Configuration. Automatic software installation, Plug and Play for all supported modules, and user-guided...

  • Page 296

    D Glossary PC Station In this context, a PC station means a PC with communications modules and applications. The role of this PC might be, for example, to communicate with SIMATIC S7 devices and perform process control tasks. The term “runtime station”...

  • Page 297: Document History

    E Document History This chapter provides you with an overview of the previous releases of this manual and the functional additions. New in release 01 / 2005 (C79000 - G8976 - C156 - 06) Among other things, this release includes the following new functions: S Remote Configuration With PC stations that can be reached online from the configuration PG/PC, the initial configuration or a configuration change can be using SIMATIC NCM PC...

  • Page 298

    XDB file, 24, 39 ISO-on-TCP, 63 Installation and Commissioning, guide to , 19 S7, 62 Installing hardware (PC modules), 26 CP 1613, 226, 235 Installing SIMATIC NET PC software, 26 CP 1616 Items, 47 configuring, 72 controller, 69, 72 controller + device, 75...

  • Page 299

    OPC Scout, 18, 49, 240 SIMATIC NCM PC Manager, 160 OPC Server, 279 SIMATIC NCM PC project engineering tool, connection properties, 60 properties, 58 SIMATIC NET, 13 OPC server, 15 SIMOTION, 52 errors when connecting with, 50 Slave, 171 project engineering, 56...

  • Page 300

    Commissioning PC Stations - Manual and Quick Start Release 5/2005 C79000-G8976-C156-07...

Comments to this Manuals

Symbols: 0
Latest comments: