Download as pdf or txt
Download as pdf or txt
You are on page 1of 44

SIMATIC NET

Installation Instructions
C79000-Z8974-C53-03
Stand / Dated 10/99

INSTALLATION INSTRUCTIONS for the CP 5511

The following document contains information in English.

SIEMENS AG 1998 Subject to change SIEMENS Aktiengesellschaft

English

SIMATIC NET
Installation Instructions
C79000-Z8974-C53-03
Dated 10/99

INSTALLATION INSTRUCTIONS for the CP 5511

SIEMENS AG 1998 Subject to change Siemens Aktiengesellschaft

Warning
Installation and startup Before installation and startup, read the instructions in the appropriate documentation. You will find ordering data in the catalogs or you can contact your local Siemens representative. Installation and startup is not permitted until it has been established that the machine in which these components will be installed meets the conditions of the directive 89/392/EEC.

Notes for the User


Text Conventions The following symbol is used to draw your attention to the text. It has the following significance: This symbol highlights special features and dangers.

+
Registered trademarks

SIMATIC NET and SINEC are registered trademarks of Siemens AG. The other names in this manual may be registered trademarks whose use by third parties for their own purposes might infringe upon the rights of the owner.

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.

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 welcome.

SIEMENS AG 1998 All rights reserved Order No.: C79000-Z8974-C35-03 Order from Gertewerk Karlsruhe Printed in the Federal Republic of Germany

Technical data subject to change Siemens Aktiengesellschaft

Introduction
Overview This document contains information about the installation and configuration of the CP 5511 Communications Card under Windows 98, NT 4.0.

Contents
1 2 3 4 4.1 4.2 5 5.1 5.2 5.3 6 6.1 6.2 6.3 6.3.1 6.3.2 6.3.3 6.3.4 6.3.5 7 7.1 7.2 7.3 8 9 9.1 9.2 10 The Package .................................................................................................................... 7 Hardware Requirements................................................................................................... 8 Key Diskette and License ................................................................................................. 9 Installing SOFTNET......................................................................................................... 11 Notes on Installation.......................................................................................................... 11 Software Installation .......................................................................................................... 12 Hardware Installation ..................................................................................................... 13 Windows 98 ..................................................................................................................... 13 Windows NT 4.0 ............................................................................................................... 16 Under Windows 2000 (RC1 Build 2072)............................................................................... 20 Setting the PG/PC Interface............................................................................................ 21 Under Windows NT 4.0: Complete Installation of the CP ....................................................... 21 Definition of Terms ............................................................................................................ 23 Making Assignments......................................................................................................... 24 CP 5x11 (PROFIBUS - DP Master) Parameter Sets..................................................... 25 CP 5x11 Parameter Sets (PROFIBUS - DP Slave)....................................................... 26 CP 5x11 (PROFIBUS) Parameter Sets ....................................................................... 27 CP 5x11 (MPI) Parameter Sets.................................................................................. 30 MPI Parameter Sets ................................................................................................. 31 Configuration.................................................................................................................. 32 COM PROFIBUS for SOFTNET DP .................................................................................... 32 Creating the SAPI-S7 Database ......................................................................................... 34 COML S7 for SOFTNET S7................................................................................................ 35 Diagnostics..................................................................................................................... 37 Troubleshooting ............................................................................................................. 41 Under Windows 98............................................................................................................ 41 Under Windows NT 4.0...................................................................................................... 41 Where to Get Help.......................................................................................................... 44

5
C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

Overview of the Most Important Installation Steps Windows 98


Step 1 2 3 4 5 6 7 Description The PCMCIA slot is enabled in the BIOS. The sockets are functional in the device manager (see Chapter 5). Install SOFTNET (see Chapter 4). Restart the computer. Insert the card. Check the entry in the device manager (see Chapter 5). Set the PG/PC interface (see Chapter 6): 8 9 Assignment Interface parameter set

Function test with the diagnostic tool (see Chapter 8). Restart the computer.

Under Windows NT 4.0


Step 1 2 3 4 5 6 7 Description The PCMCIA slot is enabled in the BIOS. Plug & Play O/S mode is disabled in the BIOS. Install CARDWARE (see Chapter 5). Install SOFTNET (see Chapter 4). Restart the computer. Insert the card. Set the PG/PC interface (see Chapter 6). 8 9 Install Assignment Interface parameter set

Function test with the diagnostic tool (see Chapter 8). Restart the computer.

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

1 The Package

Diskette Package German/English.

