Configuring The Ethernet CP: Simatic Net

You might also like

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

Configuring the Ethernet CP

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.1

Contents Page

General Notes on the NCM S7 Option Package ..................................................................... 2


General Procedure.................................................................................................................... 3
Creating an S7 Project ............................................................................................................. 4
Inserting a Station..................................................................................................................... 5
Starting HW Config .................................................................................................................. 6
Generating a Setpoint Hardware Configuration........................................................................ 7
Procedure for Creating a Subnet, Configuring a CP and Connecting It to the Subnet ............ 8
Creating an Industrial Ethernet Subnet..................................................................................... 10
Configuring Networks with NETPRO........................................................................................ 11
Graphical Network Display with NETPRO................................................................................ 12
Checking or Setting the Network Properties............................................................................. 13
Entering an Ethernet CP in the Hardware Configuration.......................................................... 14
Connecting a SIMATIC Station to the Ethernet Subnet............................................................ 15
Setting Other CP Properties..................................................................................................... 21
Downloading the Configuration to the PLC............................................................................... 26
Printing Out the Configuration Data.......................................................................................... 27
Displaying the Network Connections of a Station..................................................................... 28

Siemens AG Page 1 Configuring the


Training Center Ethernet CP
General Notes on the NCM S7 Option Package

Meaning of the buttons

In NCM S7 the buttons below the tab pages apply to all tabs. This means:

OK All entries in all the tab pages are checked for


OK plausibility. The dialog is only exited if all entries are
plausible. Messages pointing out discrepancies or errors
in context with other entries may appear (e.g. when
configuring connections).

Cancel The dialog is exited; None of the values entered in a tab


Cancel page are adopted.
An exception to this rule are additional dialogs within the
tab pages which have been confirmed with OK
(example: network connection properties).
When you switch from one tab page to another, the entries
are not automatically adopted!

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.2

Functions NCM S7 consists of:

• CP-specific dialogs in tab index form, which are called from the
Properties dialog boxes for the modules.

• Dialogs for configuring connections

• Diagnostics functions, which you can access from:

- the Diagnostics tab in the Properties dialog.

- the SIMATIC program item in the standard Windows 95/NT


Start menu

• Functions available in the Windows 95/NT Start menu under


SIMATIC >NCM S7:

- Help Functions (FC)

- Readme

- Industrial Ethernet diagnostics

- Firmware loader

Siemens AG Page 2 Configuring the


Training Center Ethernet CP
General Procedure
Create / Open project
An image of the S7 stations and the user
programs are managed in a STEP 7
project.

Create Industrial Ethernet subnet


You define the network to which the
stations are connected

Configure and network CP


You define the components of your
system

Configure communication connections


You establish a logical connection between
the two S7 stations. Create Connections

Write user program


You express your control task in the form of
an S7 user program, using the STL notation,
for example.

Startup / diagnostics
If problems occur in execution, check the S7
stations with the STEP 7/STL on-line tools
and NCM diagnostics.

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.3

The CP in the CPs are managed in a STEP 7 project like any other SIMATIC S7 module.
STEP 7 Project The hardware is configured and the user software created and managed with
STEP 7.

NCM S7 for Executable with STEP 7 under Windows95/98/NT


Industrial Ethernet
 Version V4.x executable with STEP 7 V4.02
- Can be ordered as an optional software package on CD-ROM with
a license diskette
 Version V5.x executable with STEP 7 V5.x
- Can no longer be ordered as a separate product
- Included with STEP 7 V5.x (STEP 7-CD)
- A license is no longer required
- NCM S7 manuals also included on the STEP 7 CD

Siemens AG Page 3 Configuring the


Training Center Ethernet CP
Creating an S7 Project

Enter project
name here
and confirm
with "OK"

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.4

Creating a Project Select the menu options File -> New or click the icon in the toolbar to open
the "New" dialog box, in which you can create a new project or a new library.
Enter the name of your project in the "Name" box and confirm by clicking the "OK"
button.

Notes 1. The path set in the SIMATIC Manager under Options ->
Customize is displayed in the Storage Location box.

2. From STEP 7 V3.2 onwards there is a 'New Project' Wizard to assist you
with creating a new project.

