1 University of Ruse Configuration of a PROFINET IO System HARDWARE CONGIGURATION PROFInet IE/PB...
-
Upload
gervais-flynn -
Category
Documents
-
view
227 -
download
2
Transcript of 1 University of Ruse Configuration of a PROFINET IO System HARDWARE CONGIGURATION PROFInet IE/PB...
1University of Ruse Configuration of a PROFINET IO System
HARDWARE CONGIGURATION
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 ControlerSIEMENS 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 Exchange
PROFINET I/O Controler Application prgram 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,Dignostics
PROXY
PROFIBUS
PROFIBUS SLAVE DEVICES
Parameterization,DiagnosisConfiguration,
Production data,
Alarms
Read and writeIO data
3University of Ruse Configuration of a PROFINET IO System
The 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
Decentralfield 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
Addressing of a PROFINET IO DEVICE therefore in total 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 should reflect the
relevant plant part for convenience reasons. 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 in terms of 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 in terms of 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 receive 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
• 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
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
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.
12University of Ruse Configuration of a PROFINET IO System
Configure the system with STEP 7 (1)
storage location
project name
1
2 Insert Station
starting the hardware configuration tool
3
generate a new project
From Creating the project to Starting Hardware configuration Tool
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
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
15University of Ruse Configuration of a PROFINET IO System
Configuring the 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
16University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 (5) 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 system with STEP 7 (6) Assign parameter to PN Interface
18University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 (7) Integrating the SCALANCE X208 into the PROFINET IO system
19University of Ruse Configuration of a PROFINET IO System
Configuring the 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 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
Configuring the system with STEP 7 (9) Integrating the SCALANCE X208 into the PROFINET IO system 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
Configuring the 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-1default-mrpdomain
3
4
5
6
22University of Ruse Configuration of a PROFINET IO System
Configuring the 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-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 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.
23University of Ruse Configuration of a PROFINET IO System
Configuring the 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 “mrpdomain1“ domain.
The start-up times for Prioritized Start-Up are reduced to 2 seconds.
24University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 (12) Integrating the SCALANCE X208 into the PROFINET IO system 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
Configuring the 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.
26University of Ruse Configuration of a PROFINET IO System
Configuring the 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
27University of Ruse Configuration of a PROFINET IO System
Configuring the 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 anIO device can be uniquely assigned to an IO controller.
28University of Ruse Configuration of a PROFINET IO System
Configuring the 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.
29University of Ruse Configuration of a PROFINET IO System
Configuring the 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
30University of Ruse Configuration of a PROFINET IO System
Configuring the 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
31University of Ruse Configuration of a PROFINET IO System
Configuring the 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 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
Configuring the system with STEP 7 (18) Integrating the ET200S into the PROFINET IO system - Continued Assigning a properties to PROFINET Interface.
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
Configuring the 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.
34University of Ruse Configuration of a PROFINET IO System
Configuring the 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
35University of Ruse Configuration of a PROFINET IO System
Configuring the 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
36University of Ruse Configuration of a PROFINET IO System
Configuring the 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
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
Configuring the system with STEP 7 (21) 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
Configuring the system with STEP 7 (21) Integration of IE/PB Link PN IO
39University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 (21) Integration of IE/PB Link PN IO
1
2
3
40University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 (20) Properties: IE/PB Link
the highest unassigned number
41University of Ruse Configuration of a PROFINET IO System
Configuring the system with STEP 7 (20) Integration of DP slaves
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
43University of Ruse Configuration of a PROFINET IO System
Exercise 1
Task: Create Profinet IO project with the following configuration:
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 CONTAKT 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
44University of Ruse Configuration of a PROFINET IO System
Exercise 1
Task: Create Profinet IO project with the following configuration:
45University of Ruse Configuration of a PROFINET IO System
Exercise 1
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:
46University of Ruse Configuration of a PROFINET IO System
47University of Ruse Configuration of a PROFINET IO System
ОБЩИ ПОЛОЖЕНИЯ
Application Program
Process ImageInputs
Process Image
Outputs
GSDML
PROFIBUS Configuration Tool