The PROFIBUS SOFTNET DP, SOFTNET DP SLAVE and PROFIBUS SOFTNET S7 packages contain the following:

1 SIMATIC NET CD.


1 red key diskette with the license for the relevant product. Installation instructions for CP 5511 and CP 5611. Software product certificate.

Copyright by SIEMENS AG

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

2 Hardware Requirements
Computer The PROFIBUS SOFTNET products can be used on programming devices (PGs) and compatible PCs. You will find a list of the tested and approved computers in the "rel551nte.pdf" file on the first product diskette of the CD. For the PROFIBUS DP mode, at least a 90 MHz Pentium processor or comparable processor is recommended.

CP 5511 Network Card

The CP 5511 (Communications Processor) is a PROFIBUS network card for the programming devices PG 720, PG 740, PG 760 and all other PCs equipped with a PCMCIA slot. Hardware interface PCMCIA (PC CARD) Type 2 or Type 3 complying with the PCMCIA standard Possible interrupts IRQ5, IRQ10, IRQ11, IRQ12, IRQ15 Memory window maximum 64 Kbytes, minimum 16 Kbytes, location and size are adapted to the memory available on the PC Plug & Play functionality

The activated PCMCIA controller of your PC hardware may also require an additional interrupt.

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

3 Key Diskette and License


Key Diskette A red diskette (key diskette) is shipped with the PROFIBUS SOFTNET products. This contains a license required to operate the product. This diskette is not read-only (see the position of the slider). The position of the slider must not be changed! The license on the key diskette cannot be reproduced by copying the diskette. Make sure that you keep this diskette in a safe place.

Installing the License

During installation, this license is transferred to your hard disk (this is the default setting of the checkbox during installation). It is not possible to operate the product without this license.

+
Location of the License on the Hard Disk

Do not interrupt the transfer of the license, otherwise the license may be destroyed.

The license is copied to the hidden folder \ax nf zz on the drive on which you installed the product.

+ +

Under no circumstances delete the folder \ax nf zz or the files it contains! The license cannot be transferred to a compressed drive. If your hard disk is compressed, install the license on an uncompressed drive.

AUTHORSW.EXE

Using the AUTHORSW.EXE program on the key diskette, you can also install the license at a later point in time. Start the AUTHORSW.EXE program.

Copyright by SIEMENS AG

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

Select the required license on drive A:\. Select the target drive for the authorization in the Authorization > Transfer menu.

If you ever want to reformat your hard disk, you must first transfer the license back to the key diskette. The program required for this AUTHORSW.EXE is on the key diskette. If you do not remove the license before you reformat, it will be destroyed and you will no longer be able to use the product. Make sure that you transfer the license back to the same key diskette from which you originally installed it. Uninstallers and the Authorization If you uninstall this product with a software installer, the authorization may be lost. Explanation: The warning above applies to all users who installed this product with an uninstaller. If you want to uninstall the product using an uninstaller, first transfer the authorization back to the key diskette using the AUTHORSW.EXE program on the key diskette. If you do not transfer the authorization back to the diskette, then depending on the uninstaller, the authorization may be destroyed. Note If the license is not detected, a message is displayed regularly on the screen during operation.

10

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

4 Installing SOFTNET
4.1 Notes on Installation
Under Windows 98 and Windows NT, the product is installed using the installation program SETUP.EXE in the main folder on the CD. Installation from CD

Installation from Diskettes

If you want to install the product on a computer without a CD-ROM drive, you must copy the required product from the CD to diskettes. How to do this is described in the Readme file on the CD.

Installation in the Same Drive

If you have already installed a SINEC or SIMATIC NET product, make sure that you install the new software on the same drive!

+
Hardware Detection under Windows 98 If you insert the CP 5511 network card before you install the software, Windows 98 will ask you to insert a manufacturer's diskette. Insert the SIMATIC NET CD, specify the folder SW\sn_pb_dp\disk1 and follow the instructions. Close all active Windows programs including the Control Panel. Reason: If programs are running, shared software components cannot be replaced. You must then expect problems later when running the products.

Registry Entries under Windows NT 4.0

Please remember that before you can install this product successfully, you must log on as an administrator with Windows NT. If you do not log on as administrator, important entries in the registry of Windows NT cannot be made. If you do not have write access to the registry, the installation will be incomplete.

Copyright by SIEMENS AG

11

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

4.2 Software Installation

Step 1 2 3 4 5 6

