Profinet HW Config
-
Upload
redshobo85 -
Category
Documents
-
view
237 -
download
0
Transcript of Profinet HW Config
-
8/10/2019 Profinet HW Config
1/47
1University of Ruse Configuration of a PROFINET IO System
HARDWARE CONGIGURATION
PROFInetIE/PB Link
PROFINET
PROFIBUS
ET 200S with
IM151-1
SIEMENS
ET 200S
with IM151-3
WAGO System
750-340BECKHOFF
with BK9103
BECKHOFF
with BK3010PROFIBUS SLAVE DEVICES
PROFINET IO DEVICES
PHOENIX
CONTACT with
FL-IL-BK-PAC
IPC
Industrial Switch
SIEMENS
SCALANCE 208
PROFINET I/O ControlerSIEMENS S7-300
e.g. CPU 315F-2PN/DP
-
8/10/2019 Profinet HW Config
2/47
-
8/10/2019 Profinet HW Config
3/47
3University of Ruse Configuration of a PROFINET IO System
The PROFINET IO Device Model
Bus-Interface
(DAP)
SLOT 0 SLOT 1 SLOT 2
SUBSLOT
1=Channel1
SUBSLOT
1=Channel1
SUBSLOT
1=Channel1
SUBSLOT
1=Channel1
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 asub slot.
Each sub slot can contain I/O dataor 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".
-
8/10/2019 Profinet HW Config
4/47
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 toIO devices automatically.
Every Ethernet device has the same priority in the
network
Decentralfielddevices will be assigned to a controller
during network configuration The device description of the field devices is defined in
a GSD-file
SIMATIC HW-Config
Configuration Tool
1
PROFINET IO
DEVICE
PROFINET IO
CONTROLER2
3
1
2
3
-
8/10/2019 Profinet HW Config
5/47
-
8/10/2019 Profinet HW Config
6/47
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 00000000The zeros in the subnet mask
determine the host component
In the example, 256 stations withthe 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
-
8/10/2019 Profinet HW Config
7/47
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
-
8/10/2019 Profinet HW Config
8/47
8University of Ruse Configuration of a PROFINET IO System
Address Assignment with DCP (Discovery and Configuration Protocol)
Offline Configuration
Each Device receive a device
name(e.g. Siemens coupler)
Configuration tool
automatically assignsthe IP-Address
Device name is assigned to a
MAC-Address
Ethernet
MAC Addr 1
PROFINET IO
CONTROLER
MAC Addr 2
Online
Write device nameinto the device
2
1
Start up
IO Controller assigns
IP-Address to the
device
3
-
8/10/2019 Profinet HW Config
9/47
9University of Ruse Configuration of a PROFINET IO System
Address assignment
Using device names
Device names are saved on the MMC
Devices can be changed without PG/PC
No PROFINET IO without MMC
CPU:
The IP address is assigned using
the device names according to the
table
192.168.100.3
-
8/10/2019 Profinet HW Config
10/47
-
8/10/2019 Profinet HW Config
11/47
11University of Ruse Configuration of a PROFINET IO System
From Creating the project to Starting Hardware configuration Tool
Hardware Catalog and Insert new GSD File
Configure PROFINET IO Controller
Hardware configuration
Rack, Slots, Electronic Modules
Addressing S7-300 Modules
Configuration of the PROFINET interface
Assign parameter to PN Interface
Integrating the SCALANCE X208 into the PROFINET IO system
Assign Device name and IP Address Configuring Alarms
Configuring Media redundancy tab
Prioritized startup
Configuring the topology
Integrating the ET200S into the PROFINET IO system
Hardware Configuration Assigning a device name to the IO device ET 200S PN (Offline)
Assigning properties to PROFINET Interface.
-
8/10/2019 Profinet HW Config
12/47
-
8/10/2019 Profinet HW Config
13/47
13University of Ruse Configuration of a PROFINET IO System
Configure the system with STEP 7 (2)
HW_Config
Hardware Catalog
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
-
8/10/2019 Profinet HW Config
14/47
14University of Ruse Configuration of a PROFINET IO System
Configure the system with STEP 7 (3)
Configure PROFINET IO Controller
Rack, Slots, Electronic Modules
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
-
8/10/2019 Profinet HW Config
15/47
15University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (4)
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
-
8/10/2019 Profinet HW Config
16/47
16University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (5)
Configuration of the PROFINET interface
1. Select the module, the PROFINET interface
2. Assign a name to IO controller
3. Enter desired IP address and Subnet mask
4. confirm window with OK
1
2
3
4
-
8/10/2019 Profinet HW Config
17/47
-
8/10/2019 Profinet HW Config
18/47
18University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (7)
Integrating the SCALANCE X208 into the PROFINET IO system
-
8/10/2019 Profinet HW Config
19/47
19University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (8) Integrating the SCALANCE X208 into the PROFINET IO system
Assign Device name and IP Address
If you want to operate IESwitches 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 theWeb Based
Managementor by pressing
the button when you turn
on the power supply.
-
8/10/2019 Profinet HW Config
20/47
20University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (9) Integrating the SCALANCE X208 into the PROFINET IO system
Configuring Alarms
1 Select the switch
Doubleclick and open
"Object Properties"tab
2
3Adjust Alarms in Parameters tab
System default
-
8/10/2019 Profinet HW Config
21/47
21University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (10) Integrating the SCALANCE X208 into the PROFINET IO system
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-1
default-mrpdomain3
4
5
6
-
8/10/2019 Profinet HW Config
22/47
22University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (10) Integrating the SCALANCE X208 into the PROFINET IO system
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-1
default-mrpdomain3
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 a 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.
-
8/10/2019 Profinet HW Config
23/47
23University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (11) Integrating the SCALANCE X208 into the PROFINET IO system
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 mrpdomain1domain.
The start-up times for
Prioritized Start-Up are
reduced to 2 seconds.
-
8/10/2019 Profinet HW Config
24/47
24University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (12) Integrating the SCALANCE X208 into the PROFINET IO system
Configuring the topology
1Open dialog box
Select Topology tab2
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
-
8/10/2019 Profinet HW Config
25/47
25University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (12) Integrating the SCALANCE X208 into the PROFINET IO system
Configuring the topology - Continued
1Open dialog box
2 3
Ensure that the setting for the local port and the partner port are identical.
Configuring the system with STEP 7 (13)
-
8/10/2019 Profinet HW Config
26/47
26University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (13)
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
Configuring the system with STEP 7 (14)
-
8/10/2019 Profinet HW Config
27/47
27University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (14) Integrating the ET200S into the PROFINET IO system - Continued
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.
C fi i th t ith STEP 7 (15)
-
8/10/2019 Profinet HW Config
28/47
28University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (15)
Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface.
For the effects on the reaction
time with a setting "> 1 m",
refer to the relevant manual.
Configuring the system with STEP 7 (16)
-
8/10/2019 Profinet HW Config
29/47
29University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (16)
1
Double Click
2
3
This tab displays the
synchronization properties of
the IO controller.See slide 16
Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface
Synchronization tab
Configuring the system with STEP 7 (17)
-
8/10/2019 Profinet HW Config
30/47
30University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (17)
1
Double Click
2
Send clock set in the
sync domain.
See slide 16
Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface
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
Configuring the system with STEP 7 (17)
-
8/10/2019 Profinet HW Config
31/47
31University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (17)
Double Click
Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface
Prioritized startup
1
4
The check box can
only be selected if
the IO controller you
are using can
prioritize selected IO
devices duringstartup. Within a PROFINET IO system, you can only prioritizea certain maximum number of IO devices that depends
on the IO controller you are using.
2 3
-
8/10/2019 Profinet HW Config
32/47
Configuring the system with STEP 7 (19)
-
8/10/2019 Profinet HW Config
33/47
33University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (19) Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface.
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.
Configuring the system with STEP 7 (20)
-
8/10/2019 Profinet HW Config
34/47
34University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (20) Integrating the Non SIEMENS PROFINET IO Devices
Insert GSD files in Hardware catalog (see 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 (see slide 29)
Adjust Parameter tab
Example refers to WAGO
System 750/753
For first Input
module
For the following
input modules
Configuring the system with STEP 7 (20)
-
8/10/2019 Profinet HW Config
35/47
35University of Ruse Configuration of a PROFINET IO System
Configuringthe system with STEP 7 (20) Integrating the Non SIEMENS PROFINET IO Devices - Continued
Insert GSD files in Hardware catalog (see 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 (see slide 29)
Adjust Parameter tab
Example refers to
WAGO System
750/753
Configuringthe system with STEP 7 (20)
-
8/10/2019 Profinet HW Config
36/47
36University of Ruse Configuration of a PROFINET IO System
g g y ( ) Integrating the Non SIEMENS PROFINET IO Devices - Continued
Insert GSD files in Hardware catalog (see 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 (see 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.
-
8/10/2019 Profinet HW Config
37/47
Configuringthe system with STEP 7 (21)
-
8/10/2019 Profinet HW Config
38/47
38University of Ruse Configuration of a PROFINET IO System
g g y ( ) Integration of IE/PB Link PN IO
Configuringthe system with STEP 7 (21)
-
8/10/2019 Profinet HW Config
39/47
39University of Ruse Configuration of a PROFINET IO System
Integration of IE/PB Link PN IO
1
2
3
Configuringthe system with STEP 7 (20)
-
8/10/2019 Profinet HW Config
40/47
40University of Ruse Configuration of a PROFINET IO System
Properties: IE/PB Link
the highest
unassigned
number
Configuringthe system with STEP 7 (20)I t ti f DP l
-
8/10/2019 Profinet HW Config
41/47
41University of Ruse Configuration of a PROFINET IO System
Integration of DP slaves
-
8/10/2019 Profinet HW Config
42/47
42University of Ruse Configuration of a PROFINET IO System
Switching the PG interface on the network card from the "Ethernet" type
Node initialization for the IO controller, i.e. assign the IP address to the IO
controller
Configure the PROFINET IO system by assigning the device names for all
IO devices
Transfer device names for each individual IO device to them one-by-one
Transfer hardware configuration of the overall system to the IO controller
Transfer S7 program to the IO controller
-
8/10/2019 Profinet HW Config
43/47
Exercise 1
-
8/10/2019 Profinet HW Config
44/47
44University of Ruse Configuration of a PROFINET IO System
Exercise 1
Task:Create Profinet IO project with the following configuration:
Exercise 1
-
8/10/2019 Profinet HW Config
45/47
45University of Ruse Configuration of a PROFINET IO System
Task:Create PROFINET IO project with shown configuration
Industrial Ethernet: Ethernet(1) contains
the following network connections:
PROFIBUS: PROFIBUS(1) contains the
following network connections:
-
8/10/2019 Profinet HW Config
46/47
46University of Ruse Configuration of a PROFINET IO System
-
8/10/2019 Profinet HW Config
47/47