You are on page 1of 32

SIMATIC NET Quick Start CD: Primary Setup Tool V3.

0
Preface, Contents

Introduction Primary Setup Tool Troubleshooting Appendix

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

Purpose of this Document


This document shows you how to install and use the Primary Setup Tool.

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

Organization of this Document


This document covers the following topics: Introduction to addressing Installing the Primary Setup Tool Using the Primary Setup Tool Important notes about the Primary Setup Tool Troubleshooting

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

Primary Setup Tool....................................................................................................... 13

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

Address Classes to RFC 1340


The IP address comprises 4 bytes. Each byte is displayed in decimal notation and is separated from the previous byte by a period. Addresses are structured as follows (where XXX stands for a number between 0 and 255): XXX.XXX.XXX.XXX The IP address comprises two parts: the network address and the terminal address. This allows different subnets to be created. Depending on which IP address bytes are used as the network address and which as the terminal address, an IP address can be assigned to a particular address class:

Fig. 1-1

Structure of class A, B, and C IP addresses

Note: The part highlighted in gray represents the terminal address.

Edition 04/2005

10

Addresses with Special Functions


The value of the first byte of standard addresses cannot be between 0 and 127. Addresses that start with a value between 0 and 127 have a special function: 0.XXX.XXX.XXX This is the format used for broadcast addresses. For this reason, the address 0.0.0.0 should never be used on a device as a basic setting because it could generate broadcast currents. 127.XXX.XXX.XXX These addresses are reserved for the loopback function and should not be transmitted on the network.

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 of an IP Address

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.

Prerequisite for Assignment


It must be possible to access unconfigured devices without an IP address via Ethernet.

Edition 04/2005

12

Primary Setup Tool

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

Downloading the Primary Setup Tool


The Primary Setup Tool is available from Siemens Automation and Drives Service & Support on the Internet with article ID 19440762. Enter the following URL: http://www4.ad.siemens.de/view/cs/en/19440762

Supported Operating Systems


The Primary Setup Tool can be installed and operated on the following operating systems: Windows XP Professional Windows 2000 Professional SP2

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

Selecting the Language


When the Primary Setup Tools is launched for the first time, a dialog box is displayed in which you can select the program language. You can also set the language by choosing Settings > Language.

Fig. 2-2

Selecting the language

Selecting the Network Card


If your computer contains more than one network card, you can define the network card via which the Primary Setup Tool is to access the network by choosing Settings > Network Adapter. This menu displays up to four network cards.

Fig. 2-3

Selecting the network card

Edition 04/2005

16

Browsing the Network


Before using the PST to assign IP addresses, you first have to find the configurable devices in the network. Start the search by carrying out one of the following steps: Choose Network > Browse. Press F5. Click the magnifying glass icon in the tool bar under the menu bar.

Fig. 2-4

Browsing the network

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

List of devices found

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

Downloading the Configuration Data to the Module


Transfer the configuration data to the device by carrying out the following steps: 1. On the left-hand side of the program window, select the module that you want to configure. When an interface is selected and the screen for entering the configuration data is displayed, you cannot download the configuration data. 2. Start downloading the data by carrying out one of the following steps: Choose Module > Download.

Click the second icon from the left in the toolbar (S7 modules with a yellow arrow).

Removing the Module


You can remove a module from the list on the left-hand side of the program window by choosing Module > Remove Module. Using this option does not actually delete the module from the network because all the modules would still be displayed when you browse the network again.

Fig. 2-7

Removing a module

Determining the Device Location


To make the port LEDs on the device flash, choose Module > Buzz. A dialog box is now displayed in which you can start/end signaling. By looking at the LEDs, you can tell which device belongs to which list entry in the program window.

Edition 04/2005

20

Assigning a Name to the Device


By choosing Module > Assign Name, you can assign a name to devices that support this function.

Starting the INC Browser


To determine all the Industrial Net Components (INC) in the network that can be accessed, choose Module > Start INC Browser. You can now configure these devices and modify the IP address, subnet mask, and router accordingly.

Primary Setup Tool via the Command Line


Syntax You can also use the Primary Setup Tool via the command line of a DOS input prompt. The following syntax formats apply (optional parameters in square parentheses): s7wnpstx MAC address -DHCP[=client ID] s7wnpstx MAC address -RESET s7wnpstx MAC address IP address subnet mask [router address] s7wnpstx -NAME=station name [index network card][INC]

Edition 04/2005

21

The following table provides an explanation of the parameters:


