Profinet_HW_Config1_v1

advertisement
PROFINET IO HARDWARE & NET CONFIGURATION
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 PHOENIX
750-340 CONTACT with BECKHOFF
with BK9103
FL-IL-BK-PAC
SIEMENS
ET 200S
with IM151-3
PROFIBUS
PROFINET IO DEVICES
ET 200S with
IM151-1
PROFIBUS SLAVE DEVICES
University of Ruse
1
BECKHOFF
with BK3010
Configuration of a PROFINET IO System
PROFINET IO Communication Model
PROFINET IO SUPERVISORS
Visualization and
Parameterization Web Application
Network
Management
Engineering
Commissioning,
Diagnostics
Diagnosis,
Upload/Download
TCP/IP on
Ethernet
PROFINET I/O Controller
Application program with access to
process signals via process image
Ethernet
Cyclic data
Exchande
IRT
Configuration,
Production data,
Alarms
Parameterization,
Diagnosis
PROXY
PROFIBUS
PROFINET IO DEVICES
Read and write
IO data
PROFIBUS SLAVE DEVICES
University of Ruse
2
Configuration of a PROFINET IO System
PROFINET IO Device Model
The IO device itself is
addressed via Slot0, which
acts as the "station proxy".
SUBSLOT 1 = Channel 1
SUBSLOT 1 = Channel 1
Bus-Interface
(DAP)
SLOT 1 SLOT 2
SUBSLOT 1 = Channel 1
SUBSLOT 1 = Channel 1
SLOT 0
IO-Data is always assigned to a
sub slot.

 Each
sub slot can contain I/O data
or alarms.
I/O Address N
I/O Address N+1
I/O Address N+2
I/O Address N+3
PROFINET bus interface (DAP) and PROFIBUS IO modules = PROFINET IO device
University of Ruse
3
Configuration of a PROFINET IO System
From GSD import to exchange of data
 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
1
SIMATIC HW-Config
Configuration Tool
PROFINET IO
CONTROLER
2
Ethernet
3
PROFINET IO
DEVICE
1 GSD import net configuration in the Engineering Tool
2 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
3 between the IO controller and assigned to IO devices automatically.
University of Ruse
4
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.
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.
University of Ruse
5
Configuration of a PROFINET IO System
Structure of IP addresses
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
Example of an IP address = Internet Protocol
Class C network
Decimal format
192
Binary format
11000000 1001101 00010010 00100000
Subnet mask
11111111 1111111 11111111 00000000
University of Ruse
157
018
Length = 4 bytes
Format = decimal In the example, 256 stations with
the following IP addresses can
Host component
be connected
032
6
192.157.018.0 - 192.157.018.255
The zeros in the subnet mask
determine the host component
Configuration of a PROFINET IO System
MAC address (Media Access Control)
Ethernet / MAC address =Media Access Control
Length = 6 bytes
Representation = hexadecimal
Example: 00-0E-8C-XX-XX-XX
Siemens
University of Ruse
7
Serial No
Configuration of a PROFINET IO System
Address Assignment with DCP (Discovery and Configuration Protocol)
Device name is assigned to a
MAC-Address
1
Offline Configuration
•Each Device receives a
device name (e.g. Siemens
coupler)
Online
Write device name
into the device
•Configuration tool
automatically assigns the IPAddress
PROFINET IO
CONTROLER
2
Ethernet
3
Start up
IO Controller assigns
IP-Address to the
device
University of Ruse
MAC Addr 2
MAC Addr 1
8
Configuration of a PROFINET IO System
Address assignment
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"
C-PLUG
contain the
Device name
192.168.100.3
CPU:
transfer the device data
from the PC/PC directly
to the MMC
MMC contains the
Device name and IP
Address
 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.
