Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
SIMATIC
PROFINET
CPU 317-2 PN/DP: Configuring an
ET 200S as PROFINET IO device
Getting Started
08/2011
A5E00721427-04
2
___________________
Preparation
3
___________________
Learning units
4
___________________
Further Information
Legal information
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the relevant information is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Trademarks
All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NRNBERG
GERMANY
A5E00721427-04
09/2011
Table of contents
1
Introduction................................................................................................................................................ 5
Preparation ................................................................................................................................................ 7
3.1
3.2
3.3
3.4
4. Step: Insert the SIMATIC Micro Memory Card and switch on the device ...............................14
3.5
3.6
3.7
Table of contents
Introduction
Introduction
In the following steps we will show you the basics of configuring an ET 200S as
PROFINET I/O device.
This process will take one to two hours, depending on your experience.
Introduction
Preparation
Scope
CPU
As of firmware
version
317-2 PN/DP
yes
V3.2
IM 151-3 PN
yes
V7.0
The order number can be found in the manuals, e.g. the operating instructions CPU 31xC
and CPU 31x: Installation (http://support.automation.siemens.com/WW/view/en/13008499).
Requirements
You have an S7 300 station consisting of a power supply module and one
CPU 317-2 PN/DP central module, as described in the Getting Started document
"CPU 314C-2 PN/DP, 315-2 PN/DP, 317-2 PN/DP, 319-3 PN/DP: Configuring the
PROFINET interface".
STEP 7 V5.5 is completely installed on your programming device (PG). You are familiar
with STEP 7.
The PG is connected to the PROFINET IO.
WARNING
Operation of an S7-300 as part of plants or systems is subject to special rules and
regulations, which depend on its field of application. Please make sure that you adhere
to the applicable safety and accident prevention regulations, for example IEC 204
(emergency stop systems).
You risk severe injury, or damage to machines and equipment if you ignore these
regulations.
Preparation
Item
6ES5710-8MA11
6ES7151-3BA23-0AB0
e.g. 6ES7317-2EK14-0AB0
e.g. 6ES7953-8LL20-0AA0
6ES7193-4CC70-0AA0
6ES7193-4CA70-0AA0
PM-E DC24V, x 1
6ES7138-4CA01-0AA0
6ES7131-4BD01-0AB0
6ES7132-4BD00-0AB0
6GK1901-1BB20-2AB0
6GK1901-1GA00
FC Standard Cable
6XV1840-2AH10
FC Trailing Cable
6XV1840-3AH10
FC Marine Cable
6XV1840-4AH10
Preparation
Setup
The figure below shows which ET 200S components you require for the example on the
PROFINET I/O:
30
',
',
6ORW
30 '2 '2
,031
0RXQWLQJUDLO
7HUPLQDWLQJPRGXOH
[70(1$WHUPLQDOPRGXOHDQG
'2'&9$+)HOHFWURQLFVPRGXOH
7031$WHUPLQDOPRGXOH
DQG30('&9SRZHUPRGXOH
[70(1$WHUPLQDOPRGXOHDQG',
'&9+)HOHFWURQLFVPRGXOH
7031$WHUPLQDOPRGXOHDQG30('&9SRZHUPRGXOH
,0b31LQWHUIDFHPRGXOH
,QGXVWULDO(WKHUQHW)&LQVWDOODWLRQFDEOHZLWK352),1(7FRQQHFWRU
Figure 2-1
Preparation
10
Learning units
3.1
11
Learning units
3.2 2. Step: Wiring and assembling ET 200S
3.2
Procedure
1. Wire the ET 200S as shown below:
$8;
/
0
$8;
2. Connect the PROFINET interface of the PROFINET I/O controller (e.g. port 2 of the PN
interface of a CPU 317-2 PN/DP) to the PROFINET interface of the I/O device (e.g. port 1
of the PN interface of the IM151-3 PN) via an Industrial Ethernet twisted pair cable.
3. Insert the power and electronic modules into the terminal modules.
12
Learning units
3.3 3. Step: Configuring ET 200S
3.3
Procedure
1. Run SIMATIC Manager and open the project which you created in Getting Started
"CPU 314C-2 PN/DP, 315-2 PN/DP, 317-2 PN/DP, 319-3 PN/DP: Configuring the
PROFINET interface".
2. Drag-and-drop IM151-3 PN from the hardware catalog:
PROFINET IO > I/O > ET 200S to the PROFINET I/O system.
3. From the hardware catalog, drag-and-drop the various ET 200S modules into the
configuration table in accordance with the physical structure of the PROFINET I/O device.
13
Learning units
3.4 4. Step: Insert the SIMATIC Micro Memory Card and switch on the device
3.4
4. Step: Insert the SIMATIC Micro Memory Card and switch on the
device
Procedure
1. If desired, you can insert a SIMATIC Micro Memory Card into the IM151-3 PN.
Note
Delete the content of a SIMATIC Micro Memory Card with unknown content before you
use it in the programming device.
2. Switch on the power supply for the CPU 317-2 PN/DP.
Result: Reaction of the status LEDs on the CPU 317-2 PN/DP:
5V DC lit
SF off
3. Switch on the power supply for the IM151-3 PN and the PM-E.
Result: Reaction of the status LEDs on the IM151-3 PN:
BF flashes
ON is lit
LINK is lit
The SF LEDs of all electronics modules are also lit.
14
Learning units
3.5 5. Step: Assign a name to the IO device
3.5
Procedure
1. In HW Config, open the dialog Properties - IM151-3 PN.
2. Enter the device name of the I/O device.
15
Learning units
3.5 5. Step: Assign a name to the IO device
4. To transfer the name configuration to IM151-3 PN, you need an online PROFINET
connection to the I/O device.
Select PLC > Ethernet > Assign device name to transfer the device name to the
IM151-3 PN.
16
Learning units
3.5 5. Step: Assign a name to the IO device
5. When you use more than one I/O device, the system displays all I/O devices in the
Assign device name dialog box. In this case, compare the MAC address of the device
with the MAC address displayed. Select the correct I/O device. On the Assign device
name dialog box, click Assign name. The device name is saved in the IM151-3 PN
interface module (optionally also on an inserted SIMATIC Micro Memory Card).
17
Learning units
3.5 5. Step: Assign a name to the IO device
6. The dialog box indicates the device name you assigned.
7. Download the hardware configuration to the CPU 317-2 PN/DP. Select PLC > Download
to module.
The CPU automatically assigns an IP address to the IO device after it has received this
download. The I/O device is ready for cyclic data exchange once the subnet is properly
installed and the configuration corresponds to the physical structure of the I/O device.
The BF2 LED starts to flash once you have downloaded the hardware configuration. The
BF2 LED on the CPU and the flashing BF LED of the I/O device go out once the CPU has
accepted the I/O device.
Leave the CPU in STOP until you have written the user program and downloaded it to the
CPU.
18
Learning units
3.6 6. Step: Download user program and configuration to the CPU
3.6
Procedure
1. Create the user program in the LAD/STL/FBD editor in OB 1.
2. Save the user program (OB 1).
3. Close the LAD/STL/FBD editor.
4. Select the "Blocks" folder.
5. Download all blocks to the CPU.
6. Select PLC > Download .
U M 2.0
S A 0.0
T PAB 0
19
Learning units
3.7 7. Step: Switch CPU to RUN and monitor functions
3.7
Procedure
1. Switch the CPU to "RUN".
2. You have correctly completed commissioning.
The status of certain key status LEDs at CPU 317-2 PN/DP and ET 200S is as follows:
CPU 317-2 PN/DP:
DC5V: is lit
SF: Off
BF2: Off
LINK: Lit
ET 200S:
SF: Off
BF: Off
ON: Lit
LINK: Lit
3. Verify the station functions and debug the user program.
20
Further Information
Reference
For detailed information on address assignment for the PROFINET interface, please refer to
the STEP 7 online help.
Diagnostics/Correction of Errors
Wrong operation, faulty wiring or a faulty hardware configuration may cause errors which the
CPU indicates with the SF group error LED after a CPU memory reset.
For information on how to diagnose such errors and alarms, please refer to the operating
instructions, CPU 31xC and CPU 31x: Installation
(http://support.automation.siemens.com/WW/view/en/13008499).
21
Further Information
22