Command MAC-Adresse -DHCP Client-ID -RESET IP-Address Subnet-Mask Routeraddress -NAME Stationname Index Netzwerkadapter INC Fig. 2-8 Description MAC-Address of the assembly, which should be configured Says that the IP_Address is from a DHCP-Server A unique name for a device. If this parameter is not konfigured, then the Primary Setp Tool use the MAC-Address as ID. resets the IP-Address to 0.0.0.0 The new IP-Adress of the assembly, which should be configured The new Subnet-Mask for the assembly The new IP-Address fort he default-router Parameter to set the stationname The Stationname fort he assembly with a maximum length of 255 characters The index fort he network. The default is 0. Marker for a networkcomponent Syntax of PST command interface Optional Optional Optional Optional Comment

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

SCALANCE W 744W788 V1.0.3


To assign addresses to a SCALANCE W 744W788 V1.0.3, you must use PST V2.0.

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.

The network card is not displayed in the PST


If you choose Settings -> Network Adapter and either the corresponding network is not displayed, the message "No Ethernet Adapter" is displayed, or no data at all is displayed, this could be due to the following: The corresponding network card is not inserted/installed or no network card at all is inserted/installed. The network card(s) has(have) been deactivated via the control panel or in the BIOS. Neither the DCP nor the DLC protocol are activated for the network card. The TCP/IP protocol has been deactivated for the network card.

No module found or existing module is not displayed


A broadcast service searches for the existing modules/components in the network, which then report with their MAC address. The broadcast service is terminated after 3 retries and a 10 second response time. Possible causes of problem: The existing module/component does not fulfill the requirements for communicating with PST. The DLC protocol is not installed. The network load/utilization is high. To solve this problem, choose Network -> Browse.

Module/component is not displayed after it has been loaded


Depending on the module type, it may take up to a minute for the module to respond after it has been loaded. To solve this problem, choose Network -> Browse to refresh the display of the modules/components.

Edition 04/2005

27

Message: "No station recognized in the network"


If the message above is output after you choose Network -> Browse even though modules with a default MAC address can be accessed in the network, this could be due to the following: The wrong network card was selected. One of the protocols has been deactivated for the selected card. The DLC protocol is not installed.

Message: "Supported interfaces: 4"


If the message above is output after you choose Settings -> Network Adapter, this may be because more network cards than actually exist on your PC have been registered via the control panel on your PC. You must only register the network cards that actually exist on your PC in the control panel.

Message: "Error in the subordinate driver"


If the above message is output after you choose Network -> Browse, this may be because the incorrect DCP or DLC driver version is installed. Contact the support team.

Message: "Unexpected error. Please repeat function."


If the message above is output after you choose Module -> Download, this may be due to the following: The network card you selected on your PC has been deactivated via the control panel or in the BIOS. The module that has been addressed is currently starting up.

Internet Explorer does not display the INC configuration page


When you choose Module -> Start INC Browser, the message "This page cannot be displayed" appears. This may be because none of the network cards on your PC is in the same subnet as the INC. To solve this problem, set the subnet mask for your network card to the INC subnet or use a router to connect the two subnets.

Edition 04/2005

28

Downgrade PST V3.0 to PST V2.0


Uninstall PST V3.0. Delete the "PST" registry key under "HKey_Current_User\Softwarer\Siemens\". Install PST V2.0.

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

Products that Support PST


The address of the following modules, gateways, and switches can be set using the PST:

SIMATIC NET CPs:


Type CP343-1 CP343-1 Lean CP443-1 CP443-1 Advanced Order no. 6GK7343-1GX20-0XE0 6GK7343-1EX20-0XE0 6GK7343-1CX00-0XE0 6GK7443-1EX11-0XE0 6GK7443-1EX40-0XE0

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.

SIMATIC NET gateways:


Type IE/PB Link IE/PB Link PN IO Order no. 6GK1411-5AA00 6GK1411-5AA20 6GK1411-5AB00

Note With the link modules, PROFIBUS parameters (address, profile, baud rate) can also be set.

Edition 04/2005

31

SIMATIC NET INC (Industrial Network Components):


Type OSM / ESM ELS TP40 M SCALANCE W788-1PRO SCALANCE W788-2PRO SCALANCE W744-1PRO (Ethernet Client Module) SCALANCE X200 6GK1102-6AB00 6GK5788-1ST00-2AA6 6GK5788-1ST00-2AB6 6GK5788-2ST00-2AA6 6GK5788-2ST00-2AB6 6GK5744-1ST00-2AA6 6GK5744-1ST00-2AB6 6GK5208-0CA00-2AA6 6GK5208-0BA00-2AA3 6GK5206-1BB00-2AA3 6GK5204-2BB00-2AA3 SCALANCE X400 6GK5414-3FC00-2AA2 Order no.

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

You might also like