s7300 cpu317 2 pndp getting started en-us en-us 2
Post on 02-Jun-2018
286 Views
Preview:
TRANSCRIPT
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
1/22
CPU 317-2 PN/DP: Configuring an ET
00S as PROFINET IO device
___________________
___________________
___________________
___________________
SIMATIC
PROFINET
CPU 317-2 PN/DP: Configuring an
ET 200S as PROFINET IO device
Getting Started
08/2011
A5E00721427-04
Introduction
1
Preparation
2
Learning units
3
Further Information
4
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
2/22
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 preventdamage to property. The notices referring to your personal safety are highlighted in the manual by a safety alertsymbol, notices referring only to property damage have no safety alert symbol. These notices shown below aregraded according to the degree of danger.
DANGER
indicates that death or severe personal injurywill
result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury mayresult 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 willbe used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating toproperty damage.
Qualified Personnel
The product/system described in this documentation may be operated only bypersonnel qualified
for the specifictask 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 andavoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technicaldocumentation. If products and components from other manufacturers are used, these must be recommendedor approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation andmaintenance are required to ensure that the products operate safely and without any problems. The permissibleambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by are registered trademarks of Siemens AG. The remaining trademarks in this publicationmay 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 softwaredescribed. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, theinformation in this publication is reviewed regularly and any necessary corrections are included in subsequenteditions.
Siemens AGIndustry SectorPostfach 48 48
90026 NRNBERGGERMANY
A5E00721427-04 09/2011
Copyright Siemens AG 2011.Technical data subject to change
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
3/22
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 3
Table of contents
1 Introduction................................................................................................................................................ 5
2 Preparation................................................................................................................................................ 7
3 Learning units .......................................................................................................................................... 11
3.1 1. Step: Install the ET 200S .........................................................................................................11
3.2 2. Step: Wiring and assembling ET 200S ....................................................................................12
3.3 3. Step: Configuring ET 200S ......................................................................................................13
3.4 4. Step: Insert the SIMATIC Micro Memory Card and switch on the device ...............................143.5 5. Step: Assign a name to the IO device .....................................................................................15
3.6 6. Step: Download user program and configuration to the CPU..................................................19
3.7 7. Step: Switch CPU to RUN and monitor functions....................................................................20
4 Further Information.................................................................................................................................. 21
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
4/22
Table of contents
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
4 Getting Started, 08/2011, A5E00721427-04
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
5/22
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 5
Introduction
1
Introduction
In the following steps we will show you the basics of configuring an ET 200S asPROFINET I/O device.
This process will take one to two hours, depending on your experience.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
6/22
Introduction
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
6 Getting Started, 08/2011, A5E00721427-04
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
7/22
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 7
Preparation
2
Scope
CPU SIMATIC Micro Memory Card
required for operation?
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 31xCand 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 oneCPU 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 thePROFINET interface".
STEP 7 V5.5 is completely installed on your programming device (PG). You are familiarwith 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 andregulations, which depend on its field of application. Please make sure that you adhereto 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 theseregulations.
http://support.automation.siemens.com/WW/view/en/13008499http://support.automation.siemens.com/WW/view/en/13008499 -
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
8/22
Preparation
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
8 Getting Started, 08/2011, A5E00721427-04
Material and tools required
Quantity Item Order number (Siemens)
1 Standard mounting rail 35 mm (length = 483 mm, forexample)
6ES5710-8MA11
1 Interface module IM 151-3 PN and terminating module, x1
6ES7151-3BA23-0AB0
1 CPU 317-2 PN/DP e.g. 6ES7317-2EK14-0AB0
1 SIMATIC Micro Memory Card e.g. 6ES7953-8LL20-0AA0
2 Fast Connect terminal module TM-P15N23-A1, x 1 6ES7193-4CC70-0AA0
1 Fast Connect terminal module TM-E15N24-A1, x 5 6ES7193-4CA70-0AA0
2 PM-E DC24V, x 1 6ES7138-4CA01-0AA0
1 4DI DC24V ST, x 5 6ES7131-4BD01-0AB0
1 4DO DC24V/0,5A ST, x 5 6ES7132-4BD00-0AB0
1 Industrial Ethernet FC RJ45 connector 90, 10 pieces 6GK1901-1BB20-2AB0
1 Industrial Ethernet FC stripping tool 6GK1901-1GA00
1 Appropriate installation cables:
FC Standard Cable
FC Trailing Cable
FC Marine Cable
6XV1840-2AH10
6XV1840-3AH10
6XV1840-4AH10
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
9/22
Preparation
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 9
Setup
The figure below shows which ET 200S components you require for the example on the
PROFINET I/O:
Figure 2-1 Components for the example on the PROFINET IO
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
10/22
Preparation
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
10 Getting Started, 08/2011, A5E00721427-04
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
11/22
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 11
Learning units
3
3.1
1. Step: Install the ET 200S
Installing and grounding the mounting rail
1. Install the mounting rail (35 x 7.5 mm or 15 mm) with a length of at least 210 mm on asolid surface.
2. Connect the rail to the protective conductor. Stipulated cross-section of the cableconnection to the protective conductor: at least 10 mm2.
3. Mount the various modules onto the rail, starting on the left side (hang in - swivel down -slide to left). Follow the following sequence:
Interface module IM151-3 PN
Terminal module TM-P15N23-A1
2 x terminal module TM-E15N24-A1
Terminal module TM-P15N23-A1
2 x terminal module TM-E15N24-A1
Terminating module
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
12/22
Learning units
3.2 2. Step: Wiring and assembling ET 200S
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
12 Getting Started, 08/2011, A5E00721427-04
3.2
2. Step: Wiring and assembling ET 200S
WARNING
Ensure the ET 200S is completely disconnected before wiring!
You may come into contact with live wires if the ET 200S is connected to the power supply.
Procedure
1. Wire the ET 200S as shown below:
1 2 3
24 V DC electronics power supply 24 V DC sensor supply potential group 1 24 V DC potential group 2
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 1of 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.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
13/22
Learning units
3.3 3. Step: Configuring ET 200S
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 13
3.3
3. Step: Configuring ET 200S
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 thePROFINET 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 theconfiguration table in accordance with the physical structure of the PROFINET I/O device.
4.
Save and compile the Hardware Configuration.SelectStation > Save and Compile
.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
14/22
Learning units
3.4 4. Step: Insert the SIMATIC Micro Memory Card and switch on the device
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
14 Getting Started, 08/2011, A5E00721427-04
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 youuse 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.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
15/22
Learning units
3.5 5. Step: Assign a name to the IO device
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 15
3.5
5. Step: Assign a name to the IO device
Procedure
1. In HW Config, open the dialogProperties - IM151-3 PN
.
2. Enter the device name of the I/O device.
3.
Save and compile the HW configuration.Select
Station > Save and compile
.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
16/22
Learning units
3.5 5. Step: Assign a name to the IO device
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
16 Getting Started, 08/2011, A5E00721427-04
4. To transfer the name configuration to IM151-3 PN, you need an online PROFINETconnection to the I/O device.Select PLC > Ethernet > Assign device nameto transfer the device name to theIM151-3 PN.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
17/22
Learning units
3.5 5. Step: Assign a name to the IO device
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 17
5. When you use more than one I/O device, the system displays all I/O devices in theAssign device namedialog box. In this case, compare the MAC address of the devicewith the MAC address displayed. Select the correct I/O device. On the Assign devicenamedialog box, click Assign name. The device name is saved in the IM151-3 PNinterface module (optionally also on an inserted SIMATIC Micro Memory Card).
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
18/22
Learning units
3.5 5. Step: Assign a name to the IO device
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
18 Getting Started, 08/2011, A5E00721427-04
6. The dialog box indicates the device name you assigned.
7. Download the hardware configuration to the CPU 317-2 PN/DP. Select PLC > Downloadto module.The CPU automatically assigns an IP address to the IO device after it has received thisdownload. The I/O device is ready for cyclic data exchange once the subnet is properlyinstalled 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. TheBF2 LED on the CPU and the flashing BF LED of the I/O device go out once the CPU hasaccepted the I/O device.Leave the CPU in STOP until you have written the user program and downloaded it to theCPU.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
19/22
Learning units
3.6 6. Step: Download user program and configuration to the CPU
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 19
3.6
6. Step: Download user program and configuration to the CPU
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. SelectPLC > Download
.
Example 1: Reading an input and controlling an output
STLU E 0.0 When input bit 0.0 is set andU M 2.0 memory bit 2.0 is set, thenS A 0.0 set output bit 0.0
Example 2: Transferring an input byte to an output byte:
STLL PEB 0 Load I/O input byte 0 to the accumulator (bits 0.0 to 0.7)T PAB 0 Write bits 0.0 to 0.7 from accumulator to I/O input byte 0.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
20/22
Learning units
3.7 7. Step: Switch CPU to RUN and monitor functions
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
20 Getting Started, 08/2011, A5E00721427-04
3.7
7. Step: Switch CPU to RUN and monitor functions
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.
-
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
21/22
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
Getting Started, 08/2011, A5E00721427-04 21
Further Information
4
Reference
For detailed information on address assignment for the PROFINET interface, please refer tothe STEP 7 online help.
Diagnostics/Correction of Errors
Wrong operation, faulty wiring or a faulty hardware configuration may cause errors which theCPU indicates with the SFgroup error LED after a CPU memory reset.
For information on how to diagnose such errors and alarms, please refer to the operatinginstructions, CPU 31xC and CPU 31x: Installation(http://support.automation.siemens.com/WW/view/en/13008499).
Manuals containing further information
Getting Started: Getting started and exercises with STEP 7(http://support.automation.siemens.com/WW/view/en/45531551)
Manual: SIMATIC NET: Twisted Pair and Fiber Optic Networks(http://support.automation.siemens.com/WW/view/en/8763736)
Manual: SIMATIC communication(http://support.automation.siemens.com/WW/view/en/1254686)
PROFINET System Description(http://support.automation.siemens.com/WW/view/en/19292127)
Service Support on the Internet
In addition to our documentation, we offer a comprehensive knowledge base on the Internet(http://www.siemens.com/automation/service&support).
There you can find:
A newsletter containing the latest information on your Siemens products.
The documents you need using the search engine in Service & Support.
The bulletin board, a worldwide knowledge exchange for users and experts.
Your local contact for Automation & Drives in our contact database.
Information about on-site services, repairs and spare parts. You will find much moreunder "Services".
http://support.automation.siemens.com/WW/view/en/13008499http://support.automation.siemens.com/WW/view/en/45531551http://support.automation.siemens.com/WW/view/en/8763736http://support.automation.siemens.com/WW/view/en/1254686http://support.automation.siemens.com/WW/view/en/19292127http://www.siemens.com/automation/service&supporthttp://www.siemens.com/automation/service&supporthttp://support.automation.siemens.com/WW/view/en/19292127http://support.automation.siemens.com/WW/view/en/1254686http://support.automation.siemens.com/WW/view/en/8763736http://support.automation.siemens.com/WW/view/en/45531551http://support.automation.siemens.com/WW/view/en/13008499 -
8/10/2019 s7300 Cpu317 2 Pndp Getting Started en-US en-US 2
22/22
Further Information
CPU 317-2 PN/DP: Configuring an ET 200S as PROFINET IO device
22 Getting Started, 08/2011, A5E00721427-04
top related