Description Start your computer with Windows 98 or NT. Insert the SIMATIC NET CD in your CD-ROM drive. Read the READ.TXT file on the CD-ROM. Start the SETUP.EXE file on your CD. Follow the instructions of the installation program. In the "Components" dialog, activate the checkbox of the products to be installed - PB SN-DP or PB SN-S7 .

Read the "Readme.txt" file belonging to the product. You can open the file by clicking the product you want to install and then clicking the "Read me" button. Complete the installation. Restart your computer.

8 9

12

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

5 Hardware Installation
5.1 Windows 98
Important The parallel operation of PROFIBUS SOFTNET cards with other PROFIBUS SOFTNET cards or with a CP 5412(A2) is not supported. The parallel operation of protocols via SOFTNET cards is not supported. The PCMCIA slot in your computer is of Type II or III. The PCMCIA slot is enabled in the BIOS. The PCMCIA interface of the computer is installed and operational. You can check this in the Device Manager in the Control Panel.

Requirements

If a PCMCIA card is already active on your computer, this must be uninstalled and, if required, installed again after installing the CP 5511. The CP 5511 must always be connected to the bus adapter. The following resources must be available on the computer (in the device manager): The CP 5511 requires one of the following interrupts: IRQ5; IRQ10, IRQ11, IRQ12, IRQ15. The CP 5511 requires a free memory area in the first megabyte as follows: At least 20 Kbytes (16 Kbytes for its DPRAM + 4 Kbytes for the Windows 98 PCMCIA driver) in the D segment of memory.

Note

The SOFTNET software package is installed.

In Windows 98, a second interrupt may be required by the PCMCIA controller.

Copyright by SIEMENS AG

13

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

Step 1 2 3 4 Start Windows 98. Insert the card in the PCMCIA slot.

Description

After a brief time, a message appears on the screen indicating that the driver and resources are being initialized for the detected card. This activity can take several minutes. In the Control Panel, click PC Card (PCMCIA ). the installation is completed when the CP 5511 appears in PC Card Properties/Socket Status with the name SIEMENS PCMCIA Card CP 5511.

After successful installation, the entry SIEMENS PCMCIA Card CP 5511 is entered automatically in the Device Manager in the SIMATIC NET folder.

see Chapter 6.

14

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Note

Under Windows 98, the resources of the CP 5511 assigned by the system are displayed in the Device Manager.

Two memory ranges and one interrupt without conflicts must be displayed.

Copyright by SIEMENS AG

15

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

5.2 Windows NT 4.0

+
Important

To install and uninstall the hardware under Windows NT, you must have administrator rights. The parallel operation of SOFTNET cards with other SOFTNET cards or with a CP 5412(A2) is not supported. The parallel operation of protocols via SOFTNET cards is not supported.

Note

Never install the Cardware on a PC without a PCMCIA interface.

16

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Requirements

The PCMCIA slot in your computer is of Type II or III. The PCMCIA slot is enabled in the BIOS. The Plug & Play O/S mode must be disabled in the BIOS. The PCMCIA interface of the computer is installed and operational. If a PCMCIA card is already active on your computer, this must be removed. The CP 5511 must always be connected to the bus adapter. There must be no PCMCIA card in a PCMCIA slot since Windows NT 4.0 does not support the parallel operation of PCMCIA cards. The following resources must be available on the computer: The CP 5511 requires one of the following interrupts: IRQ5; IRQ10, IRQ11, IRQ12, IRQ15. The CP 5511 requires a free memory area in the first megabyte as follows: At least 24 Kbytes (20 Kbytes for its DPRAM + 4 Kbytes for Cardware) in the D segment of memory.

The SOFTNET software package is installed. Before you insert the CP 5511, the AWARD CARDWARE must be installed on your computer. Follow the steps outlined in the table. As an alternative, you can also use the CardWizard from SystemSoft if Award Cardware cannot be run on your computer. For more detailed infomation refer to the readme.txt file of your product and in the instructions for operating the SystemSoft CardWizard (PDF file on your CD). If you already have the Card & Socket services of a different vendor on your computer, this must be completely uninstalled and the Cardware installed.

Requirements

Never install the Cardware on a PC without a PCMCIA slot.


When installing the Cardware, follow the steps below:

Procedure

Step 1 2 3

Description Make sure that there is no PCMCIA card in your PCMCIA slot. Start the 'setup.exe' program on the CD in the folder SW\cp_5511\award\disk1. Follow the instructions of the installation program.

Copyright by SIEMENS AG

17

CP 5511 Communications Card under Windows 98, NT4.0


4 Confirm or change the destination folder.

