Upload
cliff
View
116
Download
5
Embed Size (px)
DESCRIPTION
PROFINET I/O Controller SIEMENS S7-300 e.g. CPU 315F-2PN/DP. IPC. Industrial Switch SIEMENS SCALANCE 208. PROFINET. PROFInet IE/PB Link. WAGO System 750-340. SIEMENS ET 200S with IM151-3. PHOENIX CONTACT with FL-IL-BK-PAC. BECKHOFF with BK9103. PROFIBUS. PROFINET IO DEVICES. - PowerPoint PPT Presentation
Citation preview
1University of Ruse Configuration of a PROFINET IO System
PROFINET IO HARDWARE & NET CONFIGURATION
PROFInet IE/PB Link
PROFINET
PROFIBUS
ET 200S with IM151-1
SIEMENS ET 200S
with IM151-3
WAGO System 750-340 BECKHOFF
with BK9103
BECKHOFFwith BK3010
PROFIBUS SLAVE DEVICES
PROFINET IO DEVICES
PHOENIX CONTACT with FL-IL-BK-PAC
IPC
Industrial SwitchSIEMENS
SCALANCE 208
PROFINET I/O ControllerSIEMENS S7-300
e.g. CPU 315F-2PN/DP
2University of Ruse Configuration of a PROFINET IO System
PROFINET IO Communication Model
Ethernet
PROFINET IO DEVICES
Cyclic data Exchande
PROFINET I/O Controller Application program with access to process signals via process image
IRT
EngineeringNetwork
ManagementWeb Application
Visualization andParameterization
PROFINET IO SUPERVISORS
TCP/IP on Ethernet
Diagnosis,Upload/Download
Commissioning,Diagnostics
PROXY
PROFIBUS
PROFIBUS SLAVE DEVICES
Parameterization,DiagnosisConfiguration,
Production data,
Alarms
Read and writeIO data
3University of Ruse Configuration of a PROFINET IO System
PROFINET IO Device Model
Bus-Interface (DAP)
SLOT 0 SLOT 1 SLOT 2
SU
BS
LO
T 1
= C
han
nel
1S
UB
SL
OT
1 =
Ch
ann
el 1
SU
BS
LO
T 1
= C
han
nel
1S
UB
SL
OT
1 =
Ch
ann
el 1
I/O Address N
I/O Address N+1
I/O Address N+2
I/O Address N+3
IO-Data is always assigned to a sub slot.
Each sub slot can contain I/O data or alarms.
PROFINET bus interface (DAP) and PROFIBUS IO modules = PROFINET IO device
The IO device itself is addressed via Slot0, which acts as the "station proxy".
4University of Ruse Configuration of a PROFINET IO System
From GSD import to exchange of data
Ethernet
GSD import net configuration in the Engineering Tool
The configuration is carried out in the engineering system (for example STEP 7). The configuration and the user program are then transferred to the IO controller.
Once you have assigned device names to the IO devices, the data is exchanged between the IO controller and assigned to IO devices automatically.
Every Ethernet device has the same priority in the network
Decentralised field devices will be assigned to a controller during network configuration
The device description of the field devices is defined in a GSD-file
SIMATIC HW-ConfigConfiguration Tool
1
PROFINET IO DEVICE
PROFINET IO CONTROLER
2
3
1
2
3
5University of Ruse Configuration of a PROFINET IO System
Addressing of a PROFINET IO DEVICE
The complete address of a PROFINET IO DEVICE therefore includes: MAC address, which is pre-defined in the device and can usually not be
modified. Device names which can be freely selected, but which for convenience
should reflect the relevant plant part. IP address, which can also be freely selected, but which follows a firm scheme
and which should be selected, similar to the device name, according to the assigned plant.
If the same address is assigned twice, this may cause malfunctions of PROFINET. Although diagnosis functions are usually still available, data communication is no longer possible. This error is usually indicated by online engineering user interfaces.
If the same address is assigned twice, this may cause malfunctions of PROFINET. Although diagnosis functions are usually still available, data communication is no longer possible. This error is usually indicated by online engineering user interfaces.
Some system approaches allow exchanging the MAC addresses in PROFINET IO devices. The same approach applies to IP addresses. You should ensure uniqueness of the addressing.
Some system approaches allow exchanging the MAC addresses in PROFINET IO devices. The same approach applies to IP addresses. You should ensure uniqueness of the addressing.
6University of Ruse Configuration of a PROFINET IO System
Structure of IP addresses
Example of an IP address = Internet Protocol Length = 4 bytesFormat = decimal
Class C network Host componentDecimal format
Binary format 11000000 1001101 00010010 00100000
192 157 018 032
Subnet mask 11111111 1111111 11111111 00000000 The zeros in the subnet mask determine the host component
In the example, 256 stations with the following IP addresses can be connected
192.157.018.0 - 192.157.018.255
Private IPv4 address ranges
The green figure of the address is determined by the number of available networks while the red figure is
determined by the number of network nodes
7University of Ruse Configuration of a PROFINET IO System
MAC address (Media Access Control)
Ethernet / MAC address =Media Access Control
Length = 6 bytesRepresentation = hexadecimal
Example: 00-0E-8C-XX-XX-XX Siemens Serial No
8University of Ruse Configuration of a PROFINET IO System
Address Assignment with DCP (Discovery and Configuration Protocol)
Offline Configuration
•Each Device receives a device name (e.g. Siemens coupler)
•Configuration tool automatically assigns the IP-Address
Device name is assigned to a MAC-Address
Ethernet
MAC Addr 1
PROFINET IO CONTROLER
MAC Addr 2
OnlineWrite device name into the device
2
1
Start upIO Controller assigns IP-Address to the device
3
9University of Ruse Configuration of a PROFINET IO System
Address assignment
MMC contain the
Device name
CPU:
The device name and the IP address are transferred during the startup of the CPU in the system data block (SDB).
• The IP address is assigned using the device names in the table.
192.168.100.3
MMC contains the Device name and IP Address
C-PLUG contain the
Device name
Specific PROFINET devices, such as the distributed I/O ET200 eco PN, have no module slot on account of their construction type. These PROFINET devices and some others support the PROFINET functionality "Device replacement without removable media / PD"
transfer the device data from the PC/PC directly to the MMC
10University of Ruse Configuration of a PROFINET IO System
Basic steps from planning to operating a plant
Setting up and operating an automation system with STEP 7 PC involves the following basic steps:
Planning the system Configuring the system with STEP 7 Commissioning and testing the plant Operating the plant. Performing maintenance and modifications.
11University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 - SCENARIO From Creating the Project to Starting Hardware configuration Tool Hardware Catalog and Insert new GSD File Configuring PROFINET IO Controller Integrating the Industrial switch (SCALANCE X208) into the PROFINET IO system Integrating the ET200S into the PROFINET IO system Integrating Non SIEMENS PROFINET IO Devices Network transition: IE/PB - Link PN IO
Hardware configuration•Rack, Slots, Electronic Modules•Addressing S7-300™ Modules
Configuring the PROFINET interface•Assign parameter to PN Interface
•Assigning Device name and IP Address•Configuring Alarms•Configuring Media redundancy tab•Prioritizing startup•Configuring the topologyHardware configuration Rack, Slots, Electronic Modules
Assigning a device name to the IO device ET 200S PNConfiguring the PROFINET interface
•Synchronization tab•IO Cycle Tab•Prioritized startup•Setting up the communication ports
• Insert GSD files in Hardware catalog• Insert the IO Devices from: PROFINET IO ->
Additional Field Devices and Insert the necessary components in the configuration table
• components in the configuration table • Adjust the IP address and the device name. • Set IO Cycle parameters • Adjust Parameter tab
•Insert Device from Hardware catalog•Properties of PROFIBUS DP Interface
•Properties of PROFINET IO Interface •Integration of DP slaves
12University of Ruse Configuration of a PROFINET IO System
From Creating the Project to Starting Hardware Configuration Tool
storage location
project name
1
2 Insert Station
starting the hardware configuration tool
3
generate a new project
13University of Ruse Configuration of a PROFINET IO System
Hardware Catalog and Insert new GSD File
Hardware configuration Window
The title bar
Hardware Catalog button
Start “Install New GSD File” Function
Hardware Catalog Window
The new devices are in
1
2
3
14University of Ruse Configuration of a PROFINET IO System
1. Rack, Slots, Electronic ModulesConfiguring the PROFINET IO Controller
plain list
detailed view
Hardware catalog
Slot 1 Power Supply
Slot 2 CPU Module with PN Interface
Slot 3 Reserved
Slot 4 -11 Electronic Modules
15University of Ruse Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller2. Addressing S7-300™ Modules
Slot No. 5
Modules
2 41 6 7 8 9 10 11
PS CPU SM SM SM SM SM SM SM SM
Address 0.0
Address 0.7
Address 1.0
Address 1.7
16University of Ruse Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller
3. Configuration of the PROFINET interface
1. Select the module, the PROFINET interface2. Assign a name to IO controller3. Enter desired IP address and Subnet mask4. Confirm window with OK
12
3
4
17University of Ruse Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller
4. Assign parameter to PN Interface
18University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
1. Insert Device from Hardware catalog
19University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system2. Assign Device name and IP Address
If you want to operate IE Switches X200 that were
previously configured over PROFINET without
PROFINET functionality, the devices must be reset to the
factory defaults.You can do this with the
"Reset to Factory Defaults" function in the Web Based
Management or by pressing the button when you turn on
the power supply.
20University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system3. Configuring Alarms
1 Select the switch
Double –click and open "Object Properties" tab
2
3Adjust Alarms in Parameters tab
System default
21University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system4. Configuring Media redundancy tab
1
Open dialog box
"Manager" if you want the device to operate as redundancy manager. "Client" if the device is part of a redundant network."Not node in the ring" if no medium redundancy is configured
2 Select Media Redundancy tab
mrpdomain-1default-mrpdomain
3
4
5
6
22University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system4. Configuring Media redundancy tab - Continued
1
Open dialog box
"Manager" if you want the device to operate as redundancy manager. "Client" if the device is part of a redundant network."Not node in the ring" if no medium redundancy is configured
2 Select Media Redundancy tab
mrpdomain-1default-mrpdomain
3
4
5
6
To ensure problem-free operation when using a third-party device as the redundancy manager in the ring , make sure that you assign the fixed role of "Redundancy client" to all other devices in the ring, before you close the ring. Otherwise, there may be circulating data frames that will cause a failure in the network.
If you reset to the factory settings, the ring port settings are also reset. With the appropriate attachment, a ring node that was previously correctly configured can cause circulating frames and loss of the data traffic.
If you reset to the factory settings, the MRP role of the device is also reset. If you are operating a third-party device as the redundancy manager in the ring, this may cause loss of the data traffic.
23University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system5. Prioritized startup
1
Open dialog box
If you configure MRP in a ring, you cannot use the "prioritized startup" function in PROFINET applications on the devices involved.
If you want to use the "prioritized startup" function, then disable MRP in the configuration.
In the STEP 7 configuration, properties dialog of the PROFINET interface > "Media redundancy" tab > "MRP configuration" box, set the role to "Not node in the ring" in the “mrpdomain1“ domain.
The start-up times for Prioritized Start-Up are reduced to 2 seconds.
24University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system5. Configuring the topology
1Open dialog box
Select Topology tab 2
Only for fiber-optic cable
This area is only available if the device supports IRT and no alternating partner is configured.
You can interconnect devices under "Partner port" if:
• The port is connected to the Ethernet subnet
• Other PROFINET devices are connected to a port on the subnet
• The devices support topology configuration
25University of Ruse Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system5. Configuring the topology - Continued
1Open dialog box
2 3
Ensure that the setting for the local port and the partner port are identical.
26University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
Select IO Device
Select IO Modules
Input addresses,band model
Output addresses,band model
Power Module
1
2
1. Insert Device from Hardware catalog. Rack, Slots, Electronic Modules
27University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system2. Assigning a device name to the IO device ET 200S PN (Offline).
Double Click
Device names IP addresses and MAC addresses must be assigned, so that anIO device can be uniquely assigned to an IO controller.
28University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
3. Assigning properties to PROFINET Interface.
For the effects on the reaction time with a setting "> 1 m", refer to the relevant
manual.
29University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
1
Double Click
2
3
This tab displays the synchronization properties
of the IO controller.See slide 16
3.1. Synchronization tab
30University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
1
Double Click
2
Send clock set in the sync domain.See slide 16
3.2. IO Cycle Tab
The update time can only be changed when there
are no synchronized PROFINET IO devices in
the IO system
Maximum watchdog time: 1.92 seconds.
3
31University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
Double Click
3.3. Prioritized startup
1
4
The check box can only be selected if
the IO controller you are using can
prioritize selected IO devices during
startup.Within a PROFINET IO system, you can only prioritize a certain maximum number of IO devices that depends on the IO controller you are using.
2 3
32University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
3.4. Setting up the communication ports
This section shows the name of the local port.
The window shows the ports on all devices that support the function topology and are not yet connected to the network
33University of Ruse Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
3.5. Setting up the communication ports/ Disable autonegotation
Autonegotiation - operating parameters of the connected network are detected and the data transmission speed and transmission mode are optimally set.
34University of Ruse Configuration of a PROFINET IO System
Integrating Non SIEMENS PROFINET IO Devices Insert GSD files in Hardware catalog (slide 12) Insert the IO Devices form PROFINET IO -> Additional Field Devices (slide 25) Insert the necessary components in the configuration table (slide 25) Adjust the IP address and the device name. (slide 26) Set IO Cycle parameters (see slide 29) Adjust Parameter tab
Example refers to WAGO System 750/753
For first Input module
For the following input modules
35University of Ruse Configuration of a PROFINET IO System
Integrating Non SIEMENS PROFINET IO Devices Insert GSD files in Hardware catalog (slide 12) Insert the IO Devices form PROFINET IO -> Additional Field Devices See (slide 25) Insert the necessary components in the configuration table (slide 25) Adjusting the IP address and the device name. (slide 26) Set IO Cycle parameters (slide 29) Adjust Parameter tab
Example refers to WAGO System
750/753
36University of Ruse Configuration of a PROFINET IO System
Integrating Non SIEMENS PROFINET IO Devices Insert GSD files in Hardware catalog (slide 12) Insert the IO Devices form PROFINET IO -> Additional Field Devices See (slide 25) Insert the necessary components in the configuration table (slide 25) Adjust the IP address and the device name. (slide 26) Set IO Cycle parameters (slide 29) Adjust Parameter tab
Example refers to WAGO System
750/753
A port that is physically present in a module but is not available as a port submodule in the STEP 7 environment, is referred to as a default port. Such ports are only displayed in the Topology Editor (i.e. they are not in the configuration table) and can only be interconnected here.
37University of Ruse Configuration of a PROFINET IO System
Network transition: IE/PB - Link PN IO
The C-PLUG may only be inserted or removed when the power is off. A screwdriver can be used as an aid.
In the case of changeover from use as a PROFINET IO device oras a network transition, a reset to factory settings is always necessary.
38University of Ruse Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO
1. Insert Device from Hardware catalog
39University of Ruse Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO2. Properties of PROFIBUS DP
1
2
3
40University of Ruse Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO2. Properties of PROFONET IO Interface
the highest unassigned number
41University of Ruse Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO3. Integration of DP slaves. Rack, Slots, Electronic Modules
42University of Ruse Configuration of a PROFINET IO System
PROFINET IO COMMISSIONING
Commissioning of the automated system with the PROFINET IO network is done in the following sequence
• Switching the PG interface on the network card from the "Ethernet" type and Assigning an IP address for PG/PC
• Node initialization for the IO controller, i.e. assign the IP address to the IO controller
• Transfer device names for each individual IO device one-by-one• Transfer hardware configuration of the overall system to the IO
controller• Transfer S7 program to the IO controller
Connect all participants in the network, according to a topology and Switch On the power supply
43University of Ruse Configuration of a PROFINET IO System
Switching the PG interface on the network card from the "Ethernet" type
1
2
3
4
5
44University of Ruse Configuration of a PROFINET IO System
Assigning an IP address for PG/PC
1
2
Select the "TCP/IP" network protocol
3
In the following examples, the IP address• 192.168.100.99 should be used for the PG/PC and• 192.168.100.1 should be used for the CPU 315F-2 PN/DP(subnet mask 255.255.255.0). Check the IP address ranges suggested by STEP 7 with reference to your actual system.
4
Fixed IP address forPG/PC interface
Access path throughTCP/IP
45University of Ruse Configuration of a PROFINET IO System
Assigning an IP address for PG/PC - Test for real connections
These devices are used for the first time or have an erased MMC. They have only a MAC address and no name.
In many devices the command Resest to factory setting erases only the IP address and parameters of the PN IO interfaces, without deleting the name
Accessible Nodes Button
46University of Ruse Configuration of a PROFINET IO System
Assign IP address to the IO controller
Select the IO Controller CPU
At this stage, all participants in the network have invalid IP addresses
47University of Ruse Configuration of a PROFINET IO System
Assign IP address to the IO controller
Insert IP Address and Subnet mask
Confirm address
Insert IP Controller name and Confirm with button
Result: IO controller is assigned a name and
IP address
48University of Ruse Configuration of a PROFINET IO System
Assign Device Name
1
23
1. Select the desired device.2. Select the corresponding name. 3. Confirm with the button "Assign name"
Check compliance with the names
49University of Ruse Configuration of a PROFINET IO System
Download Project into PROFINET IO Controller
50University of Ruse Configuration of a PROFINET IO System
Switch the IO controller from STOP to RUN
SFBFCOLXMT
RCVLNC
ULUMUS
PHOENIX CONTACTFL-IL-BK-PAC
SF System error presentBF No link status availableCOL Collision of data telegramsXMT Data telegrams are being sentRCV Data telegrams are being receivedLNK Physical network connection ready to operate
SF System error present5V DC The 5V supply for CPU and S7-300 bus OKFRCE Force job ActiveBF1 Bus fault at the PROFINET interfaceBF2 Bus fault at the ETHERNET interfaceLINK A connection to PROFINET has not been established RX/TX The port sends or receives data
There are two types of LED displays on SIMATIC S7 PROFINET IO devices:• General status and error displays• Status displays for the communication interfaces
Please see the manufacturer documentation for the detailed functions of the PROFINET node displays.
51University of Ruse Configuration of a PROFINET IO System
Exercise
Task: Create PROFINET IO project with the configuration shown
Industrial Ethernet: Ethernet(1) contains the following network connections:
PROFIBUS: PROFIBUS(1) contains the following network connections:
52University of Ruse Configuration of a PROFINET IO System
Exercise Task: Use the built-in electronic module models for the individual
configuration of PROFINET devices.
1. PROFINET IO Controller PS 307 5A 6ES7 307-1EA00-0AA0CPU 315-2PN/DP 6ES7 315-2FJ14-0AB0 (V3.1)SM323 16DI+16DO 6ES7 323-1BL00-0AA0SM334 4AI+2AO/8b 6ES7 334-0CE01-0AA02. Industrial Switch SCALANCE X208 6GK5 208-0BA10-2AA3
3. PROFINET IO Devices Siemens ET200S Node
IM551-3PN 6ES7 151-3BA23-0AB0PME 6ES7 138-4CA50-0AB02DI DC 24V HF 6ES7 131-4BB01-0AB02DI DC 24V HF 6ES7 131-4BB01-0AB02DO DC 24V HF 6ES7 132-4BB01-0AB02DO DC 24V HF 6ES7 132-4BB01-0AB0
PHOENIX CONTACT NodeFL-IL-BK 2878816IB IL 24 DI 4-ME 2863928IB IL 24 DO 4-ME 2863931
WAGO NodeWAGO SYSTEM 750-3402DI(+6BIT I) 75x-4002DO(+6BIT O) 75x-501
4. PROFINET PROXY Siemens IE/PB LINK PN IO
IE PB LINK 6GK 1 4115AB00
5. PROFIBUS DEVICES Siemens ET200S Node
IM551-1HF 6ES7 151-1BA02-0AB0PME 6ES7 138-4CA50-0AB02DI DC 24V HF 6ES7 131-4BB01-0AB02DI DC 24V HF 6ES7 131-4BB01-0AB02DO DC 24V HF 6ES7 132-4BB01-0AB02DO DC 24V HF 6ES7 132-4BB01-0AB0
53University of Ruse Configuration of a PROFINET IO System
Exercise Task: Use the specified number of devices and IO addresses.
54University of Ruse Configuration of a PROFINET IO System
Reference
1. Mackay S., Edwin Wright, Deon Reynders, John Park, Practical Industrial Data Networks: Design, Installation and Troubleshooting, Elsevier 2004, ISBN 07506 5807X
2. Pigan Raimond, Mark Metter, Automating with PROFINET. Industrial Communication based on Industrial Ethernet, SIEMENS 2006, ISBN 3-89578-256-4
3. Configuration and Diagnostics of a PROFINET IO System, PROFINET IO Configuration Example, Application Description, SIEMENS 01/2010
4. FL IL 24 BK-PN-PAC PROFINET IO/Inline Bus Coupler, Data Sheet, PHOENIX CONTACT 07/2005.
5. Hardware and Firmware User Manual for the FL IL 24 BK / FL IL 24 BK-PAC Ethernet/Inline Bus Coupler, Revision: 05, Order No.:90 14 20 5 PHOENIX CONTACT, 09/2004.
6. SIMATIC PROFINET System Description, System Manual, A5E00298288-04, 06/20087. SIMATIC Configuring Hardware and Communication Connections with STEP 7, Manual,
A5E00706939-01, SIEMENS Edition 03/2006.8. SIMATIC NET Industrial Ethernet Switches SCALANCE X-200 / XF-200. Operating Instructions,
A5E00349864-14, SIEMENS, 03/2009.9. SIMATIC ET 200S distributed I/O Interface module IM151-3 PN HIGH FEATURE (6ES7151-
3BA23-0AB0), Manual, A5E01584258-04, SIEMENS 08/201010. WAGO IO SYSTEM 750, Using the WAGO 750 -340 PROFINET Coupler as Remote I/O with a
Siemens S7 PLC, Application note A115400 11. PROFINET Technology and Application – System description
http://www.profibus.com/nc/download/technical-descriptions-books/