SIMATIC NET Commissioning PC Stations - Manual
SIMATIC NET Commissioning PC Stations - Manual
Configuration Tools
3
for SIMATIC NCM PC / STEP 7
V5.2 and higher 4
Configuring the OPC Server
Quick Start
Configuring the OPC Server –
Quick Start with PROFIBUS DP
5
Configuring the OPC Server –
Quick Start with Industrial
Ethernet
6
Unspecified S7 Connection from
a PC Application
7
Glossary
B
Release 11/2002
C79000-G8976-C156-03
Classification of the Safety-Related Notices
This manual contains notices which you should observe to ensure your own perso-
nal safety, as well as to protect the product and connected equipment. These noti-
ces 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
not taken.
Warning
! indicates that death or severe personal injury can result if proper precautions are
not taken.
Caution
! with warning triangle indicates that minor personal injury can result if proper
precautions are not taken.
Caution
without warning triangle indicates that damage to property can result if proper
precautions are not taken.
Notice
indicates that an undesirable result or status can occur if the relevant notice is
ignored.
Note
highlights important information on the product, using the product, or part of the
documentation that is of particular importance and that will be of benefit to the
user.
Warning
! This device and its components may only be used for the applications described in
the catalog or the technical description, and only in connection with devices or
components from other manufacturers which have been approved or
recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set
up, and installed correctly, and operated and maintained as recommended.
Before you use the supplied sample programs or programs you have written
yourself, make certain that no injury to persons nor damage to equipment can
result in your plant or process.
EU Directive: Do not start up until you have established that the machine on which
you intend to run this component complies with the directive 89/392/EEC.
Warning
! This software may only be used for the applications described in the catalog or the
technical description, and only in connection with software products, devices, or
components from other manufacturers which have been approved or
recommended by Siemens.
Before you use the supplied sample programs or programs you have written
yourself, make certain that no injury to persons nor damage to equipment can
result in your plant or process.
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.
Siemens AG
Bereich Automatisierungstechnik
Geschäftsgebiet Industrie-Automatisierung
Postfach 4848, D-90327 Nürnberg Commissioning PC Stations – Manual / Quick Start
Subject to technical change.
4 Release 11/2002
Siemens Aktiengesellschaft G79000-G8976-C156-03 C79000-G8976-C156-03
This manual...
... supports you and helps you to make efficient use of the communications
functions of your PC applications in conjunction with the SIMATIC NET modules.
... supplements the OPC documentation on the SIMATIC NET PC / Windows CD.
The descriptions both on the SIMATIC NET CD and in the paper version that can
be ordered extra are structured as follows:
S General
information on PC
Configuring
tools You will find tools for
every situation here:
S Functions of NCM OPC from A to Z
PC S Detailed OPC
description
S Configuring the
OPC Server S OPC tools and
Active X controls
This issue contains additional information and notes for users of previous SIMATIC
NET PC products in Appendix A. This information was previously in the global
installation instructions.
Chapter 2 provides you with step-by-step instructions on commissioning a PC
station. Other chapters have also been added to the Quick Starts.
Additional Information
This manual is also part of the documentation packages for NCM S7 for
PROFIBUS and Industrial Ethernet.
Topic Document
Basic information for technical STEP 7 basics with
personnel using the STEP 7 S User Manual
standard software for control
tasks with S7-300/400
S Programming Manual
programmable controllers. S Manual for converting from S5 to S7
S Primer for a fast start
Conventions
References to other manuals and documentation are indicated by numbers in
slashes /.../. These numbers refer to the titles of manuals listed in the References
section of the Appendix.
-
Contents
1 Advanced PC Configuration – Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.1 Features of Advanced PC Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.2 Background Information on PC Stations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2 Commissioning and Configuring SIMATIC PC Stations . . . . . . . . . . . . . . . . . . . . 14
2.1 Considerations Before Installation and Commissioning . . . . . . . . . . . . . . . 14
2.2 Step 1: Installing SIMATIC NET Software . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.3 Step 2: Installing the Hardware (PC modules) . . . . . . . . . . . . . . . . . . . . . . . 17
2.4 Step 3: Starting up PC Modules for the First Time with the Commissioning
Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.5 Step 4: Configuring the PC Station with the PC Station Wizard . . . . . . . . 22
2.6 Step 5: Downloading Configuration Data to the PC Station . . . . . . . . . . . . 26
2.7 Step 6: Entering/Creating Symbols (optional) . . . . . . . . . . . . . . . . . . . . . . . . 31
2.7.1 Background Information on the Use of Symbols . . . . . . . . . . . . . . . . . . . . . 31
2.7.2 Using the Symbol File Configurator (optional) . . . . . . . . . . . . . . . . . . . . . . . 32
2.7.3 Adopting the Symbols from PROFInet iMap and SIMOTION Scout . . . . . 33
2.8 Step 7: Checking the Configuration and Diagnostics . . . . . . . . . . . . . . . . . 34
2.9 Step 8: Testing with the OPC Scout (optional) . . . . . . . . . . . . . . . . . . . . . . . 35
2.9.1 Detecting Errors in Communication with the OPC Scout . . . . . . . . . . . . . . 35
2.10 Special Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.10.1 Adapting Mismatched Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2.10.2 Special Features of SOFTNET Industrial Ethernet Modules . . . . . . . . . . . 38
2.11 Configuration for PG Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2.11.1 Steps in Configuration – Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
2.11.2 Configuring Access Points for STEP 7 and STEP 5 . . . . . . . . . . . . . . . . . . 44
3 Configuration Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
3.1 Commissioning Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3.2 PC Station Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3.3 Configuring with SIMATIC NCM PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3.3.1 Relationship Between SIMATIC NCM PC and STEP 7 . . . . . . . . . . . . . . . 52
3.3.2 Creating a PC Station . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.3.3 Configuring a PC Station with SIMATIC NCM PC Config . . . . . . . . . . . . . . 55
3.3.4 Creating a DP Master System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
3.3.5 Configuring Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
3.4 Configuration Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
3.4.1 How It Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
3.4.2 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
3.4.3 Commissioning: Triggering a Restart on the Module. . . . . . . . . . . . . . . . . . 64
3.4.4 Commissioning: Forcing the OPC Server to Close Down . . . . . . . . . . . . . . 66
3.4.5 Commissioning: Deactivating Configured Protocols . . . . . . . . . . . . . . . . . . 68
3.4.6 Commissioning: Setting a Symbol File for OPC . . . . . . . . . . . . . . . . . . . . . . 70
Supported Modules
You will find a list of modules supported and not supported by Advanced PC
Configuration in the “hinw_e.rtf” file on the SIMATIC NET product CD (<CD drive>
/ sw / cdintern / hinw_e.rtf).
Note
For more detailed information on the differences compared with the previous
procedure and handling the software and modules, refer to Appendix A.
Introduction
A “PC station” is a PC acting as a component in an automation solution with
SIMATIC.
The PC station is handled in exactly the same way by the configuration tool as a
SIMATIC S7 controller. The data defined in the configuration in your project is
downloaded to the PC station at the click of a button. The hardware configuration
of a PC station can also be compared with the configuration of an S7 controller:
Modules are plugged into the slots of a rack. In the same way, components of a
PC station, for example modules, are assigned to a virtual slot per software.
S7-400 rack
Slot
Software
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.
Hardware
During the hardware configuration of a PC station in your project, the components
are inserted in a virtual rack. The virtual rack is implemented on the PC station by
software.
Note
Be careful not to confuse this “index” with a hardware slot, for example on the PCI
bus of the computer. The slot on the PCI bus is not relevant for commissioning
and is not used at any point.
Aims
Before you start to commission a PC station, you should clarify the use to which
the PC station will be put. During commissioning using the methods and tools
described below, you will find the optimum modes for your particular application.
Uses of a PC Station
When commissioning and operating a PC station, distinctions must be made
between the following applications:
S Engineering Station (ES)
You use the PC station both for configuring an automation system operated with
S7 stations as well as for process control tasks.
S Run-time PC
You use the PC station for control tasks. The control tasks are handled by
application software that you have created or provided. You configure the
run-time PC at an engineering station or a PG.
S PG/PC
You use your PC or PG primarily for diagnostic and maintenance tasks.
Modes
Depending on the intended use, you have various options when configuring the PC
station relating to the use of communications modules.
Table 2-1
Mixed operation S Engineering Mixed operation, in this sense, means the use of several
station communications modules some in the configured and some
in the PG mode.
Depending on the selected mode, the information above
applies to the individual modules of the PC station.
Note
In the description below, the “configured mode” is given greater priority as the
most important application for PC stations. The full range of steps necessary for
commissioning is described.
For PG operation, you will find the required steps summarized in Section 2.11.
What to Do in Step 1
1 Install these components
S PC Software
Contains all the tools required for setting up and operating a PC station. These
components are always required.
– Drivers for PC modules
– Commissioning Wizard
– Configuration Console
– Station Configuration Editor
– Configuration information service
– OPC Server
– OPC Scout
S SIMATIC NCM PC
You require the configuration tool if you are using the PC station as an
engineering station. You require SIMATIC NCM PC, however, only if you do not
use STEP 7 on your ES.
– Along with SIMATIC NCM PC, the PC Station Wizard is also installed.
What to Do in Step 2
1 Before you start to install the hardware, you should read the documents listed below.
S Installation Instructions for the hardware
Product-specific brochure with instructions on installing the hardware.
S Product information bulletin
Product-specific brochure with special information on your product.
S Additional information
Other instructions accompanying the product.
What to Do in Step 3
1 Start the Commissioning Wizard
When configuring the SIMATIC NET communications modules for the first time, you
are supported by a Commissioning Wizard. This starts
S automatically when you boot the PC station after inserting an additional module
S when you select the appropriate menu command in the “Configuration Console”
tool
S when you select it in the Start menu. (Start " SIMATIC " SIMATIC NET "
Settings " Commissioning Wizard);
S automatically when you reboot if you have not yet specified the mode for a
module.
The Commissioning Wizard takes you through the necessary steps for
commissioning modules and the further steps for commissioning a PC station with
configured communication.
What to Do in Step 3
2 Select one of the following options for the mode:
S Use module for PG operation only –> 2.1
S Use module for configured communication –> 2.2
What to Do in Step 3
2.2.2 The steps required now depend on the mode and configuration you intend for this PC
station (refer to the prior considerations in Section 2.1):
S Using the PC station as the engineering station
You now call the PC Station Wizard to include the current PC station in a STEP 7
project.
The next step is described in Section 2.5.
S Using the PC station as a run-time PC
For this type of operation, the configuration is completed here. With the “Next”
button, you move on to the “Configuration Console” tool. With this tool, you can
check the configuration, identify problems, and if necessary modify the
configuration.
How to continue to supply this PC station with values in a STEP 7 project from an
engineering station and how to control it are described in Section 3.3.
What to Do in Step 4
1 Start the PC Station Wizard
S from the Commissioning Wizard; see step 3 in Section 2.4
S by selecting it in the Start menu. (Start " SIMATIC " SIMATIC NCM PC PC
Station Wizard).
2 Select one of the following editing modes
As a reminder: You have opened the PC Station Wizard to include the current PC
station in a STEP 7 project.
Since we are assuming that we are commissioning the station for the first time, the
following options provided by the PC Station Wizard are possible:
S Editing a saved configuration
Open an existing project and compare the local configuration with the information
in the project.
S Creating a new configuration
Create a new project and enter the local configuration in the project.
What to Do in Step 4
Notice
Downloading as described below only results in successful installation of the
communications services on your PC station if the arrangement of the
components in the configuration data is identical with that of the configuration data
on the PC station. See also Section 3.3.3.
Download
Load
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. Within the configuration system you still use the known mechanisms
for accessing the target system as in case a).
Requirement:
In the Set PG/PC Interface, you must first select the following setting as access
point of the application:
S7ONLINE (STEP7) –> PC internal (local)
Tip:
If you use the PC Station Wizard, this setting is made automatically.
XDB import
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!
2 Open the object properties of the station with the “Station Properties” menu
command and select the “Configuration” tab.
3 Here, you can check and, if necessary, change the setting under “Storage Location
of the Configuration File”.
4 Save and compile your project; you will then find the required XDB file in the folder
you have selected.
Note:
The station name must be identical in the defined configuration and on the local PC
station “Entry in the Station Configuration Editor”.
6 Import the XDB file into your destination station using the Station Configuration
Editor.
Introduction
If you use the OPC server from SIMATIC NET, you have the option of specifying
the variable names and a hierarchical structure for the name space or of importing
the name space of an S7 device as defined in SIMATIC STEP 7. These names
that are independent of the protocol and device are known as symbols. In contrast,
the variable names that include information about the communications path and
type in their syntax are known as run-time names.
Example of a symbol: Conveyor_1.drive_1.lim_switch
Example of a run-time name: S7:[Connection_1]EX3.1
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. If you do not require symbols skip to the next step.
Introduction
You can also use the symbols from PROFInet iMap and SIMOTION Scout with the
OPC Server. These symbol files include not only the symbols but other
configuration information so that additional connection configuration for the PC
station is not necessary.
Activity
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.
e.g
file
Edit
Symbol File
Configurator
Transfer the created symbol file to your PC station. You can specify the required
symbol file in the “Configuration Console” or using the Commissioning Wizard.
To use the symbols for PROFInet iMap and SIMOTION Scout, you must also
select the PC module and with it the subnet via which the PROFInet or SIMOTION
partner stations are connected. You make this setting in an extra dialog when
selecting the symbol file in the “Configuration Console” or in the Commissioning
Wizard.
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.
Diagnostic Options
The “Configuration Console” tool starts automatically when you are finished
working with the Commissioning Wizard and can also be started directly from the
Windows Start menu.
For more information on this application, refer to the description in the section
“Tools”.
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.
Note
A component uses the “configured” mode when the module is entered in the
Station Configuration Editor.
Introduction
Modules operated with the “SOFTNET Industrial Ethernet” software product are
integrated in Windows just like a standard network adapter supplemented by
additional protocols. The station parameters for such modules can only be set with
the standard mechanisms of Windows.
Parameter
The parameters to be set with Windows mechanisms are as follows:
S IP address
S Subnet mask
S Gateway address
Even when changing the station parameters during the initial configuration, the
Windows configuration program must be used. During the initial configuration, you
are prompted to start this tool.
Note
Make sure that the network parameters of the PC station match the information
entered in the configuration in your project. If this is not the case, it is not possible
to establish connections.
This section summarizes the configuration steps for the PG operation mode.
Select the option “Use module for PG operation only” and confirm with “Next”.
Since OPC is not necessary for PG operation, deactivate the “Use SIMATIC NET
OPC Server in configured PC station” and then click “Next”.
What to Do in Step 6
1 Select the access point “S7ONLINE” 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”.
2 Select the required entry in the “Interface Parameter Assignment Used” list box.
Some modules offer alternatives, for example the CP 1613 as follows:
S If you use the TCP protocol – “CP1613(RFC1006)”,
S If you use the ISO protocol – “CP1613(ISO)”, and CP5612 or CP5614 as follows:
S Normal situation – “CP5613_5614(PROFIBUS)”,
S on an MPI chain – “CP5613_5614(MPI)”.
Note
Remember that by clicking on a module to make settings, it is possible to change
the assignment. If you have accidentally changed an assignment, make sure you
correct it again.
Step Description
1 Start the “Configuration Console” program (taskbar Start " Simatic
" SIMATIC NET " Settings " Configuration Console).
Follow the steps outlined below to assign an access point to a network card.
Step Description
1 Start the “Configuration Console” program (taskbar Start " SIMATIC
" SIMATIC NET " Settings " Configuration Console).
2 Select “Access points” in the “Structure” tab under “Simatic Net Con-
figuration”
3 Double-click on the required access point in the right-hand list box,
for example, “S7ONLINE”.
Reaction:
The “Properties of S7ONLINE” dialog box opens.
4 Select the interface over which you want to communicate in the “As-
sociated interface parameter assignment” list box and click “OK”.
-
3 Configuration Tools
Once you have installed the SIMATIC NET software, you have the following tools
available:
S Commissioning Wizard
The Commissioning Wizard allows simple and consistent commissioning of all
modules and user programs supported by Advanced PC Configuration. It
guides the user step by step through the installation and configuration of the PC
station.
S PC Station Wizard
S SIMATIC NCM PC Configuration Tool
With SIMATIC NCM PC, a new configuration tool for STEP 7-compatible PC
configuration is available.
S Configuration Console
The Configuration Console is a snap-in program embedded in the Microsoft
Management Console (MMC) and provides a wide range of options for
configuring PC hardware components and PC user programs as well as
providing diagnostic functions. Settings for the OPC servers that ship with the
communication software are also made in the Configuration Console.
S Station Configuration Editor
The Station Configuration Editor is the user interface of the Station Manager;
this allows you access to the component management of the PC station.
S Configuration Information Service
S OPC Server
S OPC Scout
Note
You can configure both in SIMATIC NCM PC and in STEP 7. STEP 7 also
provides all the SIMATIC NCM PC functions described here for configuring your
PC. STEP 7 is necessary if you also want to configure S7 stations in the project.
From now on, the description will only refer to SIMATIC NCM PC but nevertheless
applies to both.
Notice
Optional packages are not supported by SIMATIC NCM PC. If you are editing a
project that was created or edited in 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.
This chapter will familiarize you with the basic functions of SIMATIC NCM PC.
Notice
Optional packages are not supported by SIMATIC NCM PC. If you are editing a
project that was created or edited in 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.
S You can open and edit projects that you created with SIMATIC NCM PC at any
time in STEP 7/SIMATIC Manager. You can edit PC stations you have already
created and create new PC stations. You can configure communication
connections from these PC stations to existing S7 stations.
The restrictions in SIMATIC NCM PC relate to the S7 station types that can be
configured and programming. You can see the differences in the following graphic:
Figure 3-1
The types of stations that you can configure only in STEP 7 can be used in
SIMATIC NCM PC as target stations for a connection configuration after importing
the project.
After working on such a project in SIMATIC NCM PC, you can return it to STEP 7
and edit it again at any time.
STEP 7 provides extra functions for testing and diagnostics.
Aims
You want to create configuration data for communication services for individual PC
stations. This configuration data will then be downloaded to the PC station. After
this, the PC applications can use the communications services.
Tip:
Remember that with the PC Station Wizard, you can include the configuration of
the local PC station (= Engineering Station) in an existing project largely
automatically! Read the information on starting and working with the wizard in
Section 3.2. You will find examples in the Quick Start in Chapters 5 and 6.
Notice
The name of the PC station you select here identifies the PC configuration.
S If you configure on the local station with NCM PC, you must select the name
identical to the name in the local configuration.
S If you configure a remote PC station, the name you select must not be identical
to the local PC configuration! When you download, you would otherwise
overwrite the local configuration.
Tip: You can also adapt names, when necessary, in the Station Manager using the
Station Configuration Editor.
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.
The PC Station Wizard also exists in STEP 7.
Notice
Be careful not to confuse this “index” with a hardware slot, for example on the PCI
bus of the PC station. The slot on the PCI bus is not relevant for commissioning
and is not used at any point.
Notice
Make sure you arrange the components exactly the same as in the configuration
list of the Station Configuration Editor (see Section 3.5). If the configuration differs
from the list, the configuration data that you download from SIMATIC NCM PC to
the PC station will not be adopted correctly.
– OPC Server
You use the convenient interface to an OPC server to communicate with a
programmable controller such as a SIMATIC S7-400.
The OPC Server can be configured as an interface to all available
communication protocols. You can create this object only once in a PC
station.
You can then use this OPC Server for communication with any number of
user programs (OPC clients).
The following communications services can be used depending on the
modules inserted:
– All types of connection
– DP services
S CP Industrial Ethernet
This contains all the CP modules for attachment to Industrial Ethernet.
S CP PROFIBUS
This contains all the CP modules for attachment to PROFIBUS.
Read the information below if you want to use a PROFIBUS CP and configure a
DP master system.
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:
S Communication connections are always assigned to an application.
S In the PC station, the CP that supports the type of connection is used for the
data transfer.
S If there is more than one CP with this capability, you can use Routing to select
the transmission path.
2 Enter the desired connection type. You will be requested to specify the negotiating
partner.
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. You then have the following options:
– Create an unspecified connection
Select “unspecified” as the connection partner. In the Properties dialog box,
you can then set the address parameters for the connection partner.
– Create a proxy object
Create an “Other Station” type station. You then network this station by
assigning the necessary interface types in the Properties dialog.
This method is advisable if you intend to assign several connections to this
partner station on the same interface in your project.
– Create a copy of an S7 station
Insert the copy of an S7 station that you have created using STEP 7 in
another project. You can then select this S7 station as your destination
station.
Overview
The Configuration Console is used for
S Configuration
S Commissioning
S Diagnostics
of the communication system of a SIMATIC PC station.
In the Configuration Console, you navigate in basically the same way as in the
Windows Explorer.
You navigate on the left-hand side. On the right-hand side you see the properties
of the selected element.
In the properties, you get information on
S Applications – The OPC Server is displayed as a special application.
S Modules
S Access points
After starting the “Configuration Console” program, the following dialog opens:
3.4.2 Commissioning
Introduction
During commissioning, you can do the following:
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)
S Trigger a restart on the module.
These options are described in the following sections 3.4.3 to 3.4.10.
The CP is reset and the drivers, firmware, and databases are reloaded. A restart is
possible only when the module is not currently communicating.
Activity
1 Open the “Modules” folder in the navigation window.
Select the relevant module.
Double-click on the “General” property.
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. This is only possible when the clients set and reset the user
counters of the OPC Server correctly.
If a client closes down irregularly and the user counter is not reset, the OPC server
will not close down although no more clients are active. The server continues to
keep the communication connections open.
Activity
1 Open the “Applications” folder in the navigation window.
Select “OPC Settings”.
Double-click on the “Exit OPC Server” property.
2 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”
field.
You can also specify a wait time between the notification of the clients and
shutting down the server to allow a client to react. Enter this time in the
“Delay” box.
3 Click the “Apply” button to activate the information you entered. Click the
“Close OPC Server” button to shut down the OPC Server.
Activity
1 Open the “Applications” folder in the navigation window.
Deactivate the protocols you do not want the OPC Server to use. Activate
the protocols that were specified in the configuration and that you want to
use.
NOTE:
As of SIMATIC NET version 6.1, the FMS protocol is no longer available.
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.
Activity
1 Open the “Applications” folder in the navigation window.
Select “Symbols”.
If you do not yet have a symbol file or you want to modify an existing file,
you can start the Symbol File Configurator by clicking the “Start” button.
4 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.
Note:
It is only necessary to make settings in advanced symbols if the
“S7_extended” attribute was set during configuration of the PROFInet
data blocks. In this case, the S7 protocol must also be selected.
Extended S7 functionality is then used alongside PROFInet. If this
functionality is not used, the setting in advanced symbols is irrelevant.
Note:
For communication with SIMOTION or PROFInet, you only need to set a
symbol file and select a module and no further configuration with SIMATIC
NCM PC or SIMATIC STEP 7 is necessary.
You should also check whether or not the “PROFInet” protocol is enabled
on the “OPC Protocol Selection” property page.
6 “Apply” the settings.
Note
The following information relates to the “Configuration Console” program of the
SIMATIC NET software as of Version 6.1.
Activity
1 Open the “Applications” folder in the navigation window.
Select “Symbols”.
3 The “Manage Symbol Files” dialog box opens. Click the “Browse...”
button. A file selection dialog opens. Select the required symbol file. Close
the “Manage Symbol Files” dialog box by clicking the “OK” button.
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.
Note:
It is only necessary to make settings in advanced symbols if the
“S7_extended” attribute was set during configuration of the PROFInet
data blocks. In this case, the S7 protocol must also be selected. Extended
S7 functionality is then used alongside PROFInet. If this functionality is
not used, the setting in advanced symbols is irrelevant.
Note:
For communication with SIMOTION or PROFInet, you only need to set a
symbol file and select a module and no further configuration with SIMATIC
NCM PC or SIMATIC STEP 7 is necessary.
You should also check whether or not the “PROFInet” protocol is enabled
on the “OPC Protocol Selection” property page.
A trace logs the internal sequences of the component. It allows you to check the
functions, for example of a user program. Depending on the configuration, the
actions of a software module are logged in a file.
The following traces are available:
S Traces of the OPC Servers for Data Access and Alarms&Events
S Trace of the protocol adapters of the OPC Servers
S Trace of the protocol libraries
Note
In normal operation, the trace should be deactivated since the creation of trace
files significantly reduces the speed at which programs are executed. You should
also bear in mind that the reduction in speed caused by the trace may result in
other problems such as timeouts.
The SIMATIC NET Information Service signals the activation of a trace so that the
user is immediately aware of the reduced performance.
If you want to set the traces for the OPC Server or the protocol adapters.....
Activity
1 Open the “Applications” folder in the navigation window.
2 The table lists the possible traces for the protocols and the OPC Servers.
Activity
1 Open the “Applications” folder in the navigation window.
The protocol libraries for the protocols DP, S7, FMS, SR etc. are not only
used by the protocol adapters of the OPC Server but can also be used
directly by other user programs.
4 Activate the trace by setting the first option box to “Overwrite trace file” or
“Append to trace file”.
3.4.11 Configuration
Introduction
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 3.4.12 to 3.4.16.
When you first commission a module, the operating mode is specified by using the
Commissioning Wizard.
Under some circumstances, it may be useful to change the operating mode of the
module:
S If you want to use the module for other purposes
S If the bus parameters of the network were changed and you want to adapt the
module to these parameters
S If you want to process the module again with the Commissioning Wizard
Activity
1 Open the “Modules” folder in the navigation window
Select the module you require.
S Configured mode – The parameters for the module are set in the
defined configuration in your project.
S PG operation – The parameters for the module are set in the “Set
PG/PC Interface” program.
S Not yet specified – The module will be processed the next time you
start the Commissioning Wizard. When the node initialization is
repeated, you can specify new bus parameters for the module.
3 Set the index that must also match the index in the defined configuration.
Use the value from the defined configuration if this already exists.
Otherwise you must use the value selected here when you create the
defined configuration.
If you changed from another mode to the “configured mode”, you can also
set the index. We recommend that you use the default.
For the Industrial Ethernet module CP 1613, the current settings for
S duplex mode (half duplex, full duplex, automatic)
S medium type (AUI, TP, automatic)
S transmission rate (10 Mbps, 100 Mbps, automatic)
are displayed and can be modified.
Three sets of option buttons are available with which the user can select the
duplex mode (half duplex, full duplex, automatic), the type of transmission medium
(AUI, TP, automatic) and the transmission rate (10 Mbps, 100 Mbps, automatic).
The default value for these three parameters is “automatic”. After changing the
settings, you will be prompted to restart the driver.
Note
If you select AUI as the medium type, you can no longer change the options for
the transmission rate and duplex mode. In this case,10 Mbps and half duplex are
set. If, on the other hand, 100 Mbps or full duplex are selected, AUI can no longer
be selected as the transmission medium.
Current Setting
Transmission parameters (current setting)
After the CP 1613 starts up, the current transmission parameters are displayed in
the relevant boxes. As long as no valid link to the partner is detected, the output
box displays “unknown”.
If you want to display and set the Industrial Ethernet network parameters of the
CP 1613 .....
Activity
1 Open the “Modules” folder in the navigation window.
4 Restart the module after making the changes. If you have installed
NDIS1613, you will need to reboot your computer!
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.....
Activity
1 Open the “Modules” folder in the navigation window
Select a module of the type “CP1613”.
2 Depending on the mode set for the module, you can modify or only check
the address parameters.
Activity
1 Open the “Access points” folder in the navigation window.
Activity
1 Open the “Modules” folder in the navigation window.
Address
The network address of the slave on PROFIBUS.
Name
The name of the slave module that is also used to form the variable
name of the OPC items.
This name must not be confused with the CP name that must be
specified on the C programming interface of the DP slave library.
Browse
Click the “Browse” button if you want to use a GSD file as a template
from which you can also take the Ident number and the configuration
data for the DP slave. Please note that with a modular DP slave, only
the configuration data of the first submodule definition are adopted.
3.4.17 Diagnostics
Introduction
During diagnostics, you can 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 3.4.18 to 3.4.22.
Activity
1 Open the “Modules” folder in the navigation window.
Select the module you want to check by clicking on the relevant module
symbol.
2 Following the call, the bus parameters and the version information of the
module are queried and displayed. By querying the module, the internal
communication path is tested. The result of the operation is displayed.
For the Industrial Ethernet module CP 1613, the current settings for
S duplex mode (half duplex, full duplex, automatic)
S medium type (AUI, TP, automatic)
S transmission rate (10 Mbps, 100 Mbps, automatic)
are displayed and can be modified.
Three sets of option buttons are available with which the user can select the
duplex mode (half duplex, full duplex, automatic), the type of transmission medium
(AUI, TP, automatic) and the transmission rate (10 Mbps, 100 Mbps, automatic).
The default value for these three parameters is “automatic”. After changing the
settings, you will be prompted to restart the driver.
Note
If you select AUI as the medium type, you can no longer change the options for
the transmission rate and duplex mode. In this case,10 Mbps and half duplex are
set. If, on the other hand, 100 Mbps or full duplex are selected, AUI can no longer
be selected as the transmission medium.
Current Setting
Transmission parameters (current setting)
After the CP 1613 starts up, the current transmission parameters are displayed in
the relevant boxes. As long as no valid link to the partner is detected, the output
box displays “unknown”.
If you want to display and set the Industrial Ethernet network parameters of the
CP 1613 .....
Activity
1
4 Restart the module after making the changes. If you have installed
NDIS1613, you will need to reboot your computer!
Activity
1 Open the “Modules” folder in the navigation window.
2 After the call, the bus nodes are queried and displayed.
3 Click the “Update” button again to access the module and query the bus
nodes.
Activity
1 Open the “Modules” folder in the navigation window.
2 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. Increase the connection timeout, for example, if
you have problems with high response times in the network.
Activity
1 Open the “Modules” folder in the navigation window.
Purpose
The Station Configuration Editor is the central management tool for the
components of the PC station.
Components are the modules and communications tasks of active applications.
The Station Configuration Editor can also be used for diagnostic purposes.
Modes
You can use the Station Configuration Editor for the local PC station or for a PC
accessible over the network.
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. If the configuration differs from the list, the configuration data
that you download from SIMATIC NCM PC to the PC station will no be adopted
correctly.
The status display constantly informs you whether the component you have
created matches the current hardware configuration and whether it matches any
configuration that has already been downloaded.
Note
You will find more information on the meaning of the display boxes and the buttons
in the integrated help system.
XDB Import
The communication configuration data are either downloaded directly to the PC
station or imported using an XDB file (see Section 2.6).
When required, the XDB file can be imported using the “Import XDB” button in the
Station Configuration Editor.
You can only import an XDB file when the configuration is an exact match.
How It Works
The Station Configuration Editor manages a diagnostic buffer in which the PC
station components (hardware and software) enter event information.
You can use this list to analyze configuration or communication problems.
Note
You will find more information on the meaning of the display boxes and the buttons
in the integrated help system.
You open this dialog by right-clicking on the icon of the Station Configuration Editor
in the Windows taskbar.
In the Properties dialog of the Station Configuration Editor, you can make the
following settings:
Activate Warnings
Here, you can configure the warning activation (yellow !) over the Station Manager
icon in the system tray of the taskbar. The following settings are possible:
S Activate warnings on or off
S Select warning activation depending on the weighting of the error:
on errors and important errors;
or
only on important errors.
Default setting: Only when important errors occur.
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.
By creating a configuration, you can specify the behavior of the OPC Server. You
then download the configuration data to the PC station with NCM PC.
This chapter describes the options available to you when configuring the OPC
Server with the NCM PC configuration tool.
The “General” tab contains the formal parameters for identifying the OPC Server
and in the other tabs, you can make parameter settings for the OPC server related
to the specific protocols.
These parameters are independent of the communication connections or a DP
master system that you configure separately.
The table below provides you with an overview of the possible parameter settings
depending on the protocol or service type.
Table 4-1
Please note that the parameters are described in detail in the online help for each
individual dialog in NCM PC.
FMS Connection
Introduction
This example illustrates how to connect an ET 200 B DP slave with a CP 5613 in a
PC station over PROFIBUS DP.
This section describes the programs used for configuring a PC station and a DP
slave. You will also see how to use the OPC Scout program for communication
with the OPC Server.
Initial Situation
If you want to try out the example yourself, you require the following:
S a PC
S a communication module for PROFIBUS (CP 5613)
S the SIMATIC NET CD 07/2001 software
S an ET 200 B DP slave
S PROFIBUS cabling between the PC module and ET 200 device
Activity
1. Turn on the PC and start Windows.
2. Insert the SIMATIC NET 07/2001 CD. If the installation program does not
start the CD automatically, start the Setup.exe program on the CD.
3. Follow the on-screen instructions of the installation program. Install the SI-
MATIC NET software and SIMATIC NCM PC.
Activity
1. Shut down the PC and turn it off.
2. Disconnect the power cable.
3. Read the instructions for installing cards in the manufacturer’s instructions for
your PC.
4. Insert the CP 5613 module in a PCI slot.
5. Reassemble the PC as described in the instructions of the PC manufacturer
and reconnect the power cable.
Activity
1. Connect the PROFIBUS cable to the CP 5613.
2. Connect the DP slave to the PROFIBUS cable.
3. Check the terminators on the connectors. The terminators at both ends of the
cable must be activated (“On”).
Activity
1. The welcome page of the Commissioning Wizard opens. Click “Next”.
2. The dialog box for the PROFIBUS address and for the index opens:
The dialog box for setting the local software application appears. The “SIMA-
TIC NET OPC Server” check box is activated.
Activity
1. You are also supported by a wizard during configuration. Click on the “PC
Station Wizard” button:
2. Only click the “Next” button in the Commissioning Wizard dialog when you
have completed the configuration.
Changing Settings
Activity
1. Select the “Change local settings” option to change the settings of the CP
5613:
Activity
1. Select the project property you want edit first. For a DP configuration, select
the option “Change hardware configuration”:
CP 5613 as DP Master
In the STEP 7 project created by the wizard, a SIMATIC PC station was created
automatically 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.
You require a DP master system so that you can assign DP slaves. For the DP
mode, a DP master system must therefore be added to the CP 5613:
Activity
1. Select the entry for the CP 5613 and click the right mouse button to open the
context-sensitive menu for this component:
ET 200B as DP Slave
Activity
1. Open the catalog in the right-hand half of the window if it is not already open.
You open the catalog by clicking on the following icon:
2. Select the DP Slave ET 200B with 16 digital input and output bits in the cata-
log:
3. Holding down the left mouse button, drag the DP slave to the DP master sy-
stem until the mouse pointer touches the bus leaving the CP 5613 (shown as
an alternating dark and light shaded line in the display). Release the mouse
button when the “+” symbol appears attached to the mouse pointer. The DP
slave is then included in the project.
Activity
1. Save the configuration by clicking the button below:
3. Close HW Config.
4. Activate the Commissioning Wizard dialog box and click the “Next” button.
Completing Commissioning
Activity
1. You can define hierarchically structured symbolic names for all OPC variables
and use them in your OPC client programs. The sample does not, however,
use this option so select the option “Do no use a symbol file”:
Activity
1. Start the OPC Scout in the Start menu:
Start > SIMATIC > SIMATIC NET > PROFIBUS > CP5613_CP5614 > OPC
Scout
2. Double-click the “OPC.SimaticNet” entry to link the OPC Scout with the OPC
Server.
Activity
1. After the OPC Server starts, a dialog opens in which you can create a group.
Enter “5613_DP” as the group name and confirm your input with “OK”:
2. Double-click on the group entry “5613_DP” to open the OPC Browser. In the
left-hand pane, you will see the hierarchically arranged name space of the
OPC variables.
3. If you click on an element in the tree, the OPC items defined for the element
appear in the middle pane of the window:
4. 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.
Activity
1. The selected variables are displayed with the following additional information
in the table of the main window:
2. Now double-click on the “Value” cell of the output byte with the content {0|0}
(first table row). A dialog opens in which you can change the value of a varia-
ble.
3. The selected variable has an array with two elements as the data type. Ar-
rays 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:
Introduction
This example illustrates how you can connect an S7-400 programmable controller
with a PC station over Industrial Ethernet.
This section describes the programs used for configuring a PC station for
connecting to an S7-400. You will see how symbolic variables in the S7 program
are made available in OPC. You will also see how to use the OPC Scout program
that is supplied with the product for communication with the OPC Server.
Initial Situation
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 07/2001 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, you require a STEP 7 project. In the project, you specify the
hardware configuration and the programs and data blocks and define a symbol
table.
In the example, you will expand your existing STEP 7 project by adding PC station
and will configure the connection between the PC station and the S7-400.
Activity
1. Turn on the PC and start Windows.
2. Insert the SIMATIC NET 07/2001 CD. If the installation program does not
start the CD automatically, start the Setup.exe program on the CD.
3. Follow the on-screen instructions of the installation program.
4. Once you have completed the installation, the Commissioning Wizard starts
automatically.
Activity
1. Shut down the PC and turn it off.
2. Disconnect the power cable.
3. Read the instructions for installing cards in the manufacturer’s instructions for
your PC.
4. Insert the CP 1613 module in a PCI slot.
5. Reassemble the PC as described in the instructions of the PC manufacturer
and reconnect the power cable.
Activity
1. Connect the Ethernet cable to the CP 1613.
2. Connect the S7-400 device to the network cable.
Activity
1. The welcome page of the Commissioning Wizard opens. Click “Next”.
2. The dialog box for the MAC and TCP/IP address of the module and the in-
dex opens:
Activity
1. You are also supported by a wizard during configuration. Click on the “PC
Station Wizard” button:
2. Only click the “Next” button in the Commissioning Wizard dialog when you
have completed the configuration.
Changing Settings
Starting from an existing project, follow the steps below:
Activity
1. Select the option “Edit saved configuration” to insert the PC station in the exi-
sting project:
Activity
1. Select the “Insert/synchronize the local PC configuration in the selected pro-
ject” check box. The PC Station Wizard then creates a corresponding “SIMA-
TIC PC Station” object in your project”.
Activity
1. Select the project property you want edit. For S7 communication, select “Edit
network and connection configuration”:
Inserting an S7 Connection
Activity
1. Click on “OPC Server” in the “PC station”.
In the lower part of the screen, you will see a list of connections that the OPC
Server will use.
2. Double–click in the first line of the connection table. This opens a dialog in
which you can insert a new connection:
The S7-400 is automatically entered as the connection partner and the connec-
tion type “S7 connection” will be set.
3. Confirm this dialog by clicking “Apply”.
You have now configure the connection between the PC station and the
S7-400.
Activity
1. Save the configuration by clicking the button below:
2. Select both the PC station and the S7 device by first clicking on the PC sta-
tion and then on the S7 device while holding down the CTRL key.
3. Download the configuration to the selected devices. by clicking the button:
4. Close NetPro.
5. Activate the Commissioning Wizard dialog box and click the “Next” button.
Activity
1. You can define hierarchically structured symbolic names for all OPC variables
and use them in your OPC client programs. You can extract these symbols
from a STEP 7 project.
Activity
1. Click the following button in the Symbol File Configurator:
4. Select the S7 program and click the following button to select the program:
These symbolic names are now extracted from the STEP 7 project and ent-
ered in a symbol file. The dialog is closed and these symbolic name space
that has been created is displayed in the main window.
6. Save the symbol file and close the Symbol File Configurator.
Completing Commissioning
Activity
1. When you closed the Symbol File Configurator, the path to the symbol file
was entered in the “Symbols” dialog of the Commissioning Wizard.
Click the “Finish” button to complete your work with the wizard.
Activity
1. Start the OPC Scout in the Start menu:
Start > SIMATIC > SIMATIC NET > Industrial Ethernet > CP1613 > OPC
Scout
2. Double-click the “OPC.SimaticNET” entry to link the OPC Scout with the
OPC Server.
Activity
1. After the OPC Server starts, a dialog opens in which you can create a group.
Enter “IE_Sample” as the group name and confirm your input with “OK”:
3. If you click on an element in the tree, the OPC items defined for the element
appear in the middle pane of the window:
4. 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.
Examples:
SIMATIC_400(1)_CPU_416-1.Machine Speed
SIMATIC_400(1)_CPU_416-1.Machine Start
SIMATIC_400(1)_CPU_416-1.Pump1.Flow
SIMATIC_400(1)_CPU_416-1.Pump2.Power
The items are added to the group after you confirm the dialog with “OK”.
Activity
1. The selected variables are displayed with the following additional information
in the table of the main window:
2 Now double-click on the “Value” cell of one of the variables, for example on
the “0” of the first OPC item. A dialog opens in which you can change the va-
lue of the variable.
3. Enter, for example, the value 4 in the “Value” input field to write the value 4 to
the variable:
Activity
1. Turn on the PC and start Windows.
2 Insert the “SIMATIC NET 07/2001 CD”.
If the installation program does not start the CD automatically, start the Se-
tup.exe program on the CD.
3. Follow the on-screen instructions of the installation program.
4. Once you have completed the installation, the Commissioning Wizard starts
automatically.
Activity
1. The welcome page of the Commissioning Wizard opens. Click the “Next”
button.
2.
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 configuration. Here, a synchronization is
necessary otherwise the configured connections will not be established and
communication will not be possible.
Activity
1. After you have made the settings for the module Click “Next”.
The following menu opens:
2.
With the SIMATIC NET CD 07/2001, the OPC Server is offered as the
standard interface. The OPC Server can also be assigned parameter values
using NCM PC or STEP 7.
In this description, you will learn how to implement a link using the SIMATIC
NET CD 07/2001 when you have an existing C application.
Deactivate the OPC Server
Activity
1. Once you have deactivated the OPC Server, click on “Next”.
The following menu opens:
2.
Note
The application and modules can be added with the “Station Configuration Editor”
so that they can then be included in the configured mode.
The “Commissioning Wizard” now calls the “Station Configuration Editor”.
Including applications
Activity
1. After you open the Station Configuration Editor, the following menu opens.
2. Select the first line and click on the “Add” button to include the application.
3.
A freely selected name must be entered in the “Name“ field. The name of
the application is the VFD name of your C application. If you have several
VFDs, you must also include several applications and assign the correspon-
ding VFD names.
Confirm the dialog with “OK”.
4.
5.
Download
Activity
1. When you download the modules, you obtain the following warning.
Activity
1. Once the download is completed, the following menu appears.
To allow the database to be loaded on the PC, and so that the component
can be reached with a download from NCM PC or STEP 7, the access point
is changed.
Confirm with OK.
Activity
1. Once you have changed the access point, the following menu appears.
Activity
1. Once you have selected an activity, the following menu appears.
Activity
1. When you have created a new project, the following menu appears.
7.7 NetPro
Inserting an S7 Connection
Activity
1. When you close the PC Station Wizard, the following menu appears.
2.
You can select the partner, however, only if it already exists in the project.
In this case, you must configure unspecified connections.
In the case of the S7 connection, no configuration is necessary on the part-
ner.
Select “(unspecified)” in the connection partner for station field.
Select “S7 connection” in the connection for type field.
To be able to establish the connection, the partner station must be specified
by the network address and access point of the partner application (slot).
Confirm with OK.
S7 Connection Properties
Activity
1. When you have created a new connection, the following menu appears.
2.
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.
Once again, confirm with “OK”.
Activity
1. When you have configured the new connection, the following menu appears.
Save and compile the project now with the menu command “Network "
2.
Activity
1. With “PLC > Download > Selected Station”, the configuration is loaded lo-
cally in the Station Manager on your PC.
Loading deletes the existing data on the relevant component and overwrites it
with the new information.
Confirm with “Yes”.
The following message is displayed.
2.
Activity
1. When you have completed the loading, the following menu appears.
In this menu, you can create a symbols file for the SIMATIC NET OPC Server.
You then work in the OPC Server with the variable names. In this example,
this step will be omitted.
Now click the “Next” button.
2.
Configuration Console
Activity
1. After closing the “Commissioning Wizard”, the “Configuration Console” opens.
Select the required “access point”.
3.
Introduction
This section describes how you link network components and nodes with an SNMP
agent to a PC station over an OPC SNMP server. You will learn which programs to
use to configure a PC station to implement the interfacing of a device with SNMP
capability and how make the SNMP variables and SNMP traps available on the
OPC interface.
Initial Situation
If you want to try out the example yourself, you require the following:
S a PC
S a network adapter
S the software of the SIMATIC NET CD 7/2001 SP5 or SIMATIC NET CD
11/2002
S a device capable of SNMP
S a network connection between the OPC SNMP server and the device with
SNMP capability
Activity
1. Turn on the PC and start Windows.
2 Insert the SIMATIC NET 07/2001 CD. If the installation program does not
start the CD automatically, start the Setup.exe program on the CD.
3. Follow the on-screen instructions of the installation program. Install the
SIMATIC NET software and SIMATIC NCM PC.
Activity
1. Shut down the PC and turn it off.
2 Disconnect the power cable.
3. Read the instructions for installing cards in the manufacturer’s instructions for
your PC.
4. Follow the installation instructions for your network adapter and install it.
5. Close the PC casing again as described in the instructions of your PC
manufacturer and then insert the network cable.
Activity
1. Connect the network cable to your network adapter.
2. Connect the SNMP-compliant device to the network cable.
3. Assign an IP address to the SNMP-compliant device using a device-specific
or vendor-specific configuration tool.
Activity
1. The welcome page of the Commissioning Wizard opens. Click “Next”.
2. In the next dialog box, you can select the mode for the module:
If you use other communication paths over this module in addition to SNMP
communication, select the mode “Use module for productive operation in
configured PC station”. The communication properties are then specified
for the PC station with STEP 7. You can make the settings in the dialog. If
you select this option, the PC must be rebooted. The setting is then adopted
on the network adapter.
If you only want to use PG functions over the module and no other
communication services, select “Use module for PG operation only”. You
must then configure the properties of the modules with the “Set PG/PC
Interface” program.
3. In the next dialog box, you can make settings for the OPC Server. Click
“Next”.
4. Confirm the configuration of the modules by clicking “Next”. This saves the
configuration and you can no longer go back.
Activity
1. Start the PC Station Wizard using the appropriate button:
Activity
1. Select “Create a new project and configuration” and click on “Next”:
Activity
1. Select “Change hardware configuration (module properties, DP)” and click on
“Finish”.
Activity
1. The NCM PC Config program starts automatically in the previous step.
Double-click on the “OPC Server” field in the section “(0) PC” to configure the
OPC Server:
2. The “Properties – OPC Server” dialog box opens. 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.
Activity
1. A dialog box appears in which all the devices registered with the OPC Server
are listed (in this case, there are no devices registered yet).
Click on the “Add ...” button to make a new node known in the plant
configuration of the OPC Server:
2. Enter the necessary information for your device in the “Add Nodes” dialog
box:
S Enter a node name in the “Name” field.
S Enter the IP address of the device.
S Select a device profile. The device profile describes the mapping of SNMP
variables and traps to the OPC interface. You can also create your own
profiles from MIB files (see below, “Generating a Profile”). You open the
relevant dialog box when you click on the “Create Profile ...” button.
S Devices without SNMP capability can also be entered to allow uniformity. For
these devices, a “PING” is mapped on a sign-of-life variable.
S Enter an “SNMP Community” for the device. This decides whether or not
read access only or write access is permitted with the device.
S As a comment, you can enter a maximum 255 characters long text.
Note:
The fields sysLocation, sysContact and sysName are deactivated for devices
that are not SNMP-compatible because these parameters are specified
during device configuration and can be queried on the devices.
4. 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 ...” button (make sure your browser settings are
suitable).
Activity
1. Once you have created the configuration, there are two more dialog boxes of
the Commissioning Wizard still to be edited.
To operate the OPC SNMP server, you do not require a symbol file. Select
“Do not use a symbol file” in the next dialog and click on the “Next” button:
Activity
1. Start the OPC Scout program.
2. Double-click the “OPC.SimaticNET” entry to link the OPC Scout with the
OPC Server.
Activity
1. Enter a group name in the “Add group” dialog box and confirm the window
with “OK”. If you do not enter a group name, the OPC Server specifies a
group name automatically:
2. In the left-hand window of the OPC Scout, an entry is created for the group
below the icon for the OPC Server. Double-click on this group entry to open
the OPC Browser. In the left-hand pane, you will see the hierarchically
arranged name space of the OPC variables.
3. Click on an element of this structure tree. In the middle window, the OPC
items defined for this element are displayed:
4. Select the OPC items you want to add to the group in the middle part of the
window.
5. Enter the selected items in the right part of the window by clicking on the
arrow pointing right.
6. Now click on “OK” to insert all the items listed in the right part of the window
in the group.
7. The right part of the main window includes the following additional information
for the items of the selected group:
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.
Activity
1. In the left-hand window of the OPC Scout, the folder icon SNMP also
contains a subfolder with the configured connection name. This folder
contains a group with trap variables. If you use the profile supplied with the
OSM, the name of this group is Privat-Common. If you use a newly created
profile, the trap variables are in the group specified for it.
Click on the symbol of the group with the trap variables to display a list of
these variables in the mid part of the window. The variable snTrapAddress
contains the IP address of the trap recipient, snTrapState specifies whether
or not the entry is activated (2) or deactivated (3):
2. Select the snTrapAddress1 entry and select the menu command “Write
value(s)” in the context-sensitive menu. The dialog box for synchronous and
asynchronous writing appears.
3. Enter the IP address of the trap recipient and click the “OK” button:
5. 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.
6. Enter “2” to activate the trap recipient and click on the “OK” button:
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. Device profiles are stored in profile files.
Activity
1. Start the “NCM PC” program and double-click on the “OPC Server” field in
the “(0) PC” section:
2. The “Properties – OPC Server” dialog box opens. Select the “SNMP” tab
and click on the “Edit plant configuration ...” button:
4. Click on the “Create Profile ...” button to open the dialog box of the MIB
compiler:
S Left area:
MIB area for displaying the MIB objects from the loaded MIB files.
S Right area:
Profile area for adopting and displaying the OPC items / OPC events
S Lower area:
Output window for compiler messages.
Click the “Load MIB...” button. Select the required MIB file in the dialog for
opening a file (for example RFC1213-MIB.mib). The content of this file is
shown in the left-hand area:
6. 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.
7. Structuring of the variables in the profile area is possible in keeping with the
OPC specification by creating groups. To do this, click on the “Create Group”
button.
8. Check whether or not the adopted SNMP variables still include unspecified
instances of variables. Such elements are indicated by a “!”. Double-click on
such elements to open the “Enter Instances” dialog box.
For example, for an 8-port switch, the object ifOperStatus must be assigned
the instances 1–8 so that the OPC items ifOperStatus.1 to ifOperStatus.8
can be formed).
9. Save the profile by clicking on the “Save” button. You can select the newly
created profile in the “Device Profile” list box of the “Add Nodes” dialog box.
Introduction
This example illustrates how to link an S7-300 programmable controller with a PC
station over a PROFInet communications processor.
You will see which programs to use for configuring a PC station and linking to a
PROFInet device. You will also see how symbolic variables of PROFInet are made
available in OPC.
Initial Situation
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 07/2001 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”. Creating a defined configuration in a project with SIMATIC iMap
is beyond scope of this description and is not included.
Activity
1. Shut down the PC and turn it off.
2. Disconnect the power cable.
3. Read the instructions for installing cards in the manufacturer’s instructions for
your PC.
4. Insert the CP 1613 module in a PCI slot.
5. Close the PC casing again as described in the instructions from your PC
manufacturer and then insert the network cable.
Activity
1. Connect the Ethernet cable to the CP 1613.
2. Connect the S7-300 device to the Ethernet cable.
Activity
1. Turn on the PC and start Windows.
2. Insert the SIMATIC NET 07/2001 CD. If the installation program does not
start the CD automatically, start the Setup.exe program on the CD.
3. Follow the on-screen instructions of the installation program.
4. Once you have completed the installation, the Commissioning Wizard starts
automatically.
Activity
1. The welcome page of the Commissioning Wizard opens. Click “Next”.
2. The dialog box for the MAC and TCP/IP address of the module and the index
are displayed:
The PROFInet configuration for the OPC server is created automatically with
the PROFInet tool “iMap”. You can therefore use both modes if you have
additional tasks for the module:
S If you use other communication paths over this module in addition to
PROFInet, select the mode “can use module in configured PC station for
productive operation”. The communication properties are then specified
for the PC station with STEP 7. You can make the settings in the dialog.
S If you want to use PG functions or do not want to use any other
communication services, select “PG operation”. You must then configure
the properties of the module with the “Set PG/PC Interface” program.
3. Click “Next”.
Confirm the default for the local software application by clicking on “Next”.
4. On the next page, confirm the configuration of the modules by clicking “Next”.
This saves the configuration and you can no longer go back.
Activity
1. To operate PROFInet, no STEP 7 configuration of the PC station is
necessary. You can simply click the “Next” button.
Activity
1. Create the symbol file for OPC
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.
2. Select the “Use a symbol file” option.
Click the “Browse...” button to specify the path of the symbol file created by
SIMATIC iMap.
3. Click the “Advanced Symbols...” button to make the extra settings for
PROFInet described below.
Note
It is only necessary to make settings in advanced symbols, if the “S7_extended”
attribute was set during configuration of the PROFInet data blocks. In this case,
extended S7 functionality is used alongside PROFInet. If this functionality is not
used, the setting in advanced symbols is irrelevant.
Activity
1. Start dcomcnfg.exe
You start the Windows system program for configuring DCOM as follows:
Open the “Run” dialog using the Start menu: Start " Run...
Type in “dcomcnfg” and confirm with “OK”.
Description
A 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 configuration” in
the description below.
Note
If you want to continue using the previous configuration tools, use the SIMATIC
NET CD 05/2000.
Introduction
This section describes what changes are necessary in Industrial Ethernet systems
if you are already using a SIMATIC NET CD 05/2000 product or a previous
version.
SOFTNET-PG up to version 3.3 with Service Pack 2 for Windows 2000 Pro,
Windows NT 4.0, Windows Me or Windows 98
Situation:
Windows Me and Windows 98 are no longer supported.
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.
Introduction
This section describes what changes are necessary in PROFIBUS systems if you
are already using a SIMATIC NET CD 05/2000 product (or a previous version).
SOFTNET-DP slave up to version 1.2 for Windows 2000 Pro, Windows NT 4.0 or
Windows 98
Situation:
Windows 98 is no longer supported.
What to do:
Under Windows 98, use the SIMATIC NET CD 05/2000.
/1/
SIMATIC NET, Manual
Industrial Communication with PG/PC
Part of
– the documentation package Industrial Communication with PG/PC
– of the SIMATIC NET CD
Siemens AG
/2/
SIMATIC NET, Manual and Quick Start
Commissioning PC Stations
Part of
– the documentation package NCM S7 for Industrial Ethernet
– the SIMATIC NET CD
– the online documentation in STEP 7 / Option NCM S7 for Industrial Ethernet
Siemens AG
/3/
NCM S7 for PROFIBUS Primer
Part of
– the documentation package NCM S7 for PROFIBUS
– the online documentation in STEP 7 – Option NCM S7 for PROFIBUS
Siemens AG
/4/
NCM S7 for Industrial Ethernet Manual
Part of
– the documentation package NCM S7 for Industrial Ethernet
– the online documentation in STEP 7 / Option NCM S7 for Industrial Ethernet
Siemens AG
/5/
SIMATIC NET IT–CP, Instructions
Part of
– the documentation package NCM S7 for Industrial Ethernet
– the online documentation in STEP 7 / Option NCM S7 for Industrial Ethernet
Siemens AG
/6/
SIMATIC STEP 7 Configuring Hardware with STEP 7
Part of the STEP 7 documentation package STEP 7 Basic Knowledge
Part of the online documentation in STEP 7
SIEMENS AG
/7/
Communication with SIMATIC
Manual
SIEMENS AG
/8/
SIMATIC STEP 7 Programming with STEP 7
Part of the STEP 7 documentation package STEP 7 Basic Knowledge
Part of the online documentation in STEP 7
SIEMENS AG
/9/
SIMATIC STEP 7 documentation package Reference Manuals
SIEMENS AG
/10/
SIMATIC NET manual Industrial Twisted Pair Networks
SIEMENS AG
/11/
Ethernet, IEEE 802.3
(ISO 8802–3)
/12/
SIMATIC S7
S7–300 Programmable Controller
Hardware and Installation
Manual
SIEMENS AG
/13/
SIMATIC NET manual Triaxial Networks for Industrial Ethernet
SIEMENS AG
/14/
SIMATIC NET manual Ethernet
SIEMENS AG
/15/
Berger, Hans
Automation with STEP 7
SIMATIC S7-300/400 Programmable Logic Controllers
/16/
For configuring PROFInet components and plants:
/17/
For configuring PROFInet components and plants:
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”.
You can order these catalogs and obtain further information from your local
SIEMENS office or national head office.
Some of the documents listed here are also on the Manual Collection CD supplied
with every CP and with the SIMATIC NET CD.
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 ”run–time
station” is also used to describe such PCs equipped with run–time software.
The PC station is configured for communication with SIMATIC S7 devices in
SIMATIC NCM PC / STEP 7.
The required run–time software is available on the PC station after installing APC
(Advanced PC Configuration).
SIMATIC NCM PC
SIMATIC NCM PC allows configuration of SIMATIC NET PC components that is
compatible with STEP 7 and serves as a substitute for the previous PC
configuration tools COML S7 and COM PROFIBUS PC Edition. A common
database with STEP 7 ensures comprehensive configuration including all
protocols.
Station Manager
With the Station Manager, you can configure a PC in much the same way as an
S7 station and download the configuration data over the network. The Station
Manager is the basic component for configuration and run time of OPC
applications.
STEP 7 Project
A STEP 7 Project is created with SIMATIC NCM PC or with STEP 7/NCM. It
contains the project and configuration data that can be downloaded to S7
stations and PC stations.
Nuernberg
Worldwide (Nuernberg)
Technical Support
Phone: +49 (0) 180 5050-222 Phone: +1 (0) 770 740 3505 Phone: +86 10 64 75 75 75
Fax: +49 (0) 180 5050-223 Fax: +1 (0) 770 740 3699 Fax: +86 10 64 74 74 74