C79000-Z8974-C35-03

If your computer is listed: Select the platform suitable for your PC. If your computer is not listed: Select an adapter family, for example PCIC compatible controller (recommended setting if you do not know your controller type).

Confirm the hardware profile for which the Cardware was installed. If you want to use the CP 5511, you must always select this profile when you boot the computer.

18

Copyright by SIEMENS AG

C79000-Z8974-C53-03
7

CP 5511 Communications Card under Windows 98, NT 4.0

The files are now copied to your computer.

This completes installation of the Cardware. 8 9 10 Close down your computer. Insert the PCMCIA card in the slot. Restart your computer.

Note

In PC Card (PCMCIA) Devices/Socket Status, the CP 5511 can appear either with a red cross or with a yellow question mark. This has no significance for the functionality of the CP 5511.

Copyright by SIEMENS AG

19

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

5.3 Under Windows 2000 (RC1 Build 2072)

+
Important

To install and uninstall the hardware under Windows 2000, you require administrator rights. Parallel operation of SOFTNET cards together or with a CP 5412(A2) is not supported. Parallel operation of protocols via SOFTNET cards is not supported. The PCMCIA slot in your computer is of Type II or III. The PCMCIA slot is enabled in the BIOS. The PCMCIA interface of the computer is installed and operational The CP 5511 must always be connected to the bus adapter. The following resources must be available on the computer: The CP 5511 requires one of the following interrupts: IRQ5, IRQ7, IRQ10, IRQ11, IRQ12, IRQ15. The CP 5511 requires a free memory area in the first megabyte of at least 20 Kbtyes in the D segment of memory The SOFTNET software package is installed.

Requirements

Step 1 2

Description Insert the CP 5511 in a PCMCIA slot. Follow the instructions in the documentation supplied with the interface. The hardware Wizard will report that new hardware has been found. Click Next and complete with Finish. You do not need to make any settings, assuming that the Softnet package was already installed. Follow the steps in Section 6.1 (Complete Installation of the CP) as described for Windows NT 4.0)

20

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

6 Setting the PG/PC Interface


Setting the PG/PC Interface The Setting the PG/PC Interface configuration program allows the installation of the hardware and assignment of parameters for the PROFIBUS communication connections.

6.1 Under Windows NT 4.0: Complete Installation of the CP

Under Windows NT 4.0

Since Windows NT 4.0 does not have Plug & Play functionality, the card must be installed using the PG/PC interface.

Copyright by SIEMENS AG

21

CP 5511 Communications Card under Windows 98, NT4.0


Step 1 Description Start the "Setting the PG/PC Interface" configuration program

C79000-Z8974-C35-03

using the "Start" menu of the taskbar (Start>Simatic>SIMATIC NET >PB SOFTNET DP > Setting the PG/PC Interface) or

2 3 4

using the Control Panel (Start>Settings>Control Panel>Setting the PG/PC Interface)

Click the "Install..." button. Select the CP 5511 in the Selection list box. Click the Install -- > button to install the device.

Check the assignment of the access point (for example CP_L2_1:) to the interface parameter set (see Sections 6.2 and 6.3). Then click the OK button. Close down your computer and start Windows NT again. Follow the instructions for configuring the interface in Sections 6.2 and 6.3.

Removing/ Inserting the Card

Before removing the card, communication must be terminated.

22

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

6.2 Definition of Terms

Setting the PG/PC Interface

The Setting the PG/PC Interface configuration program allows you to assign parameters for PROFIBUS communication connections.

Access Point of the Application

The access point is the name of a communication connection. Applications and libraries can access the interface via the access point. You can create new access points by selecting the entry Add/Delete in the "Access Point of the Application" list box. If you want to work with SOFTNET-DP : Use the default access points CP_L2_X: where X = 1 to 4. The number X must be specified as the CP number in the structure element reference.board for the dpn_init() call. If you want to work with SOFTNET DP Slave: Whenever possible, use the DPSONLINE access point. You can, however, use other access points. The name of the access point must be entered for DPS_open(). If you want to work with FDL: You can use any access points. These must be entered as parameters for the SCP_OPEN() call. If you want to work with SAPI S7: You can use any name you require for the access point. The access point must be specified in the program as the parameter "cp_name" of the "s7_init" command. If you want to work with STEP 7: You must, for example, use the access point "S7ONLINE" to communicate with S7 programmable controllers. You can also use this name in your programs.

Interface Parameter Sets