Siemens AG Page 4 Configuring the


Training Center Ethernet CP
Inserting a Station

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.5

Inserting a Station
You insert a new station in the current project by selecting the menu options Insert -
> Station -> SIMATIC 300 Station or SIMATIC 400 Station.
You can then change the name that is automatically assigned to the station (e.g.
"SIMATIC 300 (1)").

Siemens AG Page 5 Configuring the


Training Center Ethernet CP
Starting HW Config

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.6

HW Config This tool supports you with configuring and assigning parameters to your hardware
and also helps with diagnostics.

Starting HW Config To start the HW Config tool:


• Select a hardware station in the SIMATIC Manager and then select the
menu options Edit --> Open Object or
• Double-click the Hardware object.

"Hardware This is the window of the "HW Config" application in which you arrange
Configuration" components from the "Hardware Catalog" window.
The title bar of this window contains the project name and the name of the station.

"Hardware Catalog" To open the catalog:

• Select the menu options View -> Catalog or

• Click the icon in the toolbar.

If “Standard” is selected as the catalog profile, all the racks, modules and interface
modules are offered for selection in the "Hardware Catalog" window.
Users can create their own catalog profiles containing frequently used elements by
selecting the menu options Options -> Edit Catalog Profiles.

Siemens AG Page 6 Configuring the


Training Center Ethernet CP
Generating a Setpoint Hardware Configuration

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.7

Generating a This means specifying how the modules are to be arranged in the rack.
Setpoint This configuration specified by the user is referred to as the setpoint
Configuration configuration.

Rack For example, you open a SIMATIC 300 station in the hardware catalog.
Catalog "RACK-300" contains an icon for a DIN rail. You can insert this in the
"Hardware Configuration" window by double-clicking it (or using drag&drop).
Two rack component lists then appear in the two-part window: a plain list in the top
part and a detailed view with order numbers, MPI addresses and I/O addresses in
the bottom part.

Power Supply If a load current power supply is required, you insert the appropriate "PS-300"
module at slot No. 1 in the list with a double click or by drag&drop.

CPU You select the CPU from the "CPU-300" catalog, for example, and insert it in slot 2
with a double click.

Slot 3 Slot 3 is reserved as the logical address for an interface module (for multi-tier
configurations).
If this position is to be reserved for installation of an IM at a later date in the actual
hardware configuration, a DM370 dummy module must be inserted.

Signal Modules From slot 4 onwards you can insert a choice of up to 8 signal modules (SM),
communications processors (CP) or function modules (FM).
You insert modules in a selected slot in the list by double-clicking the module you
want in the catalog.
Or you can insert modules anywhere in the list using drag&drop.

Siemens AG Page 7 Configuring the


Training Center Ethernet CP
Procedure for Creating a Subnet, Configuring a CP and
Connecting it to the Subnet (1)

Create Industrial Ethernet subnet

Check or set the network properties

Enter the Ethernet CP in the hardware configuration

Attach the Ethernet CP to the Ethernet subnet

Display the network attachments of a station

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.8

Siemens AG Page 8 Configuring the


Training Center Ethernet CP
Procedure for Creating a Subnet, Configuring a CP and
Connecting it to the Subnet (1)

Make further CP settings

Configuration data
in STEP 7 project

Download configuration to PLC

Connections that can be configured

- ISO Transport connections


- ISO-on-TCP connections
- TCP connections
- UDP connections

Download connection configuration to PLC

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.9

Siemens AG Page 9 Configuring the


Training Center Ethernet CP
Creating an Industrial Ethernet Subnet

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.10

Purpose Before you can connect your SIMATIC stations to a subnet, you must create the
subnet in your project. This enables all parameters relating to the subnet as a
whole to be stored centrally.

Procedure It is advisable to create the subnet before configuring the stations, because the
SIMATIC stations can then be assigned almost automatically.

It is also possible to create the subnet later when configuring a CP.

Proceed as follows:

1. Select the project in the SIMATIC Manager.

2. Choose Insert >Subnet > Industrial Ethernet.

Result: An object of the Network type is created in the project. All the
SIMATIC stations created in the project can then be connected to this
subnet.

