XP via CP1613 Interface

8/23/13 Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection Tech Note 316 Configure DAS S7 Server in Windows® 2000/...
Author: Quentin Stewart
10 downloads 9 Views 4MB Size
8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

Tech Note 316

Configure DAS S7 Server in Windows® 2000/XP via CP1613 Interface over TCP Connection All Tech Notes and KBC D documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 001123 C reated: July 2003

Requirement The Simatic Net V6.1 SP1 is required for Windows XP, and Simatic Net V6.0 SP2 or higher (current release SP5 recommended) is required for support of the Windows 2000 operating system.

Assumptions • The CP1613 card is detected by Plug-And-Play and the proper driver has been installed from the Simatic Net Softnet installation CD (7/2001); • The DAS S7 Server has been properly installed.

Part I: Configure Simatic Net Softnet for CP1613 Card This part explains 4 configuration components in following sequence: 1.1 Configuration Console. 1.2 Station Configuration Editor. 1.3 Commissioning Wizard 1: PC Station Configuration. 1.4 Commissioning Wizard 2: Network (NetPro) Configuration. If you follow this sequence step by step, the configuration process is very straightforward.

1.1. Configuration Console 1. From Windows Start menu, navigate to find the Configuration Console as shown in the Figure 1 (Start/SIMATIC/SIMATIC NET/Settings/Configuration Console):

