Beruflich Dokumente
Kultur Dokumente
0
Preface, Contents
1 2 3 4
Classification of Safety-Related Notices This document 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 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.
Notes
Highlights important information about the product, using the product, or part of the documentation that is of particular importance and that will be of benefit to the user.
Copyright Siemens AG, 1998 to 2005, All rights reserved The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility or design, are reserved. Siemens AG Sub-division: Industrial Communication Division: Special Products, Projects Automotive, Industry, Training P.O.Box 48 48, D-90327 Nuremberg Siemens Aktiengesellschaft
Disclaimer We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.
Siemens AG 1998 to 2005. Technical data subject to change. Printed in the Federal Republic of Germany
Trademarks SIMATIC, SIMATIC NET, SINEC, and SIMATIC NET Networking for Industry are registered trademarks of Siemens AG. Third parties using for their own purposes any other names in this document which refer to trademarks might infringe upon the rights of the trademark owners. Safety Instructions Regarding your Product Before you use the product described here, read the safety instructions below thoroughly. Personnel Qualification Requirements Only qualified personnel should be allowed to install and work on this equipment. Qualified personnel as referred to in this manual or in the warning notes are defined as persons who are familiar with the installation, assembly, startup and operation of this product and who possess the relevant qualifications for their work.
Copyright Siemens AG, 1998 to 2005, All rights reserved The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility or design, are reserved. Siemens AG Sub-division: Industrial Communication Division: Special Products, Projects Automotive, Industry, Training P.O.Box 48 48, D-90327 Nuremberg Siemens Aktiengesellschaft
Disclaimer We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.
Siemens AG 1998 to 2005. Technical data subject to change. Printed in the Federal Republic of Germany
Correct Use of Hardware Products Please note the following regarding the correct usage of hardware products: Caution This device may only be used for the applications described in the catalog or the technical descriptions, 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.
Copyright Siemens AG, 1998 to 2005, All rights reserved The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility or design, are reserved. Siemens AG Sub-division: Industrial Communication Division: Special Products, Projects Automotive, Industry, Training P.O.Box 48 48, D-90327 Nuremberg Siemens Aktiengesellschaft
Disclaimer We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.
Siemens AG 1998 to 2005. Technical data subject to change. Printed in the Federal Republic of Germany
Correct Use of Software Products Please note the following regarding the correct usage of software products:
Caution
The software may only be used for the applications described in the catalog or the technical descriptions, and only in connection with 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.
Before Commissioning Read the warning below before you start commissioning: Caution
Before you start commissioning, read the notes in the current documentation. For the ordering data of this documentation, see the catalogs or contact your nearest Siemens office.
Copyright Siemens AG, 1998 to 2005, All rights reserved The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility or design, are reserved. Siemens AG Sub-division: Industrial Communication Division: Special Products, Projects Automotive, Industry, Training P.O.Box 48 48, D-90327 Nuremberg Siemens Aktiengesellschaft
Disclaimer We have checked the contents of this manual for agreement with the hardware and software described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement. However, the data in this manual are reviewed regularly and any necessary corrections included in subsequent editions. Suggestions for improvement are welcomed.
Siemens AG 1998 to 2005. Technical data subject to change. Printed in the Federal Republic of Germany
Preface
Objective
When you have read this document, you will be able to install and use the tool described as well as configure the supported products. You must already have a good knowledge of the programs and development environments.
Scope of Validity
This document is valid for the following software versions: Primary Setup Tool V3.0
Edition 04/2005
Contents
1 Introduction ..................................................................................................................... 8 1.1 1.2 1.3 2 2.1 2.2 2.3 3 3.1 3.2 4 4.1 General ................................................................................................................ 9 Structure of an IP Address................................................................................. 10 Initial Assignment of an IP Address ................................................................... 12 Overview ............................................................................................................ 14 Installation.......................................................................................................... 15 Operation ........................................................................................................... 16 Important Notes ................................................................................................. 24 Support .............................................................................................................. 27 Products that Support PST ................................................................................ 31
Troubleshooting ........................................................................................................... 23
Appendix........................................................................................................................ 30
Table of Figures
Fig. 1-1 Fig. 2-1 Fig. 2-2 Fig. 2-3 Fig. 2-4 Fig. 2-5 Fig. 2-6 Fig. 2-7 Structure of class A, B, and C IP addresses ..................................................... 10 Selecting the language ...................................................................................... 16 Selecting the network card ................................................................................ 16 Browsing the network ........................................................................................ 17 List of devices found .......................................................................................... 17 Configuring a module......................................................................................... 18 Removing a module ........................................................................................... 20 Syntax of PST command interface .................................................................... 22
Edition 04/2005
Introduction
Note This section briefly describes when IP assignment tools are used.
Edition 04/2005
1.1
General
Introduction
Many devices feature a comprehensive range of functions for making settings and carrying out diagnosis via Ethernet. The Internet protocol is used to access these functions via the network. The Internet protocol uses a separate address mechanism that involves IP addresses. As a layer 3 protocol of the ISO/OSI reference model, the IP protocol is hardware independent, which ensures flexibility when addresses are assigned. Unlike level 2 communication (the MAC address is permanently assigned to a device and cannot be changed), you have to explicitly assign an address to a device. This address can be used to identify the device, thereby enabling communication.
Note For a list of products for which the Primary Setup Tool can be used, see the appendix.
Edition 04/2005
1.2
Structure of an IP Address
Fig. 1-1
Edition 04/2005
10
Subnet Masks
The bits in the terminal address can be used to create subnets, whereby the leading bits represent the subnet address and the remaining bits are interpreted as the computer address in the subnet. A subnet is defined by the subnet mask. The subnet mask is structured in the same way as an IP address. If a bit position in the subnet mask is set to "1", the bit located at the corresponding position in the IP address belongs to the subnet address or, alternatively, the computer address.
Edition 04/2005
11
1.3
Initial Assignment
When you assign an IP address for the first time, you have the following options for assigning the address to an unconfigured device without an IP address: Primary Setup Tool V3.0 DHCP BOOTP STEP 7 NCM PC Serial interface
Changing IP Addresses
Other tools are available for changing IP addresses: Web Based Management Command Line Interface via TELNET
Since these are configuration tools, an IP address must already have been assigned.
Note This document will focus on the Primary Setup Tool V3.0, which is abbreviated to PST.
Edition 04/2005
12
Note This section explains how to carry out configuration using the Primary Setup Tool. It explains which settings can be made in the tool and what effect they have.
Edition 04/2005
13
2.1
Overview
Edition 04/2005
14
2.2
Installation
Procedure
Carry out the following steps to install the Primary Setup Tool on your computer: 1. In Windows Explorer, double-click the file name setup.exe or execute the program by choosing Start > Run. 2. In the Choose Setup Language dialog box, choose the language for the installation steps. 3. The first dialog box of the installation Wizard is now displayed. Click Continue. 4. A dialog box in which you can select the installation directory is now displayed. Click Continue if you want to accept the default setting C:\Program Files\Siemens\Primary Setup Tool\. If you want to define a different directory, choose Browse to open a dialog box in which you can select a directory. To start the installation procedure, click Continue. 5. The final dialog box informs you that the installation was successful. Click Finish to close this dialog box. The Primary Setup Tool is now located in the installation directory under the name s7wnpstx.exe.
Edition 04/2005
15
2.3
Operation
Fig. 2-2
Fig. 2-3
Edition 04/2005
16
Fig. 2-4
While the Primary Setup Tool is browsing the network, the "Browse network" dialog box is displayed, which contains a progress bar. When the system has finished browsing, the Primary Setup Tool displays on the left-hand side of the program window a list of all the devices it has found.
Fig. 2-5
Edition 04/2005
17
Configuring a Module
When you click an entry in the list, the Primary Setup Tool displays some information about the selected device on the right-hand side of the program window. Carry out the following steps to configure a device:
1. To display all the interfaces for a particular device, click the plus sign in front of the device or double-click the device icon itself. 2. Click the interface you want to configure. On the right-hand side of the program window, the Primary Setup Tool displays a screen for entering the configuration data.
Fig. 2-6
Configuring a module
Note Depending on the selected settings, text fields or checkboxes may be deactivated. The "MAC address" field is always deactivated because this address cannot be changed.
Edition 04/2005
18
3. Decide how the device is to be assigned its IP address: Dynamically from a DHCP server: Select "Obtain IP address from DHCP server". Manual assignment by the user: Select "Assign IP parameters".
4. Make the following entries if you have decided to assign the IP address manually: In the "IP address" field, enter the IP address for the device. You can enter any value between 0 and 255 in each of the sub-sections (separated by periods). The program will not accept other entries. Enter the subnet mask in the "Subnet mask" field. If necessary, check "Use router" and enter the IP address of the router in the corresponding text field. This address is required if the computer used for configuration is not in the same subnet as the device to be configured.
Edition 04/2005
19
Click the second icon from the left in the toolbar (S7 modules with a yellow arrow).
Fig. 2-7
Removing a module
Edition 04/2005
20
Edition 04/2005
21
Edition 04/2005
22
Troubleshooting
Note This section contains important information and describes the most common faults and how they can be rectified.
Edition 04/2005
23
3.1
Important Notes
This section contains some important notes on avoiding errors and problems.
CP443-1EX40 V1
Modules of type CP443-1EX40 V1 always return 0.0.0.0 as router addresses, even if a different address was configured. In the Primary Setup Tool, the "Use router" option under "Ethernet interface" is always deactivated for this module type once you have browsed the network.
CP1512
When the PST is operated via a CP1512 that is connected via a PCI CardBus controller, some DLC or DCP protocols may be lost. This can result in the following: A module is not displayed in the list of nodes that have been found. In this case, browse the network again. When you are browsing the network, a message is displayed informing you that the module cannot be accessed. Confirm the message. The module is displayed in the list. Parameters can be downloaded to this module. When you are downloading the parameters to the module, a message is displayed informing you that the module cannot be accessed. In this case, check whether the parameters were successfully transferred by browsing the network. If necessary, download the parameters again.
SCALANCE X-400
To configure the SCALANCE X-400, you can access it in one of two ways via an Ethernet connection: The Ethernet interface of the switch CPU. The SCALANCE X-400 switch reports with its outband agent IP configuration. The ports on the SCALANCE X-400 slots. The SCALANCE X-400 switch reports with its inband agent IP configuration.
The client ID and DNS parameters are not supported by the SCALANCE X-400.
Edition 04/2005
24
DLC Protocol
Windows 2000 - DLC protocol: To install the DLC protocol on Windows 2000, proceed as follows: First choose Start -> Settings -> Control Panel. Click the "Network and Dial-up Connections" icon. From the list of network cards, choose the one for which the DLC protocol is to be installed. Right-click it and choose "Properties". Choose "Install" and then "Protocol". Choose "Add" and then "DLC Protocol" under "Protocol". Confirm your entry by choosing OK.
(Note: make sure that you have your Windows CD ready because you may have to reinstall the Windows Service Pack.)
Windows XP - DLC Protocol: With Windows XP, the DLC protocol must be installed separately because it is not supplied with the operating system. The required files are located in the "DLC Protocol" sub-directory in the PST installation directory.
Proceed as follows: First choose Start -> Settings -> Control Panel. Click the "Network Connections" icon. From the list of network cards, choose the one for which the DLC protocol is to be installed. Right-click it and choose "Properties".
Edition 04/2005
25
Choose "Install" and then "Protocol". Choose "Add" and then "Have Disk". Enter the path to the "DLC Protocol" sub-directory in your Primary Setup Tool installation folder and click "OK". Confirm that you want to select the DLC protocol by choosing "OK".
Deinstallation
Choose Start -> Settings -> Control Panel -> Software -> Primary Setup Tool. The DCP protocol is also deinstalled here. The DLC protocol is not deinstalled when the PST is deinstalled. The DLC protocol must be deinstalled separately. To do so, open the properties page of the network card, choose "DLC Protocol" and then "Uninstall".
Edition 04/2005
26
3.2
Support
This section explains some possible problems with the PST and how to deal with them.
Edition 04/2005
27
Edition 04/2005
28
Edition 04/2005
29
Appendix
Note This section contains all the required appendices that were referenced in the text.
Edition 04/2005
30
4.1
Note In the STEP 7 hardware configuration tool, you must select "Set IP address by other means" as the source in the properties dialog of the modules. If connections (S7, S5-compatible connections, etc.) have been configured via the CPs by means of the STEP 7 NETPRO tool, they become invalid when the IP address is changed using the PST.
Note With the link modules, PROFIBUS parameters (address, profile, baud rate) can also be set.
Edition 04/2005
31
Note The PST only supports SIMATIC NET Ethernet network components with management functionality (Web-based management and/or SNMP). With these components, Web-based management can also be used for diagnosis and configuration purposes.
Edition 04/2005
32