University of Ruse
MMC
contain the
Device name
9
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.
University of Ruse
10
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 topology Rack, Slots, Electronic
Hardware configuration
Modules
Assigning a device name to the IO device ET 200S PN
Configuring the PROFINET interface
•Synchronization tab
•IO Cycle Tab
•Prioritized startup
•Setting up the communication ports 11
University of Ruse
• 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
Configuration of a PROFINET IO System
From Creating the Project to Starting Hardware Configuration Tool
1 generate a new project
2 Insert Station
project name
storage location
3 starting the hardware
configuration tool
University of Ruse
12
Configuration of a PROFINET IO System
Hardware Catalog and Insert new GSD File
2 Start “Install New
GSD File” Function
The title bar
1 Hardware Catalog button
3 The new devices are in
Hardware configuration Window
Hardware
Catalog Window
University of Ruse
13
Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller
1. Rack, Slots, Electronic Modules
Hardware catalog
plain list
Slot 1 Power Supply
Slot 2 CPU Module with PN Interface
Slot 3 Reserved
Slot 4 -11 Electronic Modules
detailed view
University of Ruse
14
Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller
2. Addressing S7-300™ Modules
Slot No.
1
Modules
PS
2
CPU
4
SM
5
6
7
SM SM
SM
8
9
SM SM
10
11
SM
SM
Address 0.0
Address 0.7
Address 1.0
Address 1.7
University of Ruse
15
Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller
3. Configuration of the PROFINET interface
1
2
3
1.
2.
3.
4.
Select the module, the PROFINET interface
Assign a name to IO controller
Enter desired IP address and Subnet mask
Confirm window with OK
University of Ruse
4
16
Configuration of a PROFINET IO System
Configuring the PROFINET IO Controller
4. Assign parameter to PN Interface
University of Ruse
17
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
1. Insert Device from Hardware catalog
University of Ruse
18
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
2. 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.
University of Ruse
19
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
3. Configuring Alarms
1 Select the switch
3
Adjust Alarms in Parameters tab
2 Double –click and open
"Object Properties" tab
System default
University of Ruse
20
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
4. Configuring Media redundancy tab
2 Select Media Redundancy tab
1
Open dialog box
mrpdomain-1
default-mrpdomain
3
4
5
6
"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
University of Ruse
21
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
4. Configuring Media redundancy tab - Continued
2 Select Media Redundancy tab
1
Open dialog box
mrpdomain-1
default-mrpdomain
3
4
5
6
"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
 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.