F IGURE 1: START...C ONFIGURATION C ONSOLE 2. Select Configuration Console. The Configuration Console window appears (Figure 2 below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

1/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 2: C ONFIGURATION C ONSOLE WINDOW 3. Highlight Access points and double-click. The Access point list appears in the right-hand pane (Figure 3 below). 4. Select CP_H1_1 from the access points list (arbitrary). 5. Right-click CP_H1_1 and select Properties from the sub-menu. The Access Points Properties windows will appear. 6. Open the Associated interface parameter assignment: drop-down list to select the desired device. For this tech note, we select the CP1613(RFC1006) item:

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

2/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 3: PROPERTIES/CP1613(RFC1006)

Note: The Simatic Net installation provides all the drivers for supported CP cards. The Plug_N_Play will recognize the card once it is inserted in the machine and automatically search and install the proper driver from the Simatic Net Softnet driver's folder. CP1613 comes with two drivers: ISO and RFC1006. Both should be included/visible in the drop-down list at this point. If you cannot see these drivers, you will need to manually install them. You will need to access the Simatic Net CD for the system to locate the specific driver on the CD.

7. Double-click CP1613(RFC1006). It will appear in the ...parameter assignment field (See Figure 3). 8. Click OK to complete the Access point configuration and return to the Configuration Console window. Note: This procedure used to be done in PG-PC interface. Since the PG-PC Interface option is still available (See Figure 1), one can use either method to configure the access point. 9. Locate the CP1613 card under Modules and select General. The General Module Properties pane appears:

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

3/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 4: GENERAL MODULE PROPERTIES 10. The Mode of the module usually defaults to PG operation, so you will need to change it to Configured mode as shown in the previous figure. 11. Click Apply to accept the change. You may see a message pop up as shown in Figure 5 (below):

FIGURE

5: RECONFIGURE PC

STATION PROMPT

12. Click OK. This concludes the Configuration Console setup process. Note: There are 2 options for 1613: ISO or RFC 1006 (ISO on TCP). ISO uses the Mac (hw address) and ISO Protocol to establish communication to CP1613. RFC 1006 uses ISO on TCP, which is basically using ISO protocol embedded within a TCP/IP message frame. You need to decide which one to use: the Mac or TCP/IP address with the CP1613. If you use the MAC / ISO then you will select 1613 ISO. If you use the TCP/IP Address then you will select 1613 RFC 1006 in you Access Point Assignment.

1.2 Station Configuration Editor 1. From the lower right hand corner of your desktop window, locate the computer GUI and click on it. The Station Configuration Editor window will appear as shown in Figure 6 (below). With completion of the Configuration Console setup, you will see the CP1613 card occupies the first https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

4/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

index space. The status is Good (indicated by a symbol of a pencil head without a red mark):

F IGURE 6: CP1613 IN SYSTEM C ONFIGURATION EDITOR 2. Insert the cursor to the next space in the index column (Index 2) and right-click to display the Add option (Figure 7 below):

F IGURE 7: INDEX 2/ADD 3. Click Add. The Add Component window appears (Figure 8 below): https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

5/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 8: ADD APPLICATION 4. Click OK to add an Application in Index 2. 5. When the editor prompts you to warn about reconfiguration, click OK. The new entry Application now occupies the Index 2 space. Notice the status of a pencil head with red X. This means this entry is not yet configured correctly (Figure 9 below):

F IGURE 9: INDEX 2 STATUS We will configure the connection for the Application in the next section. This concludes Section 1.2.

1.3 Commissioning Wizard 1: PC Station Configuration 1. From the Windows Start button, select Commissioning Wizard as shown in Figure 1. 2. From the Welcome to Simatic Net Commissioning Wizard 1 (4), select Next to proceed to Configuration 2 (4), and https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

6/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

3. Press the PC Station Wizard button. The SIMATIC NCM PC Station Wizard appears (Figure 10 below):

F IGURE 10: C HANGE LOCAL SETTINGS 4. Select Change local settings. 5. Click Next to display the Change Settings wizard (Figure 11 below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

7/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 11: C HANGE SETTINGS WIZARD 6. Select the Change hardware configuration (module properties, DP) option. 7. Click Finish. The PC configuration window appears as shown in Figure 12 (below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

8/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 12: PC C ONFIGURATION WINDOW Note: The PC Station name displayed in this window caption (at top) is GARYTEST03. Garytest03 is the computer name that being used for creating this tech note; when you completed the steps in the first section (Configuration Console), the PC Station name was automatically created with the computer name as default. This is also mapped to the Station Configuration Editor. If the user decided to use other name for the PC station name, it can be done by creating a new project by selecting Station from the main menu, then New. By completing Configuration Console setup in section 1, and adding the Application from Station Configuration Editor in Section 1.2, the CP1613 and Application entries should appear in the Index window of the PC configuration. 8. Select the CP1613 entry from the Index table as shown above. 9. Double-click the entry to display the CP1613 Properties window. 10. From within the Properties - CP1613 window, click the Properties… button. The Ethernet Interface CP1613 (RO/S1) dialog box appears (Figure 13 below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

9/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

11. Enter the IP address, Subnet mask and Gateway address information accordingly. If there is no entry in the Subnet pane, click the New button to create an Ethernet subnet Ethernet(1), and accept all default options for the Ethernet(1) Properties. 12. Click the OKs to exit the dialog boxes and complete the CP1613 property setup. Note: The IP address you enter here is the CP1613 card address. This IP address is arbitrary but usually needs to be in the same subnet as the PLC IP address. Make sure all the IP addresses are unique. If you need to use an IP address that is in a different subnet, you may need to provide the gateway IP address that resolves the connectivity of multiple subnets. Wonderware strongly recommends that the industrial Ethernet LAN be isolated from the corporate LAN. In other words, use a separate router, hub or switch device for the corporate LAN and Process Control LAN. 13. Select Station/Save and Compile to validate the properties configuration (see Figure 14 below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

10/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 14: SAVE AND C OMPILE This completes the configuration of the PC Station Wizard.

1.4 Commissioning Wizard 2: Network (NetPro) Configuration 1. After Save and Compile is done, select Options/Configure Network to activate the NetPro Wizard (Figure 15 below):

F IGURE 15: OPTIONS/C ONFIGURE NETWORK At this point, you should see the NetPro window similar to Figure 16 (below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

11/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 16: NETPRO -

LOCPRJ WINDOW

Notice the green line connection from the PC station (GARYTEST03-CP1613) box to Ethernet (1). If you do not see this connection, something was not done correctly in previous configuration steps, or the Save and Compile did not complete (producing errors). Please recheck all steps in previous configuration processes and make the necessary corrections. 2. Next, move the cursor into the Application box and select it. The Partner configuration table should appear as the bottom pane of the window (Figure 17 below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

12/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 17: PARTNER CONFIGURATION TABLE 3. Right-click first line in the table. 4. Select Insert New Connection from the sub-menu. the Insert New Connection dialog box appears:

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

13/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 18: INSERT NEW

CONNECTION DIALOG BOX

The Connection Type is set to S7 connection by default. 5. Click OK button to accept the default setting in this window. The Properties - S7 connection dialog box appears:

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

14/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 19: S7 C ONNECTION PROPERTIES DIALOG BOX Accept all the default values in this window: • • • •

Local ID: S7 connection_1 Establish an active connection Partner EndPoint: Unspecified Local Interface: CP1613

6. Enter the PLC IP address in the Partner Address field. 7. Click the Address Details button. The Address Detail dialog box appears (Figure 20 below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

15/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 20: ADDRESS DETAILS For our setup, the S7400 PLC CPU process is in slot #3, so we made it Rack/Slot: entry 0,3 . 8. Click the OKs to complete the S7 connection setup and return to the NetPro window. 9. Select Network/Save and Compile… and check the Compile and check everything option:

F IGURE 21: C OMPILE AND CHECK EVERYTHING 10. Click OK. You should receive a No Error message followed by the compile. Now we are ready to download the configuration. 11. Place the cursor in the PC Station Box (GARYTEST03) and click to select the station (Figure 22 below). 12. Select PLC/Download to Current Project/Selected Stations from the main menu:

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

16/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 22: STEPS 11 AND 12 PLC download will display warning message about overwriting the existing data (Figure 23 below):

13. Click Yes. You may also get other messages (such as the one shown in the following figure):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

17/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 24: STOP TARGET MODULES MESSAGE 14. Click OK to continue. This completes the NetPro configuration. Complete the remaining Commissioning Wizard by accepting all default options. 15. Double-check your configuration by displaying the Station Configuration Editor window again. Now the Application entry in Index 2 status should display the pencil head without any red mark (Figure 25 below):

F IGURE 25: STATION C ONFIGURATION EDITOR APPLICATION STATUS This concludes the entire Simatic Net V6.0 configuration process.

Part II: Configure DAS S7 Server 1. From the Start button, open the System Management Console (SMC) as shown in Figure 26 (below):

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

18/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 26: START/WONDERWARE/SYSTEM MANAGEMENT C ONSOLE 2. Expand the DAServer Manager icon (Figure 27 below). 3. Expand the Default Group and Local icons. You should see the Archestra.DASS7.1 server (you may not see the other DAServers if you have not installed them):

F IGURE 27: ARCHESTRA.DASS7.1 4. Expand the ArchestraA.DAServer.1 icon. You should see the Configuration object (Figure 28 below). In the configuration pane on the right side of the window, you can make adjustments to the Global Parameters. In most cases you can leave these parameters in the default values. 5. Right-click Configuration and select Add CP Object from the sub-menu.

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

19/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 28: C ONFIGURATION A new entry (New_CP_000) will be attached to the configuration. As shown in Figure 29 (below), you need to select the New_CP_000 Parameters. 6. Expand the drop-down list from the CP name field and select the Access Point assignment you configured in the Configuration Console section. In this technote, we selected CP_H1_1, which is pointing to CP1613 (RFC1006) option. You can also select CP1613 (RFC1006) directly; it will work just the same.

F IGURE 29: NEW _CP_000 PARAMETERS Once you have made you selection, SMC will prompt a message to warn you that the configuration has https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

20/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

detected a change. 7. Click OK. 8. Right-click New_CP_000 and select Add VFD Object as shown in Figure 30 (below):

F IGURE 30: ADD VFD OBJECT A new entry New_VFD_000 will be attached to the New_CP_000 object. As shown in Figure 31 (below), you need to select the New_VFD_000 parameters. 9. Expand the VFD: drop-down list. You should see an Application entry. This is a good indication that your previous configurations are correct. If you do not see any entry, something has not been configured correctly. Please recheck your previous configuration steps.

F IGURE 31: VFD: APPLICATION 10. Double-click Application. 11. Next, right-click New_VFD_000 and select Add CON Object from the list (Figure 32 below): https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

21/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 32: ADD CON OBJECT After adding the CON object, a new entry New_CON_000 will be attached to the New_VFD_000. As shown in Figure 33 (below), you need to select the New_CON_000 parameters. 12. Expand the list from the Connection field. You should see a list containing an S7 connection_1 entry. This is a good indication that your previous configurations are correct. If you do not see any entry, there is something not been configured correctly. Please recheck your previous configuration steps. 13. Double-click the S7 Connection_1.

F IGURE 33: NEW _CON_000 PARAMETERS 14. Select the Device Groups tab on the right side of the window. 15. Right-click the Device Groups pane and select Add. A new device group with default name Topic_0 will be added to the New_VFD_000 object. You can rename the topic if you desire.

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

22/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 34: ADD TOPIC You should create at least one topic for each PLC to which you are trying to connect. And at least one topic needs to be created under the Device Groups. This completes the DAS S7 server configuration. Once the DAS S7 configuration is done, the sever needs to be activated for the configuration to take effect. 16. Right-click ArchestrA.DASS7 (as shown in Figure 35), and select Activate Server:

F IGURE 35: ACTIVATE SERVER When the server is activated, a little green check symbol will appear by the server icon instead of a little red X. Finally, you can test your configuration by using the WWClient utility (Program Files/Wonderware/Common). Figures 36 and 37 (below) show the result of testing for the creation of this tech note:

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

23/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

F IGURE 36: WWC LIENT/C REATE C ONNECTION

F IGURE 37: ITEM DISPLAY A. C haque

Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, C A 92630. There is also technical information on our software products at Wonderware Technical Support For technical support questions, send an e-mail to [email protected].

back to top ©2013 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

24/25

8/23/13

Configure DAS S7 Server in Windows 2000/XP via CP1613 Interface over TCP Connection

anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc. Terms of Use.

https://wdnresource.wonderware.com/support/kbcd/html/1/t001123.htm

25/25