Interface parameter sets contain all the properties of a network access point. These include the underlying hardware, the station parameters and the bus parameters. Link an access point to an interface parameter set following the steps outlined in Section 6.3:

Assignment

Copyright by SIEMENS AG

23

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

6.3 Making Assignments


Step 1

Description
Start the "Setting the PG/PC Interface" configuration program Using the "Start" menu of the taskbar (Start>Simatic>SIMATIC NET >SOFTNET DP > Setting the PG/PC Interface) or

using the Control Panel (Start>Settings>Control Panel>Setting the PG/PC Interface)

Select an access point from the list box "Access point of the application", for example using the mouse. Reaction: The assigned interface parameter set is displayed in the list box. If no assignment exists, the entry "None" is activated.

Make the assignment between the access point and the device parameter set for example by clicking the required interface parameter set in the "Interface parameter set used" list box with the mouse. Click the "Properties" button. This opens a dialog in which you can assign parameters to the interface.

Note

Check the complete settings of your PG/PC interface. In particular, you should check the access point and the interface parameter set before you continue configuring.

Properties of the Standard Parameter Sets

The default interface parameter sets created for a module differ from each other in terms of the underlying network type and therefore in the range of parameters that can be selected.

24

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

6.3.1 CP 5x11 (PROFIBUS - DP Master) Parameter Sets

CP 5X11 (PROFIBUS - DP Master) Parameter Set

The CP 5X11 (PROFIBUS - DP Master) parameter set is required for the DP master mode. In the DP Master dialog, you can specify whether the DP master is the only active station in the PROFIBUS network. If you want the PC with SOFTNET DP to be the only master in the network or to be the first master to become active, the "Programming device / PC is the only master on the bus" checkbox must be activated.

In this dialog, you can also specify a DP database for this device parameter set. For more information about creating the database, refer to Chapter 7.

+
For the DP mode, it is essential to specify a DP database. Specifying the DP Bus Parameters It is not possible to set the bus parameters for DP using the Setting the PG/PC Interface configuration program. These are specified when you configure with COM PROFIBUS and they are saved in the database.

Copyright by SIEMENS AG

25

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

6.3.2 CP 5x11 Parameter Sets (PROFIBUS - DP Slave)

CP 5X11 (PROFIBUS - DP Slave)" Parameter Set

The "CP 5X11 (PROFIBUS - DP Slave)" parameter set is required for DP slave operation; it must be assigned to the DPSONLINE access point. All the parameters for operation as a DP slave are transferred with DPS_open(). No additional settings are necessary in the PG/PC Panel.

Specifying the Bus Parameters

The bus parameters for DP cannot be set using the configuration program "Setting the PG/PC Interface". They are transferred when DPS_open() is called.

26

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

6.3.3 CP 5x11 (PROFIBUS) Parameter Sets

CP 5X11 (PROFIBUS) Parameter Set

With the standard parameter set CP 5X11 (PROFIBUS), access to PROFIBUS networks for SAPI S7 or for FDL applications and the applications based on other protocols (for example STEP 7) is possible. In the Properties dialog, you can modify the PROFIBUS bus parameters. The local parameters are set under Station Parameters: The local PROFIBUS address and a layer 4 timeout (no significance). With the Programming device / PC is the only master on the bus checkbox, you can decide how the interface is entered into the PROFIBUS ring. If this checkbox is deactivated, the interface can be included in a ring that is already active while the interface is turned on. If, however the interface is intended as the only master in the PROFIBUS network, this checkbox must be activated. The Network Parameters are valid for the entire PROFIBUS network and must match up on all nodes. The bus profiles contain predefined data records containing bus parameters. Select the DP bus profile if you are only operating S7 components in your PROFIBUS network. If you are also using S5 components or devices from other vendors on the bus, you must use the Universal profile. Select the Standard bus profile for the multimaster mode with fast bus nodes. If you set the User-Defined bus profile, you can set the bus parameters after clicking the Bus Parameters... button. If a different bus profile is set, the bus parameters can only be monitored.

Copyright by SIEMENS AG

27

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

SAPI-S7 Properties Page

The communication connections via the S7 communication protocol are specified in a database created with the COML S7 configuration tool (see Chapter 7). The database is specified in an interface parameter set in the SAPI S7 properties page.

Specify the name and extension (ldb) and the path to the S7 database. You can search for a database by clicking the Search... button.

An S7 database must be specified if you want to communicate using the S7 protocol.

28

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Definition S7SAPs Dialog