University of Ruse
22
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
5. Prioritized startup
1
Open dialog box
The start-up times for
Prioritized Start-Up are
reduced to 2 seconds.
University of Ruse
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.
23
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
5. Configuring the topology
2
Select Topology tab
1
Open dialog box
Only for fiber-optic cable
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
University of Ruse
This area is only available if the device supports IRT
and no alternating partner is configured.
24
Configuration of a PROFINET IO System
Integrating the SCALANCE X208 into the PROFINET IO system
5. Configuring the topology - Continued
2
3
1
Open dialog box
Ensure that the setting for the local port and the partner port are identical.
University of Ruse
25
Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
1. Insert Device from Hardware catalog. Rack, Slots, Electronic Modules
Select IO
Device
1
Power Module
Output addresses,
band model
Input addresses,
band model
University of Ruse
Select IO
Modules
26
2
Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
2. 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 an
IO device can be uniquely assigned to an IO controller.
University of Ruse
27
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.
University of Ruse
28
Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
3.1. Synchronization tab
This tab displays the
synchronization properties of
the IO controller.
See slide 16
Double Click
1
2
3
University of Ruse
29
Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
3.2. IO Cycle Tab
Double Click
1
2
Send clock set in the
sync domain.
See slide 16
3
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.
University of Ruse
30
Configuration of a PROFINET IO System
Integrating the ET200S into the PROFINET IO system
3.3. Prioritized startup
Double Click
1
The check box can
only be selected if
the IO controller you
are using can
prioritize selected IO
devices during
startup.
University of Ruse
2
3
4
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.
31
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
University of Ruse
32
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.
University of Ruse
33
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
For first Input
module
Example refers to WAGO
System 750/753
University of Ruse
34
For the following
input modules
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
University of Ruse
35
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
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.
Example refers to
WAGO System
750/753
University of Ruse
36
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 or
as a network transition, a reset to factory settings is always necessary.
University of Ruse
37
Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO
1. Insert Device from Hardware catalog
University of Ruse
38
Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO
2. Properties of PROFIBUS DP
1
2
3
University of Ruse
39
Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO
2. Properties of PROFONET IO Interface
the highest
unassigned
number
University of Ruse
40
Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO
3. Integration of DP slaves. Rack, Slots, Electronic Modules
University of Ruse
41
Configuration of a PROFINET IO System
PROFINET IO COMMISSIONING
Connect all participants in the network, according to
a topology and Switch On the power supply
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
University of Ruse
42
Configuration of a PROFINET IO System
Switching the PG interface on the network card from the "Ethernet" type
3
1
2
4
5
University of Ruse
43
Configuration of a PROFINET IO System
Assigning an IP address for PG/PC
Select the "TCP/IP" network protocol
Fixed IP address for
PG/PC interface
1
3
4
2
Access path through
TCP/IP
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.
University of Ruse
44
Configuration of a PROFINET IO System
Assigning an IP address for PG/PC - Test for real connections
Accessible
Nodes Button
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
University of Ruse
45
Configuration of a PROFINET IO System
Assign IP address to the IO controller
At this stage, all
participants in the network
have invalid IP addresses
Select the IO
Controller CPU
University of Ruse
46
Configuration of a PROFINET IO System
Assign IP address to the IO controller
Insert IP
Address and
Subnet mask
Result: IO controller is
assigned a name and IP
address
Confirm
address
Insert IP Controller
name and Confirm
with button
University of Ruse
47
Configuration of a PROFINET IO System
Assign Device Name
2
3
1
Check compliance with the names
1. Select the desired device.
2. Select the corresponding name.
3. Confirm with the button "Assign name"
University of Ruse
48
Configuration of a PROFINET IO System
Download Project into PROFINET IO Controller
University of Ruse
49
Configuration of a PROFINET IO System
Switch the IO controller from STOP to RUN
There are two types of LED displays on SIMATIC S7 PROFINET IO devices:
• General status and error displays
• Status displays for the communication interfaces
PHOENIX CONTACT
FL-IL-BK-PAC
UL
UM
US
SF
BF
COL
XMT
RCV
LNC
Please see the manufacturer
documentation for the detailed
functions of the PROFINET node
displays.
SF System error present
BF No link status available
COL Collision of data telegrams
XMT Data telegrams are being sent
RCV Data telegrams are being received
LNK Physical network connection ready to operate
SF
System error present
5V DC The 5V supply for CPU and S7-300 bus OK
FRCE Force job Active
BF1 Bus fault at the PROFINET interface
BF2 Bus fault at the ETHERNET interface
LINK A connection to PROFINET has not been established
RX/TX The port sends or receives data
University of Ruse
50
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:
University of Ruse
51
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-0AA0
CPU 315-2PN/DP 6ES7 315-2FJ14-0AB0 (V3.1)
SM323 16DI+16DO 6ES7 323-1BL00-0AA0
SM334 4AI+2AO/8b 6ES7 334-0CE01-0AA0
2. Industrial Switch SCALANCE X208
6GK5 208-0BA10-2AA3
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-0AB0
PME
6ES7 138-4CA50-0AB0
2DI DC 24V HF 6ES7 131-4BB01-0AB0
2DI DC 24V HF 6ES7 131-4BB01-0AB0
2DO DC 24V HF 6ES7 132-4BB01-0AB0
2DO DC 24V HF 6ES7 132-4BB01-0AB0
3. PROFINET IO Devices
Siemens ET200S Node
IM551-3PN
6ES7 151-3BA23-0AB0
PME
6ES7 138-4CA50-0AB0
2DI DC 24V HF 6ES7 131-4BB01-0AB0
2DI DC 24V HF 6ES7 131-4BB01-0AB0
2DO DC 24V HF 6ES7 132-4BB01-0AB0
2DO DC 24V HF 6ES7 132-4BB01-0AB0
PHOENIX CONTACT Node
FL-IL-BK
2878816
IB IL 24 DI 4-ME 2863928
IB IL 24 DO 4-ME 2863931
WAGO Node
WAGO SYSTEM 750-340
2DI(+6BIT I)
75x-400
2DO(+6BIT O)
75x-501
University of Ruse
52
Configuration of a PROFINET IO System
Exercise

Task: Use the specified number of devices and IO addresses.
University of Ruse
53
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/2008
7. 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 (6ES71513BA23-0AB0), Manual, A5E01584258-04, SIEMENS 08/2010
10. 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/
University of Ruse
54
Configuration of a PROFINET IO System
Download