You are on page 1of 47

HARDWARE CONGIGURATION

PROFINET I/O Controler


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

BECKHOFF
with BK3010

PROFIBUS SLAVE DEVICES

University of Ruse

Configuration of a PROFINET IO System

PROFINET IO communication model


PROFINET IO SUPERVISORS

Visualization and
Parameterization Web Application

Network
Management

Engineering

Commissioning,
Dignostics
Diagnosis,
Upload/Download

TCP/IP on
Ethernet

PROFINET I/O Controler


Application prgram with access to
process signals via process image

Ethernet
Cyclic data
Exchange

IRT

Configuration,
Production data,
Alarms

Parameterization,
Diagnosis

PROXY

PROFIBUS

PROFINET IO DEVICES
Read and write
IO data

PROFIBUS SLAVE DEVICES

University of Ruse

Configuration of a PROFINET IO System

The 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

Configuration of a PROFINET IO System

From GSD import to exchange of data


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-Config
Configuration Tool

PROFINET IO
CONTROLER

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

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.

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.

University of Ruse

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

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

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 receive a device
name (e.g. Siemens coupler)
Online
Write device name
into the device

Configuration tool
automatically assigns the IPAddress

PROFINET IO
CONTROLER

Ethernet

3
Start up
IO Controller assigns
IP-Address to the
device

University of Ruse

MAC Addr 2
MAC Addr 1

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

University of Ruse

192.168.100.3

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

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.

University of Ruse

11

Configuration of a PROFINET IO System

Configure the system with STEP 7 (1)


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

Configure the system with STEP 7 (2)

HW_Config
Hardware Catalog
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

Configure the system with STEP 7 (3)

Configure PROFINET IO Controller


Rack, Slots, Electronic Modules
plain list

Hardware catalog

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 system with STEP 7 (4)

Addressing S7-300 Modules

Slot No.

Modules

PS

CPU

SM

SM SM

SM

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 system with STEP 7 (5)

Configuration of the PROFINET interface

1
2

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

16

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (6)

Assign parameter to PN Interface

University of Ruse

17

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (7)

Integrating the SCALANCE X208 into the PROFINET IO system

University of Ruse

18

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.

University of Ruse

19

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

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

Configuring the system with STEP 7 (10)

Integrating the SCALANCE X208 into the PROFINET IO system


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

Configuring the system with STEP 7 (10)

Integrating the SCALANCE X208 into the PROFINET IO system


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 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.

University of Ruse

22

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

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

Configuring the system with STEP 7 (12)

Integrating the SCALANCE X208 into the PROFINET IO system


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

Configuring the system with STEP 7 (12)

Integrating the SCALANCE X208 into the PROFINET IO system


Configuring the topology - Continued
2

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

Configuring the system with STEP 7 (13)

Integrating the ET200S into the PROFINET IO system


Select IO
Device

Power Module

Output addresses,
band model
Input addresses,
band model

University of Ruse

Select IO
Modules

26

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 an


IO device can be uniquely assigned to an IO controller.

University of Ruse

27

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.

University of Ruse

28

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (16)


Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface
This tab displays the
Synchronization tab
synchronization properties of
the IO controller.
See slide 16

Double Click

University of Ruse

29

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (17)


Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface
IO Cycle Tab
Double Click

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

Configuring the system with STEP 7 (17)


Integrating the ET200S into the PROFINET IO system - Continued
Assigning a properties to PROFINET Interface

Prioritized startup
Double Click

The check box can


only be selected if
the IO controller you
are using can
prioritize selected IO
devices during
startup.

University of Ruse

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

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

University of Ruse

32

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.

University of Ruse

33

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

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

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

University of Ruse

35

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
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

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 or


as a network transition, a reset to factory settings is always necessary.

University of Ruse

37

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (21)


Integration of IE/PB Link PN IO

University of Ruse

38

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (21)


Integration of IE/PB Link PN IO

University of Ruse

39

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (20)


Properties: IE/PB Link

the highest
unassigned
number

University of Ruse

40

Configuration of a PROFINET IO System

Configuring the system with STEP 7 (20)


Integration of DP slaves

University of Ruse

41

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

University of Ruse

42

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-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 CONTAKT 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

43

Configuration of a PROFINET IO System

Exercise 1

Task: Create Profinet IO project with the following configuration:

University of Ruse

44

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:

University of Ruse

45

Configuration of a PROFINET IO System

University of Ruse

46

Configuration of a PROFINET IO System

Process
Image
Inputs
Application
Program
Process
Image
Outputs

GSDML

PROFIBUS
Configuration Tool

University of Ruse

47

Configuration of a PROFINET IO System

You might also like