The S7 protocol via PROFIBUS requires a Service Access Point (SAP) for the establishment of every connection. PROFIBUS allows the use of a maximum of 64 SAPs in the range from 0 to 63 that must share all communications protocols (FDL, S7, DP).

Note the information in the online help about using the SAP interval.

Copyright by SIEMENS AG

29

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

6.3.4 CP 5x11 (MPI) Parameter Sets

CP 5X11 (MPI) Parameter Set

Using the CP 5X11 (MPI) standard parameter set allows access to MPI networks.

The Network Parameters are valid for the entire MPI network and must match up for each node. The transmission rate in MPI networks can only be set to 187 Kbps and 1.5 Mbps. It is not possible to set the bus parameters. In the Properties dialog, you can modify the MPI bus parameters. Under Station Parameters you can set the local parameters: The local PROFIBUS address and a layer 4 timeout (no significance). With the Programming device / PC is the only master on the bus checkbox, you can decide how the interface is entered into the PROFIBUS ring. If this checkbox is deactivated, the interface can be entered in an already active ring while the interface is turned on (default for MPI networks).

30

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

6.3.5 MPI Parameter Sets

MPI Parameter Set

For access to MPI (MPI ISA card, MPI onboard) there is a standard parameter set with which the entire resources of the MPI interface can be used. For more information about access to an MPI network, please refer to the README.TXT file.

Copyright by SIEMENS AG

31

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

7 Configuration

Note

No further configuration is necessary for FDL.

7.1 COM PROFIBUS for SOFTNET DP

Working with COM PROFIBUS

You require the COM PROFIBUS configuration software to configure the structure of the bus, the DP master and the DP slaves. You can also create detailed system documentation with COM PROFIBUS.

Note

COM PROFIBUS is installed automatically along with SOFTNET DP. when you install from the CD. If you install from diskettes,you will find the COM PROFIBUS diskettes on the CD in the SW\COM_PB folder.

Important Note

The DP interface of SOFTNET is compatible with the DP interface of the product DP 5412 for Windows 98 and Windows NT 4.0.

Procedure

Follow the steps below to create a database for SOFTNET:


Step 1 Description Start the COM PROFIBUS program using the start menu (Start>Programs>Siemens COM PROFIBUS>COM PROFIBUS). Start a new configuration with the menu command File > New . Select the station type SOFTNET DP as the master and specify the station address of the master. Confirm your selection with OK. Reaction: A new DP project is created using the specified master. 4 Configure the DP network as described in the manual ET 200 Distributed I/O System. (Enter bus parameters with the menu command Configure > Bus Parameters, select slaves and enter slave parameters (Configure > Slave Parameters) ). Save the configuration (menu command File > Save ).

2 3

32

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Create the DP database (.LDB and .TXT) using the menu command File > Export > NCM File . Reaction: The converter is started. This creates a loadable database (.LDB), an ASCII database (.TXT) and an ASCII output file (.ERR).

Enter the name of the DP database in the Setting the PG/PC Interface configuration program, as follows: Start the configuration program (for example taskbar Start > Control Panel > Setting the PG/PC Interface ). Now select an interface name CP_L2_X: (X=1 to 4), that references a device parameter set 5x11 (DP Master) or create the assignment (see Section 4.5).

Click the Properties button. Reaction: The PROFIBUS DP Master properties page appears.

Now enter the path and the file name of the previously created database (.LDB). Use the Search... button to look through your hard disk(s). Confirm your selections with OK.

10

Check the setting of the Programming device / PC is the only master on the bus checkbox. This should only be deactivated when you want to connect the CP to an active PROFIBUS. If the CP of the PG/PC is the only master, the checkbox must be activated. Confirm all your settings with OK.

11

You can now start your DP master application. To test your application, you can use the DP sample program DPMDEMO.EXE. You can start this from the program menu.

Copyright by SIEMENS AG

33

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

7.2 Creating the SAPI-S7 Database


Creating the Database There are two ways of creating a SAPI-S7 database: 1. Option You create a database with the "STEP 7" program (recommended). Here, you can select the format in which you want to create the database: LDB format or XDB format Procedure: Please read the documentation shipped with STEP 7 (version 4.2 or higher). 2. Option You create a database with the "COML S7" program. The format of the database is "LDB". Procedure: Start the "COML S7" program in the Simatic path (Taskbar Start Simatic SIMATIC NET COML S7).

You can continue to use the databases created with COML S7 (LDB file) even if you are using the XDB configuration file at the same time. It is, however, advisable to use only XDB configuration files.

Advantages of XDB with STEP 7

