Professional Documents
Culture Documents
Profinet: System Description
Profinet: System Description
System Description
Technology and Application
In todays automation technology, mo- Besides the real-time capability and For plant and machine manufacturers,
reover, Ethernet and information tech- the use of IT technology, protection the use of PROFINET minimizes the
nology (IT) is increasingly calling the of investment also plays an important costs for installation, engineering, and
shots with established standards like role in PROFINET. PROFINET allows commissioning. For plant operators,
TCP/IP and XML. The integration of existing fieldbus systems such as PROFINET offers ease of plant expan-
information technology into automa- PROFIBUS DP, PROFIBUS PA, AS- sion and high system availability due
tion is opening up opportunities for Interface, INTERBUS, and DeviceNet to autonomously running plant units
significantly improved communication to be integrated without changes to and low maintenance requirements.
between automation systems, far-ran- existing field devices. That means that
ging configurations and diagnostics, the investments of plant operators, The mandatory certification for PRO-
and network-wide service functions. machine and plant manufacturers, FINET devices ensures a high quality
These functions have been integral and device manufacturers are all pro- standard.
components of PROFINET from the tected.
outset.
Contents
The following addressing options Figure 2.2: I/O data are addressed in PROFINET on the basis of slots and
are standardized: subslots.
The slot designates the physical slot
of an I/O module in a modular I/O field For acyclic data traffic via read/write 2.3 Communication in
device in which a module described in services, an application can specify PROFINET IO
the GSD file is placed. The configured the exact data to be addressed using
modules containing one or more slot, subslot. For demand-oriented PROFINET IO provides protocol defi-
subslots (actual I/O data) for data ex- data exchange, the third addressing nitions for the following services:
change are addressed on the basis of level, i.e., the index is added. The in-
the different slots. dex defines the function that is to be Address resolution for field
initiated via the slot/subslot combina- devices
Within a slot, the subslots form the tion (e.g., reading of input data of a
actual interface to the process (inputs/ subslot, reading of I&M functions, rea- Cyclic transmission of I/O data
outputs). The granularity of a subslot ding of actual/desired configuration, (RT and IRT)
(bitwise, bytewise, or wordwise divisi- etc.).
on of I/O data) is determined by the Acyclic transmission of alarms to
manufacturer. The data content of a be acknowledged
subslot is always accompanied by sta- 2.2 Application process
tus information, from which the validity identifier (API) Acyclic transmission of data
of the data can be derived. (parameters, detailed diagnostics,
To prevent the possibility of competing I&M data, information functions,
The index specifies the data within a accesses in the definition of user pro- etc.) on an as needed basis.
slot/subslot that can be read or written files (e.g., for PROFIdrive, weighing
acyclically via read/write services. For and dosing, etc.), it is appropriate Redundancy mode for realtime
example, parameters can be written to define not only slots and subslots frames
to a module or manufacturer-specific but also an additional addressing le-
module data can be read out on the vel, i.e., the API (Application Process The combination of these communica-
basis of an index. Identifier/Instance). This degree of tion services in the higher-level con-
freedom enables different applica- troller makes it possible to implement
The device model is shown below for tions to be handled separately in order convenient system diagnostics, topo-
a modular IO-Device configuration to prevent overlapping of data areas logy detection, and device replace-
(bus interface and three input/output (slots and subslots). ment, among other things.
modules).
Many communication services in PRO-
The manufacturer uses definitions in FINET occur in real time. Therefore, a
the GSD file to describe the number more detailed explanation of real-time
of slots/subslots an IO-Device can communication in PROFINET will be
process. provided next.
Standard Ethernet communication 2.5 Real-time classes in A deliberate decision was made here
via TCP(UDP)/IP communication is PROFINET IO to eliminate the management infor-
sufficient for data communication in mation of UDP/IP and RPC. The RT
some cases. In industrial automation, To enable enhanced scaling of com- frames received are already identi-
however, requirements regarding time munication options and, thus, also of fied upon receipt using the Ethertype
behavior and isochronous operati- determinism in PROFINET IO, real-ti- (0x8892) and forwarded to the RT
on exist that cannot be fully satisfied me classes have been defined for data channel for immediate processing.
using the UDP/IP channel. exchange. From the user perspective,
these classes involve unsynchronized Industrial standard switches can be
A scalable real-time concept is the and synchronized communication. used in this RT class.
solution for this. With RT, this concept The details are managed by the field
can be realized with standard net- devices themselves. RT_CLASS_2: frames can be trans-
work components, such as switches mitted via synchronized or unsyn-
and standard Ethernet controllers. RT Real-time frames are automatically chronized communication. Unsyn-
communication takes place without prioritized in PROFINET compared to chronized communication in this case
TCP/IP information. UDP/IP frames. This is necessary in can be viewed exactly the same as
order to prioritize the transmission of RT_CLASS_1 communication.
The transmission of RT data is based data in switches to prevent RT frames
on cyclical data exchange using a from being delayed by UDP/IP frames. In synchronized communication, the
provider/consumer model. The com- PROFINET IO differentiates the fol- start of a bus cycle is defined for all
munication mechanisms of layer 2 lowing classes for RT communication. nodes. This specifies exactly the allo-
(according to the ISO/OSI model) are They differ not in terms of performance wable time base for field device trans-
sufficient for this. For optimal proces- but in determinism. mission. For all field devices participa-
sing of RT frames within an IO-De- ting in RT_CLASS_2 communication,
vice, the VLAN tag according to IEEE RT_CLASS_1: Unsynchronized RT this is always the start of the bus
802.1Q (prioritization of data frames) communication within a subnet. No cycle. PROFINET-suitable switches
has been supplemented with a special special addressing information is re- must support this synchronization for
Ethertype that enables fast channeli- quired for this communication. The this communication class. This type
zation of these PROFINET frames in destination node is identified using of data transmission, which has been
the higher-level software of the field the Dest. Addr. only. Unsynchronized designed for performance, brings with
device. RT communication within a subnet is it specific hardware requirements
the usual data transmission method (Ethernet controller/switch with sup-
Ethertypes are allocated by IEEE and in PROFINET IO. If the RT data traf- port of isochronous operation).
are therefore an unambiguous criteri- fic has been restricted to one subnet
on for differentiation among Ethernet (same network ID), this variant is the RT_CLASS_3: Synchronized commu-
protocols. Ethertype 0x8892 is speci- simplest. This communication path nication within a subnet. During syn-
chronized RT_CLASS_3 communica-
tion, process data are transmitted with
maximum precision in an exact order
specified during system engineering
(maximum allowable deviation from
start of bus cycle of 1 s). With the
aid of topology-optimized data trans-
mission, this is also referred to as IRT
functionality (Isochronous Real-Time).
In RT_CLASS_3 communication, the-
re are no wait times. In order to take
advantage of the data transmission
designed for maximum performance,
special hardware requirements app-
ly (Ethernet controller with support of
isochronous operation).
Figure 4.1: Definitions in the GSD file are assigned to IO-Devices when configuring the plant.
Figure 5.4: PROFINET supports convenient device replacement and display of plant topology.
5.5 Communication during Figure 5.6 shows the power-up se- If all data structures are created in the
connection establishment quence of an IO-Device. IO-Device and the necessary checks
and parameterization have been made, it sends a CControl.
During system power-up, the following req to the IO-Controller to signal its
System power-up in an automation sy- is established: cyclic I/O data, alarms, readiness for productive data traffic
stem with PROFINET IO is initiated by exchange of acyclic read/write ser- (Application Ready. From the per-
the IO-Controller. The frames presen- vices, expected modules/submodules, spective of the IO-Device, communi-
ted below are always transacted via and any needed cross connections cation is now established. When the
the UDP/IP channel according to the between IO-Devices. IO-Controller acknowledges the
following scheme:
The IO-Controller or IO-Supervisor Application Ready, communication is
Connect frame: Establishment of uses the Connect frame to start the established from the perspective of the
an AR and the configured CRs. connection establishment and to trans- IO-Controller as well. If the IO-Device
fer all data required to establish an AR has discovered errors during parame-
Write frame: Parameterizing of all and the necessary CRs. It contains terization, it signals these errors to the
configured submodules. the relevant parameterization data IO-Controller. The first successful ex-
as well as the order, the process data change of I/O data marks the end of
DControl frame: End detection of traffic, and the monitoring time for the the power-up.
parameterization of the IO-Con- power-up. The transmission frequen- Following successful system power-
troller (also called EndOfParame- cy of cyclic I/O data is specified during up, the following can be exchanged:
terization). plant engineering.
Cyclic process data
CControl frame: End detection of The IO-Controller uses the subse-
parameterization of the IO-Device quent Write frames to parameterize Alarms
(also called Application Ready). the configured submodules that serve
as the data interface to the process. Acyclic data traffic
Green interval
For forwarding of data frames in swit-
ches, the rules defined in IEEE 802.1D
apply. Prioritization can occur based
on IEEE 802.1Q (VLAN tag).
If IRT frames arrive during the green
interval, they are destroyed and an
alarm message is generated. The im-
portant thing is that no jobs are still
active at the end so that the reserved
interval can start unhindered. A green
interval does not have to exist within
a phase.
Yellow interval
For forwarding data frames in swit-
ches, the rules defined in IEEE 802.1D
may be disabled to ensure the start of
the next reserved phase. Prioritiza-
tion can occur based on IEEE 802.1Q
(VLAN tag).
Figure 6.3: Each IRT domain uses its own clock to synchronize the nodes.
Alarm handling
Acyclic services
Parameterizing (transmitting
power-up data, transmitting
recipes and user parameteriza-
tion of the assigned IO-Devices)
Transmission frequency
Figure 7.3: An iPar server allows backed up data to be reloaded automatically when a device is replaced.
Figure 7.4: During device replacement the iPar server parameterizes the new field device.
Figure 10.1: Star and line topologies can be combined with Ethernet/PROFI-
NET connection systems.
Requirements
Compared with production automa-
tion, process automation has a few
particularities that co-define the use of
automation to a large extent: Systems
can have a service life of many de-
cades. In addition, systems are often
associated with a high hazard potenti-
al and therefore require special safety
considerations. As a result, devices
and systems with well-proven field
records are used preferentially. This
gives rise to a requirement, on the
part of systems operators, for older
and newer technologies to coexist in
such a way that they are functionally
compatible.
Figure 13.1: Example architecture for use of PROFINET in process automation.
A very simple example of such a plant Figure 15.2: Technological module consists of mechanics, electronics, and
structure is a conveyor belt on which software.
different sequences are performed at
corresponding work stations. Each
downstream work step assumes that systems are significantly more econo- electronics, and the controller logic/
the upstream work step was perfor- mical to create and maintain over their software as part of the manufacturing
med properly. In modern production entire life cycle. process of products. For this reason,
lines, such sequences (plant units) PROFINET defines the functional
are automated. Figure 15.1 shows a In similar industrial sectors such as aspects associated with a logical pro-
section of such a production plant in the beverage industry, automotive ma- duction step, consisting of
the beverage industry. nufacturing, etc., the sequences are
quite similar among different plants mechanics,
The different plant units (machines) such that plant units can be adopted in electrics/electronics, and
can be developed, tested, and com- some cases with only minor modifica- controller logic/software,
missioned by one or more manufac- tions or, ideally, without modifications.
turers. as a related unit, i.e., the technological
module. A technological module thus
represents a plant-specific portion of
the mechanical system, the required
controller electronics, and the associ-
ated software program.
15.7 Software stack for the The PROFINET kernel, DCOM, and 15.8 PROFINET CBA and
component model RPC are an integral part of the runtime PROFINET IO
software for the component model.
A software stack (runtime software) for The user can also select whether to In some automation systems, it may be
the component model is available from use the DCOM wire protocol integrated appropriate to combine the strengths of
PI. It is free of charge for PI members. in the PROFINET stack or the original both perspectives on PROFINET. For
In addition to the software stack, there DCOM of Microsoft. If real-time capa- example, a subunit can be implemen-
is a Windows 32 example application, bility is also desired in the application, ted with deterministic communication
which is available in the source code. the software can be expanded to in- via PROFINET IO with IRT functionali-
This version is more suited to test clude the real-time channel. During ty. The subunits are then combined to
systems since a Windows version is the system power-up, the respective form an overall PROFINET unit using
a rather infrequent occurrence in au- communication partner then negotia- PROFINET CBA. The advantages are
tomation engineering. If the software tes the desired communication path easy to appreciate, since subunits can
must be adapted to another operating (component-oriented or real-time). In be prepared and tested accordingly.
system, the associated implementati- the data frame, the EtherType indi- The graphics-based configuration in
on instructions guide you step by step cates the frame type involved. the vendor-neutral engineering tool for
through the individual adaptation mo- PROFINET CBA can then be used to
dules for integrating the software into easily combine the units locally. This
the target system. A component editor ensures problem-free commissioning.
and a test tool complete the PROFI-
NET software stack for the component
model.
Figure 15.9: Combining PROFINET IO and PROFINET CBA provides maximum flexibility in
plant configuration.
Figure 17.1: Access to PROFINET data is possible via standard Web services.
The core of the security concept is in The reliability of the network operati- When standard switches are used, the
the security-motivated segmentation on has a very high priority in network switch directly forwards the diagnostic
of the automation network. Thus, pro- management. In existing networks, information from the connected PRO-
tected automation cells are formed. the Simple Network Management Pro- FINET devices to the controller. Ho-
The network nodes within a cell are tocol (SNMP) has been implemented wever, a switch can also be configured
protected by special security network as the de-facto standard for mainte- as a IO-Device and relay the detected
components (e.g., switches or security nance and monitoring of network com- network errors of a lower-level Ether-
appliances) that control the data traffic ponents and their functions. In order to net line directly to the controller. The
from and to the cell and check access monitor PROFINET devices with esta- user can also use an additional SNMP
privileges. Only authorized data traffic blished management systems as well, channel for transmitting the dia-
is allowed to pass. A special security it is useful to implement SNMP. SNMP gnostics data.
client software can be used for the provides for both read access (moni-
access with client PCs to secure au- toring, diagnostics) and write access
tomation devices. The terminals thus (administration) to a device.
require no security functionality of
their own. In PROFINET, only read access to
device parameters has been initially
specified. Like the DHCP of IP ma-
17.3 Network management nagement, SNMP will also be optio-
nal (mandatory for CC-B and CC-C).
Network management includes all When SNMP is implemented in com-
functions for the administration of the ponents, only the standard information
network, such as configuration (assi- usual for SNMP (MIB 2) is accessed.
gnment of IP addresses), error moni- Specific diagnostics of PROFINET
toring (diagnostics), and performance components is possible using the me-
optimization. chanisms described in the PROFINET
specification. In this regard, SNMP will
not open another diagnostic path but
17.4 IP management rather enable integration into network
management systems that generally
The use of TCP/UDP and IP in PRO- do not process PROFINET-specific
FINET requires that PROFINET de- information. The SNMP software can
vices, as network nodes, be assigned be integrated in the PROFINET stack
an IP address. at the user level and used without re-
strictions.
Address assignment with manufac-
turer-specific configuring system: This
alternative is required since a network
management system is not always
available. In PROFINET, the DCP
protocol (Discovery and Configuration
Protocol) is specified, which enables
IP parameters to be assigned with
manufacturer-specific configuring/
programming tools or during system-
wide engineering. As an integral com-
ponent for PROFINET devices, DCP
guarantees uniform behavior of all
PROFINET devices.
IEC 62264 divides MES into the fol- 18.2 Maintenance state 18.3 Identification
lowing four operations:
In terms of maintenance, the ap- Besides the maintenance state, the
Maintenance operations proach of state-based maintenance capability of devices and components
is currently gaining significance. It is to provide up-to-date type plate infor-
Production operations based on the capability of devices and mation and the information needed
components to determine their states for functional and local assignment is
Quality operations and to communicate them by means an important requirement for support
of agreed mechanisms. of MES maintenance operations.
Inventory operations PROFINET devices signal their state The functions defined in the Iden-
to higher-level devices in a stan- tification & Maintenance Functions
Since the topic of maintenance has dardized format. This is based on a (I&M) document are therefore also
great significance in both production state model, which besides the states mandatory for PROFINET devices.
and process automation, maintenance good and defective also defines the
operations are supported by PROFI- two pre-warning levels maintenance
NET. The result is a corresponding do- needed and maintenance required.
cument in which, among other things,
the information content important for
an MES interface is defined.
Load tests
21.2 Membership
AR Application Relation Logical application relation between two nodes; can include one or more
communication relations.
Client/ Principle of establishment The network node that accepts the connection is called the client. Whereas,
Server of connections a server is the node for which a connection is established.
Component PROFINET Component Software representation of a technological module with defined functiona-
lity. An automation system consists of various PROFINET components. A
PROFINET component generally contains a technological function that is
supplied by a device or machine.
Component Functional extension of a manufacturer-specific configuration tool to gene-
Generator rate the XML-based PROFINET Component Description (PCD).
CR Communication Relation Logical communication relation (channel) between two nodes that are ope-
rated with a specific protocol.
DCP Discovery and Basic Defines the assignment of IP parameters using manufacturer-specific con-
Configuration figuration/programming tools or during system-wide engineering, e.g. in the
PROFINET interconnection editor.
DHCP Dynamic Host Configurati- De facto standard for the dynamic assignment and administration of IP
on Protocol addresses from a predefined range.
ERP Enterprise Ressource
Ethernet Protected trademark of Ethernet is standardized and describes the physical and data link layers of
Xerox a network.
Ethertype Component of an Ethernet frame that indicates the protocol type. Ethertypes
are allocated by IEEE and are therefore a unique criterion for differentiation
among Ethernet protocols. In PROFINET, RT communication within a net-
work is identified by Ethertype 0x8892.
Gateway Connection between two networks with different software and hardware
GSD General Station A GSD (General Station Description) contains the GSDML-based description
Description of the characteristics of I/O devices, such as communications parameters,
as well as the number, type, configuration data, parameters, and diagnostic
information of modules.
GSDML General Station GSDML is the description markup language for creating a GSD file for PRO-
Description FINET IO-Devices. It is XML-based.
Markup Language
HMI Human Machine Interface Appearance of a system on the operator control and monitoring platform
HTML Hypertext Markup Document description language
Language
HTTP Hypertext Transfer Application protocol used on the Internet.
Protocol
I&M Identification and I&M functions are general information functions about devices, such as
Functions Maintenance Functions manufacturer, version, ordering data, etc.
Interconneti- Manufacturer-independent engineering tool for the configuration of system-
on editor wide applications. The interconnection editor combines the individual distri-
buted applications together system wide using a graphics-based format.
IO-Controller Device (typically a controller) that initiates the I/O data traffic.
IO-Device Decentrally located field device assigned to an IO-Controller.
IO- Programming device/PC with commissioning and diagnostic functionality in
Supervisor PROFINET IO.
IP Internet Protocol Connectionless protocol for transmission of data frames. IP is often used in
combination with TCP in order to ensure secure data transmission.
IRT Isochronous Real-Time Isochronous real-time channel for particularly stringent requirements of,
for instance, motion control applications (clock-synchronized applications).
When implemented in hardware, clock rates of under 1 ms and a jitter
precision of 1 s can be achieved.
Runtime Runtime Name of the status of a system in operation, as opposed to the status of
the system during engineering.
SNMP Simple Network Ma- A TCP/IP-based communications protocol for maintenance and monitoring
nagement Protocol of network components.
RT Real-Time Real-time channel for the transmission of time-critical process data within
the production system in the area of factory automation. May be implemen-
ted in software based on existing controllers.
Switch- Technology for the segmentation of an Ethernet network into different sub-
Technology nets; serves to avoid collisions and to better utilize bandwidth.
TCP Transmission Control Communication protocol for the transfer of data between local networks.
Protocol/Internet Pro- TCP is connection-oriented and is used for communications on the Internet.
tocol TCP is usually used in combination with IP (TCP/IP).
UDP User Datagram Protocol Transport protocol with broadcast characteristics, suitable for transmission
of time-critical I/O data
VLAN Tag Virtual local network For preferential communication of RT data, a so-called VLAN tag is inserted
containing a priority level for the frame, thereby bringing about the preferred
forwarding in switches.
XML Extensible Markup Definition of a structured data description
Language
Publisher
PROFIBUS Nutzerorganisation e.V.
Haid-und-Neu-Strae 7
76131 Karlsruhe
Germany
Phone: +49 721 96 58 590
Fax : +49 721 96 58 589
info@profibus.com
Exclusion of liability
Although the PROFIBUS Nutzerorganisation has taken the utmost care in compiling the information contained in this bro-
chure, it cannot guarantee that the content is completely error-free, and the PROFIBUS Nutzerorganisation can assume
no liability, regardless of the legal basis for any potential claims. The information in this brochure is reviewed on a regular
basis. Any necessary corrections will be made in subsequent editions. We would be grateful for any suggestions as to how
the content could be improved.
Any designations that appear in this brochure could potentially constitute trademarks. Any use of such trademarks by third
parties for their own ends risks infringing the rights of the proprietors concerned.
This brochure is not intended as a substitute for IEC 61158 or IEC 61784 or for the PROFIBUS guidelines and profiles; in
case of doubt, reference must always be made to these official sources of information.
More information:
Copyright by PNO 04/09 all rights reserved, PNO-4.132
www.profibus.com
www.profinet.com