Siemens AG Page 10 Configuring the


Training Center Ethernet CP
Configuring Networks with NETPRO

Open NETPRO

Insert stations

Define new node

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.11

Introduction The NETPRO tool enables you to configure networks (MPI, Profibus or
Industrial Ethernet) graphically. The advantages of this tool are its clarity, the
documentation and the ease with which you can call up connected tools, e.g.
Hardware Configuration.

Activation You activate the tool by double-clicking a network symbol, e.g. Ethernet(1), in
the SIMATIC Manager.

Inserting a Station You will find the necessary components, such as subnets and stations, in the
Catalog and you can insert them using drag and drop.

Defining a To connect a station, e.g. "Other Station" as a node in a particular type of


Network Node network, you choose the "Interface" tab page of the Object Properties dialog,
click "New..." and then select the type of node from the "New Node - Select Type"
dialog box.

Siemens AG Page 11 Configuring the


Training Center Ethernet CP
Graphical Network Display with NETPRO

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.12

You can access all the functions you need for networking and configuring
connections for Ethernet CPs from the graphical network display.

Siemens AG Page 12 Configuring the


Training Center Ethernet CP
Checking or Setting Network Properties

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.13

Procedure You can display and modify general properties of the subnet on the "General" tab
page.

1. In the SIMATIC Manager or in NETPRO select the network object and


choose the options Edit>Object Properties.

Result: The "General" tab page of the “Properties - Industrial Ethernet”


dialog is opened.

2. Enter an appropriate name for your subnet and any other information
describing it on the "General" tab page.

3. The subnet ID consists of two numbers with a hyphen between them

 Project number
 Subnet number

The subnet ID must be known for the on-line PG function if there is no


consistent project on the PG.
The subnet ID is printed out with the network configuration.

Note: If you select the subnet in the SIMATIC Manager (see 1.) the data is displayed in
read-only mode !

Siemens AG Page 13 Configuring the


Training Center Ethernet CP
Entering an Ethernet CP in the Hardware Configuration

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.14

Procedure When you install the Ethernet CP in the rack of a SIMATIC station and assign it,
you establish the logical connection between Ethernet CP and subnet.

1. Select the station in your project that you want to connect to Industrial
Ethernet via the Ethernet CP and open the hardware configuration tool
(HW Config...).

2. Position the CP in the configuration table like any other module, by


selecting it from the hardware catalog and selecting the relevant slot in
the rack.

You select the CPs using the brief description and order number given
in the hardware catalog. The CPs are included in the catalog and
available for selection when NCM S7 is installed.

Result: The CP is assigned to the SIMATIC station.

Siemens AG Page 14 Configuring the


Training Center Ethernet CP
Connecting a SIMATIC Station to the Ethernet Subnet (1)

MAC address of the


(ISO) Ethernet CP

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.15

When you have entered the Ethernet CP in the hardware configuration, you
connect it to the subnet as follows.

1. Select Object Properties by choosing Edit > Object Properties or by


double-clicking the module.

Result: See screenshot above

2. If required, enter a suitable name for the CP and enter any other
relevant information in the Comment field.

3. Click the Properties button in the Interface box to display the


"Properties - Ethernet Node CP x4x ..)“ dialog box and set general
and/or specific properties of the interface and connect the CP to the
subnet.

Siemens AG Page 15 Configuring the


Training Center Ethernet CP
Connecting a SIMATIC Station to the Ethernet Subnet (2)

IP address of the
(TCP/IP) Ethernet CP

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.16

Siemens AG Page 16 Configuring the