Only one tool is necessary (STEP 7). In STEP 7, you configure all PCs and SIMATIC S7 stations in one project. The bus parameters and the station address of the network adapter on the PC are automatically set correctly. The required connection resources are checked automatically.

Required STEP 7 Version

You require STEP 7 version 5 with service pack 3.

34

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Creating a Configuration File with STEP 7

To create a configuration file in the XDB format with STEP 7, follow the steps outlined below:
Step 1 2 3 4 5 6 Action Start the Netpro program in the SIMATIC Manager. Insert a SIMATIC PC station for each PC you want to network. Select an application in the SIMATIC PC station. Insert the connections to the required stations. Compile and save the connection configuration. Copy the newly created configuration file (XDB configuration file) to the appropriate PC.

Activating the Database in XDB Format

A SAPI-S7 database created in the "XDB" format is activated in the "STEP 7 Configuration" tab (taskbar Start Settings Control Panel Setting the PG/PC Interface ). Then continue as outlined in the table below:

Step 1 2

Action Enter the name of a valid database with the extension ".XDB" in the "Configuration file name" list box. Close the configuration program with OK.

7.3 COML S7 for SOFTNET S7

Working with COML S7

The configuration tool COML S7 set up during the installation of SOFTNET S7 is used to specify the basic information required by the S7 programming interface (SAPI S7) to establish a connection.

Important note

The SAPI-S7 interface of SOFTNET is compatible with the SAPI-S7 interface of the product S7-5412 for Windows 98/Windows NT 4.0.

Copyright by SIEMENS AG

35

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

Procedure

Follow the steps below to create a database for SOFTNET:


Step 1 2 3 4 Description Start the COML S7 program using the start menu (Start>Programs>SIMATIC NET>SOFTNET S7>COML S7). Start a new configuration with the menu command File > New . Select PROFIBUS as the network type. Configure the S7 connections as described in the manual Configuring the S7 Mode with COML S7. This manual is on the SIMATIC NET CD. You should also note the information in the COML S7 online help. Save the configuration (menu command File > Save Text DB). Create the S7 database (.LDB) using the menu command File > Create Binary DB As... Close the COML S7 program. 7 Specify the name of the S7 database in the Setting the PG/PC Interface configuration program, as follows: Start the configuration program (for example taskbar Start > Control Panel > Setting the PG/PC Interface). Now select an interface name (for example CP_L2_1:) that references a device parameter set or create the assignment (see Section 4.5). 8 Click the Properties button. Reaction: The PROFIBUS Network or MPI Network properties page appears. 9 Select the SAPI S7 properties page. Now enter the path and the file name of the previously created database (.LDB). Use the Search... button to look through your hard disk(s). Confirm your selections with OK. 10 Check the setting of the "Programming device / PC is the only master on the bus" checkbox. This should only be deactivated when you want to connect the CP to an active PROFIBUS ring. If the CP of the PG/PC is the only master, the checkbox must be activated. Confirm all your settings with OK. 11 You can now start your S7 application. Source code is available for debugging.

5 6

36

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

8 Diagnostics

Diagnostics

Click the Diagnostics button in the Setting the PG/PC Interface dialog to check the installation of your interface.

Copyright by SIEMENS AG

37

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

PROFIBUS Network Diagnostics

You can test your PROFIBUS network in the PROFIBUS/MPI Network Diagnostics tab page, as follows: Click the Test button. This displays the bus parameters, your local address and the status of the bus nodes. To obtain a sign of life list, click the Read button.

Normally, this is acknowledged with OK in the dialog box beside it. If an error has occurred, you will receive a detailed error message.

Example here: Active station with address 0 alone on the bus.

38

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Hardware Diagnostics (Only Under Windows NT 4.0)

In the Hardware tab, you can test your hardware. If you click Test, the resources of your driver are displayed. You can also check whether these resources are free or not.

Here, for example, the hardware diagnostics performed with a CP 5511.

Copyright by SIEMENS AG

39

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

Diagnostic DP or S7 Protocol

Using the dialog in the figures below, you can check your configuration.

40

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

9 Troubleshooting
9.1 Under Windows 98

Card not Entered in the Device Manager?

The controller type does not match the Card & Socket services with which Windows 98 operates.

Resource Problem?

You can reassign the resources in the Control Panel (by double-clicking the entry PCMCIA Card Siemens CP 5511). Check whether there is a resource conflict in the Device Manager.

Wrong PG/PC Setting?

Check whether the access point and the interface parameter set match.

