Sunteți pe pagina 1din 19

Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.

0 Página 1 de 19

Tech Note 196


Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for
Windows NT 4.0

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#: 000896
Created: October 17, 2000

This Tech Note describes the necessary steps for establishing TCP/IP communications via the Wonderware S7 I/O Server to an S7-400 PLC,
through a standard Ethernet card in the PC and a CP 443-1 module in the S7-400 Universal Rack for Windows NT 4.0.

This Tech Note assumes the user has a basic working knowledge and understanding of the Siemens Simatic Net, Siemens Step 7 and
Wonderware FactorySuite I/O Server software.

The following steps are covered:

z Configuring Siemens hardware and Software


{ Creating a Database Using COML S7

{ Configuring/Activating the Standard Ethernet Card

{ Verifying the TCP/IP Interface

{ Accessing/Configuring the CP 443-1 TCP Module

z Configuring a Topic for the Wonderware S7 I/O Server

z Testing S7 Communications with the Wonderware S7 I/O Server

Note For Siemens Simatic Net configuration, this Tech Note uses examples from Siemens Simatic Net v5.0.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 2 de 19

Configuring Siemen’s Hardware and Software

Step 1: Creating a Database Using COML S7 (v2.11)

The following steps are based on version 2.11 of the Siemens COML S7 software. Wonderware Technical Support recommends that you use the
current available version of COML S7 from Siemens.

The COML S7 program is used to create the .TXT and .LDB files required for Simatic Net to interface a standard Ethernet card to the CP 443-1
TCP module on the S7-400 Universal Rack (UR).

Perform the following steps to create the .TXT and .LDB files.

1. Start the COML S7 program; the SIMATIC NET COML S7 dialog box should appear as shown in Figure 1.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 3 de 19

FIGURE 1. CREATING A .TXT FILE

2. Use the following information to create your .TXT file:

Node name: Name of the station. Used only for documentation purposes. It has no meaning to the project.

Network type: Select TCP/IP from the drop-down list box since the CP installed in the PC is a standard Ethernet
card.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 4 de 19

Name: Enter a meaningful connection name (maximum 32 characters). This connection name will appear again when
you create topics in the S7 I/O Server.

VFD name: This VFD name is used by an application to specify which S7 connection to use. The Virtual Field Device
(VFD) name is used during the topic configuration in the I/O Server.

Remote addr.: This is the IP address of the CP 443-1 TCP to connect to on the S7-400 UR. It should match the IP
address defined in Step7 programming software.

Local TSAP: The Transport Service Access Point (TSAP) is the layer 4 address. The first two digits specify the device.
The last two digits must be zero. Wonderware Technical Support recommends a setting of 01.00

Remote TSAP: This address consists of two parts:

{ group: specification of the device: 01 = PG, 02 = OS, 03 = others

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

Wonderware Technical Support recommends a setting of 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), the usual setting here is 03.03

3. When completed, save the .TXT file under File/Save Text Database as shown in Figure 2, then click OK.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 5 de 19

FIGURE 2. SAVING THE .TXT FILE

4. Generate an .LDB file under File/Generate Binary DB as shown in Figure 3, then click OK.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 6 de 19

FIGURE 3. GENERATING AN .LDB FILE

Step 2: Configuring/Activating a standard Ethernet card with the Siemens Simatic Net, Setting the PG-PC Interface
(v5.0), Software
1. Start the Setting the PG/PC Interface program. From the Access point of application drop-down list box, select S7ONLINE (STEP 7)
as shown in Figure 4.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 7 de 19

FIGURE 4. SETTING THE PG/PC INTERFACE (V5.0)

2. From the Interface parameter set used list box, highlight TCP/IP -> (Adapter Type) <Board (No.)> and click on Properties.

Note In this example, TCP/IP -> (Adapter Type) <Board (No.)> appears under the Interface parameter set used list box; however,
this will not be the case when you are initially setting up. To install the TCP/IP under the Install button, consult your Siemens
documentation.

3. In the Properties dialog box, click on the S7-Protocol tab. Click on the Search button and select the directory where the .TXT and .LDB
files were saved in COML S7. When complete, click OK.

FIGURE 5. CONFIGURING ISO INTERFACE

4. Once the SAPI-S7 Database path points to the .LDB file, click the TCP/IP Network tab and then click the Network Options button, as
shown in Figure 6.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 8 de 19

FIGURE 6. TCP/IP DIALOG BOX

5. In the Network dialog box , click the Protocols tab . Under the Network Protocols section, highlight TCP/IP Protocol, then click
OK, as shown in Figure 7.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 9 de 19

FIGURE 7. DEFINING NETWORK PROTOCOLS

6. You will be returned to the Setting the PG/PC Interface (V5.0) dialog box with the TCP/IP -> (Adapter Type) <Board (No.)>
highlighted, click OK.

7. When complete, the following Warning dialog box will appear stating that the access path has changed. Click OK.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 10 de 19

FIGURE 8. WARNING MESSAGE

8. You will then be prompted to restart the parameter settings, click OK.

Step 3: Verifying the TCP/IP Interface


Follow these steps to test that the Ethernet card, with the Simatic Net Software, can interface via the TCP/IP interface.

1. In the Setting the PG/PC Interface (V5.0) dialog box, highlight TCP/IP -> (Adapter Type) <Board (No.)> and click the Diagnostics
button.

2. In the Diagnostics dialog box, click the SR Protocol tab. Under the SR Status section, click the Test button. If correctly interfaced, you
should see the results as shown in Figure 9.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 11 de 19

FIGURE 9. VERIFYING THE INTERFACE

Accessing/Configuring the CP 443-1 TCP Module

The CP 443-1 TCP module should be configured with a standard profile. If this has not been done, create an S7 project that matches your S7
hardware configuration.

Note If you require assistance in creating an S7 project, consult Siemens S7 documentation or contact Siemens Technical Support or a

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 12 de 19

Siemens distributor.

Perform the following steps to access the CP 443-1 TCP module using Simatic Manager Step 7 (v5.0 + Service Pack 1) and Step 7 S7/M7
Hardware Configuration (v5.0 + Service Pack 1).

1. Open-up the S7 project, SIMATIC Manager – S7-400 window, and double-click on Hardware, as shown in Figure 10.

FIGURE 10. S7-PROJECT WINDOW

2. Under the Slot list box, select the CP 443-1 TCP module (located in the S7 UR) and double-click, as shown in Figure 11.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 13 de 19

FIGURE 11. SELECTING THE CP443-1 TCP MODULE

3. When complete, the Properties – CP 443-1 TCP dialog box should appear. Under the General tab, in the Interface section, click the
Properties button, as shown in Figure 12.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 14 de 19

FIGURE 12. PROPERTIES – CP 443-1 TCP DIALOG BOX

4. In the Properties – Ethernet Node CP 443-1 TCP dialog box, click the Parameters tab. Under the Subnet section, highlight Ethernet
(1).

5. In the IP address field, enter in the IP address assigned for this CP 443-1 module. The IP address should be the same as the Remote
address defined in Step2: Creating a Database Using COML S7.

6. Next, for the Subnet mask enter 255.255.255.0 or the Appropriate Subnet mask for yur network. When complete, click OK. See Figure
13.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 15 de 19

FIGURE 13. PROPERTIES – ETHERNET NODE CP 443-1 TCP DIALOG BOX

7. You will return to the Properties - CP 443-1 TCP dialog box. If configured correctly, you should see a "Yes" next to Connected, under the
Interface section.

8. In the Properties - CP 443-1 dialog box, confirm a valid CP 443-1 module connection by clicking the Diagnostics tab. In the Module
Diagnostics section, click the Run button. If a valid connection has been established, the following Industrial Ethernet Diagnostics
window will appear.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 16 de 19

FIGURE 14. INDUSTRIAL ETHERNET DIAGNOSTICS DIALOG BOX

9. Next, ping the CP 443-1 module by the IP address and verify the module replies as shown in Figure 15.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 17 de 19

FIGURE 15. PINGING THE CP 443-1 MODULE

Configuring a Topic for the Wonderware S7 I/O Server (v7, 1, 1, 12)

1. Start the Wonderware S7 I/O Server. From the Server menu bar, click on Configure and then select Topic Definition. The Topic
Definition dialog box should appear.

2. Click the New button and the S7 Topic Definition dialog box should appear. Define your topic by entering a meaningful name in the
Topic Name entry box. Use the drop-down list boxes to make your selections for CP-Name, VFD and Connection as shown in Figure
16. If correctly configured, the entries shown should be available for selection.

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 18 de 19

FIGURE 16. SPECIFYING A TOPIC

Testing S7 TCP/IP Communications with the Wonderware S7 I/O Server

After you have configured the Siemens S7 software and hardware, and the Wonderware S7 I/O Server, you can use the WWClient to test
communications to the S7 PLC, through the standard Ethernet card in the PC , to the S7 CPU via the CP 443-1 TCP module.

The following shows an example of WWClient successfully advising item "MB90" from an S7 PLC based off the Siemens Simatic Net, Siemens

mhtml:file://D:\Manuals\Wonderware\Notas tecnicas\Configuring the S7 I-O Server to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019
Configuring the S7 I/O Server to Access S7 PLC’s via TCP/IP and a Standard Ethernet Card for Windows NT 4.0 Página 19 de 19

Step 7 and Wonderware S7 I/O Server settings, configured throughout this Tech Note.

FIGURE 17. TESTING COMMUNICATIONS USING WWCLIENT

R. Acosta

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 to Access S7 PLC’s via TCP-IP and a Standard Ethe... 01/06/2019

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