Guide S7 IE Appl e
Guide S7 IE Appl e
Guide S7 IE Appl e
FAQ
S7 communication via IE
Beitrags-ID: 17532609
Table of Contents
Table of Contents ......................................................................................................... 2
Question ........................................................................................................................ 2
How do I configure a S7 connection for a user application via Industrial
Ethernet with the SIMATIC NET PC Software? ........................................... 2
Answer........................................................................................................................... 2
The instructions and notes listed in this document provide a detailed
answer to this question. ............................................................................... 2
1 Assignment of tasks....................................................................................... 3
1.1 Condition........................................................................................................... 3
2 Configuration of the PC station..................................................................... 4
There are two possibilities for downloading the configuration on your PC
station:........................................................................................................ 16
2.1 Configuration and download from STEP7 or NCM PC ................................... 16
Copyright Siemens AG 2007 All rights reserved
3 History ........................................................................................................... 22
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/17532609
Question
How do I configure a S7 connection for a user application via Industrial
Ethernet with the SIMATIC NET PC Software?
Answer
The instructions and notes listed in this document provide a detailed
answer to this question.
Beitrags-ID: 17532609
1 Assignment of tasks
In this example, a commercially available Ethernet adapter is used that
allows S7 communication for a user application to a S7 controller on
Ethernet.
NOTE The method described in these instructions also applies to the CP 1613,
CP 1512, and CP 1612 communications processors.
1.1 Condition
STEP 7 is a separate software package with which you can create S7-
400, S7-300 and PC projects. S7 blocks can be edited with this
software.
Only one of these tools can be installed.
In chapter 2 “Configuration of the PC station” is described the configuration
of PC station so that you can use the S7 communication via Industrial
Ethernet to exchange data between PC station und S7
Beitrags-ID: 17532609
Confirm the project name you have entered (in the example: "PC_Station")
with OK. An empty STEP 7 or NCM PC project is then created.
Beitrags-ID: 17532609
Beitrags-ID: 17532609
Give the PC station you have just inserted the same name as your
computer (in the example: "PC_Station").
Now open the hardware configuration of the PC station by selecting the PC
station, then pressing the right mouse button and selecting "Open Project"
(STEP 7: "Open Object").
You will see an empty rack. If you cannot see the hardware catalog, click
on the button marked in red.
Beitrags-ID: 17532609
Now place your PC modules in this rack (for example by dragging them
from the catalog).
If you want to use a CP 1613 (or CP 1512 or CP 1612), select the CP 1613
(or CP 1512 or CP 1612) instead of the IE General module.
The following dialog appears automatically after you insert the module in
the PC station:
Beitrags-ID: 17532609
By clicking the "New" button, you can create a new Ethernet network:
Beitrags-ID: 17532609
Please enter the IP address of the network adapter in the box marked red
in the screenshot (Figure 2-6 Address Assignment Dialog) and click the
"New" button. Following this, a further window opens that you simply
confirm with OK (Figure 2-7 Setting up an Ethernet Network in STEP 7 or
NCM PC).
Figure 2-8 Network Adapter with Parameters Assigned
Copyright Siemens AG 2007 All rights reserved
Guide_S7_IE_Appl_e.doc
The network adapter is now fully configured and networked. Confirm the
parameter assignment with OK.
Beitrags-ID: 17532609
Beitrags-ID: 17532609
Select the application in the hardware catalog and then drag it to any slot.
Now open the NetPro program. Use the button marked red in the toolbar in
Figure 2-11 NetPro Button.
In NetPro, you can create the connection between the user application and
the S7 AS.
Beitrags-ID: 17532609
Beitrags-ID: 17532609
Beitrags-ID: 17532609
Here, enter the slot of the CPU of the SIMATIC S7 partner controller. You
can find out the slot of the CPU from the STEP 7 project of the partner
Guide_S7_IE_Appl_e.doc
Beitrags-ID: 17532609
NOTE Warning indications can be displayed while proceeding with the “Save
and Compile” of a project. Warnings serve as piece of information and
have no functional effect. In case error warnings occur, search for
possible divergences in the previous steps of the instructions.
Beitrags-ID: 17532609
There are two possibilities for downloading the configuration on your PC station:
Beitrags-ID: 17532609
In the browser dialog, you specify the path in which the XDB file is located.
The XDB file is always created in the project by NCM PC / STEP 7 (see
Figure 2-1 Giving the Project a Name).
Beitrags-ID: 17532609
As information, you can see once again which modules and applications
are configured in the XDB file.
Beitrags-ID: 17532609
The import is now complete and the project engineering is loaded. In the
"Conn" column (red marker), you can see that the connections have also
been loaded.
Open the "Configuration Console". Check the access point of the user
application by selecting "Access points".
In this case a new access point is created for the application with the right
mouse button "New Æ New access point"
Beitrags-ID: 17532609
Enter a name for the access point and under "Associated interface
Copyright Siemens AG 2007 All rights reserved
You must also enter this access point as the access point in your user
application.
Figure 2-24 setting a new access point
Beitrags-ID: 17532609
Check the interface parameter assignment for the access point in the
Configuration Console
Figure 2-25 Configured access point
Copyright Siemens AG 2007 All rights reserved
Now you can operate S7 communication in your user application with this
access point.
Guide_S7_IE_Appl_e.doc
Beitrags-ID: 17532609
3 History
Version Date Changes
V 1.0 12.12.2007 First issue
Copyright Siemens AG 2007 All rights reserved
Guide_S7_IE_Appl_e.doc