Configuration Problem?

Check whether the database LDB exists and whether it is entered in the PG/PC interface. Check the node addresses and the bus parameters settings.

9.2 Under Windows NT 4.0

Controller Type Problem?

SystemSoft CardWizard

Check whether your controller type or platform is supported by the Cardware version. The information about the controller type is often on the controller itself. If you cannot find the information there, contact the manufacturer of your computer. As an alternative to the Award Cardware, you can also use the CardWizard from SystemSoft if Cardware cannot be run on your computer. For more detailed infomation refer to the readme.txt file of your product and in the instructions for operating the SystemSoft CardWizard (PDF file on your CD).

Copyright by SIEMENS AG

41

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

Installing/ Uninstalling an Interface Later

If you want to install or uninstall a further interface on your PC after the CP 5511, you should inform the resource manager of the card services of the released (after uninstalling) or newly occupied resources (after installing). To home in on the problem, use the diagnostic tool (in the PG/PC interface) (see Chapter 8). If errors occur, first check whether the memory areas and interrupts used by the Cardware are really free and not being used by other components. Since Windows NT 4.0 does not fully support Plug & Play, the user is also responsible for handling resources. During installation, the Cardware normally detects free memory areas, there is however no 100% guarantee.

Resource Problem?

Problem Installing Cardware

If you install the Cardware from your SIMATIC NET product CD, skip this point. If you have purchased the Award Cardware separately, remember the following points. In this case, a so-called card enabler was installed. This must be deactivated to operate the CP 5511.
There are two ways of deactivating the card enabler: First method: Remove PCCARD.EXE from the Autostart menu of your PC \WINNT\PROFILES\AllUsers\Startmenu\Programs\Autostart\PCCard When you boot the PC, the card is no longer displayed. Cardware is however activated. The CP 5511 can be operated.

Second method: Change the start type of PCENABLE.SYS to manual . Click My Computer Click Control Panel Click Devices Click pcenable (select) Click Startup Type Click Manual Reboot your PC

When you boot the PC, a PCMCIA card is displayed with the comment unable to get the card name. Cardware is however activated. The CP 5511 can be operated.

42

Copyright by SIEMENS AG

C79000-Z8974-C53-03

CP 5511 Communications Card under Windows 98, NT 4.0

Problem Managing Resources

When you install the Cardware, the installation program checks which resources (interrupts, memory) are already being used by other components. These are entered in the registry and are not available to the Cardware. This method is intended to avoid device conflicts. Depending on the system, resources are occasionally claimed by two components. In this case, the registry must be changed manually. If you want to prevent certain interrupts or memory ranges being used by PC cards, note the following points.

1.

Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PCCS\Resources 2.

Under resources, you can make further entries. Examples: XIRQ,6,E prevents the use of Interrupt 6. XMEM,0xA0000,0x30000,E prevents the use of memory range 0xA0000 to 0xCFFFF. Update the total number of entries.

These resources can no longer be assigned by the Cardware.

After modifications in the registry, you must reboot your PC.

Copyright by SIEMENS AG

43

CP 5511 Communications Card under Windows 98, NT4.0

C79000-Z8974-C35-03

10 Where to Get Help


Documentation You will find information about using this product in the following sources: In the corresponding documentation (refer to the folder /DOC on the SIMATIC NET CD). In the integrated help system belonging to the software (F1 key) In the appropriate readme files on the SIMATIC NET CD

Who to Contact

If you do not find the answers to technical questions about using the software in the sources listed above, contact your Siemens representative or office. You will find the addresses: In our catalog IK 10 On the Internet (http://www.ad.siemens.de)

Frequently Asked Questions

Our customer support on the Internet provides useful information and answers to common questions. In the area FAQ (Frequently Asked Questions), you will find information about the entire product range.

Hotline

Our hotline is also available to help you with problems: Telephone: 0911 - 895 - 7000 (from abroad +49 - 911 - 895 - 7000) Telefax: 0911 - 895 - 7001 (from abroad +49 - 911 - 895 - 7001) E-Mail: simatic.support@nbgm.siemens.de Mailbox (BBS, analog/ISDN, 8N1): 0911 - 895 - 7100 (from abroad +49 - 911 - 895 - 7100)

Note

If you call our SIMATIC NET hotline, please try to have the following information available: The manufacturer and type of your computer. The type of controller installed in your computer. The manufacturer and version of your Card & Socket services. Your operating system version. BIOS version. Software version. Version of the CP.

44

Copyright by SIEMENS AG

You might also like