Sunteți pe pagina 1din 13

Configuring the S7 I/O Server for TCP/IP Communications Página 1 de 13

Tech Note 136


Configuring the S7 I/O Server for TCP/IP Communications

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Topic#: 000774
Created: December 31, 1998

Traditionally, Wonderware has supported communications with Siemens PLCs using the CP 1413 card for Industrial Ethernet and the ISO
transport protocol. With the use of Siemens Softnet and the CP1411 card, the Wonderware® S7 I/O Server now supports the TCP/IP standard
protocol. This document describes how to configure the S7 CPs and the S7 I/O Server to communicate with Siemens S7 PLCs via a CP 1411
card.

Note Softnet can also be used to configure a regular Network Interface Card (NIC) such as a 3COM card. The procedure for NICs is similar to
the one outlined in this document.

Siemens Hardware and Software Checklist

In order for the Wonderware S7 I/O Server to communicate with an S7 PLC via TCP/IP, the following Siemens hardware and software is
required:

For the PC running the S7 I/O Server:

z CP 1411 ISA Card

z Softnet-S7/ Windows 95, Windows 98, Windows NT 4.0 (use Basic OR Extended version). We recommend the use of Softnet-S7 version
3.0.

For the PLC and the PC running Step7 programming software:

z CP 343-1 TCP (if using S7 300 PLC) or CP 443-1 TCP (if using S7 400 PLC)

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 2 de 13

z NCM S7 Industrial Ethernet

Procedure

Siemens CP-1411 Configuration


To configure the Siemens CP-1411 card, double click on the Network icon in the Control Panel. Add the card according to the instructions
provided by Siemens. A screen similar to the one in Figure 1 will define the hardware settings for the card. Default settings can be used except
for Full Duplex, where you have to use AUI:

FIGURE 1. SETTINGS FOR ETHERNET ADAPTER CARD

For the network settings as shown in Figure 2, the only property that needs to be entered is the IP address, with the default subnet mask
255.255.0.0. Other entries like Default Gateway DNS, WINS Address, or Routing are not required.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 3 de 13

FIGURE 2. NETWORK SETTINGS

Softnet Configuration
1. Install the Softnet-S7 Basic (or Extended)/Windows 95, 98, NT 4.0 software from the SIMATIC NET CD. Then, create a database using
COML S7 for the S7 I/O Server to use, as shown in Figure 3. Make sure the Remote Address is the same as the IP Address in your Step7
setup, as shown in Figure 9.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 4 de 13

FIGURE 3. DATABASE CONFIGURATION

Node name: Enter the name of this station. This is only used for documentation purposes and has no meaning to the project.

Network type: In this case, select TCP/IP since the CP installed is a CP1411.

Edit S7 connection selected on left:

The next settings are specific to each S7 connection:

Name: Enter the symbolic name of the S7 connection (max. 32 characters). The name can be freely chosen. This name occurs again

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 5 de 13

when you want to create topics in the S7-DDE-server.

VFD name: Enter the Virtual Field Device name. It has a maximum of 32 characters. This name is used by an application to specify
which S7 connection to use. The VFD name is used during the topic configuration in the I/O Server.

Remote addr.: This is the IP address for the PLC that you want to connect to. It should match the setting defined in Step7 programming
software.

Local TSAP: Enter the Transport Service Access Point for the local Station. The TSAP is the layer 4 address. The first two digits specify
the device and the last two digits must be zero. The recommended setting is 01.00.

Remote TSAP:

The TSAP of the PLC consists of two parts:


1. Group: specification of the device: 01 = PG, 02 = OS, 03 = others

2. Group: addresses of the SIMATIC components: (Bit 0..2) = Rack (Subsystem), (Bit 3..7) = Plug in port

Recommended setting: 03.0x, where x = slot of the CPU (Not the CP). Since the CPU is normally installed next to the power
supply (which takes 2 slots in S7-400), the usual setting here is 03.03 for S7-400 and 03.02 for S7-300.

2. Save this configuation as a binary database. This database has to be entered in the Properties-TCP/IP dialog box, as shown in Figure 7.

3. In Settings/Control Panel/Setting the PG/PC Interface, create an Access Point and connect it to the Module Parameter TCP/IP.
Click on Install, as shown in Figure 4.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 6 de 13

FIGURE 4. ACCESS POINT WAS CREATED

4. Select the CP1411 from the list on the left and click on Install, as shown in Figure 5. There are no resources to be assigned to the
module. Figure 6 shows how the module will look once it’s installed.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 7 de 13

FIGURE 5. INSTALLING THE CP1411 MODULE

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 8 de 13

FIGURE 6. CP1411 IS SHOWN AS INSTALLED

5. Select the installed CP1411 module and click on Properties, then select the database you created with COML S7, as shown in Figure 7.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 9 de 13

FIGURE 7. DATABASE SELECTED FOR S7

Example Configuration of the CP443-1 TCP Using Step7

This is an example of how the CP 443-1 TCP will appear once it is configured using Step7. To view or change your configuration, start the S7
project within Siemens Step7 software and go to hardware settings. Select the CP443-1 TCP. The properties are as shown in Figures 8 through
10, below. (The procedure for CP343-1 TCP is similar.)

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 10 de 13

Figure 8 shows the Network Number and Subnet Mask under IP Parameters.

FIGURE 8. IP SETTINGS FOR THE TCP/IP NETWORK

The following figures show the settings for the Industrial Ethernet. (Go to the Properties of the subnet you want to use in Figure 9.) Here you
can use the Step7 suggestion; however, make sure that the Network Number is not yet present in your network.

Figure 9 shows the Ethernet and IP Parameters of your CP. A MAC address will not be used, but it is necessary to define a valid address, such
as 08.00.06.01.00.00 (default). Type in a unique IP Address for your CP. The default Subnet Mask can be used if the TCP/IP is not yet defined

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 11 de 13

FIGURE 9. IP ADDRESS AND MAC ADDRESS FOR CP MODULE

Figure 10 shows the default Base MAC Address.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 12 de 13

FIGURE 10. BASE MAC ADDRESS (USE DEFAULT)

Wonderware S7 I/O Server Configuration

Create a topic using your CP-Name as defined in "Setting the PG/PC Interface". The VFD and Connection you created should be visible when
clicking on VFD and Connection. Select the appropriate values for the topic definition based on the Siemens database that you set up using
COM S7.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019


Configuring the S7 I/O Server for TCP/IP Communications Página 13 de 13

FIGURE 11. S7 TOPIC DEFINITION

This completes your TCP/IP setup. You should now be able to connect a client via S7 to a PLC using TCP/IP with either NetDDE or Suite Link.

P. Craemer and F. Gonzalez

The Tech Note is published occasionally by Wonderware Technical Support. Editors: Sabrina Abercromby and Kelly Hauser; Publisher: Wonderware Corporation, 100 Technology
Drive, Irvine CA 92618. There is also technical information on our software products at Wonderware Technical Support, our WonderFax fax-on-demand system at (949) 450-
5050, and the Comprehensive Support Knowledge Base.

For technical support questions, send an e-mail to support@wonderware.com.

back to top

© 2019 Wonderware Corporation. All rights reserved. Terms of Use.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server for TCP-IP Communications.mht 01/06/2019

S-ar putea să vă placă și