Professional Documents
Culture Documents
Routing With Starter Via Cpu
Routing With Starter Via Cpu
ID: 23432199
For suggestions about this document please use the following e-mail address:
mailto:sdsupport.aud@siemens.com
ID: 23432199
Table of Contents
Warranty, liability and support ................................................................................2
Table of Contents.....................................................................................................3
1 Overview .........................................................................................................4
2 Prerequisites ..................................................................................................5
2.1 Hardware prerequisites......................................................................5
2.2 Software prerequisites .......................................................................6
3 Creating a Project with an S7 300 Station .....................................................7
4 Editing Ethernet Node ....................................................................................8
4.1 Connecting the PG/PC to the CPU.....................................................8
4.2 Setting the PG/PC Interface...............................................................9
4.3 Assigning the IP configuration and PROFINET device name to
the CPU...........................................................................................10
4.4 Connecting-up the PG/PC to the Control Unit................................... 15
4.5 Assigning the IP configuration and PROFINET device name of
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
This entry is from the Internet offer of Siemens AG, Automation and Drives, Service
& Support. Clicking the link below directly displays the download page of this
document.
http://support.automation.siemens.com/WW/view/en/23432199
Item-ID: 23432199
1 Overview
Routing involves a transition from one sub-network to one or several other sub-
networks located in a SIMATIC station, which has interfaces to the sub-networks
involved.
Routing allows an S7 station to be accessed online using a PG/PC across sub-
network limits and boundaries. For instance, to download user programs or a
hardware configuration or to test and run diagnostic functions.
You can connect a PG at any location in the network and to all stations, which can
be reached via network transitions, to establish an online connection.
An example is discussed in this particular FAQ where an online connection is
established from one PG via an S7 SIMATIC 300 station equipped with CPU 317F-
2 PN/DP to an SINAMICS G120 frequency inverter that is equipped with Control
Unit CU240S PN via PROFINET. This means that a transition (routing) is
established from the PROFIBUS interface to the Industrial Ethernet interface (refer
to Fig. 1-1).
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
The FAQ can also be used for CU240S PN-F of the SINAMICS G120 frequency
inverter and CU240D PN and CU240D PN-F of SINAMICS G120D frequency
inverter.
Item-ID: 23432199
2 Prerequisites
2.1 Hardware prerequisites
In order implement error-free routing all of the modules/boards being used must be
capable of routing (in this case, the CPU 317F-2 PN/DP).
Please refer to HW Config to evaluate whether your CPU is capable of routing:
The field below the one used to select components contains information about
the components selected. It provides a brief description of their primary
function and thus helps you to make the correct selection (s. Fig. 2-1).
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
You can also refer to the following FAQ „What are the requirements for using the
S7 routing function and which modules can you implement?“.to find out which
modules are actually capable of routing (the modules that have routing
functionality)
Item-ID: 23432199
NOTE Only the latest up-to-date versions of the software packages are taken into
consideration.
Minimum prerequisites for the particular example: STEP 7 V5.4 SP2, Drive ES
Basic V5.4 SP1 and STARTER V4.1
For SINUMERIK 840D sl: Data set routing is only possible via the X150
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
PROFINET interface
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
Note:
The description on hand describes creating a new SIMATIC S7 station.
Item-ID: 23432199
Fig. 4-1).
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
Note
It is very important that in this case you select TCP/IP (Auto)!
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Acknowledge the alarm "The following access path(s) was (were) changed:
S7ONLINE (STEP 7) => TCP/IP(Auto) -> D-Link DUB-E100 USB2…" with "OK".
This means that the Ethernet interface of your PG/PC can be accessed from STEP
7.
Item-ID: 23432199
Item-ID: 23432199
Item-ID: 23432199
1. To start, use the “Browse” button (Fig. 4-5) to determine the devices that can
be accessed via MAC addresses - or enter the MAC address that you know.
2. In the dialog box that is then displayed after the network browse, select the
CPU and accept with “OK” (Fig. 4-6).
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
3. Set the IP configuration in the dialog box “Edit Ethernet Node” that is
displayed (Fig. 4-7):
- Select “Use IP parameters”
- Enter the IP address 192.168.0.1
- Enter the Subnet mask 255.255.255.0
- As gateway, select: “Do not use router”
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
Hilfe
Note:
The device name must be unique in the Ethernet subnet (PROFINET IO system).
Help
You will find more detailed information in the article “SINAMICS G: Reading from
and writing to parameters of the Control Units CU240S/D PN/PN-F of the
SINAMICS G120/G120D via PROFINET & PROFIBUS” (ID: 29157692) as well as
Item-ID: 23432199
in the Help function of the SIMATIC Manager (Button "Help" in the dialog box
"Edit Ethernet Node", refer to Fig. 4-8).
Item-ID: 23432199
IP configuration:
IP address = 192.168.0.35
Subnet mask = 255.255.255.0
Item-ID: 23432199
Item-ID: 23432199
Acknowledge the alarm "The following access path(s) was (were) changed:
S7ONLINE (STEP 7) => CP5611(PROFIBUS)" with "OK".
This means that the PROFIBUS interface of your PG/PC can be accessed from
STEP 7.
Item-ID: 23432199
Proceed as follows:
– Set the IP address for the CPU that you had assigned to it in the step “Edit
Ethernet Node” (192.168.0.1).
– Enter “255.255.255.0” as subnet mask.
– Select as gateway: “Do not use router”.
– Press the button “New…”.
The “Properties – New subnet Industrial Ethernet” window opens (Fig. 7-2).
Here, you can assign a name to the subnet or leave the default setting.
Close the window with “OK”.
Item-ID: 23432199
Select the subnet that you created and close the window with „OK“ (Fig. 7-3).
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
Result:
The Ethernet (bus) line (PROFINET-IO system) appears in HW Config.
Double-click
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
The next window appears in which a new subnet must be set-up. Now, select the
PROFIBUS address 2 and press on the button "New…".
Item-ID: 23432199
In the window “Properties – New subnet PROFIBUS” you can assign a name to
the subnet or leave the default setting.
Close the window with “OK”.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
In the properties box, select the subnet PROFIBUS(1) and accept PROFIBUS
address 2 by pressing the "OK" key (Fig. 7-8).
Item-ID: 23432199
Result:
The PROFIBUS (bus) line (DP master system) is displayed in HW Config.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
After inserting the G120 the property window Properties – Ethernet interface
SINAMICS opens. Set the IP address for the CU240S PN that you had assigned to
it in the step “Edit Ethernet Node” (192.168.0.35). Accept the setting with “OK”
(s. Fig. 7-11).
Item-ID: 23432199
After accepting the Ethernet settings, the selection window for the device version
number of the SINAMICS G120 appears. In our example, device version V3.1x has
been selected (s. Fig. 7-12).
Note:
The selected Device-version must fit to the firmware version of the drive, or no
access will be possible. The firmware version of the CU can be read out with the
Operator panel in parameter r18.
Item-ID: 23432199
Result:
The SINAMICS G120 frequency inverter with the CU240S PN Control Unit and with
standard telegram 1 is configured in HW Config.
Double click
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
The frequency inverter must now be assigned the name that you previously
assigned to it when editing the Ethernet nodes (cu240spn). Proceed as follows:
– Double click on the frequency inverter: A window opens "Properties –
SINAMICS-G120" (Fig. 7-14).
– In the device name field, enter the name cu240spn.
– Acknowledge your input by pressing the "OK" button.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
Save and compile your configuration by pressing the „Save and compile“
button.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
After saving and compiling HW-Config, SINAMICS G120 can be seen and selected
in the SIMATIC Manager.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
8 Settings in NetPro
At first it is necessary to change from HW-Config into NetPro.
Item-ID: 23432199
Only one PG/PC station must be entered in the NetPro configuration. The PG/PC
station is available in the catalog under the “Stations” directory.
For entering the PG/PC station you select it from the catalog via the left mouse
button. Then draw the PG/PC icon into the work space of NetPro.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
To do this, select the PG/PC and open the window “Properties – PG/PC” with a
double click.
Item-ID: 23432199
In the object properties you change into the “Interface” tab and there you enter a
new interface via the “New…” button.
As an interface type you select the PROFIBUS interface and accept it via the “OK”
button.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
For activating the routing you switch to the Assignment tab of the PG/PC station.
There you select PROFIBUS interface(1) in the Configurated Interfaces box and
the interface module of your PG/PC in the Interface Parameter Assignments in
the PG/PC box. In this example, CP5511 (PROFIBUS) has been selected.
Item-ID: 23432199
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Then assign the routing function of the interface to the hardware module of your
PG/PC by pressing the “Assign” button.
Item-ID: 23432199
Check whether after assigning the interface the S7ONLINE Access setting has
been set to “Active”.
Accept the settings for the PG/PC station by pressing “OK”.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Ergebnis:
A closed network is now established from PROFIBUS through PROFINET from the
PG/PC to the drive (s. Fig. 8-7).
Item-ID: 23432199
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
After setting the PG/PC station, the changed configuration must be saved and
compiled.
To do this you press the „Save and compile” button in the function bar of
NetPro and select “Compile and check everything” in the dialog that follows.
Item-ID: 23432199
If the configuration was saved and compiled in NetPro without errors, the
configuration can be transferred to the CPU.
Select the SIMATIC 300(1) station and press the button „Download to
Module“ in the function bar.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
Item-ID: 23432199
Item-ID: 23432199
After the online connection with the system has been established, the configuration
of the G120 can be downloaded to the PG by pressing the “Load HW
configuration to PG” button.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
11 Parameterizing in STARTER
STARTER offers two possibilities of parameterizing - on one hand the parameter
settings using screen forms in the project tree - and on the other hand, to obtain a
fast overview, the expert list.
The complete parameter list is displayed online in the expert list as shown in the
following.
To open the expert list, select your drive and using the RIGHTHAND mouse key in
the tree that opens, select Expert > Expert list.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
It goes without saying that parameter settings in screen forms can also be selected
in the project tree and adapted in-line with the requirements of the application. In
this case, simply click on the required branch in the tree (here, in the example
Inputs/Outputs). The appropriate screen form opens where you can make the
parameter settings.
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
Copyright Siemens AG 2012 All rights reserved
Item-ID: 23432199
12 Appendix
Table 12-1
Topic Title
\1\ FAQ PG/PC interface to ISO-Industrial Ethernet using Routing with
Starter and DriveES to access MICROMASTERS on Profibus
from the network port on PG or PC
\2\ FAQ Routing among PROFIBUS subnets on one CPU 400 using
DriveMonitor
\3\ FAQ What are the requirements for using the S7 routing function
and which modules can you implement?
23432199_Routing_with_STARTER_via_CPU_en_V2_3.doc
\4\ FAQ What requirements must be fulfilled and what should I watch
Copyright Siemens AG 2012 All rights reserved
12.2 History