Training Center Ethernet CP
Connecting a SIMATIC Station to the Ethernet Subnet (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.17

You can display and enter/modify the general interface properties of a node on
the "General" tab page.

Name Name of the network node (CP)

Siemens AG Page 17 Configuring the


Training Center Ethernet CP
Connecting a SIMATIC Station to the Ethernet Subnet (4)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.18

4. If you have not yet created a subnet in the project or have not yet
created the subnet you require, you can create a subnet now by
clicking the “New” button.

You can then enter a name, the S7 subnet ID and other relevant
information in the "Properties - New Subnet - Industrial Ethernet"
dialog box

Result: An object of the Network type is created in the project.

If the subnet you require already exists, omit step 4.

5. Check the address (es) and change it (them) if necessary. A default


MAC address is entered automatically and you can change it.

6. You can display the Properties dialog ("Properties - Industrial


Ethernet") for the selected subnet by clicking the Properties button.

7. Confirm your entry with OK, otherwise the network connection will not
be made.

Result: The CP is now configured as the network node for its S7 station.

Siemens AG Page 18 Configuring the


Training Center Ethernet CP
Connecting a SIMATIC Station to the Ethernet Subnet (5)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.19

If the CP uses the TCP/IP protocol, the IP parameters are displayed as well as
the MAC address. You can change the default values.
You can also specify whether you want to use a router and, if so, enter its IP
address.

Siemens AG Page 19 Configuring the


Training Center Ethernet CP
Connecting a SIMATIC Station to the Ethernet Subnet (6)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.20

If the CP supports both ISO and TCP/IP, you must specify whether the (TCP)/IP
protocol will be used.

Siemens AG Page 20 Configuring the


Training Center Ethernet CP
Setting Other CP Properties (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.21

Overview In addition to setting the network connection, you can also make other module-
specific settings and call up functions.

1. Select the Ethernet CP in the hardware configuration or in NETPRO.

2. Choose Edit > Object Properties. A dialog box appears containing the
"General" tab page and the following tabs:

- Addresses

- Options

- Diagnostics

Addresses Tab The Addresses tab page shows you the address by which the user program can
address the module. You need this address when calling the FCs for transport
connections.

Siemens AG Page 21 Configuring the


Training Center Ethernet CP
Setting Other CP Properties (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.22

Options Tab Page

Time-of-Day You use the Time-of-Day Synchronization option to specify whether the
Synchronization CP is to pass on the time-of-day synchronization message frames for the S7-400
or not.
There are two different cases, depending on where the clock master is located:
- Time-of day synchronization frames can come from the subnet
and have to be passed on to the station.
- Time-of day synchronization frames can come from the station
and have to be passed on to the subnet.
If you are operating more than one CP in your station, you must pay attention to
the flow of time-of-day synchronization frames, because the function described
here could cause you to link time-of-day synchronization frames from one
network to another.

Use Corrected If a station contains several CPs which are all connected to the same
Time network, only one of these CPs must be allowed to pass on time-of-day
synchronization frames.
You use the "Use Corrected Time" option to specify whether a correction factor
which may also be transmitted in the time-of-day synchronization is to be used.
If you check this option, the CP adjusts the time by the correction factor, and the
systems connected to it can then ignore the correction factor.
Example The time transmitted in the time-of-day synchronization frame is 9:21. The frame
also contains the correction factor +2x0.5. The CP passes on the corrected time
10:21 (in this case 1 hour later for summer time).

Siemens AG Page 22 Configuring the


Training Center Ethernet CP
Setting Other CP Properties (3)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.23

Options Tab Page

Replace Module You can use this option to specify that the CP configuration data is to be
without PG saved in the CPU. If the CP is replaced, the configuration data is automatically
downloaded from the CPU when the CP starts up.

If you select this option, data for long-term storage is saved in non-volatile
memory in the CPU instead of in the EEPROM of the CP. Please note that long-
term non-volatile storage in the CPU is only assured if the CPU has a backup
battery or an S7 memory card to protect its data in the event of a power outage.

Ethernet Profile for Choose this profile if your system is designed for fault-tolerant
Fail-Safe Conn. communication. This means that you have implemented redundancy in your
Industrial Ethernet network and configured fail-safe S7 connections.
If you select Ethernet Profile for Fail-Safe Connections here, the time response of
the S7 connections is matched. As a result, interrupted connections are detected
sooner and the switchover to redundant connections is faster.
Note Only select Ethernet Profile for Fail-Safe Connections if you are actually using
fail-safe S7 connections. Otherwise the performance of your system is likely to
be disappointing because, for example, fewer attempts are made at transmission
or at establishing a connection than in a non-redundant system.

Siemens AG Page 23 Configuring the


Training Center Ethernet CP
Setting Other CP Properties (4)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.24

Options Tab Page

SEND/RECEIVE Here you can specify whether the CP of an S7-300 station is to support
Data length > 240 jobs with a data length of > 240 bytes.

Note Transfer of more than 240 bytes of data is supported by newer CP versions.
Please read the product information for your Ethernet CP.

Please note that if you select this option for S7-300 you are using one of the
connection resources of the S7-300 CPU (free connection for S7 functions)! CPU
connection resources are also used, for example, by S7-300 CPs in FMS mode
or by PGs and OPs.

Siemens AG Page 24 Configuring the


Training Center Ethernet CP
Setting Other CP Properties (5)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.25

Diagnostics Tab Page


You can start the NCM S7 Ethernet diagnostics for the Ethernet CP from the
"Diagnostics" tab page.

Requirements Make a physical connection between the PG and the SIMATIC S7 station and
assign parameters for the PG/PC interface to make the CP accessible. You can
obtain further assistance with this in the function “Setting the PG/PC Interface...”.

Procedure Click the "Run" button.

Result The independent Ethernet diagnostics program is started.

Alternative to Starting There is an alternative way of starting the diagnostics tool:


the Program from the In the standard Windows 95/NT Start menu, select the menu options
Properties Dialog SIMATIC \ NCM S7 Ethernet \ Ethernet Diagnostics.

Siemens AG Page 25 Configuring the


Training Center Ethernet CP
Downloading the Configuration to the PLC

Procedure You download the configuration data to the S7 station as


follows:

1. Set the MPI interface on your PG/PC.

To do this you select the PG/PC interface in the


Windows 95 Control Panel according to the CPs available
on your PG and according to the network connection.

You can obtain more detailed information from the integral


Help.

2. Switch the CPU to STOP mode.

3. Choose the menu options PLC > Download...

STEP 7 will then guide you through with dialog boxes.

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.26

Principle The configuration data for the Ethernet CP is downloaded from the hardware
configuration. All the configuration data of the S7 station is downloaded, including
the central configuration, the configuration of all the relevant DP master systems
and all parameters.

Connection Type You can download the configuration data to the S7 station via the MPI connection
or via Ethernet.
You can only use Ethernet if you have previously carried out "node initialization"

Node Initialization "Node initialization" is when you first assign a MAC or Internet address to the
Ethernet CP.

Siemens AG Page 26 Configuring the


Training Center Ethernet CP
Printing Out the Configuration Data

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.27

When you select Station > Print from the Hardware Configuration dialog you can
choose one of the following options for printing out configuration data:

− "All" option

Prints all the configuration data for the selected S7 station, regardless of
any other selections made.

- "With parameter description" option

Prints out the configuration with parameters.

− "Selection" option

Prints out all the configuration data for the selected component. This
enables you to print out only the configuration data for the Ethernet CP,
for example, by selecting it in the hardware configuration.

You can obtain more information on what to do from the integral Help.

Siemens AG Page 27 Configuring the


Training Center Ethernet CP
Displaying the Network Connections of a Station (1)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.28

You can easily obtain an overview of the network connections configured for a
SIMATIC station.
There are 2 possibilities:

- Overview in table form in the Properties dialog for the station


- Graphical overview in NETPRO

Tabular Overview 1. In the SIMATIC Manager, select the station in your project you want to
check up on.

2. Select Object Properties with Edit > Object Properties or by double-


clicking the symbol for the station.

3. Switch to the "Nodes" tab.


The subnet connections configured for the SIMATIC station are
displayed in the dialog box.
You can choose the types of connection you want to display by
checking the boxes under “Display interfaces of type”.

Siemens AG Page 28 Configuring the


Training Center Ethernet CP
Displaying the Network Connections of a Station (2)

SIMATIC NET Industrial Ethernet


Siemens AG 1999. All rights reserved.
Date: 01.09.1999
File No.: 7KE_PKCP.29

Graphical Overview
in NETPRO
You select this by double-clicking the Ethernet network object in the SIMATIC
Manager

Siemens AG Page 29 Configuring the


Training Center Ethernet CP

You might also like