Professional Documents
Culture Documents
Version 4.0
PROFIBUS
and
PROFINET
PROFIdrive Profile
Version 4.0
August 2005
Version 4.0
The attention of adopters is directed to the possibility that compliance with or adoption of PI (PROFIBUS
International) specifications may require use of an invention covered by patent rights. PI shall not be
responsible for identifying patents for which a license may be required by any PI specification, or for conducting
legal inquiries into the legal validity or scope of those patents that are brought to its attention. PI specifications
are prospective and advisory only. Prospective users are responsible for protecting themselves against liability
for infringement of patents.
NOTICE:
The information contained in this document is subject to change without notice. The material in this document
details a PI specification in accordance with the license and notices set forth on this page. This document does
not represent a commitment to implement any portion of this specification in any company's products.
WHILE THE INFORMATION IN THIS PUBLICATION IS BELIEVED TO BE ACCURATE, PI MAKES NO
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL INCLUDING, BUT
NOT LIMITED TO ANY WARRANTY OF TITLE OR OWNERSHIP, IMPLIED WARRANTY OF
MERCHANTABILITY OR WARRANTY OF FITNESS FOR PARTICULAR PURPOSE OR USE.
In no event shall PI be liable for errors contained herein or for indirect, incidental, special, consequential,
reliance or cover damages, including loss of profits, revenue, data or use, incurred by any user or any third
party. Compliance with this specification does not absolve manufacturers of PROFIBUS or PROFINET
equipment, from the requirements of safety and regulatory agencies (TV, BIA, UL, CSA, FCC, IEC, etc.).
PROFIBUS and PROFINET logos are registered trade marks. The use is restricted for
members of Profibus International. More detailed terms for the use may be found on the
web page www.profibus.com/libraries.html. Please select button "Presentations &
logos".
In this specification the following key words (in bold text) will be used:
Publisher:
PROFIBUS Nutzerorganisation e.V.
Haid-und-Neu-Str. 7
D-76131 Karlsruhe
Phone: +49 721 / 96 58 590
Fax: +49 721 / 96 58 589
E-mail: pi@profibus.com
Web site: www.profibus.com
No part of this publication may be reproduced or utilized in any form or by any means, electronic or
mechanical, including photocopying and microfilm, without permission in writing from the publisher.
Version 4.0
Content
1 General ........................................................................................................................17
1.1 Background .........................................................................................................17
1.1.1 Requirements ..........................................................................................17
1.1.2 Goals of the PROFIdrive Profile................................................................18
1.1.3 New Functions of Version 4 ......................................................................18
1.1.4 Structure of the Document........................................................................18
1.2 Definitions ...........................................................................................................19
2 Integration of drives in automation systems ...................................................................20
2.1 General ...............................................................................................................20
2.2 Base Model .........................................................................................................20
2.2.1 Communication Devices ...........................................................................20
2.2.2 Communication Relationship ....................................................................20
2.2.3 Communication Network...........................................................................21
2.2.4 Functional Object .....................................................................................22
2.2.5 Object Model ...........................................................................................23
2.2.6 Layer Model .............................................................................................24
2.2.7 Communication Services ..........................................................................25
2.2.7.1 General .....................................................................................25
2.2.7.2 Cyclic Data Exchange ................................................................25
2.2.7.3 Acyclic Data Exchange ..............................................................25
2.2.7.4 Alarm Mechanism ......................................................................25
2.2.7.5 Clock Synchronous Operation ....................................................26
2.2.7.6 Base Model State Machine.........................................................28
2.3 Drive Model .........................................................................................................29
2.3.1 Drive Unit ................................................................................................29
2.3.2 Drive Object.............................................................................................29
2.3.3 Axis type Drive Object ..............................................................................31
2.3.4 Drive Unit classification ............................................................................32
2.4 Application Model and Application Classes...........................................................33
2.4.1 AC 1: Standard Drive ...............................................................................34
2.4.2 AC 2: Standard drive with distributed technology controller .......................35
2.4.3 AC 3: Single Axis positioning drive with local Motion Control .....................36
2.4.4 AC 4: Motion Control with central interpolation and speed setpoint
interface ..................................................................................................37
2.4.5 AC 5: Motion Control with central interpolation and position setpoint
interface ..................................................................................................38
2.4.6 AC 6: Motion Control for clocked processes, or distributed angular
synchronism ............................................................................................39
3 Parameter model ..........................................................................................................40
3.1 Parameter definition ............................................................................................40
3.1.1 Parameter value ......................................................................................40
3.1.2 Parameter description ..............................................................................40
3.1.3 Text .........................................................................................................45
3.2 Data types ...........................................................................................................46
3.2.1 Data types overview .................................................................................46
3.2.2 Profile-specific data types ........................................................................47
Version 4.0
Version 4.0
Version 4.0
Version 4.0
Version 4.0
Version 4.0
Figures
Figure 1 Basic structure of the document..........................................................................19
Figure 2 PROFIdrive Devices and there relationship .........................................................20
Figure 3 General Communication Model of a PROFIdrive Automation System ...................21
Figure 4 The PROFIdrive Device consists out of one or several Functional Objects ...........22
Figure 5 Hierarchical order in the Object Model ................................................................23
Figure 6 PROFIdrive Base Model contains the Application Layer and
Communication Layer .......................................................................................................24
Figure 7 Typical use case for Clock Synchronous Operation .............................................26
Figure 8 General Model for Clock Synchronous Operation ................................................27
Figure 9 Base Model State Machine .................................................................................28
Figure 10 General Drive Unit model..................................................................................29
Figure 11 General Drive Object architecture .....................................................................30
Figure 12 Principle functional model of an Axis type Drive Object .....................................31
Figure 13 Classes of PROFIdrive Drive Units....................................................................32
Figure 14 Overview about the available Communication Services between the
PROFIdrive Devices ...........................................................................................................33
Figure 15 Application Class 1 ...........................................................................................34
Figure 16 Application Class 2 ...........................................................................................35
Figure 17 Application Class 3 ...........................................................................................36
Figure 18 Application Class 4 ...........................................................................................37
Figure 19 Application Class 5 ...........................................................................................38
Figure 20 Application Class 6 ...........................................................................................39
Figure 21 Example overview of global and local parameters of a Multi-Axis/Modular
Drive Unit ...........................................................................................................................51
Figure 22 General functional elements of the PROFIdrive Axis type DO ............................72
Figure 23 Functional block diagram of the PROFIdrive Axis type DO .................................73
Figure 24 General state diagram for all operating modes ..................................................81
Figure 25 General functionality of a PROFIdrive Axis DO with Application Class 1
functionality ........................................................................................................................83
Figure 26 Speed setpoint channel for use in Application Class 1 and 4 .............................84
Figure 27 General functionality of a PROFIdrive Axis DO with Application Class 4
functionality ........................................................................................................................85
Figure 28 Reduced speed setpoint channel for use in Application Class 4 (optional)..........86
Figure 29 General functionality of a PROFIdrive Axis DO with Application Class 3
functionality ........................................................................................................................87
Figure 30 State diagram of the positioning mode ..............................................................88
Figure 31 Homing Procedure stopped by the controller .....................................................89
Figure 32 Homing Procedure: Home Position Set..............................................................89
Figure 33 Traversing Task Active .....................................................................................90
Figure 34 Change of the traversing tasks immediately ......................................................90
Figure 35 Example for configuring a telegram ...................................................................98
Figure 36 Structure of the position control circuit based on the velocity setpoint
interface without DSC ....................................................................................................... 101
Version 4.0
Figure 37 Structure of the position control circuit based on the velocity setpoint
interface with DSC ............................................................................................................ 102
Figure 38 Example of the sensor interface (Sensor-1: two actual values / Sensor-2:
one actual value) .............................................................................................................. 106
Figure 39 State diagram of the position feedback interface with designations of the
states and transitions ........................................................................................................ 117
Figure 40 Timing diagram: Measurement on the fly ......................................................... 125
Figure 41 Timing diagram: Reference mark search ......................................................... 126
Figure 42 Overview about the diagnostic mechanisms of PROFIdrive.............................. 128
Figure 43 Working of the warning mechanism ................................................................. 129
Figure 44 Overview about the fault buffer mechanism ..................................................... 130
Figure 45 Fault acknowledgement for the fault buffer mechanism .................................... 131
Figure 46 Processing of the fault messages in the fault buffer mechanism....................... 132
Figure 47 Fault buffer (subsequent system) with example ............................................... 134
Figure 48 Fault number list with example........................................................................ 135
Figure 49 Drive reset: Direct initiation (P972 = 1)............................................................ 141
Figure 50 Example: Long term Sign-Of-Life failure of the controller ................................. 144
Figure 51 Example: Temporary failure of the controller LS (negative deviation) ............... 144
Figure 52 Example: Temporary failure of the controller LS (positive deviation; double
step)................................................................................................................................. 145
Figure 53 Example: Permanent failure of the DO LS ....................................................... 146
Figure 54 Example: Temporary failure of the DO LS (negative deviation) ........................ 146
Figure 55 Example: Temporary failure of the DO LS (positive deviation; double step) ...... 146
Figure 56 Value of the DO Sign-Of-Life failure counter (axis-specific) with respect to
the transferred controller Sign-Of-Life ............................................................................... 147
Figure 57 PROFIBUS DP Devices in a PROFIdrive drive system ..................................... 172
Figure 58 PROFIdrive Devices and there Relationship for PROFIBUS DP ....................... 173
Figure 59 General Communication Model for PROFIdrive at PROFIBUS DP .................... 174
Figure 60 PROFIBUS DP slave-to-slave communication designations ............................. 175
Figure 61 Clock cycle synchronous communication for PROFIdrive at PROFIBUS DP ..... 176
Figure 62 Overview about the Drive Unit Communication Model on PROFIBUS ............... 177
Figure 63 Mapping of the Base Model State Machine at PROFIBUS DP .......................... 178
Figure 64 PROFIBUS DP specific Logical Drive Unit model (multi axis drive) .................. 179
Figure 65 Mapping of PROFIBUS Slot to the PROFIdrive DO .......................................... 180
Figure 66 Application example of slave-to-slave communication...................................... 185
Figure 67 Dataflow inside a Multi-Axis or Modular Device with DXB relations .................. 188
Figure 68 Structure of a subscriber table (inside a Prm-Block) ........................................ 189
Figure 69 Timing diagram of PROFIBUS with slave-to-slave communication.................... 190
Figure 70 PAP and Parameter Access mechanism for PROFIdrive at PROFIBUS ............ 193
Figure 71 Telegram sequence via DPV1 ......................................................................... 195
Figure 72 Drive Unit Structure ........................................................................................ 201
Figure 73 Configuration and communication channels for the Modular Drive Unit type
at PROFIBUS DP.............................................................................................................. 202
Figure 74 Meaning of parameter P978 "list of all DO-IDs" for the DU at PROFIBUS
DP 203
Copyright PNO 2005 - All Rights Reserved Page 10 of 271
Content Start
Version 4.0
Figure 75 Example of P978 for a complex Modular Drive Unit at PROFIBUS DP.............. 204
Figure 76 Sequence of an isochronous DP cycle ............................................................ 205
Figure 77 Time settings.................................................................................................. 206
Figure 78 Example: Simplest DP cycle ........................................................................... 208
Figure 79 Example: Optimized DP cycle ......................................................................... 209
Figure 80 Example: Optimized DP cycle (T MAPC = 2 * T DP ) ............................................... 210
Figure 81 Running-up (sequence with respect to time) .................................................... 212
Figure 82 Phase 1: Slave parameterization, configuration ............................................... 213
Figure 83 Phase 2: Synchronization of the PLL to the Clock Global_Control .................... 213
Figure 84 Phase 3: Synchronizing the slave application with the master's Sign-Of-
Life 215
Figure 85 State diagram of phases 2 and 3 of the run-up ................................................ 217
Figure 86 Phase 4: Synchronization of the master application to the slave's Sign-Of-
Life 217
Figure 87 Example: Running-up to cyclic operation (T MAPC /T DP = 2/1) .............................. 219
Figure 88 PLL for clock save in the slave........................................................................ 224
Figure 89 Run time compensation .................................................................................. 226
Figure 90 Example: Clock failure .................................................................................... 228
Figure 91 PROFINET IO Devices in a PROFIdrive drive system ...................................... 231
Figure 92 PROFIdrive Devices and there Relationship for PROFINET IO ........................ 232
Figure 93 General Communication Model for PROFIdrive at PROFINET IO ..................... 233
Figure 94 Clock cycle synchronous communication for PROFIdrive at PROFINET IO....... 235
Figure 95 Overview about the Drive Unit Communication Model on PROFINET IO........... 236
Figure 96 Contents of IO AR and Supervisor AR ............................................................. 237
Figure 97 M CR used for Cyclic Data Exchange between Drive Units .............................. 238
Figure 98 Mapping of the Base Model State Machine at PROFINET IO ........................... 239
Figure 99 PROFINET IO specific Logical Drive Unit model (multi axis drive).................... 240
Figure 100 Representation of the PROFIdrive DO by PROFINET IO Submodules
(CO) ................................................................................................................................. 241
Figure 101 Hierarchical model of the Drive Unit on PROFINET IO ................................... 242
Figure 102 - Modularity of the PZD data block (example) ................................................... 244
Figure 103 Data flow for request and response for the Base Mode Parameter Access ..... 246
Figure 104 Configuration and communication channels for the Modular Drive Unit
type at PROFINET IO ....................................................................................................... 247
Figure 105 Meaning of parameter P978 "list of all DO-IDs" for the DU at PROFINET
IO 248
Figure 106 Sequence of isochronous Data Cycle ............................................................ 251
Figure 107 Functionality and Interfaces for drive integration according to VIK-
NAMUR ............................................................................................................................ 255
Figure 108 Principle structure of the drive interface according to VIK-NAMUR
guideline .......................................................................................................................... 256
Figure 109 Speed setpoint channel for VIK-NAMUR process technology operating
mode ................................................................................................................................ 259
Figure 110 Process technology operating mode, control word 1 bit 15 and status
word 1 bit 10,11,13,14 ...................................................................................................... 260
Version 4.0
Figure 111 Process technology operating mode, inevitable line interruption and
external interlock .............................................................................................................. 261
Version 4.0
Tables
Table 1 Application Classes .............................................................................................33
Table 2 Parameter definition ............................................................................................40
Table 3 Parameter description elements ...........................................................................40
Table 4 Parameter description element "Identifier (ID)" .....................................................41
Table 5 Parameter description element "variable attribute................................................42
Table 6 Parameter Description Elements Process Data Reference Value/Process
Data Normalization ...........................................................................................................44
Table 7 Text array for parameter description ....................................................................45
Table 8 Text array for the data type Boolean ....................................................................45
Table 9 Text array for data type V2 (bit sequence)............................................................46
Table 10 Data types .........................................................................................................46
Table 11 Base mode parameter request ...........................................................................53
Table 12 Base mode parameter response.........................................................................54
Table 13 Permissible combinations consisting of attribute, number of elements and
subindex (see also [10]) ......................................................................................................56
Table 14 Coding of the fields in parameter request/parameter response of Base
Mode Parameter Access .....................................................................................................57
Table 15 Error numbers in Base Mode parameter responses.............................................58
Table 16 Overview on the assignment of the bits of control word 1 ....................................74
Table 17 Detailed assignment of the common control word 1 bits (STW1) for speed
control/positioning ..............................................................................................................74
Table 18 Detailed assignment of the special control word 1 bits (STW1) for speed
control mode.......................................................................................................................75
Table 19 Detailed assignment of the special control word 1 bits (STW1) for the
positioning mode ................................................................................................................76
Table 20 Overview on the assignment of the bits of control word 2 ....................................76
Table 21 Overview on the assignment of the bits of status word 1 .....................................76
Table 22 Detailed assignment of the common status word 1 bits (ZSW1) for the
speed control /positioning mode ..........................................................................................77
Table 23 Detailed assignment of the special status word 1 bits (ZSW1) for the speed
control mode.......................................................................................................................78
Table 24 Detailed assignment of the special status word 1 bits (ZSW1) for the
positioning mode ................................................................................................................78
Table 25 Overview on the assignment of the bits of status word 2 .....................................79
Table 26 Signal list assignment .....................................................................................91
Table 27 Parameters for configuring a telegram................................................................95
Table 28 Structure of parameter 979 (sensor format) ...................................................... 107
Table 29 Subindex 0 (header) of parameter 979 ............................................................. 108
Table 30 Subindex 1 (sensor type) of parameter 979 ...................................................... 108
Table 31 Subindex 2 (sensor resolution) of parameter 979.............................................. 108
Table 32 Assigning Gx_XIST2 (sensor-x position actual value-2) .................................... 113
Table 33 Error codes in Gx_XIST2 ................................................................................. 113
Table 34 Sensor control word ......................................................................................... 114
Table 35 Sensor status word .......................................................................................... 115
Version 4.0
Version 4.0
Table 77 Specified communication functions for the Application Classes ......................... 230
Table 78 Definition of Submodul-IDs .............................................................................. 243
Table 79 Definition of Parameter Access Modes ............................................................. 245
Table 80 Use of the AlarmNotification-PDU .................................................................... 249
Table 81 Use of ChannelDiagnosisData.......................................................................... 249
Table 82 Use of ChannelErrorType................................................................................. 249
Table 83 Use of the DiagnosisData ................................................................................ 250
Table 84 Overview of the specific PROFINET IO parameters for Communication
system interfaces ............................................................................................................ 252
Table 85 Specified communication functions for the Application Classes ......................... 254
Table 86 Overview on the assignment of the bits of control word1 for the process
technology operating mode ............................................................................................... 256
Table 87 Overview on the assignment of the bits of status word1 for the process
technology operating mode ............................................................................................... 257
Table 88 Overview on the assignment of the bits of drive status/fault word for the
process technology operating mode .................................................................................. 258
Version 4.0
Revision Log
Version 4.0
1 General
1.1 Background
The PROFIBUS and PROFINET profile for drive technology, PROFIdrive, Version 4, is a
further development of the proven PROFIBUS profile for drive technology, Version 3.1.2,
which is based on the PROFIBUS profile for variable-speed drives, PROFIdrive, Version 2 [5].
Today, this is the standard for all manufacturers to implement PROFIBUS interfaces for
drives. It was generated by the PNO, and involved many renowned drive manufacturers. The
Edition, based on PROFIBUS-FMS, was published in 1991 and included the definitions for the
closed-loop speed control function. In 1997, the profile was extended by the positioning
function and the faster PROFIBUS protocol was added. In 2002 with the Version 3.1, DP V2
and the isochronous operation was added. With the latest Version 3.1.2 also Slave-to-slave
communication was specified.
The actual PROFIdrive Version 4 comprises all the PROFIdrive functionality from its former
Version 3 and additionally comprises the usage of PROFIdrive at PROFINET.
The PROFIdrive profile defines, as a supplement to the PROFIBUS and PROFINET standard,
a unified device behaviour and access technique to the drive data. For the user, this means
that engineering costs are reduced when planning and implementing plants and systems, as
the various drives respond the same way to control instructions. The programming costs are
significantly reduced by using standardized program blocks in the open-loop and closed-loop
control systems for controlling the Drive Units via PROFIBUS or PROFINET. For drive
manufacturers, as a result of the profile definition, development costs are reduced and the
implementation of non-proprietary standardized interface improves the chances of being
successful in the market.
1.1.1 Requirements
In today's systems, the speed interface is standard. The speed setpoint is entered from a
higher-level automation system which controls the drive. Generally, the speed actual value is
signalled back to the automation system to monitor the drive.
In order that the digital field bus interface in distributed automation concepts may also be
used in the area of Motion Control with several drive axes, today's standard field busses shall
be expanded by specific features. This involves fulfilling the following requirements:
Clock cycle synchronism: If a central motion controller is being used which handles the
interpolation and closed-loop position control, the control loop shall be closed via the bus. The
speed setpoint is transferred to the drive in the setpoint direction. In the actual value
direction, the drive provides a position actual value. In order to implement sufficiently high
loop gains to fulfil the required dynamic performance, the delays shall be minimal and it is
especially important that they are absolutely constant. If the Motion Control task requires the
coordination of several axes, the position actual values shall be acquired precisely at the
same time and evaluated in synchronism in the motion controller. Furthermore, the setpoints
shall take effect precisely at the same time in the axes. The actual value acquisition, transfer
and setpoint activation are in clock cycle synchronism with the closed-loop position controller.
Version 4.0
If automation functions are to be decentralized and distributed, then data shall be directly
transferred between the drives, which, for example for an electronic shaft, shall be realized
with precise angular synchronism and also with clock cycle synchronism.
Acyclic communication: The acyclic services of PROFIBUS and PROFINET are used to
transfer parameter requests for operator control and monitoring of drives in parallel to the
Cyclic Data Exchange.
With modern automation profiles it is a strong requirement to support state of the art
Communication Systems. For the PROFIdrive profile this means to be able to adapt also to
the PROFIBUS successor PROFINET IO.
Until PROFIBUS specification DP-V2, it was not possible to realize all of the requirements
using just one system. In drive applications several different field bus systems often had to be
used in parallel. For instance, if in addition to drive control, distributed I/O and operator
control functions were to be implemented via different buses. In addition to PROFIBUS, which
is used to control the drive, a proprietary system had to be used to synchronize the drives or
to implement a setpoint cascade.
Since the Version 3 PROFIdrive Profile it is possible to use one field bus system (PROFIBUS)
to match all of the above requirements of electric drives, using the field bus system
PROFIBUS.
To protect investments in engineering tools, automation program libraries and training of staff,
it is important to have a stable generic application profile functionality which migrates to future
enhanced field bus systems by keeping its application platform interface stable. With the
Version 4 of the PROFIdrive Profile, the PROFIdrive application platform interface known from
the PROFIdrive Version 3 is also merged with the currently evolving PROFINET field bus
system. This makes it possible to run the PROFIdrive application platform interface also on
the PROFIBUS and the PROFINET field bus system.
As a result of the generic migration from the PROFIdrive Profile from PROFIBUS to
PROFINET, in many drive applications the engineering costs will be able to be further
reduced and also significant cost savings will be able to be achieved for service/maintenance,
training and spare parts inventory.
The new functions to the PROFIdrive application interface platform with the Version 4 are the
definition of the PROFIdrive fault classes and the extension of the measurement system state
machine. Completely new for Version 4 is the usage of the PROFIdrive Profile also for the
PROFINET IO field bus system.
According to Figure 1 the PROFIdrive specification Version 4 is structured in three main parts.
The first part contains the PROFIdrive Base Model, the Application Model and the PROFIdrive
Parameter Definition. This part defines the basic structure of a PROFIdrive automation system
and the functionality of the application processes and there interfaces independent of any
Communication System.
Version 4.0
PROFIdrive
PROFIdrive Base Modell
PROFIdrive Applikation Modell
PROFIdrive Parameter Definition
PROFIBUS PROFINET
PROFIdrive PROFIdrive
mapping on mapping on
PROFIBUS DP PROFINET IO
The second and third part define the mapping of the PROFIdrive Base Model on the two
Communication Systems PROFIBUS DP and PROFINET IO.
1.2 Definitions
General information
Drive-to-Drive communication
Version 4.0
2.1 General
This chapter specifies the abstract modelling and different variants for integration of
PROFIdrive drive Axis in automation systems. This PROFIdrive model is generally
independent of the Communication System used as network platform (PROFIBUS,
PROFINET). Depending on the communication system limitations to the general model and
functionality may be possible.
The PROFIdrive Base Model defines as basic elements the following three classes of devices:
Controller: The Controller is a controlling device which is associated with one or more
drives (axes). Related to the automation system, the Controller is the host for the
overall automation.
Drive Unit: The Drive Unit is a field device and the host for the drive (closed loop
control, inverter). The Drive Unit typically is associated with one or more Controller
devices.
Supervisor: The Supervisor typically is an engineering device which manages
provisions of configuration data (parameter sets) and collections of diagnosis data
from Drive Units and/or Controllers.
The PROFIdrive Base Model defines the following types of communication relationships
between the Devices:
Communication Supervisor
Device
Device
ve Unit
it
Un
e
r iv
-D
Supervisor - Dri
or
is
rv
pe
Su
Controller Controller
Co
it
Un
it
tro
Un
e
riv
e
lle
riv
-D
-D
r
er
-D
oll
er
ntr
riv
oll
Co
eU
ntr
Co
nit
Version 4.0
Figure 2 shows the PROFIdrive Devices and the defined relationships between them in the
context of the PROFIdrive Base Model.
Station
PROFIdrive PROFIdrive
Device ... Device
(Drive Unit, Controller
(Drive Unit, Controller
or Supervisor) or Supervisor)
Station Station
Network Interface ...
Network
Figure 3 shows the general architecture of the automation system and the location of the
PROFIdrive Devices as components of the Station. The physical model generally consists out
of physical Stations embedded in a Communication Network system. Though every Station
comprises a Network Interface Connector to physically connect the Station to the Network and
a Network Interface functionality, which provides the Communication Service to the Devices.
Therefore the PROFIdrive Device is precisely defined by the following address information:
Network
Station (Identifier for Station inside the Network)
Device (Identifier for Device inside the Station)
Version 4.0
The PROFIdrive Device consists out of one or more Functional Objects. The Functional
Objects are logical Objects which represent a special functionality inside the automation
system. Figure 4 shows the general architecture of the PROFIdrive Device containing
Functional Objects.
If the Device is of Drive Unit type, the Functional Objects inside the Drive Unit are of Drive
Object type (see Figure 4). The typical functionality of the Drive Object is the drive
functionality itself (motor, inverter stage, closed loop current and speed control, Input and
output functionality). For example one drive axis is related to a Drive Object.
PROFIdrive Device
(e.g. Drive Unit)
Figure 4 The PROFIdrive Device consists out of one or several Functional Objects
Version 4.0
Based on the Objects defined in the Base Model the hierarchical order and dependencies
between them are specified in the Object Model (see Figure 5).
Every Station consists out of the Network Interface and one or more Devices. The Network
Interface is related to the Network to which the Station is connected. The Devices are
classified in three types, Controller, Drive Unit and Supervisor. If the Device is of Drive Unit
type, the Drive Unit consists out of one or more Drive Objects.
Additional the Communication Object (CO) is defined, which has a relationship to the
Network Interface and also to the Functional Object (e.g. Drive Object). The purpose of the
Communication Object is to be a Communication System addressable communication end
point, which may be associated to a Functional Object.
Network
Station
1...n
PROFIdrive Network
Device Interface
Drive Unit
Controller Supervisor
(DU)
1...n 1...n
1...n Communication
Drive Object
Object
(DO)
(CO)
Generalisation - is sub-class of
Version 4.0
Separation of the objects in the Base Model according to the aspects of application and
communication leads to the Layer Model according to Figure 6. Here the Application Layer
only contains the functional aspects of the automation system, independent of the distribution
of the functional elements among physical stations and devices. The distribution aspect is
represented by the Communication Layer, which specifies the physical network components
and the allocation of the Functional Objects to them.
PROFIdrive Device
Application PROFIdrive
Layer Application
Drive
PROFIdrive Model
Object
Device
PROFIdrive
Communication Communication
Layer Network Interface Model
Network (physical)
Version 4.0
2.2.7.1 General
The PROFIdrive Base Model defines the following Communication Services. The
Communication Services are provided from the Device and are used from the Functional
Object.
Cyclic communication means the simple transfer of process data of predefined size in a
reserved time slot. With cyclic communication, the process data that is critical with respect to
time is exchanged between the controller and device or between devices. Typical such data
contains setpoint values and actual values, control- and status information. The Cyclic Data
Exchange service is assigned to the Controller-Drive Unit and the Drive Unit Drive Unit
relationship. A Cyclic Data Exchange channel is related to a Communication Object at its end
points.
With the Alarm Mechanism service, alarm information and exception situations are signalled
to the controlling device in a real time manor. The service is working demand-oriented to keep
the exception status image of the Functional Object in the Controller up to date. With this
service the controller is able to respond on an occurring event in the drive as fast as possible
without polling the drive status information permanently by its own. The Alarm Mechanism
service is assigned to the Controller-Drive Unit relationship.
Version 4.0
The Clock Synchronous Operation service guaranties the start of tasks on different
communication Devices or Functional Objects at the same time with minimum (specified) jitter
(e.g. the sampling and output processes). Also this service implies, that dedicated cyclic data
packages are definitely transmitted until a certain moment in the communication cycle.
For drive technology, clock cycle synchronous communication is the basis for drive
synchronization. Not only message interchange on the bus system is implemented in an
isochronous time base, but also the internal control algorithms - such as closed loop speed
and current controllers in the drive, or the controller in the higher level automation system -
are synchronized.
CX = controller task
Data flow
Actual Value Setpoint
Transfer Transfer
Drive Unit
Application R1 R1 R1 R1 R1 R1 R1 R1
The general model for the Clock Synchronous Operation service is defined according to
Figure 8. The model is based on local clocks which are related to every Device supporting the
Clock Synchronous Operation service. These local clocks are synchronized to one dedicated
Master Clock. After the Clock Synchronous Operation mechanism is started, all Slave Clocks
are synchronous to the Master Clock with a defined maximum Jitter of 1 microsecond. The
mechanism of start up and synchronization of the Slave Clocks to the Master Clock are
related to the Communication System (part of the Communication Layer).
Version 4.0
The Device which comprises the Master Clock is defined as Clock Master. According to the
application, application tasks may be triggered by the Slave Clock of the Device. E.g.
concerning an axis controller, the sampling of input values and the output of motor current are
triggered out of the Master Clock (see also Figure 7).
Master Clock
Slave Slave
Clock Clock
Synchronize Synchronize
(trigger) ... (trigger)
Version 4.0
For the Base Model the following states, related to the communication and application run up
process, are defined (see also Figure 9):
If in this states exceptions occur which drive the system to lose one or more of the
characteristics related to the actual state, the related Devices will be forced to go back to a
corresponding predecessor state, in order to proceed to switch forward to the next higher
level again if possible and allowed.
Offline - no communication
abort / error
Preparation - acyclic communication active
- PZD (Process Data) not valid
- Alarm Mechanism running
abort / error
Synchronisation - acyclic communication active
- PZD (Process Data) valid
- Alarm Mechanism running
abort / error
Operation - acyclic communication
- PZD (Process Data) valid
- Tasks synchronized
- Controller and DO (Drive Object)
Life sign synchronized
- Alarm Mechanism running
Application Layer
Version 4.0
Based on the Drive Unit device type, defined in the Base Model previously, this chapter
defines the architecture of the Drive Unit more detailed.
This profile of drive engineering defines a PROFIdrive Device of Drive Unit type according to
Figure 10 as a Drive Unit (DU) containing exactly one or multiple Drive Objects (DO).
The unambiguous identification of a Drive Object within a Drive Unit is done by the Drive
Object ID (DO-ID) which is assigned to every DO of a DU.
Drive Unit
(DU)
Figure 11 shows the general Drive Object (DO) architecture. Central element of the DO is the
Process Control Task which is responsible for the automation functionality of the DO.
Properties of the DO and the Process Control Task are represented and controlled by
parameters. The parameters are administered in the Parameter Data Base. To access DO
parameter, Acyclic Data Exchange service is used. For periodic transportation of setpoint
values to the DO and actual values from the DO, the Cyclic Data Exchange service is used. If
the DO is of Axis type (refer to 2.3.3), the DO comprises a General State Machine, which
controls and represents the states of the Drive Process Control Task. Exception situations out
of the Process Control Task and the General State Machine may be signalled by the Alarm
Mechanism to the controlling device.
Parameters
Version 4.0
Acyclic Clock
Cyclic
Alarm Queue Data Exchange Synchronous
Data Exchange
Operation
transmit transmit
setpoint actual write read Master Clock
signal exception values values parameter parameter sync information
cyclically cyclically
sync/trigger
Parameter
Process Control Task Data Base
(e.g. closed loop control, inverter, ...)
sync/trigger
Drive Object
External Process
(e.g. motor and mechanics)
Version 4.0
The DOs may be of different type. One dedicated type, which is of general importance in this
drive profile is the Axis type, which is typically related to a motor (Drive Axis) and is specified
in detail in 1.
HMI, Communication
Ctrl. Word
Status Word
Open Loop Control Diagnostics Messages
Figure 12 shows the principle functionality of an Axis type DO. The Axis DO consists out of
numerous function modules that work together internally, and therefore portray the
intelligence of the Axis type DO.
Version 4.0
Figure 13 shows the three principle classes of PROFIdrive Drive Units. While the Single-Axis
type is one physical device with only one Axis type DO, the Multi-Axis type consists of several
similar Axis type DOs. The modular type provides the greatest flexibility and comprises one or
more DOs, which may be of different type.
DO DO DO DO DO
type A type A type A type A type A DO DO
(Drive (Drive (Drive (Drive type B type D
(Drive DO
Axis) Axis) Axis) Axis) Axis) (Drive
Axis) type C
M M M M M M M
Figure 14 shows the different communication channels which are available between the Drive
Unit and the other Devices. The color shows the Communication Service related to this
communication channel.
The Clock Synchronous Operation as well as Process Data transfer is available between
Drive Unit and Controller and between Drive Units itself. Parameter Access to the Drive Unit
is available from all other Controller and Supervisor Devices.
Version 4.0
Controller
(e.g. PLC/NC for
Drive Control)
Supervisor
(e.g. PC for Start-up,
Maintenance and
Diagnosis)
Clock cycle
synchronous
Parameter-Access
ss
c ce
ta r-A
Da mete
s r a
es Pa
oc
Pr
Cyclic communication
Drive Unit
(Device) Acyclic communication
Today, drive applications are realized in a multiple of ways. The table below defines the
different Application Classes where the drives are used. The Application Classes are typical
examples from the entire spectrum of electrical drive engineering.
The Application Model is part of the Application Layer and therefore only related to functional
aspects (Functional Objects), independent of the distribution of Functional Objects among
devices. Therefore the type of Application Class predefines the contents of the Functional
Objects and the type of data (Information) to be transported between the Functional Objects
(Interface).
b
No. Application Class Interface Functions
a
1 Standard Drive n-setpoint, Cyclic interface
torque-setpoint,
current-setpoint
2 Standard drive with distributed Technological Cyclic Interface
technology controller setpoint-actual values with
a
(command variables) Cyclic Data Exchange between DU
(continuous process)
a
3 Single Axis positioning drive, with pos-setpoint, Cyclic interface
local Motion Control
run requests
4 Motion Control with central n-setpoint Cyclic interface, Clock Synchronous
interpolation and speed setpoint Operation, DSC (refer to 4.5)
interface x-actual
Version 4.0
b
No. Application Class Interface Functions
5 Motion Control with central x-setpoint Cyclic interface, Clock Synchronous
c
interpolation and position setpoint Operation
interface
6 Motion control for clocked command variables, Cyclic interface, Clock Synchronous
processes, or distributed angular Operation,
synchronism motion instructions
Cyclic Data Exchange between DU
NOTE The Application Classes described here are assigned Profile functions in 4.13 which a drive
manufacturer shall implement if he wishes to be compliant with the particular Application Class.
a
The cyclic interface may also be operated clock-synchronously if, for example, it is a question of synchrony
of the actions in the case of several drives.
b
For all Application Classes: acyclic interface for parameters, diagnostics, identification
c
This Application Class is not described in this edition of the Profile. The dynamic characteristics of
Application Class 5 are reached with Application Class 4 with DSC.
In the simplest case, the drive is controlled via a primary setpoint (for example, speed
setpoint) (see Figure 15). The speed control is governed completely in the drive controller.
The PLC includes all technological functions for the automation process. The field bus is
merely the transmission medium between the automation system and the drive controller. The
Cyclic Data Exchange Communication Service is used. This type of application is used
primarily in the field of classical drive engineering (for example, conveyor systems). A PLC is
usually used as the automation system. Clock Synchronous Operation may be used but is
typically not necessary for this Application Class.
Application Class 1
Automation
Technology
Control Word + Speed Setpoint + ... Status Word + Speed Act. Val. + ...
Open Loop Speed Control/ Open Loop Speed Control/ Open Loop Speed Control/
/ losed Loop Speed Control
C / losed Loop Speed Control
C /
Closed Loop Speed Control
M Encoder
(optional)
M Encoder
(optional)
M Encoder
(optional)
Version 4.0
Application Class 2 represents a very flexible version for implementing drive applications
(Figure 16). In this version, the automation process is broken down into many small sub-
processes.
The technology functions are no longer exclusively in the central PLC, but are also distributed
in the Drives. The communication interface serves as the technology interface. The data that
is exchanged via the bus system between the individual automation components and drive
controllers may be individually defined. This variant assumes, however, that communication is
guaranteed in all directions; that is, Process Data transfer should be possible also between
Drive Units. To realize applications like setpoint cascades, winders, and speed synchronism
Clock Synchronous Operation should be possible. The technology functions are realized in
the drive.
Application Class 2
Automation
Technology
Closed Loop Speed Ctrl. Closed Loop Speed Ctrl. Closed Loop Speed Ctrl.
M Encoder
M Encoder
M Encoder
(optional) (optional) (optional)
Version 4.0
In Application Class 3 (Figure 17), only the technology functions for the automation process
are still in the PLC. Positioning requests are stored in the Drive. A single positioning request
is started via command from the Controller (e.g. PLC). Interpolation and position control as
well as speed control are implemented directly in the drive. Since in this variant all time-
critical control algorithms are hidden in the drive controller, Clock Synchronous Operation is
only necessary if complex tracking for multiple axes shall be coordinated.
Application Class 3
Automation
Technology
Drive Drive
Interpolation Interpolation
Position Control Position Control
M Encoder
M Encoder
Version 4.0
2.4.4 AC 4: Motion Control with central interpolation and speed setpoint interface
Application Class 4 (Figure 18) shows the position closed loop control closed via the
Communication System. Drives for manipulator and robotic applications often require a
coordinated motion sequence of several drive systems. Motion control is primarily
implemented via a central automation unit (NC). For each drive, these controllers calculate
special setpoint profiles. By coordinating several drives (for example, for the XYZ axis),
certain trajectories may be implemented. In addition to the required technology functions for
the automation process, the automation system also includes the functions for interpolation
and position control of the drive. Speed setpoint values and actual values as well as the
position actual value are transferred via Cyclic Data Exchange. The drive controller
essentially only includes the algorithms for closed loop speed control and actual position
acquisition. Since the position is controlled via the bus system, Clock Synchronous Operation
is necessary and shall be very precise. Additionally, the DSC-functionality may be used to
increase the rigidity and dynamic response of the control loop.
Application Class 4
Automation
Technology
Interpolation
Position Control
Clock
Clock Synchronous
Operation Drive Drive Drive
Closed Loop Speed Ctrl. Closed Loop Speed Ctrl. Closed Loop Speed Ctrl.
M Encoder
M Encoder
M Encoder
Version 4.0
2.4.5 AC 5: Motion Control with central interpolation and position setpoint interface
This Application Class is not dealt with in this PROFIdrive Profile Version. The dynamic
features of Application Class 5 may be achieved with Application Class 4 and DSC.
Application Class 5
Automation
Technology
Interpolation
Clock
Clock Synchronous
Operation
Drive Drive Drive
Closed Loop Speed Ctrl. Closed Loop Speed Ctrl. Closed Loop Speed Ctrl.
M Encoder
M Encoder
M Encoder
Version 4.0
To realize applications like electric gearing, cam disc, angular synchronous operation, flying
saw, Cyclic Data Exchange and Clock Synchronous Operation between Devices is necessary.
These applications are normally realized with one master drive and several slave drives. The
term master drive means in this context that one drive axis provides process information (for
example position actual value) to the other drives. Thereupon, the slave drives coordinate
their own motion process with the process information of the master drive.
Application Class 6
Automation
Technology
Clock *
Clock Synchronous
Operation
Drive Drive Drive
Closed Loop Speed Ctrl. Closed Loop Speed Ctrl. Closed Loop Speed Ctrl.
M Encoder
M Encoder
M Encoder
Version 4.0
3 Parameter model
The total of all parameters of a drive uniquely describes its behaviour or characteristics.
A parameter number is assigned to each parameter. The number range of the parameters is
specified for decimal 1-65535. The parameter 0 is not permitted. Profile-specific parameters
are specified or reserved for the ranges decimal 900-999 and decimal 60000 65535 (refer to
5). The Profile-specific parameters have to be implemented exactly according to the definition
in 5, even if a parameter description is implemented in the drive.
Access to the parameters (parameter value, parameter description or text) is explained in 3.4
and [10].
The parameter value contains a single (simple variable) or several similar (array) information
variables.
An array consists of n elements of the same data type which may be individually addressed
with sub-indices from 0 to n-1.
The parameter description contains relevant information about the respective parameter.
Table 3 shows the structure of the parameter description which will be discussed in the
course of this chapter.
1 Identifier (ID) V2
2 Number of array elements or length of string Unsigned 16
3 Standardization factor Floating Point
4 Variable attribute OctetString 2
5 Reserved OctetString 4
6 Name VisibleString 16
7 Low limit OctetString 4
Version 4.0
In the case of array parameters, the number of elements is entered here. In the case of
parameters of the data type String, the length of the string is entered here. The data types
OctetString or VisibleString correspond to an array of bytes. It is not possible to form an array
of the data type String.
Factor that converts the (internal) value into an (external) standardized variable which,
together with the unit, corresponds to the physical representation of the parameter. The
standardization factor is of the data type Floating Point.
Version 4.0
A variable index and a conversion index are stored in the variable attribute (refer to [10]):
Octet 1 Octet 2
The variable index represents the fixed coding of the physical variable (and therefore the
base unit) of the parameter value. The variable index is of the data type Unsigned 8.
The conversion index represents the fixed coding of the conversion factor (A) and the offset
(B) for a parameter value. With the conversion index, the unit may be converted into the base
unit. The conversion index is of the data type Integer 8.
Physical value (in the unit) = transmitted value * standardization factor * unit
or
Physical value (in the base unit) = (transmitted value * standardization factor * A + B) * base unit
Coding for the variable index and the conversion index (Factor A, Offset B; refer to [10]):
EXAMPLE 1
Version 4.0
EXAMPLE 2
-> Physical Value (in the unit) = 1234 * 0.01 km/h = 12.34 km/h
-> Physical Value (in the base unit) = (1234 * 0.01 * 1000/3600 + 0) m/s = 3.428 m/s
EXAMPLE 3
NOTE In the case of the data types N2, N4 / X2, X4 / optional Integer16, Integer32, Floating Point (normalized
variables), the unit % may be converted to another physical unit by assigning a physical reference parameter (see
below, Description Element PZD Reference Parameter).
Name (subindex 6)
Name describes the symbolic name of the parameter. The name is of the data type
VisibleString with a length of 16.
Low/high limit defines the valid value range of the parameter value.
The drive rejects an attempt to assign a value outside of the parameters value range. The low
and the high limit are of the same data type as the parameter value, but the length of the
description elements is always 4 bytes (file format: right justified, big endian). For parameters
whose data types permit no value range (for example, VisibleString), the contents of these
description elements are of no importance.
Version 4.0
Parameter values may also be transmitted as process data (refer to 4.4.3). If normalized
variables (data types N2, N4 / X2, X4 / optional Integer16, Integer32, Floating Point) are
transmitted, the following is necessary for calculating the physical value: the physical
reference value (process data reference value), and the bit (refer to Process Data
Normalization) to which the physical reference value refers. For a calculation example, refer
to 4.4.4.
For parameters of the data type X2, X4, the description elements PZD reference parameter
and PZD normalization shall be available.
For parameters of the data type N2, N4, the description elements PZD reference parameter
shall be available, and the description element PZD normalization is optional as it is defined
by the data type.
In the case of all other data types these description elements are not relevant.
The complete description includes a total field of 46 bytes (corresponding to the complete
parameter description structure). This length is the constant for each parameter (regardless of
the data type, etc.).
Version 4.0
3.1.3 Text
The existence of a text array is marked within the parameter description (ID: additional text
array available). The text is stored in the object type array of the data type VisibleString 16
assigned to the parameter. Text arrays may be assigned to parameters of the object type
array (with any data type), or to parameters of the object type simple variable (with data
type Unsigned8/16/32, Boolean, or V2). The individual texts of a text array are assigned
to the array elements for parameters of the type array, and assigned to the values for
parameters of the type simple variable.
Number of texts = 2
0 "false"
1 "true"
V2 text array
Number of texts = 32
To each bit of the bit sequence two texts are assigned, one each to the bit value 0 and 1.
Version 4.0
0 -------- -------0
1 -------- -------1
2 -------- ------0-
3 -------- ------1-
4 -------- -----0--
: :
30 0------- --------
31 1------- --------
Profile-specific data types are defined corresponding to the particular drive requirements. The
profile-specific data types are individually defined in [10]. The standard types are defined in
[10]. An overview of all of the permissible data types (standard data types and profile-specific
data types) and their coding is given in Table 10.
Version 4.0
NOTE The standard data types specified in [10] and their coding are up-to-date according to this profile
edition. However, they will still be revised. The latest version of [2] should be consulted to get the most up-to-
date status.
Range of values:
Coding: Representation in two's complement, the MSB (Most Significant Bit) is the bit
after the sign bit (SN) of the first octet.
Bit 8 7 6 5 4 3 2 1
Octet 1 SN 20 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6
:
:
-23 -24 -25
Octet 4 2 2 2 2 -26 2 -27 2 -28 2 -29 2 -30
Version 4.0
Range of values:
Coding: Two's complement representation, the MSB (Most Significant Bit) is the bit
after the sign bit (SN) of the first octet.
Bit 8 7 6 5 4 3 2 1
0 -1 -2 -3 -4 -5
Octet 1 SN 2 2 2 2 2 2 2 -6
:
:
-23 -24 -25
Octet 4 2 2 2 2 -26 2 -27 2 -28 2 -29 2 -30
Range of values:
Coding: Two's complement representation, the MSB (Most Significant Bit) is the bit
after the sign bit (SN) of the first octet.
Bit 8 7 6 5 4 3 2 1
7 6 5 4 3 2
Octet 1 SN 2 2 2 2 2 2 21
Octet 2 20 2 -1 2 -2 2 -3 2 -4 2 -5 2 -6 2 -7
Version 4.0
Range of values:
Coding: As by Integer32, weighting of the bits has been reduced by a factor of 10000.
Bit sequence: V2
Meaning: Bit sequence to control and represent application functions. 16 Boolean
variables are combined in two octets. (Coding: 115)
Coding: Binary
Bit 8 7 6 5 4 3 2 1
Octet 1 15 14 13 12 11 10 9 8
Octet 2 7 6 5 4 3 2 1 0
Nibble: L2
Meaning: Four associated bits form a nibble. Four nibbles are represented in two octets.
Coding: Binary
Bit 8 7 6 5 4 3 2 1
Octet 1 Nibble 3 Nibble 2
Octet 2 Nibble 1 Nibble 0
Version 4.0
Range of values:
Time constant: D2
Meaning: Time data as a fraction of the constant sampling time T a .
Range of values:
Range of values:
Version 4.0
As defined in 2.3 and 4.4.3, a Drive Unit consists out of the drive device itself and one or
several Drive Objects (DO). The drive axes are related to Axis type DOs.
For Multi-Axis and Modular Drive Units, each DO has a dedicated parameter number space.
Two types of parameters with different ranges of values are defined in the profile:
global parameter:
Global parameters are related to the complete device (for example communication
interface related parameters). If addressing different DOs of a Drive Unit, a global
parameter will always specify the same value.
DO/axis-specific parameters:
These parameters are related to the Drive Object. The DO/axis-specific parameters may
have different values in every Axis DO (for example parameter 967 "control word1").
The subdivision of the parameters into global and DO/axis-specific parameters is shown in 5.
Figure 21 shows an example with global parameter 918 "node address" and the axis-specific
parameter 944 "fault message counter" for a Multi-Axis or Modular Drive Unit. A Single-Axis
Drive Unit is similar to the Multi-Axis Drive Unit but only the DO1 is present.
The value range of the DO-ID numbers range from 0-254. With the DO-ID 0 the drive device
itself may be addressed (device representative, no axis) and the global parameters may be
read. The assignment of the drive axis numbers to the DOs is device-specific and may be
read out of parameter P978" list of module IDs" (refer to 4.4.3).
Version 4.0
In this chapter the access to parameters via the Base Mode is defined. A request language
will be defined for the access. The requests and the replies are transmitted acyclically by use
of the Acyclic Data Exchange mechanism of the Communication System.
The Base Mode Parameter Access exists because of compatibility reasons due to former
PROFIdrive profile and every drive shall be able to handle the Base Mode Parameter Access
(mandatory).
The Base Mode Parameter Access is defined with two different DO address modes according
to the following definition:
Base Mode Parameter Access Local: In this address mode only the local parameters of
the DO are accessable to which the CO, where the parameter access point is attached, is
related. The DO-ID in the parameter request is used for consistency check when
accessing local parameters of the DO. A successful access to the local parameters of the
DO is only possible, when the correct DO-ID, corresponding to the Slot number, is entered
in the parameter request header. Otherwise the DO parameter manager shall respond with
error code 0x19 Axis/DO nonexistent (see Table 15). For access of global parameters
the DO-ID in the parameter request header is dont care.
Base Mode Parameter Access Global: In this address mode all parameters of the Drive
Unit are accessable to which the CO, where the parameter access point is attached, is
related. The DO-ID in the parameter request is used for accessing of local parameters
inside the Drive Unit. For access of global parameters the DO-ID 0 should be used. This
address mode is for compatibility reasons (PROFIBUS) and should not be used by new
PROFINET IO Controller and Supervisor application processes.
Version 4.0
Request header: ID for the request and number of parameters which are accessed. Multi-
Axis and Modular drives, Addressing of one DO.
Parameter address: Addressing of a parameter. If several parameters are accessed, there
are correspondingly many parameter addresses. The parameter address appears only in
the request, not in the response.
Parameter value: Per addressed parameter, there is a segment for the parameter values.
Depending on the request ID, parameter values appear only either in the request or in the
reply.
The following telegram contents are displayed in words (a word or 2 bytes per line). Words or
double words will have the most significant byte being transmitted first (big endian).
According to the Base Mode Parameter Access the structure of the parameter request and
parameter response is shown in Table 11 respectively Table 12.
th
n Parameter Values ...
4 + 6 * n +...+ (Format_n *
Qty_n)
Version 4.0
th
n Parameter Values ...
Request Header:
Request Reference
Unique identification of the request/response pair for the master. The master changes the
request reference with each new request (for example, modulo 255). The slave mirrors the
request reference in the response.
Request ID
two IDs are defined:
Request parameter
Change parameter
A parameter change may be stored either in volatile or non-volatile RAM according to the
device. A changed parameter that is stored in volatile RAM first may be stored in ROM
with parameter P971. The differentiation Value/Description/Text is added to the address
as attribute. The differentiation Word/Double Word is added to the parameter values as
format. For the differentiation Single/ Array Parameter, refer to No. Of Elements in the
parameter address.
Response ID:
Mirroring of the request ID with supplement information whether the request was executed
positively or negatively.
Request parameter positive
Request parameter negative (it was not possible to execute the request, entirely or
partially)
Change parameter positive
Change parameter negative (it was not possible to execute the request, entirely or
partially)
If the response is negative, error numbers are entered per partial response instead of
values.
Axis-No. / DO-ID:
For Base Mode Parameter Access Local: Used for consistency check. If the DO-ID in
this field does not match the DO-ID of the DO, this PAP is related to, the DO parameter
manager shall respond with error code 0x19 Axis/DO nonexistent (see Table 15). For
access of global parameters the DO-ID in the parameter request header is dont care.
For Base Mode Parameter Access Global: DO addressing information used for Multi-
Axis or Modular drives. This enables various axes / DOs to be able to be accessed each
with a dedicated parameter number space in the drive via the same PAP. See also 3.4.2.
Version 4.0
No. of Parameters:
In the case of multi-parameter requests, specifying the number of the following Parameter
Address and/or Parameter Value areas. For single requests the No. of parameters = 1.
Value range 1 ... 39 (limitation because of PROFIBUS DPV1 telegram length).
Notice, that for a multi-parameter request the PROFIdrive Drive Unit shall arrange the
parameter value areas in the response message in the same order than in the
corresponding multi-parameter request message.
Parameter Address:
Attribute:
Type of object which is being accessed. Value range:
Value
Description
Text
Number of Elements:
Number of array elements that are accessed or length of string which is accessed.
Value range: 0, 1..234
Limitation because of PROFIBUS DPV1 telegram length.
Special Case Number of Elements = 0:
If values are accessed: recommended for non-indexed parameters.
Parameter Number:
Addresses the parameter that is being accessed. Value range: 1..65535.
Subindex:
Addresses the first array element of the parameter or the beginning of a string access or
the text array, or the description element that is being accessed. Value range: 0..65535.
Parameter Value:
Format:
Format and number specify the location in the telegram to which subsequent values are
assigned.
Value range:
Zero (without values as positive partial response to a change request)
Data type (refer to [10])
Error (as negative partial response)
Instead of a data type, the following are possible:
Byte (for description and texts)
Word
Double word
Number of Values:
Number of the following values or number of the following data type elements (number of
octets in case of OctetString). In case of write request of OctetString the correct length
shall be supplied otherwise the drive shall responds with error 0x18, number of values
are not consistent (see Table 15).
Version 4.0
Values:
The values of the parameter
If the values consist of an odd number of bytes, a zero byte is appended in order to secure
the word structure of the telegrams.
In the case of a positive partial response, the parameter value contains the following:
In the case of a negative partial response, the parameter value contains the following:
Format = error
No. of values = 1
Value = error value = error number
In the case of a negative response, the parameter value may contain the following:
Format = error
No. of values = 2
Value 1 = Error Value 1: error number
Value 2 = Error Value 2: subindex of the first array element where the error occurs
(Purpose: after a faulty write access to an array, not all values shall be repeated).
In the case of a positive partial response without values, the parameter value contains the
following:
Format = zero
Number of values = 0
(no values)
Not all combinations consisting of attribute, number of elements, and subindex are permitted
(refer to Table 13).
A parameter which is not indexed in the profile may be realized with indices in the Drive Unit,
if the response to a Parameter Access is profile-specific.
Version 4.0
Text (from text array) 1 0...n One text (16bytes), under subindex
2...n 0...n Several texts, starting with subindex
a
If the number of elements available in the device does not match with the number of elements which
are requested or shall be changed, an error shall be output.
3.4.4 Coding
Version 4.0
Version 4.0
In general, every PROFIdrive Drive Unit shall support Base Mode parameter read and write
requests with the data types, Byte, Word and Double Word (mandatory).
If the PROFIdrive Drive Unit supports also additional data types it shall behave in the
following manor:
In case of a parameter read request, it shall signal the corresponding data type in the read
response.
In case of a parameter write request it shall check the data type and signal an error if
parameter types dont match.
If the PROFIdrive Drive Unit doesnt support additional data types it shall behave in the
following manor:
It rejects the parameter write request with an error response if data types dont match.
The error numbers 0x00 ... 0x13 are taken from PROFIdrive Profile, Version 2. Values that
cannot be assigned are reserved for future use.
Version 4.0
10
10
Version 4.0
14
Version 4.0
10
16
Version 4.0
22
Version 4.0
Version 4.0
22
Value 2
220
Version 4.0
Parameter response (-): first and third partial access OK, second partial access erroneous
Value 2
22
Value 2
238
Version 4.0
Parameter response (-): first and third partial access OK, second partial access erroneous
14
Version 4.0
10
... ...
6 + Description
Version 4.0
10
22
Version 4.0
Parameter request:
22
62 + Description
Version 4.0
Figure 22 shows the functional elements of the Axis type Drive Object (DO). Central element
of the Axis type DO is the Axis Control Task which is responsible for the control of the related
Axis. Properties of the DO and the Axis Control Task are represented and controlled by
parameters. The parameters are administered in the Parameter Data Base. To access DO
parameters, the Acyclic Data Exchange service is used by aid of the parameter manager. The
parameter manager receives parameter requests, does the access to the Parameter Data
Base and answers to the parameter request with a related parameter response. For periodic
transportation of setpoint values to the Axis and actual values from the Axis DO, the Cyclic
Data Exchange service is used. The Axis type DO comprises the General State Machine,
which controls and represents the states of the Axis Control Task. Exception situations out of
the Axis Control Task and the General State Machine may be signalled by the Alarm
Mechanism to the controlling device. For Clock Synchronous Operation of several DOs (Axis)
the Clock Synchronous Operation service shall be used to trigger the relevant control tasks.
Parameters
Axis Control Task
General State Machine
Process Data (setpoint values and actual values)
Version 4.0
Acyclic Clock
Cyclic
Alarm Queue Data Exchange Synchronous
Data Exchange
Operation
transmit transmit
setpoint actual write read Master Clock
signal exception
values values parameter parameter sync information
cyclically cyclically
sync/trigger
Parameter
General Axis Control Task Data Base
State Machine (closed loop control, motion control, ...)
sync/trigger
Figure 23 shows the more detailed functional architecture of the Axis type DO. The Axis
Control Task is subdivided in the following elements:
Fault buffer
Position feedback interface
Power stage
Current closed loop control
Life sign handling
Periphery control
Application Class and technology specific functionality
Depending on the level of the drive interface, the PROFIdrive Axis may operate in different
control modes. These general control modes are related to one or more of the PROFIdrive
Application Classes. For more details on the control modes refer to 4.3.
Version 4.0
Parameter
Regeneration
Mechanism
Access
Alarm
control handling
Parameter
Data Base
Fault State
Alarm event buffer machine
Version 4.0
Bit Significance
Speed control mode Positioning mode
0 ON / OFF
1 No Coast Stop / Coast Stop (no OFF2 / OFF 2)
2 No Quick Stop / Quick Stop (no OFF3 / OFF 3)
3 Enable Operation / Disable Operation
4 Enable Ramp Generator / Do Not Reject Traversing Task /
Reset Ramp Generator Reject Traversing Task
5 Unfreeze Ramp Generator / No Intermediate Stop /
Freeze Ramp Generator Intermediate Stop
6 Enable Setpoint / Disable Setpoint Activate Traversing Task
(0 -> 1 and 1 -> 0))
7 Fault Acknowledge (0 -> 1)
a a
8 Jog 1 ON / Jog 1 OFF
a a
9 Jog 2 ON / Jog 2 OFF
10 Control By PLC / No Control By PLC
11 Device-specific Start Homing Procedure / Stop Homing Procedure
12-15 Device-specific
NOTE Using the closed-loop speed controlled mode in Application Class 4 with or without DSC (positioning
with central interpolation and positioning control) the STW1 bit 4 and 6 ("Enable/Reset Ramp Generator" and
"Enable/Disable Setpoint") keep their effectiveness, STW1 bit 5 ("Unfreeze/Freeze Ramp Generator") has no
relevance.
a
optional
Explanation: The significance for bit value = 1 is to the left of the slash; bit value = 0 to the
right.
Table 17 lists the common control bits, Table 18 and Table 19 the control bits where speed
control (AC 4) and positioning modes (AC 3) differ.
Table 17 Detailed assignment of the common control word 1 bits (STW1) for speed
control/positioning
Version 4.0
Table 18 Detailed assignment of the special control word 1 bits (STW1) for speed
control mode
4 1 Enable Ramp
Generator
0 Reset Ramp Output of the RFG is set to 0. The main contact remains closed, the
Generator converter is not isolated from the line, the drive decelerates along the
current limit or along the voltage limit of the d.c. link
5 1 Unfreeze Ramp
Generator
0 Freeze Ramp Freeze the actual setpoint entered by the ramp-function generator. If
Generator Application Class 4 is used Bit 5 is not relevant.
6 1 Enable Setpoint The value selected at the input of the RFG is switched-in.
0 Disable Setpoint The value selected at the input of the RFG is set to 0.
a
8 1 Jog 1 ON Prerequisite: Operation is enabled, drive is in standstill and STW1 bit
4, 5, 6 = 0. The drive runs up along the ramp of RFG to jogging
setpoint 1.
a
0 Jog 1 OFF Drive brakes along the ramp of RFG, if "Jog 1" was previously ON,
and goes into "Operation Enabled" when drive comes to a standstill.
a
9 1 Jog 2 ON Prerequisite: Operation is enabled, drive is in standstill and STW1 bit
4, 5, 6 = 0. The drive runs up along the ramp of RFG to jogging
setpoint 2.
a
0 Jog 2 OFF Drive brakes along the ramp of RFG, if "Jog 2" was previously ON,
and goes into "Operation Enabled" when drive comes to a standstill.
11 device-specific Significance not specified
a
optional
Version 4.0
Table 19 Detailed assignment of the special control word 1 bits (STW1) for the
positioning mode
Bit Significance
0-11 Device-specific
12-15 Controller Sign-Of-Life
NOTE If a clock-cycle synchronous application is not implemented, i.e. bits 12-15 of control word 2 are not
required to transfer the controller Sign-Of-Life, the complete control word 2 may be freely used.
Bit Significance
Speed control mode Positioning mode
Version 4.0
Bit Significance
Speed control mode Positioning mode
Explanation: The significance for bit value = 1 is left of the slash; bit value =0 to the right.
The common status bits are shown in Table 22 and the status bits which differ for the speed
control (AC 4) and positioning (AC 3) in Table 23 and Table 24.
Table 22 Detailed assignment of the common status word 1 bits (ZSW1) for the speed
control /positioning mode
Version 4.0
Table 23 Detailed assignment of the special status word 1 bits (ZSW1) for the speed
control mode
8 1 Speed Error Within Tolerance Actual value is within a tolerance band; dynamic violations
Range are permissible for t < t max , e.g.
n=n set ,
f=f set , etc.,
t m ax may be parameterized
Table 24 Detailed assignment of the special status word 1 bits (ZSW1) for the
positioning mode
8 1 Following Error Within The dynamic comparison of the setpoint position with the
Tolerance Range actual position value is located with the defined following
error window.
0 Following Error Out Of
Tolerance Range
10 1 Target Position Reached The position actual value is located at the end of a traversing
task in the positioning window.
0 Not At Target Position
11 1 Home Position Set Homing Procedure was executed and is valid.
0 Home Position Not Yet Set No valid Home Position available.
12 Edge Traversing Task Using an edge, it is acknowledged that a new traversing task
Acknowledgment (0 -> 1 and 1 or setpoint was accepted (the same signal level as for bit 6
-> 0) in the control word 1).
Version 4.0
Bit Significance
0-11 Device-specific
12-15 DO Sign-Of-Life
NOTE If a clock cycle-synchronous application is not implemented, i.e. bits 12-15 of status word 2 are not
required to transfer the DO Sign-Of-Life, then the complete status word 2 may be freely used.
The controller may get the information, if the DO has disabled the pulses, out of the status bit
"Pulses Enabled".
This bit is optional. The manufacturer may use a device-specific bit of the status word 1 or 2
or, possibly, a bit in a manufacturer-specific status word.
In new developments, it is recommended to use bit 11 of status word 2 for "Pulses Enabled".
The evaluation of status word bit "Pulses enabled" is optional (refer to 5).
To identify the usage and the position of the bit "Pulses Enabled", a profile parameter P924
"status word bit Pulses Enabled" is defined with the following structure:
If the parameter P924 is implemented in the drive, the drive supports the evaluation of
"Pulses Enabled".
For applications with Drive Axis, a differentiation may be made according to the six
PROFIdrive Application Classes with the associated levels of drive interfaces (refer to 2.4).
According to the different interface levels the following Operation Modes are defined within
this profile:
b) Positioning mode
The Application Class 3 is emulated under the positioning mode.
Copyright PNO 2005 - All Rights Reserved Page 79 of 271
Content Start
Version 4.0
State diagram
In order to simplify the diagram, the states, common for all operating modes (also
manufacturer-specific), are combined in the general state diagram (see Figure 24) with only
the supplementary states of the individual modes being shown in dedicated diagrams. This
state diagram corresponds with the function block state machine in the general Drive Object
block diagram (see Figure 23).
2 NAMUR = Standards Working Group for Instrumentation and Control in the Chemical Industry
Version 4.0
Standstill detected
OFF Coast Stop Coast Stop OR
AND No Coast Stop b
OR Quick Stop STW1 bit1=false Disable Operation
AND No Quick Stop STW1 bit1=false STW1 bit3=false
STW1 bit0=false OR bit2=false
AND bit1=true AND bit2=true
Standstill detected
OR Quick Stop
Coast Stop ON OFF Disable Operation STW1 bit 2=false
OR Quick Stop
STW1 bit0=true STW1 bit0=false STW1 bit3=false
STW1 bit1=false
OR bit2= false
Enable Disable b
ON OFF Quick Stop
Operation Operation
STW1 bit0=true STW1 bit0=false STW1 bit 2=false
STW1 bit3=true STW1 bit3=false
S4: Operation
ZSW1 bit 0,1,2,"p.e."=true; 6=false
NOTE 1 STW1 bit x,y =: These control word bits shall be set by the control.
NOTE 2 ZSW1 bit x,y = These status word bits indicate the actual state.
NOTE 3 Standstill detected is an internal result of a stop operation.
a
Abbr.:"p.e." = "Pulses enabled" optional (refer to 4.2.5)
b
The internal condition fault with ramp stop also activates this transition.
All transitions in this general state machine may only be initiated by a controller, if it has the
control priority. The following conditions shall be fulfilled to give the controller the control
priority (refer also to 4.11):
1) the PROFIBUS or PROFINET interface between this controller and the DO has the
control priority (P928)
2) ZSW1 Bit 9 is set by the DO
3) STW1 Bit 10 is set by the controller
Version 4.0
Internal conditions of the drive or control priority of another interface may cause transitions
independent of this controller.
The bits defined for the positioning mode are only relevant, if the drive is in the state S4
"Operation".
Notice, that the priority of the Stop-Reactions is in the order of Ramp Stop, Quick Stop and
Coast Stop, where Coast Stop is the highest and Ramp Stop the lowest priority. The effect
and priority of the Stop-Reactions is independent from the origin (general state machine,
speed setpoint channel STW1 bits 4, 6 or Stop-Reactions caused by faults). This means, that
any higher priority Stop-Reaction overwrites all lower priority Stop-Reaction. For example if
the axis is switched off by STW1 bit 0 = 0 and remains in S5 Ramp Stop, a setting of STW1
bit 4 = 0 drives the axis to S5 Quick Stop.
Also all Stop-Reactions caused by faults (Fault with Ramp Stop, Fault with Quick Stop, Fault
with Coast Stop) force the general state machine to switch to state S1 (Switching On
Inhibited) or S2 (Ready for Switching On).
The speed control mode comprises the speed setpoint interfaces used in the Application
Classes 1 and 4. Generally both interfaces use STW1/ZSW1 and the speed setpoint input to
control the drive. The differences between the speed setpoint interface in Application Class 1
and Application Class 4 are the different feedback values (Output Data) and the different
functionality of the speed setpoint channel.
Notice, that all Stop-Reactions out of the state machine (Coast Stop, Quick Stop and Ramp
Stop) are with higher priority than the control functions of the speed setpoint channel.
Version 4.0
Mechanism
Alarm Input PZD Output PZD
I/O STW2 STW1 setpoint actual
data ZSW2 ZSW1 values values
control handling
Fault State
Alarm event buffer machine
internal clock
optional
Figure 26 shows the typical functionality of the speed setpoint channel block in the
Application Class 1 and the effect of the STW1 control bits on the speed setpoint channel.
The jog mode functionality is optional.
If the drive supports parameter PNU930 (operating mode) than the drive shows the
functionality of the speed setpoint channel and the support of the bits 4, 5, 6 in STW1
according to Figure 26 by answering a parameter read request on PNU930 with a value == 1.
The Ramp Function Generator (RFG) is set to zero output if STW1 bit 4 is set to zero. If the
RFG is activated by STW1 bit 4 = 1, the RFG output starts with setpoint value zero or the
RFG output setpoint value may be synchronized to the actual value of the axis speed (vendor
specific).
Version 4.0
setpoint a COMP
STW1 bit 5
True = unfreeze RFG
False = freeze RFG
STW1 bit 6
True = enable setpoint
False = disable setpoint
1 = operate Change of mode between
0 = freeze
normal operation and jog
mode or vice versa
only when drive is
reset RFG in stand still
&
0 0 0 0
0
setpoint 1 1
RFG
(velocity) 1
to v/f control or
closed loop
speed controller
STW1 bit 8 (velocity)
True = Jog 1 ON
False = Jog 1 OFF
C1
Y
STW1 bit 9 C2 0= reset RFG
True = Jog 2 ON J1 J2 RFG (output=0)
False = Jog 2 OFF 1= operate RFG
Jogging Jogging
setpoint 1 setpoint 2 Jogging functionality (optional)
1 0 J1 actual value b
ZSW1 bit 10
0 1 J2 True = f or n reached
1 1 no change False = f or n not reached
Version 4.0
Speed control in Application Class 4 typically is used for positioning by use of servo drives
with central interpolation. Therefore the position closed loop control located on the control is
closed via the PROFIdrive Interface. For this Application Class the Position Feedback
Interface and the Clock Synchronous Operation is necessary. Optional a second Position
Feedback Interface and additional DSC functionality may be applied. Figure 27 shows the
typical functionality of an Application Class 4 PROFIdrive Axis DO.
Periphery Lifesign
control handling
internal clock
Fault State
Alarm event buffer machine
Position X act2
E2 feedback
interface
optional
In the Application Class 4 there is typically no need for a Ramp Function Generator (RFG) in
the speed setpoint channel. Therefore a more simple speed setpoint channel without RFG
functionality may be used (optional). Figure 28 shows the functionality of this reduced speed
Copyright PNO 2005 - All Rights Reserved Page 85 of 271
Content Start
Version 4.0
setpoint channel block for use in the Application Class 4 and the effect of the STW1 control
bits on the speed setpoint channel. With this speed setpoint channel STW1 bit 5 is without
effectiveness. The jog mode functionality is optional.
If the drive supports parameter PNU930 (operating mode) than the drive shows the
functionality of the reduced speed setpoint channel and the only support of bits 4 and 6 in
STW1 according to Figure 28 by answering a parameter read request on PNU930 with a
value == 3.
setpoint a COMP
STW1 bit 5
without effectivness
STW1 bit 6
True = enable setpoint
False = disable setpoint
0
0 0
0 to v/f control or
1 closed loop
setpoint 1 1 speed controller
(velocity) (velocity)
STW1 bit 8
True = Jog 1 ON
False = Jog 1 OFF
C1
Y
STW1 bit 9 C2
0= reset RFG
True = Jog 2 ON J1 J2 RFG
(output=0)
False = Jog 2 OFF
1= operate RFG
Jogging Jogging
setpoint 1 setpoint 2 Jogging functionality (optional)
1 0 J1 actual value b
ZSW1 bit 10
0 1 J2 True = f or n reached
1 1 no change False = f or n not reached
Figure 28 Reduced speed setpoint channel for use in Application Class 4 (optional)
The jogging functionality is optional. Prerequisite for the jog mode is that the drive is already
switched to state S4 operation. Switching of mode between normal operation and jog mode
(drive follows selected jogging setpoint) is only possible when the drive is in a standstill. To
enter the jog mode (drive shows effect on the jog bits (STW1, bits 8 and 9)) the standard
setpoint channel shall be completely deactivated (STW1, bits 4, 5, 6 ==0; bit 5 is dont care in
Copyright PNO 2005 - All Rights Reserved Page 86 of 271
Content Start
Version 4.0
case of a Reduced Speed setpoint channel). Leaving the jog mode and switching back to
normal operation requires first that the drive comes to a standstill in the jog mode (STW1, Bits
8, 9 ==0). STW1 bits 4, 5, 6 need not force the drive to leave the jog mode if the drive is not
already in a standstill. If in jog mode the speed setpoint from jogging setpoint 1 is activated
(STW1 bit 8=1) and afterward also jogging setpoint 2 (STW1 bit 9=1) is activated, then the
drive still keeps the former setpoint value jogging setpoint 1. If both jog bits are activated at
the same time (from STW1 bit 8 = bit 9 == 0 to STW1 bit 8 = bit 9 == 1 with the next DP-
cycle), then the jogging setpoint value is zero.
In positioning mode which refers to the Application Class 3, the speed setpoint channel
block is replaced by the motion control block (see Figure 29). The motion control block
comprises the functionality of a position closed loop control, an interpolator for point to point
movement, homing and jogging (optional). In positioning mode bits in the STW1/ZSW1, which
in speed control mode are dedicated to the speed setpoint channel, are used to control the
motion control operation (refer to 4.2). Also the general state machine/diagram according to
Figure 24 is expanded in the positioning mode according to Figure 30.
Queue
Alarm
Periphery Lifesign
internal clock
control handling
Fault State
Alarm event buffer machine
Motion control
Power Current Speed Vsetp
M (interpolation)
stage closed loop closed loop
+ closed loop
control control
position control
Version 4.0
The general state machine is expanded as follows for the positioning mode:
Jog 1 ON
OR Jog2 ON Speed equal to zero
a
OR (Jog1 ON and Jog2 ON) optional
STW1 bit 8 or 9 or 8&9 = true Intermediate Stop
ZSW1 bit 13 = true
optional
a
if the device supports this combination (optional)
b
p.e. = status bit for pulses enabled/disabled
Version 4.0
The drive executes autonomously the homing procedure. The strategy of the homing
procedure is defined manufacturer-specific by the parameterization of the drive.
Version 4.0
Version 4.0
The setpoints to the Axis and also the actual values from the Axis are transferred as PZD.
The process data is transferred using the Cyclic Data Exchange service. The representation
of data shall be in big-endian format.
The following advantages are obtained due to the telegram configuring and normalization:
4.4.1 Signals
A series of signals with appropriate signal numbers are defined to configure the process data
(setpoints, actual values).
Version 4.0
Version 4.0
Standard telegrams 1 to 4 are defined for speed setpoint interface operations (AC1 and AC4).
The standard telegrams are selected when configuring the process data (refer to 4.4.3).
PZD number 1 2
PZD number 1 2
PZD number 1 2 3 4
PZD number 1 2 3 4
PZD number 1 2 3 4 5
PZD number 1 2 3 4 5 6 7 8 9
PZD number 1 2 3 4 5 6
... ... 10 11 12 13 14
... ... G2_ZSW G2_XIST1 G2_XIST2
Version 4.0
The standard telegrams 5 and 6 are derived from standard telegrams 3 and 4 for additional
use of the Dynamic Servo Control (DSC / refer to 4.5).
Standard telegram 5: n set interface, 32 bit, with one sensor; additionally position
difference and position controller gain in the setpoint direction for DSC
PZD number 1 2 3 4 5 6 7 8 9
PZD number 1 2 3 4 5 6 7 8 9
Standard telegram 6: n set interface, 32 bit, with two sensors; additionally position
difference and position controller gain in the setpoint direction for DSC
PZD number 1 2 3 4 5 6 7 8 9 10
... ... 10 11 12 13 14
... ... G2_ZSW G2_XIST1 G2_XIST2
The following standard telegrams 7 and 9 are defined for positioning mode (AC 3).
PZD number 1 2
PZD number 1 2
PZD-Number 1 2 3 4 5 6
PZD-Number 1 2 3 4 5
NOTE 1 The traversing block number is entered in standard telegram 7, in traversing block selection (SATZANW),
which the drive should then process. The actual traversing block (AKTSATZ), which is returned, indicates which
traversing block number the drive is currently processing.
Version 4.0
NOTE 2 Standard telegram 9 transfers cyclically the target position (TARPOS_A) and the velocity (VELOCITY_A)
for decentral positioning, contrary to standard telegram 7 in which the target position and the velocity have to be
transferred by parameters.
The following standard telegram 8 is defined for the position setpoint interface (AC 5).
PZD-Number 1 2 3 4 5
PZD-Number 1 2 3 4 5
The following standard telegram 20 is exclusively defined for the use of the speed setpoint
interface according to the VIK-NAMUR recommendations for process technology (AC 1).
Standard telegram 20: n set interface for the process technology, 16 bit
(refer to 8).
Process data in the data telegram may be assigned the individual setpoints/actual values
using the process data configuring (telegram configuration). The standard signals from 4.4.1
or also manufacturer-specific signals may be configured as setpoints/actual values.
There are four parameter numbers (PNU) in the profile-specific parameter section to configure
this process data.
923[y] List of all of the parameters for signals (profile and device- read only Array[y]Unsigned16
specific)
Version 4.0
P922 = 3 -> Standard telegram 3: n set interface, 32 bit, with one sensor
P922 = 4 -> Standard telegram 4: n set interface, 32 bit, with two sensors
P922 = 5 -> Standard telegram 5: n set interface, 32 bit, with one sensor;
additionally the position difference and the position controller
gain are transferred in the setpoint direction to implement DSC
P922 = 6 -> Standard telegram 6: n set interface, 32 bit, with two sensors;
additionally the position difference and the position controller
gain are transferred in the setpoint direction to implement
DSC
P922 = 10-19 -> Standard telegrams 10 -19 (reserved for PROFIdrive profile)
P922 = 20 -> n set interface for the process technology, 16 bit, see 8
P922 = 21-80 -> Standard telegrams 21 -80 (reserved for PROFIdrive profile)
Version 4.0
Instead of selecting a telegram with parameter P922, a telegram may also be configured by
using P915[x] and P916[x].
All of the signals which may be configured as process data are represented by a
manufacturer-specific defined parameter number.
The actual telegram is configured by entering the manufacturer-specific parameter number
into parameter P915[x] (setpoint telegram) and P916[x] (actual value telegram). The
process data (PZD 1...PZD n) is selected via the array index x (0 ... n-1).
It is permitted to fix the content of P 915 and P 916
A telegram configured with P915[x], P916[x] should fit to the actual telegram configuration
(i.e. the length), otherwise a device-specific alarm- or error response will be issued.
The array size depends on the way that the telegram was configured.
For PZD 1, only control word or status word 1 are permissible.
Process data which is not used is marked with zero (P915[x] = 0 or P916[x] = 0).
Using parameter P923[y], an assignment is made between the signal numbers and the
associated manufacturer-specific parameter numbers. The array index y is the number of the
signal. Array indices 1 to 99 consist of the standard signals defined in the profile (refer to
4.4.1), array indices 100 to 65535 contain the device-specific signals if they are defined.
There is an entry for all standard signals which the device supports and for the device-
specific signals.
Standard signals which are not supported are identified with the entry 0.
Gaps between device-specific signal numbers are filled with zeros.
The following example specifies a standard telegram configuration (refer to P922) for the
setpoint with signal numbers 1 (STW1) and 5 (NSOLL_A), which are represented by the
manufacturer-specific parameters P833 and P711 (refer to P915[x], P923[y]).
The controller may determine the following assignments by reading-out parameters P915[x],
P923[y]:
The description elements of P711 contain information for the PZD normalization (refer to
4.4.4):
Version 4.0
PZD number 1 2 10
setpoint STW1 NSOLL_A . . . ---
Descr.elements
(of P711)
P923[y] =
1
Parameter No.
PZD reference parameter
(P1401)
11 1401
0 0 12 0x000eH PZD standardization bit
1 833 P833 (STW1) (Bit14)
99 0
x = PZD number
123 0 y = Signal number
150 345
The physical values may be calculated from the transferred value of a process data for non-
normalized variables (e.g. data type Unsigned16) using the parameter description elements
standardization factor (subindex 3, refer to 3.1.2) as well as variable attribute (subindex 4,
refer to 3.1.2).
Normalized process data (data types N2, N4 / X2, X4/ optional Integer16, Integer32,
Floating Point)
To calculate the physical value from the transferred value of a process data for normalized
variables (data types N2, N4 / X2, X4 / optional Integer16, Integer32, Floating Point)
additional description elements are required.
Setpoints and actual values are generally transferred as normalized process data which often
refer to various motor characteristic variables such as the maximum speed or the maximum
current. Often, these motor characteristic variables are saved in a manufacturer-specific
Copyright PNO 2005 - All Rights Reserved Page 98 of 271
Content Start
Version 4.0
parameter (e.g. transferring the speed NSOLL_A = 0x4000H corresponds to 100% of P1401 =
3000 RPM).
Enabling the controller to be able to deliver setpoints to drives from various manufacturers,
this normalization information shall be able to be read out. To realize this, the already existing
parameter description elements are supplemented by the PZD reference parameter
(subindex 11, refer to 3.1.2) and PZD normalization (subindex 12, refer to 3.1.2)
components.
The PZD reference parameter component contains the parameter number of the reference
value and the PZD normalization component (the bit number of the bit) which refers to the
reference value.
A controller will read out the normalization of speed setpoint NSOLL_A from the DO in order
to enter a speed setpoint of 1500 RPM:
The controller shall first determine the manufacturer-specific parameter for NSOLL_A with
the standard signal number (in the example: 5) from P923[5] (in the example: 711).
The PZD reference parameter (in the example: 1401) and the PZD normalization bit (in the
example A: bit 14 corresponding to 0x4000H / in example B: bit 12 corresponding to
0x1000H) may be determined from the description element of this parameter.
The controller may calculate the setpoint to be entered by reading out the contents of
P1401 (in the example: 3000.0) and the variable attribute of P1401 (in the example: RPM).
(in the example A: 0x2000H corresponds to 1500 RPM / in the example B: 0x0800H
corresponds to 1500 RPM).
Parameter values:
Identifier:
Bit 0-7 = data type 33 (N2) 43 (X2) 8 (float)
or 3 (Integer16) or 3 (Integer16)
No. of elements 1 1 1
14 12
Standardization factor 0.0061 (100 / 2 ) 0.0244 (100 / 2 ) 1.0
Variable attribute:
Variable/conversion index 24 / 0 (%) 24 / 0 (%) 11 / 67 (RPM)
Name nset nset nnorm
Version 4.0
Parameter values:
Identifier:
Bit 0-7 = data type 8 (float) 8 (float)
No. of elements 1 1
Standardization factor 100.0 (100 / 1.0) 1.0
Variable attribute:
Variable/conversion index 24 / 0 (%) 11 / 67 (RPM)
Name nset nnorm
Lower limit value -4.0 (-400%) 1000.0
Upper limit value 4.0 (400%) 10000.0
PZD reference parameter 1401 0
PZD normalization:
Bit 0-5 = Normalization bit 0-31 0 (always with float) 0
Bit 15 = Normalization valid 1 (yes) 0 (no)
Version 4.0
4.5.1 Features
This function improves the dynamic performance of the position control loop by minimizing the
delays which normally occur with a velocity setpoint interface. In this case, only a relatively
simple expansion of the transferred setpoints and an additional feedback network are required
in the drive.
4.5.2 Structure
The control loop based on the velocity setpoint interface generally has the following structure:
Path
Interpolation n cm d NC Pos. Transmission Interpolation
Speed control
control delay (T P C ) Speed filter
x cm d x e rr n NC * n Dri ve
k pc
x ac t, NC
Speed
calculation
T pc
xact
Figure 36 Structure of the position control circuit based on the velocity setpoint
interface without DSC
Version 4.0
The actual position calculated in the drive is also directly feed-back with DSC:
Path
Interpolation n cmd
Transmission Interpolation Position
Speed filter Speed control
delay (T PC ) control
xc m d x err n Drive
x act,NC
Speed
calculation
1 2 3 4
x act, Drive
X act,NC
T pc T pc T sc
x act
Figure 37 Structure of the position control circuit based on the velocity setpoint
interface with DSC
In order to realize this function, the system deviation calculated in the controller is transferred
in addition to the velocity setpoint. The additional feedback network (shaded) may use the
internal drive formats to represent the position, and is thereby independent of the position
representation in the controller. The diagram above assumes that the network is computed in
the velocity control clock cycle T SC , which is possible in many cases. This means that the
maximum possible dynamic performance improvement may be achieved. Higher clock cycle
times T are also possible if the calculating time is critical (T SC T T PC ).
The structure contains a total of three feedback branches for position actual value (No. 1, 2
and 3). Feedback branch No. 2 completely compensates the effect of No. 1 regarding the
actual value x act sent from the drive. This means that the delay time in branch No. 1 no longer
has to be considered for the stability of the position control loop. Thereby, the position control
loop is initially open. Feedback branch No. 3 then re-closes the loop, however, with a lower
delay so that higher gains may be set.
The absolute reference of the position actual values is first established in the controller
(addition location Zero offset and compensation). The same absolute reference is contained
in the position set point x cmd . This means that the system deviation x err , computed in the
controller, has no zero point. The drive does not require any information about the zero points
and home positions.
Version 4.0
For a constant velocity, the transferred system deviation xerr is also constant. This makes it
extremely simply to generate an equivalent value if a telegram fails (the previous value is
reused).
The controller may select a different format for the position actual values and position setpoint
value than the drive (for example, in order to display a wider traversing range than the drive)
without loading the computational performance of the drive or having to increase telegram
formats or to modify the dynamic performance of the control loop. It is also possible to
compute feedback branch 1 referring to the load side and feedback branches 2 and 3
referring to the motor side, without changing the system behaviour.
It is permissible that the position actual value as supplied from the drive cyclically overflows,
as long as the controller is sampled often enough so that overflows such as these are
recognized. The feedback network (branches 2 and 3) shall not respond to such overflows
with transient reactions.
The cyclic overflow of the position actual values in the drive shall not be synchronized with a
mechanical overflow at the machine, but may be for example selected using the numerical
format.
Feedback branch 4 for the velocity actual value always uses the motor sensor.
There are three operating situations for the feedback branches 1, 2 and 3:
If there is no load-side sensor case 1 always applies. In this case, feedback branch 1, 2 and 3
use the actual value from the motor sensor, whereby a different representation is possible in
branch 1 (numerical format, load reference). This case applies to for example linear or rotary
direct drives.
The feedback branches 2 and 3 may compute the motor-side actual value in a format which is
favourable for the drive; the physical weighting of a motor-side sensor increment on the load
side shall not be known.
If there is a load-side sensor which should be used for the position control loop, the two other
operating cases are practical:
In case 2, branch 1 is not completely compensated by branch 2, as the actual values of the
two sensors normally do not cover one another. However, the feedback network still acts
stable with respect to conventional control loops as not only is the load-side actual value fed
back but also the two actual values. The main advantage of this version is the fact that the
load-side actual value shall not be supplied from the drive, but may also come from a sensor
directly connected to the bus or to the controller.
Case 2 is handled in the drive as if there was no load-side sensor, i.e. the same as case 1
(not taking into account the fact, circumstances permitted, that an actual value of this sensor
is made available to the controller).
Version 4.0
In case 3, feedback branches 2 and 3 may compute the load-side actual value in a format
which is favourable for the drive. The physical weighting of a load-side sensor increment shall
not be known. The controller shall ensure that also in this case the normalization of x err and
x act are the same at the interface so that a simple computation is possible in the drive. The
transition from the load to the motor side is made using the position controller gain factor k pc .
4.5.6 Interface
These two signals have their own assigned index in signal list P923. They may be located at
any position of the telegram using parameter P915. In order to simplify the implementation in
the controller and drive, it is favourable if they are located at the end of the setpoint telegram.
The standard telegrams 5 and 6, defined for the Dynamic Servo Control (DSC) function, are
described in more detail in 4.4.2.
If the two signals x err and k pc have been configured, the feedback network in the drive is
activated. If only one of the two signals is configured, it is assumed that this is used for other
purposes and the feedback network remains inactive.
From the drive perspective, there are two operating states, which differ as a result of k pc = 0
or k pc 0:
1) k pc = 0: The feedback network is ineffective. The position control loop in the drive is
opened. Generally, the controller uses this to completely open the position control
loop, e.g. for spindle operation or when errors occur. The controller may also select
a conventional closed-loop position control that way without having to re-configure
the drive. X err is invalid. It is recommended to send x err = 0. The velocity setpoint is
supplied via n cmd .
2) k pc 0: The feedback network is effective, the position control loop in the drive is
closed. A velocity pre-control value is entered via n cmd , which may also be zero.
The controller may change over between these two states at any time. Furthermore, the
controller may change the value of k pc at any time (for example to adapt the dynamic
performance when the gearbox ratio is changed or to compensate for non-linear gearboxes).
Version 4.0
If the DSC functionality is used, the controller shall work with the optimized T DP cycle (T M >
T DX ) which is realized in the enhanced synchronized isochronous mode (refer to 6.7.2).
The feedback branch 2 shall precisely emulate the effect of feedback branch 1 between points
A and B. Both branches shall
1) operate with an actual value which comes from the same time instant and which is
sampled with the same frequency
2) have the same delay
3) contain the same fine interpolation
This is specified in the structure diagram (block diagram) using the dotted arrows.
The feedback network may also be re-configured by interchanging elements, as long as the
conditions are maintained, that branch 2 compensates branch 1 and branch 3 closes the
control loop. Such versions, which are structured differently, under certain circumstances, are
better emulated on existing hardware.
However, when re-configuring the network, it should still be observed that actual values which
cyclically overflow cannot initiate transient reactions of the position control loop.
For a transition to k pc 0, the interpolation filters in the x err branch and in the n cmd branch
shall be bypassed for one clock cycle (T PC ).
For a transition to k pc = 0, the drive-internal controller output goes to zero as a jump function.
The controller simultaneously increases n cmd by the same absolute value also as a step
function so that the velocity sum at the speed controller input always runs continuously. In
order for this to also work during motion, the interpolation filter shall be bypassed in the n cmd
branch for one clock cycle (T PC ).
The velocity setpoint filter ("speed filter") specified in the block diagram is optional and has
nothing to do with the DSC function. It has only been drawn-in to make a clear differentiation
to conventional closed-loop position control structures.
Version 4.0
4.6.1 Overview
The position feedback interface defined in this profile is an interface between the Axis and a
higher level control. The interface gives the possibility for the control to get position feedback
information over the PROFIdrive Interface taken from the sensors connected to the Drive. The
functionality described in the position feedback interface is implemented in the drive, not in
the sensor itself.
A position feedback interface consists of the following objects that may be used for telegram
configuring (refer to 4.4.3) through assignment (process data number/parameter number):
These objects Gx_* are available for a max. of 3 sensors (Gx = Sensor 1 to 3), and may also
be used individually (for example, only G1_STW).
The position feedback interface is defined for the application with a cyclic speed setpoint
interface.
G1_STW
G2_STW
communication system Drive Unit
Controller
DO
G1_ZSW G1_XIST1 G1_XIST2
G2_ZSW G2_XIST1
Figure 38 Example of the sensor interface (Sensor-1: two actual values / Sensor-2:
one actual value)
Because of possible user data failure actual positions (Gx_XISTx) cannot be transmitted as
partial actual values. For that reason, cyclically absolute actual position values are always
transmitted (i.e. after a certain number of revolutions there is an actual position overflow).
In Data_Exchange the drive always - independent of the controller's operating modes Clear
and Operate -sends the actual positions (Gx_XISTx).
The receiver may evaluate an actual position incrementally, whereby the zero point is set
by approaching a home position and by setting it, or by the controller reading an absolute
value (refer to explanation below). This may be applied to all sensor types.
An actual position value may also be viewed as an absolute value (which may if
necessary, be charged up only against a zero shift in the controller), if limited to absolute
Copyright PNO 2005 - All Rights Reserved Page 106 of 271
Content Start
Version 4.0
sensors on axes with a finite traversing range (which is less than the display range of the
sensor).
In the case of continuously rotating axes, incremental evaluation is preferable (no modulo
handling in the drive).
It should be possible for the controller to select the modulo range and the modulo strategy
(there should be none in the drive). If the drive permits modulo processing, this should be
able to be disabled via a parameter.
Explanation:
The actual position value transmitted in Gx_XISTx is an absolute actual value which the drive
may simply set to 0 when it is started and after the parking sensor has been disabled. For that
reason, a higher level control should only use the position differences between two position
controller cycles to calculate its internal actual position value.
A sensor shall deliver Gx_XIST1. If a sensor only uses a serial protocol and therefore has
only an absolute value, then this value will be delivered in Gx_XIST2 and also in
Gx_XIST1.
An increase in the Shift factor automatically results in an increase in resolution. This
should go for Gx_XIST1 and the absolute value in Gx_XIST2 as far as technically
possible.
(That means there will not only be padding with zeros inserted if the values are shifted
further to the left.)
The absolute value in Gx_XIST2 shall be valid at the same time as that from Gx_XIST1.
Only then is the absolute value usable to make corrections to the incremental value.
This means that the drive shall also make corrections to the absolute value via the
incremental value: several sampling periods may pass till the absolute value is available
from the sensor. This old absolute value shall be compensated with the incoming
incremental position to create the same valid instant in time for both values.
Assigning different functions to the Gx_XIST2 (as well as the normalization of Gx_XIST2
at the different functions) is governed by a prioritization of the functions (refer to Table
32).
The profile parameter P979 sensor format contains the important properties of the sensors.
It may be read out how Gx_XIST1 and Gx_XIST2 are normalized.
Version 4.0
Subindex 0: Header
Bits Meaning
03 Version of the parameter structure, least significant number (value range: 0..15)
This version field is incremented when additional data description information is added or when
assigning previously unassigned bits (compatible extension).
0: reserved
1: Identifier for the presented structure
>8: manufacturer-specific (the manufacturer has included additional indices, whereas those
defined in the profile remain unaltered.)
47 Version of the parameter structure, most significant number (value range: 0..15)
This version field is incremented when previously defined data description information is
modified. (incompatible modification)
0: reserved
1: Identifier for the presented structure
>8: manufacturer-specific
8 11 Number of described sensors (Gx) in the parameter. (value range: 0..15)
Its recommended to limit the number of described sensors to the number of active sensor
interfaces to reduce communication overhead between controller and DO.
12 15 Number of the assigned indices describing a sensor (sensor substructure). (value range: 5..10)
16 31 Reserved for future use
Bits Meaning
0 = 0 Rotary sensor
= 1 Linear sensor
1 = 0 A fine resolution in Gx_XIST1 is to be taken relative. This means the position of the sensor
signal within a sinus signal is not displayed in the switch-on instant.
= 1 A fine resolution in Gx_XIST1 displays the absolute position within a signal period. The
transferred value may be interpreted as absolute value, because the fine resolutions are
synchronous in every switch-on instant.
2 = 0 No 64 Bit absolute information available.
= 1 Reserved for future extensions: 64 Bit absolute information available.
3 30 Reserved for future use.
31 = 0 Data in parameter 979 substructure Gx is invalid
= 1 Data in parameter 979 substructure Gx is valid
If the sensor delivers no signal period (=A and B-tracks) but instead a serial protocol, then the following is
valid: For a rotary sensor, the parameter contains the number of increments per revolution. For a linear
sensor, the parameter contains the increment length in Nanometers.
Version 4.0
Specifies how many bits defining the sum of quadrant information and fine resolution are
displayed in Gx_XIST1. (value range: 0..32).
The fine resolution results from the signal period interpolation. An Impulse quadruplication
or arctangent interpolation evaluation is to be calculated to the fine resolution. Only values
of 2^n are possible for the Shift factor because the fine resolution should be interpretable
within a signal period (see Subindex 1 Bit 1). Thereby overflows in the fine resolution always
fall on a bit-boundary.
Sensors whose resolutions are less than 32 bits, may set their sensor information left
justified, so that the bit is known at which the modulo overflow takes place.
Specifies how many bits defining the sum of quadrant information and fine resolution of the
transmitted absolute value in Gx_XIST2 are to be displayed. (value range: 0..32) (see also
Subindex 3).
Specifies which absolute position information may be delivered by the sensor. This is relevant
for rotary and also linear sensors.
Rotary sensors:
A value of 0 indicates that the sensor has no absolute information or may only display
values less than one absolute revolution. (For example a multipole resolver). Notice,
that with value = 0, the sensor interface will not support the absolute value reading
function via Gx_XIST2.
A value of 1 indicates that the sensor may display exactly one absolute revolution.(For
example a resolver with 1 pole pair). Notice, that with values of 1 or greater, the
encoder interface shall support the absolute value reading functionality via Gx_XIST2.
Values greater than 1 mark a multi-turn sensor (For example, 4096 is a commonly
used value).
Linear sensors:
A value of 0 indicates that the sensor has no absolute information. (For example
standard incremental linear scale).
A value of 1 or greater indicates that the sensor delivers absolute position information.
Version 4.0
F: fine resolution
P: pulses
Q: quadrant information (quadrants which are calculated of the signs of sinus and cosine)
R: revolutions
In these examples all Gx_XIST1 are specified with shift factor 11 (P979.3=11), except in
example 8. All Gx_XIST2 are specified with shift factor 9 (P979.4=9), except in examples 3, 5,
7 and 8.
The fine resolution information is optional and defined device-specific according to the quality
of the position feedback interface. The shift factor for Gx_XIST1 may be freely defined by the
application and may not match the internal resolution of the fine interpolation of the drive.
Unused bits of fine resolution in the actual value format shall be filled with zero bit value by
the drive. The maximum fine resolution the drive is capable to deliver need not be evaluated
out of P979.
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R P P P P P P P P P P P Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R R R P P P P P P P P P P P Q Q F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R R R P P P P P P P P P Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 R R R R R R R R R R R R P P P P P P P P P Q Q F F F F F F F
Version 4.0
EXAMPLE 3 incremental encoder (with additional C/D tracks for commutation information)
11 Bit increments (2048 pulses per revolution), C/D tracks are with no effect on
the actual value format
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R P P P P P P P P P P P Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
error code
25 Bit, one period of the incremental track is divided in 160 values of the
protocol, 250000 pulses in 4 meters = 17.9 Bit
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P P P P P P P P P P P P P P P P P P P P P Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 P P P P P P P P P P P P P P P P P P Q Q F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
P P P P P P P P P P P P P P P P P P P P P Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
error code
Version 4.0
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R R R R R R R R R R R R Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Q Q F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R R R R R R R R R R P P Q Q F F F F F F F F F
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
error code
25 Bit, thereof 8192 (13 bits) steps per revolution and 4096 (12 bits)
distinguishable revolutions
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
R R R R R R R R R R R R R R R R R R R P P P P P P P P P P P P P
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 R R R R R R R R R R R R P P P P P P P P P P P P P
Version 4.0
Object Gx_XIST1 is used exclusively to transfer the cyclic position actual value.
The assignment of Gx_XIST2 with different functions (and the normalization of Gx_XIST2 for
the various functions) is controlled by the following priority assignment of the various
functions.
0x0001 Sensor group error Error in the processing of the sensor signal which causes
an invalid Gx_XIST (e.g. electronic malfunction, invalid
sensor signal input, )
0x0002 Zero mark monitoring Warning about inconsistence between correctly
processed Gx_XIST and sensor reference signal (e.g. lost
pulses, )
0x0003 Failure parking sensor Error because of not possible transition to SD12
(parking). This may be e.g. because the drive is currently
running (state S4) and the motor measurement system is
forced to parking.
0x0004 Abort reference value search Error occurred during the initialization or during the
search for reference mark.
0x0005 Abort reference value retrieval Error occurred during reading of the reference value.
There is no valid reference value or the command is not
allowed.
0x0006 Abort measurement on the fly Error occurred during the initialization or during the action
of the function measurement on the fly.
0x0007 Abort measured value retrieval Error occurred during reading the result of the function
measurement on the fly. There is no valid value or the
command is not allowed.
0x0008 Abort absolute value transmission Error because of not possible absolute value transmission
from encoder to the feedback interface. This may be e.g.
because of an absolute value encoder (with serial
interface) not present or not working.
0x0009 Abort absolute value transmission reserved
Version 4.0
0x000A Abort absolute value transmission Absolute value track of encoder not readable
0x000B Abort absolute value transmission reserved
0x000C 0x0F00 reserved
0x0F01 Command not supported Error because of not supported optional function (e.g.
shift/preset home position)
0x0F02 0x1000 reserved
from 0x1001 manufacturer-specific
3: cancel Functions d x
4-7: reserved (activation causes an error)
7 0/1 Mode:
Bit 7 = 0: Reference mark search (zero mark or BERO)
Bit 7 = 1: Measurement on the fly
8 Reserved (without effect)
9 Reserved (without effect)
10 Reserved (without effect)
11 0/1 Home position mode Modifier for home position mode:
Bit 11 = 0: set home position (absolute)
Bit 11 = 1: shift home position (relative)
12 1 Request set/shift Request for set/shift of home position.
of home position e Edge-triggered. Handshake with Gx_ZSW, bit 12.
Definition of preset / shift value is device-specific.
13 1 Request absolute Request of additional cyclic transmission of the absolute actual position in
value cyclically f Gx_XIST2.
Used for, for example: - additional measuring system monitoring
- synchronization at running-up
Copyright PNO 2005 - All Rights Reserved Page 114 of 271
Content Start
Version 4.0
14 1 Activate parking Request to switch off monitoring of the measuring system and the actual
sensor value measurements in the drive. This makes it possible to remove a
sensor (or a motor with a sensor) on the machine without having to change
the drive configuration, or without causing a fault. Also when parking of the
sensor interface is instructed by this Gx_STW1, bit14, all actual errors of
the sensor interface are cleared. Typically the parking of the motor
measurement system while the drive is running (S4) is not allowed and will
result in a sensor interface error (Error code 0x3 in GxXIST2)
15 1 Acknowledging a Request to reset a sensor error (Gx_ZSW, bit15)
sensor error
a
Selection of Function (bit 0 to 3) and Command (bit 4 to 7) shall be set simultaneously. If a Command is
requested without having selected a valid Function (bit 0 to 3 are all zero), the function request will cause an
error (error code 0x04 0x07) and the position feedback interface changes to the SD3 state.
b
Activation of multiple functions with one command is possible (e.g. sensor control word = 0x0013). If only one
of this multiple function request causes an error, none function of this function request is performed and the
position feedback interface changes to the SD3 state
c
Only one function shall be selected. If more than one function is requested, the position feedback interface
changes to the SD3 with error code 0x05 or 0x07 in Gx_XIST2.
d
The cancel function command will cancel all functions (sensor control word bits 0 to 3 are with no effect) and
force the position feedback interface to change to the SD1 state (until it is not already parked or in error state).
e
Set-/Shift home position functionality is an optional functionality. If not implemented, requesting this function
will cause an error with error code 0xF01 in Gx_XIST2.
f
If the PROFIBUS is in the Clear state, it is recommended to transmit the absolute position actual value in
Gx_XIST2 automatically if already present in the drive. A valid absolute position actual value in Gx_XIST2 is
indicated by Gx_ZSW, bit 13 (refer to 4.6.3).
0 1 Function status: Status a : Function 1-4 active (reference mark search / measurement on the
fly)
1 1
2 1 Reference mark
search, Bit 0: Function 1 (Reference Mark 1 / Probe 1 pos. edge)
3 1
or Bit 1: Function 2 (Reference Mark 2 / Probe 1 neg. edge)
measurement on the Bit 2: Function 3 (Reference Mark 3 / Probe 2 pos. edge)
fly
Bit 3: Function 4 (Reference Mark 4 / Probe 2 neg. edge)
Version 4.0
Version 4.0
TD30
BD2
optional add-on
SD14 TD26 SD13
TD16
TD20
BD1 TD17
SD11 SD4
measured value reference value in
in Gx_XIST2 Gx_XIST2
TD1
TD15 TD2
TD14 TD3
SD9 SD6
Figure 39 State diagram of the position feedback interface with designations of the
states and transitions
Version 4.0
4.6.7.2 States
SD1 normal operation:
Action: None
Explanation: The position feedback interface operates normally.
Identification: Gx_ZSW bit 0-7 = 0000 0000b, Gx_ZSW bit 10-15 = 00 00x0b
SD3 error:
Action: Errorcode is posted in Gx_XIST2.
Explanation: There is an error present.
Identification: Gx_ZSW bit 15 = 1, Gx_ZSW bit 11 = 0, bit 0-7 = 0000 0000b
Version 4.0
SD 12 parking:
Action: All errors are cleared if Gx_STW bit 14 = 1.
Explanation: The position feedback interface is in a state where it is inactive and
does not deliver a valid Gx_XIST1 value. This is also the position
feedback interface initial state. See also Note 2.
Identification: Gx_ZSW bit 14 = 1
Version 4.0
interface is completely deactivated and therefore will not generate any error messages. Also all actual errors are
cleared. If allowed by the hardware, an instructed parked sensor may be separated from the drive. Data validity in
P979 for the respective sensor will be indicated by Bit 31 in Subindex 1 (see 0).
Reactivating the sensor: When a sensor becomes reactivated, a new initialization of the sensor is carried out.
4.6.7.3 Transitions
TD1 From: SD2 (error acknowledgment)
Version 4.0
Version 4.0
Condition: Gx_STW bit 14 = 0 and Gx_ZSW bit 14 was set for at least 100 ms
additional condition, when SD13, SD14 are implemented:
and Gx_XIST1 is valid
Condition: Gx_STW bit 15 = 0 and an error still exists while Gx_XIST1 is valid
Version 4.0
Condition: Gx_XIST1 valid and Gx_ZSW bit 14 was set for at least 100 ms while
Gx_STW bit 15 = 1
Version 4.0
The functions which may be executed are prioritized as follows (the function with the highest
priority is specified first):
Gx_STW bit 14
Gx_STW bit 15 (priority only if position feedback interface is in error state SD3)
Gx_STW bit 4-6
Gx_STW bit 12
Gx_STW bit 13
A measurement on the fly/reference mark search may be optimized through the following
device-specific steps:
Using the additional actual positions XISTA,-B,-C,-D (the actual values requested by the
controller are then not multiplexed in Gx_XIST2, but are made available in XISTA,-B,-C,-
D).
Edge change (0 -> 1) of the status signal Value 1 - 4 available already with edge change
(1 -> 0) of the status signal Function 1 - 4 active (the controller may access the values
immediately).
Edge change (1 -> 0) of the status signal Value 1 - 4 available with recognition of the
next command for this function 1 - 4.
XISTA Actual Position A Additional actual position value
XISTB Actual Position B Additional actual position value
XISTC Actual Position C Additional actual position value
XISTD Actual Position D Additional actual position value
The following rules apply to the assignment of functions 1 - 4 to the additional actual values:
Version 4.0
Example for:
In-process Measurement
o o
Mode
G1_STW, Bit 7
Bit2=1
Probe 2 Edge
o o
Function 3
G1_STW, Bit 2
Bit4-6=1 Bit4-6=2
Function 3 activate Read Value 3
Command
G1_STW, Bit 4-6
Bit2=1
Function 3 active
G1_ZSW, Bit 2
Bit6=1
Value 3 available
Value 3 available
G1_ZSW, Bit 6
Bit9=1 Bit9=1
Probe 2 deflected
G1_ZSW, Bit 9
Probe 2 Edge
(actual value-Latch)
Version 4.0
Example for:
Mode Bit7=0
G1_STW , Bit 7 referencelabel search
o o o
Bit0=1 Bit0=1
reference label reference label 1
o o
Function 1 1
G1_STW , Bit 0
Bit1=1 Bit1=1
reference label 2 referencelabel 2
Function 2 o o
G1_STW , Bit 1
Bit0=1
Function 1 active
Function 1 active
G1_ZSW , Bit 0
Bit1=1
Function 2 active
Function 2 active
G1_ZSW , Bit 1
Bit4=1 Bit5=1
Value 1 available Value 2 available
Value 1/2 available
G1_ZSW , Bit 4/5
Version 4.0
4.7 Periphery
A drive hardware may also include I/O peripherals (onboard periphery) which is related to a
DO. These I/O peripherals may also be made accessible via PROFIdrive.
When configuring process data (refer to 4.4.3) an I/O signal number may be assigned to a
process data (PZD).
EXAMPLE
PZD number 1 2 3 4 5
PZD number 1 2 3 4 5 6 7
Mapping the I/O area within the drive and parameter assignment of the I/O is defined to be
device-specific.
Version 4.0
4.8.1 Overview
A brief overview about the principle methods PROFIdrive provides for diagnostic functionality
is shown in Figure 42. Notice, that the fault buffer mechanism is the only mandatory
diagnostic functionality, and only the mechanism is specified.
transitions
fault message
fault buffer
not mechanism show history of
OK
state transition
record state
mapping of actual fault situation
and
transitions
do fault acknowledge
(fault messages)
onto fault classes
to disappear
Parameters 953 to 960 (warning words) of data type V2 are reserved for the warning
mechanism. Other parameters may be used for this purpose in a manufacturer-specific way.
Every bit of a warning word is assigned a Drive Axis exception state. Bit value "0" signifies
"warning not present" (OK); bit value "1" signifies "warning present". The warning words are
only changed locally from the drive.
If at least one warning bit is set, then additionally the warning bit ZSW1, bit7 is set (see
Figure 43).
A warning word is assigned 32 warning texts (data type V2 with additional text array), which
include the contents of the warning or drive exception for visualization purposes.
Version 4.0
Drive
optional
set / reset
with every
change of the
to fault mechanism
corresponding
Drive Axis Exception Status
Drive Axis
Exception
A fault situation, which may be associated with one or several fault messages (drive
exceptions state changes), generates a device-specific fault reaction. E.g. it may cause the
power converter to be powered-down. An unacknowledged fault situation is also indicated by
ZSW1, bit3 (fault present). The fault buffer mechanism defines a fault tracking system in order
to save the fault messages. This fault tracking system consists of the fault buffer (which
consists at least out of the fault number list and the fault message counter, see also Figure
44). The fault buffer contains the fault messages which have been generated during the fault
situation; the fault number list contains explanations and assignments to the various fault
messages defined in the device. The mechanism, as to how the fault tracking system may be
operated, is described in the following paragraphs.
Fault buffer
Figure 47 illustrates the structure of a fault buffer. The fault buffer comprises rows and
columns. In the most detailed situation, the fault buffer has four columns which are
represented by the fault number (PNU 947), fault code (PNU 945), fault time (PNU 948) and
fault value (PNU 949) parameters. The parameters consist each of an array. The fault buffer
rows are represented by the parameter sub-indices which form the actual fault buffer.
The fault messages are entered into the fault buffer in the sequence in which they are
detected. This means, that each line in the fault buffer represents a fault message; the fault
number, fault code, fault value and fault time of a fault message may be addressed in the
particular parameter using the same subindex.
The fault buffer is subdivided into fault situations which are in turn further subdivided into fault
messages. The scaling of the fault buffer - how many fault situations and how many fault
messages per fault situation are contained in a fault buffer - may be set by parameter P950
Copyright PNO 2005 - All Rights Reserved Page 129 of 271
Content Start
Version 4.0
"Scaling of the fault buffer" (refer also to 5). The implementation of the parameter is optional.
If a Drive Unit has not implemented parameter P950 the default configuration of eight fault
situations with eight fault messages per fault situation is assumed.
. . . . .
sa
. . . . .
es
. . 136 7083
. . . . .
lt m
. . . . .
u
63 63 . . .
Fa
. 63 63
optional
Drive Axis Defines size
if not
Exception
standard
Factory setting of code list is 1:1 (recommended)
PNU950 0 0
Scaling of the fault buffer 1 1
2 2
(read only) . .
. .
optional
As example, the mechanism of the entering and saving of fault situations and fault messages
in the fault buffer is explained with the default configuration. If other quantities of the fault
situation and the fault message are chosen by parameter P950 the example has to be
transferred. The last fault situation which has still not been acknowledged starts with subindex
0, the first acknowledged fault situation with subindex 8. The maximum permissible subindex
is 63 (see Figure 47). This means that the oldest fault situation which is saved starts with
subindex 56. In a fault situation, a maximum of eight fault messages may be saved. If more
than eight fault messages occur during a fault situation, the eighth message is overwritten by
the most recent fault message (see Figure 46). If a fault situation comprises less than eight
fault messages, the fault number and the fault code zero are displayed in the subindex which
is not assigned a fault message. Conversely, if for a subindex the fault number and the fault
code are displayed as zero, the fault message with the next to last subindex was the last fault
message of the fault situation. If a previously unacknowledged fault situation is
acknowledged, this fault situation is shifted to the position of the first acknowledged fault
situation. The contents of the first acknowledged fault situation is previously shifted to the
position of the second acknowledged fault situation. The second acknowledged fault situation
is shifted to the position of the third acknowledged fault situation and so on (see Figure 45).
This implies as a result that the seventh acknowledged fault situation is also overwritten. The
fault messages (fault causes) which are still present after the acknowledgement form a new
fault situation (fault causes which are still present after acknowledgement generate a new
entry in the actual fault situation). A type of fault situation history is obtained for several fault
situations which have been acknowledged in succession.
Version 4.0
If the same fault situation as the last acknowledged fault situation occurs it is allowed not to
shift this fault situation in order to keep the fault history.
Note, that the fault present bit (ZSW1, bit3) is set if there is at least one unacknowledged fault
message entry in the fault buffer, independent of the related fault reaction (see also Figure
45).
counter situation
PNU 947 (all unacknowledged
+1 xx faults)
Fault number
=0
0 oldest entry Actual fault
1 unacknowledged situation
2
.. faults
PNU 952 .
Fault situation 7 most recent entry Copy/acknowledge
reset
counter 8
.. fault situation
complete fault .. acknowledged (max. 3 s for
buffer (all zero) .. handling)
xx +1 faults
reset
Fault Reaction
fault
acknowledgement
completed
fault reaction
or fault buffer reset
(device/fault specific)
Version 4.0
..
..
.
fault message
to warning
mechanism
fault reaction
(device/fault specific) Drive Axis
Exception
The fault message counter (parameter 944) is incremented each time the fault buffer
changes. To evaluate the fault buffer automatically by a program, the program should read out
the fault message counter before and after evaluating the fault buffer. By checking that the
contents of the fault message counter are the same before and after evaluating the fault
buffer, it is guaranteed that the fault buffer was consistently evaluated, and had not changed
during the evaluation.
A fault is acknowledged by the controller with a positive edge at bit 7 of control word 1. The
fault acknowledgment bit shall be available for at least 20 ms so that it is guaranteed that a
DO recognizes the positive edge. DOs shall have successfully completed fault processing
within a max. of 3 s.
The whole fault buffer (actual fault situation and all other fault situations) and the fault
message counter (parameter 944) is erased when the fault situation counter (parameter 952)
is reset to 0 (see Figure 45).
Version 4.0
Mapping the internal fault number to the user's perspective (fault code)
The fault number (parameter 947) contains the internal fault number. The fault code is used to
systematically number fault messages from the user's perspective (see Figure 44). The
control or HMI system shall emulate the internal fault number to the fault code for the user.
This emulation may be optionally specified by the drive with the fault code list (parameter
946) which contains the fault code for each fault number.
Optionally, the user may directly read the fault code for each fault message (parameter 945)
from the drive.
Para- Com-
Designation Explanation min.
meter plete
Fault message
944 Is incremented each time that the fault buffer changes m m
counter
945 Fault code Contains the fault code for each fault message for the user o o
947 Fault number Contains the internal fault number for each fault message m m
948 Fault time Contains the fault instant for each fault message o o
949 Fault value Contains the fault value for each fault message o o
Scaling of the Contains the number of fault situations of the fault buffer and
950 o o
fault buffer the number of fault messages per fault situation
Contains the parameter of the fault value and the fault text
951 Fault number list -- m
for each internal fault number
Fault situation
952 Sum of all of the fault situations since the last reset o m
counter
Version 4.0
Example with the default measures of the number of fault situations and fault message
(8x8)
3 90 Time 1 xxx 8
0 0 xxx xxx 9
Fault x x xxx xxx 10
situation 11
n-1 12
13
14
15
56
57
Fault 58
situation 59
n-7 60
61
62
63
Various fault messages are defined in a device. It includes among others for example the
following fault codes:
50 Over-current (e.g.)
72 Over-voltage (e.g.)
90 Fuse failure (e.g.)
The current actual value is saved in parameter 15 and the voltage actual value in parameter
110. A fault number list is saved in the device like it is shown in Figure 48.
Two fault situations have occurred. For the first fault situation, the "fuse failure" fault message
has occurred, for the second, which has still not been acknowledged, first the fault messages
"overvoltage" and afterwards "overcurrent" has occurred.
Version 4.0
951 946
... ...
11 15 Over -current 11 50
... ...
Within the fault classes mechanism, the vendor independent PROFIdrive fault classes
according to Table 38 are defined. Out of every fault class a PROFIdrive diagnosis object
shall emerge if the fault classes attribute WARNING_PRESENT or FAULT_PRESENT is valid
(see Table 37). The diagnosis objects related to a fault class (maximum two per fault class)
emerge or disappear according to the settings or changes in the actual fault situation of the
fault buffer mechanism and the settings of warnings in the warning mechanism (see also
Figure 42). Thus the PROFIdrive diagnosis objects represent the actual fault and warning
situation of the DO.
It is recommended to compose a unique fault text for every diagnosis object for the signalling
to the user according to the following specification:
Version 4.0
Version 4.0
4.9 Identification
Within a complex Communication System, often many different devices are networked
together. In some cases, these devices are from different manufacturers. The following
elements for the Drive Unit identification are defined here in order to provide the plant
manufacturer and plant operator support during and after commissioning. It provides an
overview and diagnostics of the PROFIdrive Drive Units connected to the Communication
System.
The device manufacturer provides information for the device identification. The
manufacturers data is permanently anchored in the device and may only be read and not
changed.
Parameter 964 is the device identification parameter. The data type is "Array[n] of
Unsigned16. The assignment of the first subindices is defined and shown in Table 39.
Manufacturer-specific data may then follow. The minimum array length is 5 elements. See
also [8] for the PROFIdrive profile independent device identification by the I&M functionality.
Parameter 965 is the Profile identification number which identifies the profile and the profile
version. The PROFIdrive profile is assigned to the Profile Number 3 and the actual Version
Number of this profile is 40. The definition of byte 1 (Profile Number) and byte 2 (Version
Number) of PNU965 is shown in Table 40.
Version 4.0
Inside a Modular device the DOs may be of different type and based on different software.
The module manufacturer provides information for the DO identification. The manufacturers
data is permanently anchored in the DO and may only be read and not changed.
Local parameter 975 is the DO identification parameter. The data type is "Array[n] of
Unsigned16. The assignment of the first subindices is defined and shown in Table 41.
Manufacturer-specific data may then follow. The minimum array length is 7 elements.
07 0 - 255 PROFIdrive
DO-Type class
8 15 -- Reserved
Version 4.0
st
Decimal value of 1 Byte Type class
of P975.5 (Bit 0 7)
P975.5 shall be set to 1 if the DO is an Axis type DO according to the definition in 4.1. If the
functionality of the DO doesnt match the defined type classes in Table 42, P975.5 is set to 0.
In any case the vendor is free to enter his own DO type class according to his vendor specific
type class definition in P975.1.
Notice, that P975 is recommended to implement for new drive system developments for all
DO and for every Drive Unit type. At least P975 is mandatory for all Drive Units who support
P978 and for all PROFINET IO devices.
For the Identification and Maintenance functionality (I&M) [8], I&M Records may be allocated
to the PROFIdrive components DU, DO and Submodules. For all PROFIdrive components the
I&M parameters are defined according to Table 45.
Version 4.0
PROFILE_ID 0x3A00
PROFILE_SPECIFIC_TYPE 0x0000
REVISION_COUNTER 0x0000
Summary
Especially for distributed applications, it makes sense to initiate a DO-specific reset which is
controlled by the controller application. This may either be initiated manually (by the user) or
automatically (by the application process). Applications are for example: reset for the first
start-up or reset after an error has been removed.
The reset is possible using the optional parameter P972 in the following manner:
The reset is initiated by write accessing P972 (value 1), or if required (refer below) firstly
prepared (value 2) and then initiated:
The implementation of the parameter and the realization of the various versions are optional.
The interlocking and checks for the drive when initiating a reset are device-specific.
The write access to P972 (with value 1) results in a drive reset and therefore from the
perspective of the Controller in a Drive Unit failure. It cannot be guaranteed that the positive
acknowledgment is still sent in time from the Drive Unit or received from the Controller.
Version 4.0
Master Slave
Task
Sequence 1: negative acknowledgment
Task
Sequence 2: positive acknowledgment
Slave failure
t
Task
Sequence 3: Slave failure
For the sequence described above (direct resolution), after a DO fails and becomes
operational again the value of P972 = 0 cannot clearly indicate whether the reset was
executed or not.
The security may be required if the reset was not manually initiated (by the user), but was
automatically initiated (by the application process). This may be guaranteed if the reset is first
prepared with write access (with value 2) and is then initiated by a write access (with the
value 1). After this, by reading back the contents of P972 it may be clearly identified if the
reset was executed (P972 = 0).
EXAMPLE
Version 4.0
If there are several interfaces which may have the operation priority of parameters, parameter
P927 specifies manufacturer-specific which interface has the operation priority to set
parameters.
If the controller attempts to write values without rights to change parameters, an error
message is issued.
Is to be set locally; specifies on a manufacturer-specific way which interface has the control
priority to set process data. Value = 1 means PROFIBUS Interface 1; other values are
manufacturer-specific.
Change of the control priority between Supervisor and controller (in case of P928 = 1)
After drive reset the Controller has the control priority as default.
It should be possible that a supervisor may fetch the Control priority from the controller so
that supervisor may issue setpoints for the drive.
The Control priority should be withdrawn from the operational controller and should also be
able to be returned.
The changeover should be exclusively made by the Supervisor. The mechanism to change the
control priority is manufacturer-specific. Parameter P928, e.g., may be set to device-specific
values in order to change the control priority.
The access to the process data of the supervisor is also manufacturer-specific. The
supervisor may access the process data, e.g., by the parameters P900 "Setpoint telegram
(PZD)"and P907 "Actual value telegram (PZD)".
If the control priority is changed to the supervisor the controller which had the control priority
before looses the control priority. Because of this reason, the non-controlling controller
receives a status word ZSW1 of the DO in which bit 9 is set to zero ("No Control Requested").
The controlling supervisor receives acyclically a status word ZSW1 of the DO in which bit 9 is
set to one ("Control Requested").
Version 4.0
The DO sends always its status words and actual values, independent of ZSW1 Bit 9 and
STW1 Bit 10.
The DO accepts the controller's control words and setpoints if STW1 Bit 10 is set.
For both transmission directions (Controller <-> DO), user data reliability is achieved using a
Sign-Of-Life (4-bit counter).
A DO that does not support the fail-safe mode receives a data telegram in the clear mode with
the Output Data set to 0 (thus, failure of the Sign-Of-Life may be recognized only if LS = 0 is
not permissible).
Through the DOs Sign-Of-Life, a maximum ratio of T MAPC /T DP of 14/1 is possible. Regardless
of the ratio T MAPC /T DP, the counter is always incremented to the maximum value (15).
In Multi-Axis Drive Units, the reaction to Sign-Of-Life failures is axial. Device-specific the
reaction to one Drive Axis may affect more Drive Axis.
Transmission (C-LS)
A 4-bit counter is used in Control Word 2 (refer to 4.2.2) as the Sign-Of-Life for the controller.
This counter is incremented by the controller in each controller application cycle, and thus
also identifies the computation of the position controller (first DP cycle in the T MAPC ). The DO
receives the new Sign-Of-Life of the controller together with the new setpoint at the time T O in
the following DP-cycle.
Synchronization (C-LS)
The Controller application starts the Controller-LS with an arbitrary value between 1 and 15,
at the earliest when changing from Preparation -> Synchronization (refer to 2.2.7.6).
Version 4.0
Monitoring (C-LS)
If in a Controller application cycle the DO application does not recognize a correct count (i.e.
a positive or a negative deviation is recognized), it initially processes with the old telegram
data from the last valid controller telegram. For setpoint generation, a device-specific failure
strategy may be used.
If the DO application does not recognize the expected numerical value after a parameterized
number of controller application cycles (T MLS = n * T MAPC ; n may be selected via profile
parameter 925; also refer to 4.12.3), the affected Drive Axis messages a fault. After fault
acknowledgement, the DO application then attempts to automatically re-synchronize itself to
the Sign-Of-Life of the controller application. Depending on the particular application, a new
start may be required.
Example: Permanent LS failure, T MLS = 5 * T MAPC : the strategy of the Sign-Of-Life failure
counter is explained in 4.12.3:
TMAPC : | | | | | | | | | |
Controller LS (reference): 1 2 3 4 5 6 7 8 9 10
Controller LS (actual): 1 2 2 2 2 2 2 2 2 2
Failure counter: 0 0 10 20 30 40 50 50 50 50
Response: | -> Failure | -> Switch-off
Example: Temporary LS failure, T MLS = 5 * T MAPC : The strategy of the Sign-Of-Life failure
counter is explained in 4.12.3:
TMAPC : | | | | | | | | | |
Controller LS (reference): 1 2 3 4 5 6 7 8 9 10
Controller LS (actual): 1 2 2 2 5 6 7 8 9 10
Failure counter: 0 0 10 20 19 18 17 16 15 14
Response: | -> Failure |
Version 4.0
TMAPC : | | | | | | | | | |
Controller LS (reference): 1 2 3 4 5 6 7 8 9 10
Controller LS (actual): 1 2 4 5 5 6 7 8 9 10
Failure counter: 0 0 10 20 19 18 17 16 15 14
Response: | -> Failure |
Transmission (DO-LS)
A 4-bit counter in status word 2 (refer to 4.2.4) is used as a Sign-Of-Life for the DO. The DO
increments this counter with each DP cycle.
Synchronization (DO-LS)
The DO application starts the DOs Sign-Of-Life with an arbitrary value between 1 and 15:
after successful PLL synchronization and at the change (n -> n + 1) of the controllers Sign-
Of-Life.
Monitoring (DO-LS)
If the controller application does not recognize a correct count in a controller application cycle
(i.e. a positive or negative deviation has been recognized), it initially uses the old telegram
data from the last valid DO telegram. To generate the actual value, a device-specific failure
strategy may be implemented.
If the controller application does not recognize the expected numerical value after a
parameterized time (T SLS = n * T DP ; n may be parameterized or defined depending on the
manufacturer of the controller application), the affected Drive Axis is shut down by the
controller application (possibly also involved drives), and an appropriate fault is signalled to
the user. The controller application then attempts to automatically re-synchronize itself to the
Sign-Of-Life of the DO application. Depending on the particular application, a re-start may be
required or it may be sufficient to acknowledge the fault.
Version 4.0
DP cycle: | | | | | | | | | |
DO LS (reference): 1 2 3 4 5 6 7 8 9 10
DO LS (actual): 1 2 2 2 2 2 2 2 2 2
Failure counter: 0 0 10 20 30 40 50 50 50 50
Response: | -> Failure | -> Switch-off
DP cycle: | | | | | | | | | |
DO LS (reference): 1 2 3 4 5 6 7 8 9 10
DO LS (actual): 1 2 2 2 5 6 7 8 9 10
Failure counter: 0 0 10 20 19 18 17 16 15 14
Response: | -> failure |
DP cycle: | | | | | | | | | |
DO LS (reference): 1 2 3 4 5 6 7 8 9 10
DO LS (actual): 1 2 4 5 5 6 7 8 9 10
Failure counter: 0 0 10 20 19 18 17 16 15 14
Response: | -> failure |
NOTE A permanent skew of the Sign-Of-Life of the DO (failure of a sampling time) causes an error (see above)
unless the DO application may correct the Sign-Of-Life.
The strategy which is applied in order to prevent fast shutdown for a sporadically faulted
controller or DO application is described in the following text. This strategy guarantees that at
least a specific percentage of the telegrams shall be valid before a Drive Axis is powered-
down.
A counter is defined on the DO side in which for each deviation (independent as to whether it
is a positive or negative deviation) between the expected and actually transferred value for
the controller Sign-Of-Life, it is incremented by ten. For each additional deviation, the counter
is again incremented by ten. If a deviation between the expected and received controller Sign-
Of-Life is not recognized, the counter is decreased by one. The minimum value which may
then be counted down to is zero. This is simultaneously the value from which counting is
Copyright PNO 2005 - All Rights Reserved Page 146 of 271
Content Start
Version 4.0
started. This method ensures that more than 90% of the telegrams transferred in continuous
operation originate from an undisturbed controller application.
Profile parameter 925 (axis-specific, data type Unsigned16) may be used to set a maximum
on how many consecutive controller Sign-Of-Life failures may occur (for an initial counter
value of zero and without any intermediate valid sequences) without failure of a Drive Axis.
Depending on the previous history, it is possible that just a few controller Sign-Of-Life failures
are sufficient to cause a failure of a Drive Axis. If the Drive Axis is powered-down, the Sign-
Of-Life failure counter maintains its value up to the start of the re-synchronization operation.
In the following example, the Sign-Of-Life failure counter in the Drive Axis is viewed over time
with respect to the transferred controller Sign-Of-Life. The maximum number of controller
Sign-Of-Life failures which may be tolerated was set to three in parameter 925.
Failure OK OK OK OK OK
30 OK
OK OK OK OK OK
20
10
Transferred sign-of-life
The same strategy is recommended when monitoring the DO Sign-Of-Life in the controller.
However, with which parameter the maximum number of tolerable DO Sign-Of-Life character
failures may be parameterized, has not been defined.
Version 4.0
According to the definition of the Application Classes in 2.4, Table 46 specifies the DO
functionality the drive shall comprise to match a specific Application Class.
Cross-
Application classes
Functionality reference
1 2 3 4 5 6
f f f g f
Fault buffer m m M m m refer to 4.8.3
Version 4.0
Cross-
Application classes
Functionality reference
1 2 3 4 5 6
h h
DU-to-DU communication m o m refer to
relationship 2.2.7.2
The requirements regarding Application Class 5 are not defined in this profile. This is the
reason, that no profile functions are specified for this Application Class in Table 46.
Version 4.0
5 Parameter Definition
925 Number of life sign failures that may be tolerated. optional DO-specific
Parameter P922 is used to display the actual setting of the PROFIdrive telegram configuration
in the DO. Optional the telegram configuration may also be set by use of P922. By use of the
P915, P916 the free telegram configuration is possible (P922 set to 0).
P979 is the only parameter for the identification of the DO sensor interface and the related
sensor. The sensor interface of a DO comprises a maximum of three channels which are all
together handled in P979.
Version 4.0
For the read out and management of the DO specific error management the parameters from
P944 up to P952 are used and together referred as Fault Buffer.
The parameters from P953 up to 960 are used to signal the actual present warning situations
of the DO.
The spontaneous message mechanism will no longer be supported by the Profile Version 4
P930 shows the actual interface mode configuration of the DO. The interface mode defines
the impact of the bits in STW1 and ZSW1.
Version 4.0
P970 and P971 are used to set the default values of the local parameter set or to store the
actual local parameter set in non volatile way.
Table 54 Parameter for Set and store of the local parameter set
970 Set the local parameter set to default values optional DO-specific
971 Store the local parameter set to a non volatile optional DO-specific
memory.
P976 and P977 are used to set the default values of the complete Drive Unit parameter set
(global and all local) or to store the complete Drive Unit parameter set in a non volatile way.
This functionality typically is used only while the drive commissioning work is done. It is
recommended to use this functionality not by the controller (controlling application process).
976 Set the whole DU parameter set to default values optional global
977 Store the whole DU parameter set to a non volatile optional global
memory.
P972 is used to reset the whole Drive Unit. This functionality typically is used only while the
drive commissioning work is done. It is recommended to use this functionality not by the
controller (controlling application process).
Version 4.0
Control information about the actual authorization for the write access on parameters.
Identification of DO specific type information. P975 is used for the identification of the DO
type. P962 und P969 define time scale factors used by the DO.
975 Identification data block for the DO (e.g. type mandatory DO-specific
information)
962 Sampling time to convert the time parameters. mandatory if DO-specific
parameters of
the data types D,
T or R are used
in this DO
969 Actual time difference (operation time since last optional DO-specific
start-up)
965 Profile Identification Number mandatory DO-specific
The parameters P980 to P999 contain two lists for the identification of all parameters the DO
supports and the changed parameters compared to the factory default setting.
Version 4.0
The parameters P919 and P964 provide Drive Unit specific identification and configuration
information (e.g. vendor, type, version, number of DOs, ...).
Parameter P978 shows the complete Drive Unit DO configuration (for PROFIBUS DP devices)
and also shows the association between the Slotnumber (Axis Number for PROFIBUS DP
devices) and the corresponding DO-ID of the DO.
The optional parameters P900, P907and P928 are used for alternative control (PZD) of an
axis by the Supervisor.
Version 4.0
Parameter numbers 900 to 999 (decimal) and 60000 to 65335 (decimal) are defined and
reserved in accordance with the profile. All non-defined parameter numbers in the range from
900 to 999 and from 60000 to 65335 are reserved in accordance with the profile.
Communication system related parameters are defined in the chapters 6.8.2 and 7.8.2.
PNU: 900
Significance: Setpoint telegram (PZD)
Data type: OctetString
Implementation: Optional
Validity range: Global
Explanation: Object to transfer control words and setpoints (Controller DO) in
the acyclic communication.
The length of the OctetString differs from manufacturer to
manufacturer and corresponds to the maximum possible length of
the setpoint telegram in bytes.
Reference: ---
PNU: 906
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: ---
Reference: ---
Version 4.0
PNU 907
Significance: Actual value telegram (PZD)
Data type: OctetString
Implementation: Optional
Validity range: Global
Explanation: Object to transfer status words and actual values (DO Controller)
in the acyclic communication.
The length of the OctetString differs from manufacturer to
manufacturer and corresponds to the maximum possible length of
the actual value telegrams in bytes
Reference: ---
PNU: 915
Significance: Selection switch for PZD in the setpoint telegram
Data type: Array[n] Unsigned16
Implementation: optional; P915, P916 and P923 shall be implemented together
Validity range: DO-specific
Explanation: The number n of array elements corresponds to the number of
process data in the setpoint telegram.
Reference: Refer to 4.4.3
PNU: 916
Significance: Selection switch for PZD in the actual value telegram
Data type: Array[n] Unsigned16
Implementation: optional; P915, P916 and P923 shall be implemented together
Validity range: DO-specific
Explanation: The number n of the array elements corresponds to the number of
process data in the actual value telegram.
Reference: Refer to 4.4.3
Version 4.0
PNU: 917
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: This parameter number was defined in the PROFIdrive Profile
Versions 1 and 2 and may no longer be used.
Reference: ---
PNU: 918
Significance: reserved for PROFIBUS communication interface
Data type: ---
Implementation: ---
Validity range: ---
Explanation: ---
Reference: Refer to 6.8.2
PNU: 919
Significance: Device system number
Data type: VisibleString16
Implementation: Optional
Validity range: DO-specific
Explanation: The device system number is a manufacturer-specific system ID.
Reference: ---
Version 4.0
PNU: 922
Significance: Telegram selection
Data type: Unsigned16
Implementation: Mandatory, readable
Validity range: DO-specific
Explanation: Using this parameter, as a minimum, the currently selected standard
telegram may be read-out. In an expanded implementation, this
parameter may be used to select a standard telegram.
Reference: Refer to 4.4.3
PNU: 923
Significance: List of all parameters for signals
Data type: Array[n] Unsigned16
Implementation: Mandatory, if the process data normalization is used and/or P915
and P916 are implemented.
Validity range: DO-specific
Explanation: This parameter may be used to assign the internal parameter
numbers to the signals (standard signals defined in the profile and
device-specific signals).
Reference: Refer to 4.4.3
PNU: 924
Significance: Status word bit Pulses Enabled
Data type: Array[2] Unsigned16
Implementation: optional
Validity range: DO-specific
Explanation: Read only; This parameter may be used to define the position of the
bit "Pulses Enabled/Disabled" in a status word. If the parameter is
implemented the functionality is supported by the drive.
Reference: Refer to 4.2.5
Version 4.0
PNU: 925
Significance: Number of Controller Sign-Of-Life failures which may be tolerated
Data type: Unsigned16
Implementation: Optional, if this parameter is not implemented, then precisely one
Controller Sign-Of-Life failure is tolerated. Optionally with value
0xFFFF the life sign monitoring may be switched off (for test
purpose).
Validity range: DO-specific
Explanation: This parameter may be used to define user-specific the number of
Controller Sign-Of-Life failures which may be tolerated.
Reference: Refer to 4.12.3
PNU: 926
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: ---
Reference: ---
PNU: 927
Significance: operation priority of parameters
Data type: Manufacturer-specific
Implementation: Optional
Validity range: Global (PROFIBUS DP) / DO-specific (PROFINET IO)
Explanation: This defines manufacturer-specific which interfaces have the
operation priority to set parameters. An error message is output if
the Controller tries to write parameter values without operation
priority.
Reference: Refer to 4.11
PNU: 928
Significance: Control priority PZD
Data type: Unsigned16
Implementation: Optional
Validity range: DO-specific
Explanation: This defines manufacturer-specific, which interface has the control
authority. A value = 1 signifies PROFIBUS interface 1; other values
are manufacturer-specific. The Controller only takes control, if it is
ready to do this.
Reference: Refer to 4.11
Version 4.0
PNU: 929
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: ---
Reference: ---
PNU: 930
Significance: Operating mode
Data type: Unsigned16
Implementation: Mandatory, if other modes than exclusively the speed control mode
(PNU 930 =1) have been implemented (also manufacturer-specific
modes)
Validity range: DO-specific
Explanation: This is used to designate the operating mode. Depending on the
type of device this parameter is preset by the manufacturer. A
presetting of 1 means that the device supports the speed control
mode and the speed setpoint channel comprises RFG functionality.
A pre-assignment of 2 indicates that the device supports the
positioning mode. A presetting of 3 means that the device supports
the speed control mode and the speed setpoint channel doesnt
support RFG functionality.
All numerical values with bit 15 (MSB) = 1 designate manufacturer-
specific modes. If parameter 930 may be written (device-specific),
then the operating modes may be toggled between (Caution:
Different assignment of the control/status words). If a device does
not have parameter 930, then it supports the speed control mode
with RFG functionality (Operating mode = 1) by default.
Reference: Refer to 4.3
Version 4.0
PNU: 944
Significance: Fault message counter
Data type: Unsigned16
Implementation: mandatory
Validity range: DO-specific
Explanation: The fault message counter is incremented each time that the fault
buffer changes. This means, that it may be guaranteed that the fault
buffer may be consistently read-out. Without this parameter, it is not
guaranteed that the fault buffer had not changed while reading-out.
Reference: Refer to 4.8.3
PNU: 945
Significance: Fault code
Data type: Array[n] Unsigned16
Implementation: optional
Validity range: DO-specific
Explanation: The fault code allows the manufacturer to systematically number the
faults which may occur, from the user's perspective.
Reference: Refer to 4.8.3
PNU: 946
Significance: Fault code list
Data type: Array[n] Unsigned16
Implementation: optional
Validity range: DO-specific
Explanation: Every fault number, defined in the device, is assigned a fault code
by the fault code list. The fault number is the subindex of the fault
code list. The number n of the array elements is manufacturer-
specific. If implemented the parameter shall be at least readable.
Setting of the Fault code list may be done by writing of PNU946.
Reference: Refer to 4.8.3
Version 4.0
PNU: 947
Significance: Fault number
Data type: Array[n] Unsigned16
Implementation: mandatory
Validity range: DO-specific
Explanation: The fault number contains the subindex to access the fault number
list PNU 951. The fault number may be identical to the fault code.
The fault number simultaneously contains the subindex to access
the fault code list PNU 946. This means that it establishes the link
between the fault number list and fault code list.
Reference: Refer to 4.8.3
PNU: 948
Significance: Fault time
Data type: Array[n] TimeDifference
Implementation: optional
Validity range: DO-specific
Explanation: The fault time is the instant in time that the fault message occurred.
Reference: Refer to 4.8.3
PNU: 949
Significance: Fault value
Data type: Array[n] (manufacturer-specific)
Implementation: optional
Validity range: DO-specific
Explanation: The individual parameters of a drive may be assigned different data
types. This means that the data type of Parameter 949 cannot be
specified in detail. After the parameter definition (refer to 3.1) an
array consists of elements with the same data type, which means
that it shall be defined manufacturer-specific, of which data type
parameter 949 is. For instance, if 16-bit variables are processed,
then the data type Word shall be selected for parameter 949. When
processing 32 bit values, the data types Double Word shall be
selected. The quantitative significance of the fault value is not
described in more detail in the profile, this has to be also defined
and specified by the manufacturer.
Reference: Refer to 4.8.3
Version 4.0
PNU: 950
Significance: Scaling of the fault buffer
Data type: Array [2] Unsigned16
Implementation: optional, if the parameter is not implemented, a fault buffer with
eight fault situation each with eight fault message is assumed
Validity range: DO-specific
Explanation: This parameter defines the number of fault situation (Subindex 0)
and the number of fault message in a fault situation (Subindex 1) of
the fault buffer. The Parameter is only readable.
Reference: Refer to 4.8.3
PNU: 951
Significance: Fault number list with text
Data type: Array[n] Unsigned16
Implementation: Dependent on the fault buffer version
Validity range: DO-specific
Explanation: The fault number list includes, for each fault message, defined in the
device, a reference to the parameter number to which the fault value
is assigned. An explanatory text is specified for each of the fault
messages, defined in the device, in the additional text field of the
fault number list (i.e. in IDENTIFIER, bit 10 is set). If a parameter
cannot be assigned to a fault message for the particular fault value,
then the fault number list has a value of zero under the appropriate
entry. Generally, the fault number list for a device is permanent and
does not change. The fault number list is consecutively assigned
without any gap. The number n of the array elements is
manufacturer-specific.
Reference: Refer to 4.8.3
PNU: 952
Significance: Fault situation counter
Data type: Unsigned16
Implementation: Dependent on the fault buffer version
Validity range: DO-specific
Explanation: The parameter specifies the number of fault situations since the last
reset. If this parameter is set to 0 (write), the complete fault buffer is
deleted.
Reference: Refer to 4.8.3
Version 4.0
PNU: 961
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: The parameter number was defined in PROFIdrive Profile Versions 1
and 2, and may no longer be used.
Reference: ---
PNU: 962
Significance: Sampling time to convert the time parameters
Data type: TimeDifference
Implementation: Mandatory, if parameters of the data types D, T or R are used
Validity range: Global (PROFIBUS DP) / DO-specific (PROFINET IO)
Explanation: Shortest sampling time of the device to calculate time parameters T,
D, R.
Reference: ---
PNU: 963
Significance: reserved for PROFIBUS communication interface
Data type: ---
Implementation: ---
Validity range: ---
Explanation: ---
Reference: Refer to 6.8.2
Version 4.0
PNU: 964
Significance: Device identification
Data type: Array[n] Unsigned16
Implementation: Indices 0-4 are mandatory; if the drive has several axes or
manufacturer-specific data is implemented, then subindex 5 is also
mandatory; the manufacturer-specific data starts with subindex 6
Validity range: Global
Explanation: All data for device identification is included under this parameter,
and is made available to the identify service.
Reference: Refer to 4.9.1
PNU: 965
Significance: Profile identification number
Data type: OctetString 2
Implementation: Mandatory
Validity range: Global (PROFIBUS DP) / DO-specific (PROFINET IO)
Explanation: The profile identification is saved here. Byte 1 includes the PNO
Profile Number 3 (for PROFIdrive). Byte 2 identifies the version .
The Version Number of this profile is 40.
Reference: Refer to 4.9.2
PNU: 966
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: The parameter number was defined in PROFIdrive Profile Versions 1
and 2, and may no longer be used.
Reference: ---
PNU: 967
Significance: Control word 1
Data type: V2
Implementation: Optional
Validity range: DO-specific
Explanation: ---
Reference: Refer to 4.2.1
Version 4.0
PNU: 968
Significance: Status word 1
Data type: V2
Implementation: Optional
Validity range: DO-specific
Explanation: ---
Reference: Refer to 4.2.3
PNU: 969
Significance: Actual time difference
Data type: TimeDifference
Implementation: Optional
Validity range: Global (PROFIBUS DP) / DO-specific (PROFINET IO)
Explanation: The actual time difference refers to the last time that this time
counter was preset or reset. The identification of parameter
description of bit 13 is equal to 1 for this parameter.
Reference: ---
PNU: 970
Significance: Load parameter set
Data type: Unsigned16
Implementation: Optional
Validity range: DO-specific
Explanation: P0970 is used to reset the DO-specific parameters to the factory
setting.
Value = 0: default;
Value = 1: load complete factory setting;
Value > 1: manufacturer-specific data set
After execution of loading a parameter set, parameter 970 is reset to
0.The definition of parameter P970 in PROFIdrive Version 2 is also
permitted:
Load data set: 0 is the factory setting.
Value > 0: Manufacturer-specific data set.
In new developments, it is recommended to use the new definition of
P970
Reference: Refer to 3.1.2; Table 4 Bit 12
Version 4.0
PNU: 971
Significance: Transfer into a non-volatile memory
Data type: Unsigned16
Implementation: Optional
Validity range: DO-specific
Explanation: Parameters belonging to one axis and the global parameters are
saved with this parameter.
Value = 0: default;
Value = 1: actual DO-specific parameter set is saved in a
non-volatile way;
Value > 1: Manufacturer-specific data set;
After saving a data set parameter 971 is reset to 0.
Reference: ---
PNU: 972
Significance: Drive reset
Data type: Unsigned16
Implementation: Optional
Validity range: Global
Explanation: ---
Reference: Refer to 4.10
PNU: 973
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: This parameter number was defined in the PROFIdrive Profile
Version 3 and may no longer be used.
Reference: ---
PNU: 974
Significance: reserved
Data type: ---
Implementation: ---
Validity range: ---
Explanation: ---
Reference: ---
Version 4.0
PNU: 975
Significance: DO identification
Data type: Array[n] Unsigned16
Implementation: This parameter is recommended for all classes of Drive Units. P975
is mandatory for a Drive Unit which supports P978 and for all
PROFINET IO Devices.
Validity range: DO-specific
Explanation: All data for DO identification is included under this parameter, and is
made available to the identify service.
Reference: Refer to 4.9.3
PNU: 976
Significance: load device parameter set
Data type: Unsigned16
Implementation: optional
Validity range: Global
Explanation: P0976 is used to reset all parameters to the factory setting.
Value = 0: default;
Value = 1: load complete factory setting
Value > 1: manufacturer-specific data set
After execution of loading a parameter set parameter 976 is reset to
0.
Reference: ---
PNU: 977
Significance: transfer in non-volatile memory (global)
Data type: Unsigned 16
Implementation: Optional
Validity range: Global
Explanation: All parameters, i.e. parameters of all axes and the global parameters
are saved with this parameter.
Value = 0: default;
Value = 1: actual parameters of the device are saved in a non-
volatile way;
Value > 1: Manufacturer-specific data set;
After saving a data set parameter 977 is reset to 0.
Reference: ---
Version 4.0
PNU: 978
Significance: list of all DO-IDs
Data type: Array[n] Unsigned8; n = 0,.., (maximum number of DOs + 1)
Implementation: mandatory if the DO-ID numbers of the Drive Unit are not equal to
the corresponding Slotnumber (for PROFIBUS DP the corresponding
Axis number). Mandatory, for modular PROFIBUS DP Drive Units if
here are DOs which are not related to a slot/axis.
Validity range: Global
Explanation: P978 consists out of the DO-IDs for all DOs in the PROFIdrive
Device. The DO-IDs of the DOs may be independent from the
Slotnumber (axis number for PROFIBUS DP device). The DO-ID
may be a number from 1 to 254. Value 255 means that there is no
DO assigned, the zero value is a delimiter. Entries which exist after
the first Zero-Value indicate DO-IDs of DOs without PZD (only used
for PROFIBUS DP devices). The second zero value indicates the
end of the list. A valid DO-ID list comprises at minimum two zero
values. P978 is only writeable during commissioning. The
configuration telegram is dismissed if it is not compatible to P978.
The controller has to check if the parameter is implemented, and if it
is so, it has to read out the parameter values (DO-IDs to be used for
the Base Mode Parameter Access to the DOs inside the Drive Unit).
Reference: Refer to 4.4.3.
PNU: 979
Significance: Sensor format
Data type: Array[n] Unsigned32
Implementation: mandatory, if the position feedback interface is realized
Validity range: DO-specific
Explanation: The number n of array elements is in this profile version 31. The
parameter is only readable.
Reference: Refer to 4.6
Version 4.0
Version 4.0
Version 4.0
This chapter defines the mapping of the PROFIdrive Base Model on the PROFIBUS DP
Communication System (refer to [2]).
When using PROFIBUS DP as Communication Network, the PROFIdrive Devices are mapped
to the following PROFIBUS DP objects:
Figure 57 shows the topology of a typical PROFIdrive drive system using PROFIBUS DP as
Communication Network.
PROFIBUS DP
I/O I/O
D D
Slave R R Slave
I I
other V V other
peripherals E E peripherals
Slave Slave
M M
E E
PROFIdrive
Application Application
Class 1 Class 3
Version 4.0
Figure 58 shows the PROFIdrive Devices and there relationships on PROFIBUS DP.
C2-Channel
el
nn
ha
C
C2
DP-Master
Class 1
(Controller)
C0
l
an
e
nn
ha
dC
1C
1C
d C
an
ha
C0
nn
el
Version 4.0
With PROFIBUS, a maximum of 126 devices - that is, masters or slaves - may be connected
to one bus in single- or multi-master operation. Thus, PROFIdrive Drive Units with different
operating modes (speed control and positioning) as well as other peripherals (such as I/O)
may be operated on one bus.
DP-Slave DP-Master
(Station and (Station and
Drive Unit) Controller/Supervisor)
PROFIdrive PROFIdrive
Drive Unit Controller/
Supervisor
PROFIBUS
DP-Slave Device DP-Master
Interface Interface
PROFIBUS
(Network)
Figure 59 General Communication Model for PROFIdrive at PROFIBUS DP
Version 4.0
The PROFIdrive Base Model Communication Services are provided by the following
PROFIBUS DP mechanisms:
The Cyclic Data Exchange service for PROFIBUS DP is realized by two different PROFIBUS
DP communication mechanisms depending on the communication relationship.
For the Master/Slave (Controller/Drive Unit) relationship the Cyclic Data Exchange is
realized by use of simple transfer of user data via the Data_Exchange telegram (DX).
For the Slave/Slave (Drive Unit/Drive Unit) relationship the Cyclic Data Exchange is
realized by use of the Slave-to-slave communication mechanism. The so-called Publisher-
Subscriber-Model is based on a publisher (passive station) which provides its actual
values not only to the DP master but also to all other stations (subscribers), so that the
other slaves may access and process this data. Therefore, by the configuration of the
PROFIBUS DP system, the Slave-to-slave relationships between the DP slaves are
configured and contains the information which subscriber accesses to which publisher
data. The Slave-to-slave communication is coupled to the cyclic user data exchange of
DP. Figure 60 shows the mechanism of the Slave-to-slave communication.
DP Master (Cl. 1)
Parameterization Master
,
Active Station
Response
Slave-to-Slave-Communications (Links)
Acyclic communication uses the DPV1 mechanisms READ and WRITE of data block (DPV1-
Parameter-Channel).
This allows start-up tools to be connected as Class 2 Master on PROFIBUS DP and a series
of functions, e.g. reading out the process data normalization through the control.
Version 4.0
With PROFIdrive on PROFIBUS DP the Alarm Mechanism is not used. Diagnosis and Fault
management is done by use of PROFIdrive mechanism based on standard Parameter Access
and the cyclic PROFIdrive control and status words.
Special error mechanisms in each station make stable communication possible, even if there
is a sporadic failure of the Master Clock.
For PROFIdrive, the PROFIBUS DP-V2 Isochron Mode is the basis for drive synchronization.
Not only message interchange on the bus system is implemented in an isochronous time
frame, but also the internal control algorithms - such as closed loop speed and current
controllers in the drive, or the controller in the higher level automation system - are
synchronized (see Figure 61).
Master /Controller
Actual Value Setpoint
Transfer Transfer
DX DX DX DX DX DX
DP Cycle Acycl. Communic.
Clock Slave Slave Slave Clock Slave Slave Slave
1 2 3 + Reserve 1 2 3
Setpoint
Actual Value Transfer
Transfer
Slave/Drive Unit
Drive Unit
Application R1 R1 R1 R1 R1 R1 R1 R1
Version 4.0
Figure 62 shows the Drive Unit Communication Model when PROFIBUS DP is used as
Communication System.
DP-Master Class 1
(Controller)
DP-Master Class 2
(Supervisor)
DPV1-Parameter-Channel
Clock cycle
synchronous
communication
Process Data
(DX)
el
nn
ha
ve r -C
la n et e
- S t io m
t- o nica ara
e ) -P
av u B V1 Cyclic communication
Sl omm (Dx DP
C
Acyclic communication
DP-Slave
(Drive Unit)
The type of PROFIBUS DP clock pulse generation (refer to 6.7.5) permits only one
synchronous DP-Master Class 1 (DPM1) on the bus. Additional masters on this bus may only
be non synchronous DP-Masters (DPM1, DPM2). DP-Masters Class 2 (DPM2) are
subordinated to the DPM1 with respect to the distribution of the cycle time, and thus increase
the minimal DP cycle time T DP (refer to 6.7).
The following restrictions to bus topology are recommended when using the synchronous
operation:
A DPM1 may use without restrictions all the available services; other communication
partners on the bus should be limited to maximum 2 acyclic Class 2 channels (Services:
Initiate, Read, Write, Data transport).
A DPM2 has to be certified for the cycle synchronous applications (Token Hold Time).
For PROFIdrive at PROFIBUS the States of the PROFIdrive Base Model State Machine are
mapped to the PROFIBUS states according to Figure 63. The actions to be carried out in the
different phases and the corresponding PROFIBUS states are described in the following list:
Version 4.0
Phase1: This state is the PROFIBUS Clear state and part 1 of the PROFIdrive
Preparation state. In Phase 1 the acyclic data transfer is working. Therefore Controller and
Supervisor may perform a Parameter Access to the Drive Unit. Also the Drive Unit may
signal exceptions via the Alarm Mechanism to the Controller.
Typically in this mode the Controller tries to parameterize the Drive Units (Slaves)
assigned to it, to configure them, and to prepare for start of process data exchange. In this
state Input and Output Data (PZD) are not valid.
Phase2: This state is part 2 of the PROFIdrive Preparation state, where the PROFIBUS
is already in the operate state and the Drive Units (Slaves) try to synchronize their local
clocks to the Master Clock according to the specification of the DPV2 Isochronous Mode.
In this Phase the Cyclic Data Exchange is active and the Global Control Telegram is send
by the Class 1 Master. Also the other Communication System services (Acyclic Data
Exchange, Alarm Mechanism) are active and running.
Phase3: This state is part 1 of the PROFIdrive Synchronization state, where the
PROFIBUS is already in the operate state (Input and Output PZD are valid), all Slave
Clocks are synchronized to the Master Clock and the PROFIdrive Application Layer tries
to synchronize its tasks by use of the Life Sign mechanism. In this first part the Master
Life Sign (M-LS) is synchronized (see also 4.12).
Phase4: This state is part 2 of the PROFIdrive Synchronization state, where the
PROFIBUS is already in the operate state (Input and Output PZD are valid), all Slave
Clocks are synchronized to the Master Clock and the PROFIdrive Application Layer tries
to synchronize there Tasks by use of the Life Sign mechanism. In this second part the
Slave Life Sign (S-LS) is synchronized while the Master Life Sign is already synchronized
(see also 4.12).
Operation: In the Operation state all Communication Services are available and active,
also the Functional Objects on the Application Layer are synchronized and the whole
PROFIdrive application is ready to operate.
PROFIdrive
PROFIBUS
For PROFIdrive the PROFIBUS Slot is defined as common CO. The CO/Slot should be used
as Communication Object for Process Data, Parameter Access.
Version 4.0
Figure 64 shows the PROFIdrive Drive Unit mapped on a PROFIBUS slave device. The
logical address elements for the Drive Object in the PROFIBUS system are:
PROFIBUS domain
Node-Address
DO-ID
PROFIBUS
Domain
PROFIBUS
Node-Adress
DP-Slave
Interface
Drive Unit (DU)
PROFIdrive
DO-ID
Figure 64 PROFIBUS DP specific Logical Drive Unit model (multi axis drive)
Version 4.0
Within PROFIBUS the Slot consists out of Input and/or Output Data. With PROFIdrive the
Input and Output Data of one or more PROFIBUS Slots is mapped to setpoint values and
actual values of the DO.
The mapping for a typical DO in a Multi-Axis or Modular Drive Unit is shown in Figure 65. A
single axis DU consists at least out of one Slot/CO (Input/Output PZD). In a Multi-Axis or
Modular Drive Unit the slots related to one DO are separated to the slots of the next DO by a
special Axis Separator slot. The Axis Separator slot is empty and therefore doesnt comprise
any PZD.
Slot Slot
Slot n-1 Slot n Slot n+1 Slot n+m
n+m+1 n+m+2
CO CO ... CO
Parameter
Output PZD In/Output PZD Input PZD Manager
DO
DO_ID
External Process
(e.g. motor and mechanics)
Relationship
Data flow
Version 4.0
A group of Slots belonging to one DO are identified by the Axis-Number. The Axis-Number
starts with the number 1 and comprises at least one Slot. Note, that the Drive Unit may
consist out of more DOs than the highest Axis-Number because of additional DOs without
PZD.
Every telegram type supported by the Drive Unit shall be described by associated IDs.
Telegrams which the master sends to the slave are interpreted as Output Data, and those
telegrams which the master receives from the slave are interpreted as Input Data.
Recommendations for the DP IDs and the PROFIdrive IDs to transfer the PROFIdrive
standard telegrams (defined in 4.4.2) are shown in Table 62. The recommendations of the DP
ID are given for data transfer with consistency over the complete length.
Table 62 DP IDs and PROFIdrive IDs of the standard telegrams (refer to 4.4.2)
brief description of
the standard
telegrams We recommend to use the
Actual value
Setpoint direction special configuration
direction
identifiers.
Version 4.0
NOTE 1 The formation of the PROFIdrive IDs is explained in [10], the formation of the DP IDs is described in [2]
(Part 6 Chapter 6.2.5 "Coding section related to configuration PDUs").
NOTE 2 The PZD data may be distributed over several modules in the master configuration for the PZD
component.
NOTE 3 PROFIdrive IDs: The telegrams which are actually configured may be looked up in parameter P922
"telegram selection".
Examples of configuration telegrams using DP IDs or PROFIdrive IDs for standard telegram 3
with one axis, two axis, and slave-to-slave communication are given below.
Slot 1 2
Slot 1 2 3 4 5 6
Slot 1 2 3 4
0xC3 0xC4 0xC8 0xFD 0x01 0xFE 0xC3 0xC4 0xC8 0xFD 0x01 0xFE
PROFIdrive ID
0x00 0x03 (axis separator) 0x00 0x03 (axis separator)
Version 4.0
Drive Unit 2 drive axes, standard telegram 3, per axis one DXB link each with 2 words
Drive Axis 1 2
Slot 1 2 3 4 5 6 7 8
Slot 1 2 3 4 5 6
0xC3 0xC4 0x81 0xC1 0x01 0xFE 0xC3 0xC4 0x81 0xC1 0x01 0xFE
PROFIdrive ID 0xC8 0xFD 0xF9 0xC8 0xFD 0xF9
(axis (axis
0x00 0x03 (1 DXB Link) separator) 0x00 0x03 (1 DXB Link) separator)
Example of the configuration telegram using DP IDs or PROFIdrive IDs for standard telegram
20 with one axis is given below.
Slot 1 2
6.3.3.1 Overview
Slave-to-slave communication allows DP nodes to also read the Input Data (actual values) of
DP slaves either completely or in part, and use them as Output Data (setpoint values). Thus,
the possible uses of PROFIBUS are expanded, particularly in the area of distributed
applications in drive engineering.
Via slave-to-slave communication, signals may be transmitted from drive to drive; for
example:
Speed setpoint values for setting up a setpoint cascade in paper, foil, wire-drawing
machines and as well as fiber stretching plants.
Torque setpoint values for load distribution controllers of drives that are coupled
mechanically or via the material, such as longitudinal line-shaft drives for a printing
machine, or S-drum drives.
Acceleration setpoint values (dv/dt) for acceleration pre-control of multiple motor
drives.
Position setpoint values, e.g. for an electronic shaft.
Version 4.0
General
All nodes which transfer data via slave-to-slave communications are located in one
PROFIBUS network.
All data which is transferred using slave-to-slave communication is exchanged in one
DP cycle.
Data is transferred via slave-to-slave communication cyclically in every DP cycle.
The slave-to-slave communication relationships (links) are steady-state. This means
that they cannot be re-configured during runtime without having to re-parameterize the
master and the slaves.
Every slave-to-slave communication link shall be configured using the bus
configuration tool.
The slave-to-slave communication links are target-oriented configured for each slave
which receives data via slave-to-slave communication (Subscriber).
The descriptive data of the configured slave-to-slave communication links (subscriber
table) is distributed to the subscribers at start-up (parameterization).
Master
A DP master which may initiate slave-to-slave communication (Data-eXchange
Broadcast) is required so that the slaves may communicate with each another.
The DP master receives all of the data sent from publishers as Input Data without
requiring any special configuring.
Data in the subscriber, which is controlled from the publishers, is not sent as Output
Data from the associated DP master.
Slave
A DP slave may publicize data via slave-to-slave communication (publisher function)
as well as receive data (subscriber function). A drive with slave-to-slave
communication which is in conformance with PROFIdrive should be able to receive
data from at least one node and publish all of its Input Data.
The slave shall also be able to operate with a standard master without slave-to-slave
communication. The slave-to-slave communication may be switched-on/off by an
appropriately parameterized bus.
Publisher
A publisher shall support the "DXB request" and "DXB response" PROFIBUS functions.
A publisher shall support the "Publisher_supp key word in the GSD file.
Subscriber
A subscriber shall support the key word "Subscriber_supp in the GSD file.
A subscriber shall support the block structure of parameterization data in order to load
the subscriber table.
The Subscriber shall support a supervision mechanism (DXB-Timer) for each DXB-
Link.
Version 4.0
Winder X X
techn.
9
A.I.
V1 V2 V3
Drying
Unwinder Pull measurement Control Coating Pull group
drive
The PLC is the PROFIBUS DP Master Class 1. All drives and distributed I/O are networked
with the PLC as passive nodes (slaves). The control drive receives the machine setpoint V-set
from the master system. The other drives receive their individual stretching ratios or the
tension setpoint from the master. These values are almost steady-state or changed extremely
slowly.
This means that the master system is relieved of time-critical (fast) setpoint calculations
during acceleration and deceleration. All of the dynamic command variables are computed
decentralized and distributed to the following drives via the bus.
Version 4.0
First step all of the slaves are configured with their Input and Output Data.
Second step the slave-to-slave communication relationships are configured for each
subscriber.
An ID using the special configuration identifier format shall be set in the configuration string
for every slave-to-slave communication link.
ID for slave-to-slave communication: 0x81; 0xCy-1; 0xF9 (y = length of link data in words)
The configuration for slave-to-slave communication is described using the example from
6.3.3.2.
Version 4.0
The sequential drive (coating) provides for the subsequent drive of the setpoint cascade V2
and dV2/dt as publisher data.
1 11 2 4 4 V1
5 (velocity of the control drive)
6 dV1/dt
7 (material web acceleration)
Unwinder configuration:
1) Offset (starts with 0 in byte) in the publisher Input Data, from which point on the subscriber should access data.
2) Offset (starts with 0 in byte) in the Output Data of the subscriber, in which the publisher data are mapped.
Version 4.0
1 11 2 4 4 V1
5 (velocity of the control drive)
6 DV1/dt
7 (material web application)
2 9 0 2 8 Tension actual values
9
With the definition of Links from the Publisher to a Subscriber the subscriber device is
capable of filtering the link data out of the relevant broadcast telegrams. Because of the axis
modular structure of a PROFIdrive Device, a mapping of the link data to the axis PZD Input
Data is necessary (see Figure 67). The information for the DXB filtering and the related
mapping of the filtered data to the PZD Input Data field of the PROFIdrive Axis is combined in
the DXB-Subscribertable. The structure and handling of the Subscriber table is described in
6.3.3.5.
DP Slave
interface
download via Prm mechanism broadcast
telegram subscriber filter
PZD from Master mechanism
Axis 1 Axis 2 ... Axis n
data data data
publisher A publisher B ... publisher n
PZD
subscriber mapping
table
slave output data slave output data slave output data
1) Offset (starts with 0 in byte) in the publisher Input Data, from which point on the subscriber should access data.
2) Offset (starts with 0 in byte) in the Output Data of the subscriber, in which the publisher data are mapped.
Version 4.0
In order that a DP slave may operate as subscriber on the bus at run-up, the subscriber table
shall be loaded into the slave in a User_Prm_Data block or an Ext_User_Prm_Data block (if
supported). Together with the Cfg-data, the DP slave may undertake the required checks and
settings and therefore map the data from the master and from the publishers to its own output
ranges (axis).
The Subscriber table consists of one or more link blocks. The following information is saved in
the link block of the subscriber table:
Version 4.0
NOTE 3 If data from one publisher has to be distributed to several axis on one subscriber this may be done by
placing of multiple link entries in the subscriber table.
The Subscriber table may be transferred to the slave via two different transfer routes:
Using the Check User Prm service (where the maximum length of the filter table including
header is limited to 234 bytes). This way is recommended because of general support by
masters.
or using the Check Ext User Prm service (where the maximum length of the filter table
including header is limited to 244 bytes).
The particular route that is used depends on the parameterization master, the bus
configuration tool and the supported services on the slave (see also 6.3.3.8).
The DP cycle is extended by the delay times between the publisher broadcast telegrams and
the next master telegram respectively (in comparison to a DP cycle without slave-to-slave
communication).
minTSDR
(Publisher) TID2
PROFIBUS
DXB request DXB response REQUEST
TSYN maxTSDR
Ready to receive
The timing may be optimized, using controllers which guarantee short response times. In this
case the max. T SDR shall be specified in the GSD of all of the devices. A bus configuration tool
may then use this value when calculating T ID2 .
At the instant that the master Output Data is received, the data of the publishers, which are in
the cycle before the subscriber, are from the actual cycle; the data of the publishers, which
are in the cycle after the subscriber, are from the last previous cycle. This concurrence may
be optimized by using clock-cycle synchronism.
The subscriber monitors a slave-to-slave communication link and may identify various errors
in operation. The subscriber keeps a status report for each slave-to-slave communication link
and signals every status change to its parameterization master. This means that this master
has essential information about the status of all of the slave-to-slave communication links.
By the subscriber the time and data are monitored for every publisher. The time monitoring
interval corresponds to the response monitoring of the PROFIBUS-DP. Since the data is
Version 4.0
checked against the configured lengths, steady-state configuring errors and dynamic errors
may be sensed during data transfer. When an error occurs, data cannot be re-sent as the
publishers send their data as a broadcast. If the subscriber identifies a failure, it shall respond
in an application-specific way and transfer a diagnostics message to the master.
The master may always interrogate the subscribers for the status of all slave-to-slave
communication links. When interrogated by the master, the slave signals the statuses of the
slave-to-slave communication links with the DXB link status object. In this object, the address
of the publishers and the link status of every slave-to-slave communication link are
transferred (refer to [2]).
In order to avoid dynamic as well as steady-state errors for the links, the subscriber shall
recognize the publisher data length (this corresponds to the input data length).
Dynamic errors may occur due to errors in the publisher (this sends data which are either
too short or too long)
Steady-state errors may occur if there are links outside the publisher data
If a subscriber recognizes a length error, the link for this publisher is not executed. The
application in the subscriber may then respond appropriately.
6.3.3.7.2 Response in the subscriber for user data failure in the publisher
The GSD file (device data file) is the basis and input for the configuring tool. This GSD file
shall be supplied by the device manufacturer of a DP slave which is to operate as a
Subscriber/Publisher on PROFIBUS DP.
Parameter Designation Set_ GSD Data type Units min. required values Typical value
Prm
(in- Publisher Sub- (internal) (absolute)
ternal) scriber
Version 4.0
Parameter Designation Set_ GSD Data type Units min. required values Typical value
Prm
(in- Publisher Sub- (internal) (absolute)
ternal) scriber
If the extended parameterization is used, then additional GSD parameters are necessary
(refer to [4]).
Version 4.0
For PROFIdrive at PROFIBUS the Data Block (DS) 47 is defined as the PAP to provide the
PROFIdrive Base Mode Parameter Access. For PROFIBUS only the Base Mode Parameter
Access - Global service is defined. The access for the Base Mode Parameter Access is done
by a read/write on Data Block 47 (DS47) of the specific CO (Slot).
Every PROFIdrive Device on PROFIBUS shall support the Base Mode Parameter Access -
Global via Slot 0, DS47. All PROFIdrive parameter of the complete Drive Unit (all DOs, global
and local parameter) are accessible via this PAP. Figure 70 shows the Parameter Access
mechanism of a Drive Unit.
Please note, that the addressing of the DO local parameter is only done by the DO-ID send to
the device in the parameter request data structure (see 3.4).
Optional additional PAPs may be located on every CO (Slot) of the Drive Unit which is related
to a DO (see also Figure 70).
PROFIBUS
Node-address
Slotnumber
DP-Slave Interface
0 1 2 3 4 5
PZD PZD
DO DO ...
local local
parameter parameter
set set
Parameter
manager
global
parameter set
DO_ID
Relationship
optional
Version 4.0
The Parameter Access to all DO of a Drive Unit shall be possible via the Slot 0-PAP.
Addressing of the DO is done by the DO-ID passed inside the request header data
structure (Base Mode Parameter Access Global).
The Parameter Access to a specific DO shall be possible via the PAPs of all COs (Slots)
related to that DO.
Access to DOs which are not related to a CO (Slot) shall be done via the Slot 0-PAP.
It is recommended to perform the Parameter Access to a specific DO via the PAP of the
first (lowest Slotnumber) of the related Slots of the DO.
6.4.2.1 General
In this chapter the mechanism for transportation of the Parameter Access request/response
data structure by use of the DPV1 parameter channel is specified. Table 64 gives an overview
about the PROFIBUS DP services used for the parameter channel.
DP DPV1
NOTE The fields with grey background indicate the scope of this section.
Addressing of the PAP is done by CO/Slot and index/DS (data block). The definitions refer to
the Read and Write services via the C1 and C2 channel. The Data_Transport service is not
used since it is only accessible for a Class 2 Master.
The PROFIdrive Profile for drives defines the following PAPs for the Parameter Access on
PROFIBUS DP:
The data in the write request corresponds to the parameter request. The data in the read
response corresponds to the parameter response.
A write request is first sent with the parameter request. The master has to send a read
request so that the slave answers with a read response containing the parameter response.
Version 4.0
Write.res
without data
Read.req DB47
without data
Parameter Processing
Read.res(-)
without data
Read.req DB47
without data
NOTE 1 Significance: The columns specify the state. The rows explain an event. Every row is subdivided
into two fields. One describes the action and the other the subsequent state.
NOTE 2 This state machine is valid for a DPV1 connection. If several connections have been set-up, then the
appropriate number of state machines shall be available. The order of a DPV1 telegram sequence is always: first
write request, then read request.
Version 4.0
2) Short acknowledgement of the parameter request with DPV1 Write response (without
data):
Version 4.0
Length:
DPV1: In the Write request and Read response, the length of the transmitted data in
bytes.
PROFIdrive: Length of parameter request/parameter response.
DPV1: In the Read request, the requested length of a data block.
PROFIdrive: Maximum length possible
DPV1: In the Write response, the data length accepted by the slave.
PROFIdrive: Mirroring of the length from the Write request.
b) Error case
If there is an error, the reply to a DPV1 Read or Write request is an error response.
5) DPV1 Error Response:
Error_Decode:
DPV1: ID as to how Error_Code_1/2 are to be interpreted.
PROFIdrive: always 128 (DPV1 codes)
Error_Code_1:
DPV1: Breakdown into error class (4 bits) and error code (4 bits); refer to Table 67.
PROFIdrive: Utilizing certain numbers
Error_Code_2:
DPV1: Application-specific
PROFIdrive: not used (always = 0)
0x0..0x9 = reserved
0xA = application 0x0 = read error -
0x1 = write error
0x2 = module failure
0x3 to 7 = reserved
0x8 = version conflict
0x9 = feature not supported
0xA to 0xF = user specific
0xB = access 0x0 = invalid index 0xB0 = No data block DB47: parameter requests are not
supported
0x1 = write length error
0x2 = invalid slot
0x3 = type conflict
0x4 = invalid area
Version 4.0
0x5 = state conflict 0xB5 = Access to DB47 temporarily not possible due to
internal processing status
0x6 = access denied
0x7 = invalid range 0xB7 = Write DB47 with error in the DB47 header
0x8 = invalid parameter
0x9 = invalid type
0xA to 0xF = user specific
0xC = resource 0x0 = read constraint conflict -
0x1 = write constraint conflict
0x2 = resource busy
0x3 = resource unavailable
0x4..0x7 = reserved
0x8..0xF = user specific
0xD...0xF = user specific
If the data block length limitation of DPV1 (also refer to [1]) is used, then the following
settings of the transferred data quantity are recommended which help to optimize the DP
cycle.
Data quantities which may be transferred as a function of the maximum data block length.
Formulas:
1) DPV1 user data length required as a function of the number of parameters and
number of values
DPV1 user data length =
Parameter header (=4) +
Number of parameters * ( Parameter address (=6) + Parameter value header (=2) +
Format(=1,2,4) * number of values)
Version 4.0
2) Max. number of parameters for a specified DPV1 user data length (number of
values = 1)
Number of parameters =
= ( DPV1 user data length - Parameter header (=4) )
/ (Parameter address(=6) + Parameter value header(=2) + Format(=1,2,4) )
3) Maximum number of values for a specified DPV1 user data length (number of
parameters = 1)
Number of elements =
= ( DPV1 user data length - Parameter header(=4)
- Parameter address(=6) - Parameter value header(=2) )
/ Format(=1,2,4)
Object Task Limited by Data block length Data block length Data block length
240 byte 112 byte 48 byte
Version 4.0
The following GSD parameters are relevant for the DPV1 Parameter Access:
Parameter Designation
NOTE A summarization of all relevant GSD entries for isochronous mode, Data
eXchange Broadcast and DPV1 Parameter Access is given in [10]. For further information
see [4].
The general Drive Unit (DU) configuration on PROFIBUS is shown in Figure 72. Figure 72
also shows the related data objects for PZD data, local and global parameter data and device
or DO related configuration data. For the general classification of DU types see 2.3.4.
A DU consists logically out of the drive device itself and one or several Drive Objects (DO).
The drive device is represented by slot 0 / DO-ID=0.
A DO of type Axis consists also out of its process data (PZD), the axis specific parameters,
and its axis-specific configuration data.
The process data is composed out of several slots containing the I/O data of the telegrams
used for this DO and the axis separator. There may be more slots for additional I/O data or
slave-to-slave communication (DXB).
The context includes the configuration data of the DO. The configuration data itself consists of
the configuration identifiers for each slot and the parameter data. All configuration identifiers
are combined into one configuration string for this device which is transferred to the device by
the configuration telegram.
The parameter data is put together by the Isochronous Parameter Block, the DXB Block, and
the DO specific parameters.
Version 4.0
st nd th
Drive Device 1 Drive Object 2 Drive Object ... m Drive Object
Slot 0 slot 1..n slot n+1..o ... slot x+1..y
Drive Parameters
(Process Data) DO-ID DO-ID DO-ID
(P978 Subindex 0) (P978 Subindex 1) (P978 Subindex m-1)
Device
Identification Fault Buffer Fault Buffer Fault Buffer
Communication
Interface
Local Local Local
Drive Reset Parameters Parameters Parameters
Context
Configuration Configuration Configuration
IsoM Data Data Data
Parameters
Parameter Data Parameter Data Parameter Data
DXB Table
NOTE The expressions in parentheses are used in the PROFIBUS specification (refer to [2]).
Explanations:
1) The device itself has no process data, they are assigned to a DO.
2) The Axis Separator at the end of the last DO is optional.
3) If a Drive Unit consists only of one DO, the Axis Separator of this DO is optional.
4) Shorter configuration are allowed: If only a part of the DOs exchanges process data,
and this part is set in the "list of DO-IDs" (refer to Drive Object - ID) in front of the
DOs which do not exchange process data, then it is allowed to configure no axis
separators for the non-used Dos.
5) longer configuration are not allowed
If the standard configuration is used, the ID required in the configuration telegram contains
information about the direction (I/O), the format (word), the data length, and the data
consistency (consistency over the complete length).
Version 4.0
The information about the slots and DOs in the slave, and their IDs are also known as the
slave configuration. The configuration, configured using the GSD data in the DP master, is
sent when establishing cyclic communication between the DP master and the DP slave with
the DP function Chk_Cfg. The slave checks whether the received configuration and the saved
configuration coincide. The configuration may be read back using the Get_Config DP service.
To select a dedicated DO via the DPV1 Parameter Access the DO-ID is used for addressing.
For Single-Axis and Multi-Axis Drive Units, the DO-ID is set equal to the Axis-Number.
Because with the Modular Drive Unit type theres the possibility to have DO types which have
no cyclic process data but Parameter Access via the acyclic communication channel, the DO-
ID may be different from the Axis-Number. Figure 73 shows the principle configuration and the
communication channels inside a Modular Drive Unit. To correlate the axis-number of the
cyclic communication channel and the DO-ID for the acyclic Parameter Access, the list of
DO-ID in P978 is used.
DP
cyclic communication channel acyclic communication / DPV1 parameter channel
DP Slave
Interface
Parameter
manager
DO DO DO DO
Global
parameter set
Drive Device
Modular Drive Unit
Figure 73 Configuration and communication channels for the Modular Drive Unit type
at PROFIBUS DP
Parameter P978 is a list of all DO-IDs (see Figure 74). In the PROFIdrive context, a DO-ID is
assigned to every DO. The DO-ID is an identifier for a DO typically used for Modular Drive
Units. For the Base Mode Parameter Access via PROFIBUS DPV1 (refer to 3.4) this identifier
is used to address a certain DO (see Figure 73). In the cyclic communication in which process
data is exchanged the order of the process data is fixed by the process data configuration and
referred as Axis-Number (see Figure 75). The identifier of the DOs is entered in parameter
P978 in the sequence in which the drive DOs receive their process data (see also Figure 73
and Figure 74).
Version 4.0
2 15
PZD
3. axis
3 0
4 13
5 0
List 1
List 2
Figure 74 Meaning of parameter P978 "list of all DO-IDs" for the DU at PROFIBUS DP
The subindices of P978 correspond to the process data view of the drive axes in ascending
order. P978 consists out of two lists (see Figure 74). First (starting with subindex 0) the list of
DOs with Cyclic Data Exchange starts and is terminated with a zero DO-ID. The second list
starts directly behind the first list and contains the DO-ID of DOs without cyclic data channel.
This list terminates also with a zero DO-ID. Therefore all DO-IDs of the device are listed if a
second zero is detected as DO-ID.
Notice that parameter P978 is mandatory for a Modular Drive Unit at PROFIBUS DP. If P978
is present, the DO-ID for the DO Parameter Access shall be taken out of P978. P978
optionally may also be used for Single-Axis and Multi-Axis Drive Units, if for any reason its
necessary to have the DO-ID not equal to the Axis-Number. If the Drive Unit doesnt possess
P978 the DO-ID for the DO Parameter Access is equal to the process data Axis-Number.
Version 4.0
Number.
DO
DO-ID
Axis-
PNU 975.5
DO-Type
Identification
Index DO-ID
Device
Device Representative Device
Slot 0
=0
0 9
Slot 1
1 10
....... PZD Parameter 1
Drive
9 1
Axis
2 20
Slot n: Axis seperator
Slot n +1
3 0
....... Drive
PZD Parameter 2 10 1 Axis
4 11
Slot m Axis seperator
5 21
Parameter - 11 2 other
6 0
DO
Slot m +1 7 x
....... 3 Drive
PZD Parameter 20 1
8 x Axis
9 x
Parameter - 21 other
3
DO PNU 978
6.6.1 General
Within PROFIdrive at PROFIBUS the usage of the Alarm Mechanism is not specified.
Therefore for the PROFIBUS master only the ZSW1 and the Fault Buffer Mechanism via
Parameter Access are available.
Version 4.0
TJ
DP-cyclic DP-acyclic
GC GC
DX DX DX MSG GAP (Clock
(Clock (Slave 1) (Slave 2) ... (Slave n) etc.
TOK RES
Cycle ) (Acyclic services Slave x) cycle)
TDX
TDP
T J (Jitter time)
T J mirrors the time in which the clock jitter lasts. The clock jitter is the shifting of the GC
telegram with respect to time (refer also to 6.7.5.2).
T DX (Data_Exchange-Time)
This time is the sum of the transmission times of all Data_Exchange telegrams for all slaves.
T DP (DP-Cycle-Time)
Content of a DP cycle
GC: Global_Control
The end of the Global_Control telegram marks the beginning of a new DP cycle.
DX: Data_Exchange
With the service Data_Exchange, user data exchange between master and slave 1-n is
executed sequentially.
Version 4.0
RES: Reserve
The reserve consists of the "active spare time" which is used as an active rest (master
transmits to itself) and the "passive spare time".
Sx.: Slavex
DP- Cycle T S1 S2 S3 MSG Reserve T
MSG:acyclic services
T O_MIN
TBASE_IO TBASE_DP
Slave -Appl .-Cycle TSAPC
R1 R1 R1 R1
Slave1..3 R1 R1 R1
R1 R1 R1 R1
Act. Val.acquisit.
TI TO Setpoint transfer
T DP (DP-Cycle-Time))
The DP cycle time consists of the following parts:
In addition, there is the following general condition for the DP cycle time:
Version 4.0
The DP cycle time resulting from this should be offered as a default when configuring (refer to
6.7.4). However, it should still be possible to enter other (higher) values.
Version 4.0
Transmission times
Depending on the model used, the following transmission times are relevant:
In the case of technological functions such as axis interpolation, pre-control, the same
transmission times (delays) are required for the participating slaves.
In the master system, the clock cycle synchronization may be realized in the buffered
synchronized mode or in the enhanced synchronized mode (refer to [2] part 5).
Master R1 R2 R3 R1 R2 R3 R1 R2 R3 R1 R2 R3
TI=0 TO=0
Version 4.0
In this example, four DP cycles are needed for a response in the position control loop.
In the simplest DP cycle the buffered synchronized isochronous mode is used. This model
places the lowest demands on the computational performance of the master. However, it
increases the control delay:
Delay = 4 * T DP
Master
TM
R1 R2 R3 R1 R2 R3 R1 R2 R3
DP-cycle T S1 S2
S2 S3 MSG Reserve T S1 S2 S3 MSG Reserve T S2 S3 MSG Reserve T
S1
TI TO
In the optimized DP cycle the enhanced synchronized isochronous mode is used. The
sequence actual value acquisition, actual value transmission, position control, setpoint
transmission is optimized with respect to time so that the control delay is minimized.
The clock cycle synchronization in Application Class 4 "Positioning with central interpolation
and position control" requires this mode.
a) Slave optimization (T I )
This time for synchronizing the actual value acquisition should be located as close as
possible to the end of the DP cycle.
b) Slave optimization (T O )
This time for synchronizing setpoint acquisition in all slaves should be located as close as
possible to the end of cyclic data transmission.
c) Master optimization (T M )
For this, a position controller shift of time T M is added so that the transmitted values are
available to the position controller in the same DP cycle. The calculation of new setpoint
values in the position controller shall be completed prior to the next data transmission to
the slave.
Version 4.0
This model makes greater demands on the computational performance as well as the
sequential control of the master and of the slaves, but minimizes the control-related delay.
Delay = T DP + T I + T O
TMAPC=2 * TDP
clock cycle (TMAPC)
(Closed-loop position controller)
TM
Master R1 R2 R3 R1 R2 R3
In this example, the master is relieved of computation time. This results from the fact that the
position controller cycle is a multiple of the DP cycle. Such a setting may be necessary if the
runtime of the control in the master is only a low proportion of the entire runtime in the
master. For setting the timing refer to 6.7.2.
Version 4.0
When running-up and cyclic operation, the following DP services are required:
Function DP Service
The following starting points in time are possible after an error in cyclic operation:
Version 4.0
Phase 1:
A Parameterization
Configuration
Phase 2:
B PLL Synchronization
C
Phase 3: Synchronization
to master`s sign-of-life
Running-Up Monitoring
D
Phase 4: Synchronization
to slave`s sign-of-life
For information, the State Machine Descriptions for the Isochronous Mode of [2] may be read
in [10].
If the system runs-up again (totally or partially, refer to A to D) this is treated the same as a
new Running-up (like after Power-On).
The Sign-Of-Lives are used to monitor the synchronism of the master and the slave
applications. In Multi-Axis Drive Units, it is recommended to realize the handling of the slave's
Sign-Of-Life and of the master's Sign-Of-Life axis-specific.
The power-up synchronization diagrams do not take into account the transmission time of the
Sign-Of-Life. Depending on the model used (refer to 6.7.2.1 up to 6.7.2.3) the following
transmission times are however relevant:
However, for the synchronization functionality a constant transmission time poses no problem,
as it is not required that different slave signs-of-life take up the same or certain phase relation
with respect to the masters Sign-Of-Life.
The following sequences are specified for a ratio T MAPC /T DP = 1/1. A concluding example
specifies the sequence for a ratio T MAPC /T DP = 2/1.
Version 4.0
The values transferred with Set_Prm (refer to [10]) are first required in the slave application
for DP, drive and PLL parameterization, all before the master application goes into the state
Operate.
The communication shall be reset (re-parameterization with Set_Prm, refer to A in Figure 81),
in order to allow a new parameterization, for example the PLL after faults due to incorrect
parameterization (drive reset by writing a certain value into the profile parameter P972).
Version 4.0
If the slave application recognizes Operate in the Global_Control status and it receives valid
Data_Exchange telegrams, then it starts the PLL synchronization. Any further change from
clear to operate of the master results in a new run-up starting with the PLL synchronization
(refer to B in Figure 81) up to the slave Sign-Of-Life discontinuation.
To start a new synchronization, the PLL synchronization does necessarily need the change
from clear to operate. The PLL synchronization should also be possible as soon as a GC with
group 8 is sent.
After PLL synchronization has been completed, cyclic operation starts if the internal
conditions of the slave for cyclic operation are fulfilled, and the slave application starts with
clock monitoring (refer to 6.7.6).
The status of the masters Sign-Of-Life is unimportant for PLL synchronization. The start of
the masters Sign-Of-Life and the start of the running-up monitoring may begin at a later time.
Copyright PNO 2005 - All Rights Reserved Page 214 of 271
Content Start
Version 4.0
This may be utilized by the master application to delay slave synchronization. If for example,
parameters are read from the slave by the master application for adapting the cyclic interface,
the masters Sign-Of-Life and running-up monitoring will only be started after this process.
After the running-up monitoring time expires, the master application sends out a
corresponding alarm.
If the master application executes a change from Operate->Clear, the following applies:
In Data_Exchange, the master switches the Output Data into the safe mode (without
FailSafe -> Output Data = 0, with FailSafe -> length of Output Data = 0). The result is a
failure of the masters Sign-Of-Life. The slaves Sign-Of-Life is set to 0 in order to have
the same conditions for the transition from clear to operate as in phase 2.
The Global_Control for the clock cycle continues to be transmitted (-> the events
from/to secondary layers (FDL) are saved).
The PLL synchrony may be retained specific to the application.
DX (S -LS = 0)
GC (Operate ...)
M-LS + 1 DX (M -LS = n + 2) Test: M -LS (1. OK)
DX (S -LS = 0)
....
GC (Operate ...)
M-LS + 1 DX (M -LS = n) Test: M -LS (x. OK)
End: M -LS
Synchronization
DX (S -LS = 0)
Figure 84 Phase 3: Synchronizing the slave application with the master's Sign-Of-Life
Version 4.0
GC ( Operate ...)
M-LS + 1 DX (M -LS = n + 1)
DX (S -LS = 0) Start: S -LS (for the
master)
Start: M -LS monitoring
GC (Operate ...)
M-LS + 1 DX (M -LS = n + 2)
DX (S -LS = m) S-LS = m + 1
Figure 84 Phase 3: Synchronizing the slave application with the master's Sign-Of-Life
(continued)
After successful PLL synchronization, the slave application starts the slaves Sign-Of-Life
(counter in the DP cycle) with an arbitrary value between 1 and 15 when the masters Sign-Of-
Life changes (n -> n + 1). The slaves Sign-Of-Life is first communicated to the master at the
end of its own Sign-Of-Life synchronization which results in the master application being
synchronized with the slaves Sign-Of-Life only after slave synchronization.
The slave starts Sign-Of-Life synchronization at a change of the masters Sign-Of-Life (n -> n
+ 1). The slave application tests the masters Sign-Of-Life in each DP cycle. The expectation
value of the masters Sign-Of-Life in the slave application in the next master application cycle
is as follows:
If a tested masters Sign-Of-Life does not correspond to the expected value, synchronization
restarts. The synchronization phase is considered completed only if, in the slave application,
the complete value range of different masters signs-of-life corresponded to the expected
values in the master application cycle. The slaves Sign-Of-Life is then transmitted to the
master for the first time (see above).
After the signs-of-life synchronization has been completed, the slave application starts with its
cyclic monitoring of the masters Sign-Of-Life (refer to 6.7.6).
Version 4.0
Drive Unit
Synchronization O.K.
PLL Fault
(clock failure) Synchronize internal clock cycle
source to PLL output
Synchronization O.K.
Drive
Drive Axis
Drive Axis
Unit
synchronized Drive Axis Control Loop is
activated
Sign-Of-Life
Master LS change recognized Fault
Synchronization O.K.
Version 4.0
The master application starts the masters Sign-Of-Life (counter in the master application
cycle) with an arbitrary value between 1 and 15 at the earliest when changing from Clear ->
Operate.
If a tested slaves Sign-Of-Life does not correspond to the expected value, synchronization of
Phase 4 restarts. The synchronization phase is considered to be completed only if, in the
master application, the complete value range of the different slaves signs-of-life
corresponded to the expected values in the master application cycle.
After running-up synchronization has been completed, the master application concludes
running-up monitoring and starts with the cyclic monitoring of the slaves Sign-Of-Life (refer to
6.7.6).
The applications (master, slave) monitor the Sign-Of-Life of the other (refer to 6.7.6). If the
Sign-Of-Life fails (master or slave application), the other will try automatically to re-
synchronize itself to the failed application.
Version 4.0
If the slave application detects that the masters Sign-Of-Life failed, the slave application
immediately attempts a re-synchronization to the masters Sign-Of-Life (refer to C in Figure
81), so that synchronous operation may continue after the users acknowledgement. This re-
synchronization also causes the slaves Sign-Of-Life to discontinue.
If the master application detects a failure of the slaves Sign-Of-Life, the master application
immediately attempts a re-synchronization to the slaves Sign-Of-Life (refer to D in Figure 81),
so that cyclic operation may continue after the user acknowledged this fault.
Version 4.0
Version 4.0
The following parameters are needed for a clock-cycle synchronous drive interface:
A detailed description of the parameters which have been introduced in Table 70 is provided
in [10].
The unit [1/12s] of the basic times T BASE_DP , T BASE_IO and the times T DX , T PLL_W , and T PLL_D
has the following advantages:
1/12 s corresponds to the time t BIT at 12 Mbaud (83 ns) and may also be used for
other baud rates
1/12 s also permits the representation of 31.25s, for example, without using the data
type Float
1/12 s as unit for the two parameters T PLL_W and T PLL_D allows these to be more finely
set for a lower baud rate than with the unit t BIT
Copyright PNO 2005 - All Rights Reserved Page 221 of 271
Content Start
Version 4.0
1/12 s as unit for the two parameters T PLL_W and T PLL_D permits implementation
independent of the baud rate (for example by a soft PLL)
The times T PLL_W (PLL window) and T PLL_D (PLL delay time) are used to parameterize the PLL
(refer to 6.7.5.3).
With a Global_Control telegram, a master may send commands (SYNC, UNSYNC, FREEZE,
UNFREEZE, CLEAR_DATA) to a group of slaves or to all slaves.
The allocation of a slave to a specific group is specified during run-up in the parameterization
telegram.
Of the possible groups 1 to 8 (see above), the following group is permanently reserved in the
Global_Control telegram for the application clock cyclic synchronous drive interface:
In the case of the application clock cyclic synchronous drive interface, the DP master sends a
Global_Control telegram with the ID for Group 8 at the start of a cycle.
A drive which supports the isochronous mode may not be assigned to a group in the
parameterization, but still responds to the Global Control of Group 8. A drive, which does not
support the isochronous mode, may be operated with Group 8 at the clock cycle limits with
SYNC/FREEZE.
Version 4.0
No synchronization -- -- -- -- --
NOTE The Global_Control telegram to indicate the master operating mode is sent as an additional
Global_Control to Group 0 (no group) so that mixed operation with slaves without synchronization (without Group
8) is possible.
The clock cycle transmitted with Global_Control has the following attributes:
Clock jitter is the stochastic deviation of the nominal clock instant, because the deviation may
change in every clock cycle. The jitter is specified in 0..x ns, this means it is always an
additional value to the nominal clock instant. The slave controls the nominal clock instant plus
x/2 in average.
Master-ASIC
Profibus physics
Repeater
Slave-ASIC
The quartz drift leads to non exact periods of the Global control telegram and changes with
the time (effect of temperature, aging).
An individual clock jitter evaluated in the slave as too large is considered a jitter failure. The
slave then generates a substitute clock cycle (refer to 6.7.6).
Version 4.0
The maximum jitter value maxT J shall not exceed 1 s. An individual clock jitter evaluated in
the slave as too large is considered a clock failure.
Table 72 shows the allowable conditions in isochronous mode for baud rate, min and max DP
clock cycle, and jitter.
DP clock cycle
a
Baud rate MAXIMUM Minimum Clock generation output Clock regeneration input
The following limits for bit clock generation output in the Master and Slave shall not exceed:
By using a PLL, the clock jitter may be smoothed in the slave, and clock failure as well as
runtime effects may be compensated. In this chapter a principal description of the PLL
functions is given.
PLL Reset
Global_Control Clock cycle SYNC
(DP Clock DP Slave (TDP) (TDP / n)
cycle) ASIC PLL Clock cycle
Generation
- Jitter <=1s - Smoothing - Jitter <=100ns
at the DP plug Clock Jitter - without failure
of the slave - with delay
- with failure PLL Start - Compensation
Clock Failure
SYNC Mode
SYNC Enable - Compensation
SYNC clock cycle Period Duration Runtime Effects
No. of SYNC pulses per TDP
PLL-Window Hit Display
PLL-Delay Clock0 Display
DP Cycle (TDP)
Global_Control
Version 4.0
Par. Pin
NOTE 1 The PLL window and PLL delay time parameters are also part of the parameterization telegram Set_Prm
(refer to 6.7.4)
NOTE 2 To set several input parameters the DP cycle time (T DP ) as well as the baud rate shall be known.
SYNC The clock cycle output of the PLL is a clock that is jitter-free and x
stable to the greatest extent possible.
This clock cycle deviates from the DP clock cycle by a constant
delay time that may be set (compensates phase shifts between
slaves due to the runtimes of the Global_Control telegram).
The period of the SYNC clock pulse is an integer component of the
actual T DP .
Hit Display Indicates whether a Global_Control telegram arrived within the x
tolerance window.
Clock0 Display Indicates whether the SYNC clock cycle that was just read out x
coincides with the (expected) Global_Control telegram (shifted by
st
the delay time) (1 clock cycle or Clock0).
NOTE In the non-synchronized mode (see above, input parameter SYNC mode), the SYNC signal is a fixed
clock cycle with the desired period duration.
Version 4.0
The PLL should behave as follows during stationary operation (if SYNC mode = synchronous)
The Global_Control telegram received by a slave is read out from the PLL delayed by a
parameterized delay time (see above). This shift has to be taken into account at
implementation. For example, the actual value (time T I ) is measured as shortly as possible
prior to the SYNC clock pulse which the PLL reads out. In the case of a longer delay time, it
may be possible that the actual value may no longer be transmitted because Data_Exchange
has already started on the bus (-> T I_MIN has to be larger than the delay).
Data_Exchange
Global_Control
delay
SYNC
TI
Standard DP monitoring
If the slave does not respond during the response time max-T SDR, or if the master detects a
checksum error, the master repeats the telegram for a configured number of times. If all
telegram repetitions are unsuccessful, there will be a complete communication failure with this
slave.
It should be possible to configure in the master what the response is for the other drives if one
drive fails.
In a slave, watchdog monitoring with T WD ensures that if the master fails, the slaves outputs
go into a safe condition after this time expires; this implies that the drives are stopped. For
Version 4.0
clock-synchronous drive coupling, it makes sense if the setting is as far as possible the same
for all slaves (simultaneous stopping is possible).
User data operation between the DPM1 and the slaves assigned to it is monitored by the
master with the Data_Control_Time. Within the Data_Control_Time, at least one user data
transfer shall have been exchanged correctly with the respective slave. If this is not the case,
this is signalled to the user of the DP master.
Violating the DP cycle T DP (for example because telegrams have been repeated) does not
necessarily have to cause communication failure considering the following reasons:
Clock pulse failure may be intercepted in the slave through a failure strategy (own
clock pulse generation) (see below, Clock Failure)
A possibly resulting user data failure may be intercepted in the slave using a failure
strategy (substitute value) (see below, user data failure)
As shown below, a DP cycle violation may not lead to permanent clock pulse shifts:
DP Clock (setp.) z / az z / az z / az z / az z / az Z / az
DP Clock (actual) z / az z / az z z / az z / az Z / az
z / az = cyclic / acyclic
NOTE 1 The master has to ensure that no permanent clock pulse shifts take place if the DP cycle is violated. The
cycle may be snapped into place by the following cycle suppressing the acyclic part of the cycle after the violation
(refer to 7.7.1).
NOTE 2 Several successive DP cycle violations may cause a permanent clock pulse shift (for example through
timer overflow in the master ASIC).
Clock failure
The slave monitors the clock failure of the master. Monitoring starts after the slave has been
successfully synchronized with the clock cycle; i.e. when the slaves Sign-Of-Life counter
starts.
When the alarm threshold is exceeded, a fault is put out (PROFIdrive: status word group bit,
fault parameter, operating mode fault): The monitoring ensures that the PLL does not lose
unrecognized clock cycle synchronization when more sequent telegrams get lost.
Version 4.0
DP clock: | | | | |
Counter failure: 0 0 0 0 0 1 2 3 4 4 4
User data transfer is secured (refer to 4.12) in both directions (master <-> slave) using a 4 bit
counter (Sign-Of-Life) that is transmitted by using the DP service Data_Exchange.
These parameters are related to the Network Communication Interface of the Drive Unit or
Station.
Version 4.0
PNU: 963
Significance: Actual baud rate
Data type: Unsigned16
Implementation: Optional
Validity range: Global
Explanation: For automatic baud rate recognition, this parameter indicates the
actual baud rate. The parameter is only set by the interface. For
interfaces without automatic function, the baud rate is set via this
parameter. Only relevant, if PROFIBUS DP slave interface is
present. The baud rate is designated and coded in Table 76.
Reference: ---
0 9.6 kbit/s
1 19.2 kbit/s
2 93.75 kbit/s
3 187.5 kbit/s
4 500 kbit/s
6 1500 kbit/s
7 3000 kbit/s
8 6000 kbit/s
9 12000 kbit/s
10 31.25 kbit/s
11 45.45 kbit/s
Version 4.0
According to the definition of the Application Classes in 2.4, Table 77 specifies the
communication functionality the drive shall comprise to match a specific Application Class for
PROFIdrive at PROFIBUS DP.
Acyclic Services C1 m
Acyclic Services C2 m m m m m
Isochron Mode o o m m
Subscriber Functionality m m
Extended Parameterization o o o o o
Alarm Handling
Acyclic Services C1 m
Acyclic Services C2 m
C1-Master
Isochron Mode o o m m
Data-eXchange-Broadcast m m
The requirements regarding Application Class 5 are not defined in this profile. This is the
reason, that no profile functions are specified for this Application Class in Table 77.
Version 4.0
This chapter defines the mapping of the PROFIdrive Base Model on the PROFINET IO
Communication System (refer to [9]).
When using PROFINET IO as Communication Network, the PROFIdrive Devices are mapped
to the following PROFINET IO objects:
Controller: The PROFIdrive Controller is represented by the IO-Controller. E.g. this may
be a PLC, NC or PC.
Drive Unit: The PROFIdrive Drive Unit is represented by the IO-Device. The Drive Unit is
related to one or more Axis of the automation system.
Supervisor: The PROFIdrive Supervisor is represented by the IO-Supervisor. E.g. this
may be a PG or OP.
Figure 91 shows the topology of a typical PROFIdrive drive system using PROFINET IO as
Communication Network.
PROFINET IO
M M
E E
PROFIdrive
Application Application
Class 1 Class 3
Version 4.0
Figure 92 shows the PROFIdrive Devices and their relationships on PROFINET IO.
Supervisor AR
R
rA
so
vi
p er
IO
Su
Controller
IO
AR
IO
AR
IO Device M CR IO Device
(Drive Unit) (Drive Unit)
Version 4.0
Within the PROFINET Context the PROFIdrive Device at PROFINET IO is precisely defined
by the following address information:
PROFINET IO
Station
PROFIdrive
Drive Unit
... PROFIdrive
Controller
(IO Device) (IO Controller)
Network
Version 4.0
The PROFIdrive Base Model Communication Services are provided by the following
PROFINET IO Application Service Elements (ASE):
The PROFIdrive Cyclic Data Exchange service is provided on PROFINET IO by the IO Data
ASE.
For the Cyclic Data Exchange between Controller and Drive Unit this is done by the IO CR
which is part of the IO AR. The IO AR is established by the Context ASE.
For the Cyclic Data Exchange between Drive Unit and another Drive Unit, this is done by
the M CR. Initiation and supervision of the M CR should be done by the related
controller(s) (refer to [9]).
The PROFIdrive Acyclic Data Exchange service is provided on PROFINET IO by the Record
Data ASE.
The Acyclic Data Exchange between Controller and Drive Unit is done by the Record Data
CR which is part of the IO AR or Supervisor AR.
Also theres an additional possibility for an acyclic (read only) data exchange by the
implicit read mechanism, which is part of an Implicit AR.
The PROFIdrive Alarm Mechanism is provided on PROFINET IO by the Alarm ASE. The
Alarm ASE is realized by the Alarm CR which is part of the IO AR.
Version 4.0
Reduction Ratio = 4
1 2 3 1 1 2 1
Version 4.0
Figure 95 shows the Drive Unit Communication Model for the PROFINET IO Communication
System.
IO Controller
(Controller)
IO Supervisor
(Supervisor)
IO AR (Record Data CR)
IO AR (Input/Output CR)
Isochronous Operation
(PROFINET IO
with IRT)
d
t r ea
p lic i
Im
or
R
CR rA
M r v is o Cyclic communication
pe
Su
Acyclic communication
IO Device
(Drive Unit)
PROFINET IO allows multiple Controllers within one domain. Also theres the possibility to
establish and control DOs of one Drive Unit from different Controllers even to share one DO
by more than one Controller. Within one IRT Domain there is one dedicated Clock Master for
the Isochronous Operation Mode.
Version 4.0
IO AR
Input CR (mandatory)
Output CR (mandatory)
Alarm CR mandatory)
Alarm CR (optional)
Record Data CR (mandatory)
IO Controller
(Controller)
IO-Device
(Drive Unit)
IO Supervisor
(Supervisor) Supervisor AR
IO X CR (optional)
Figure 97 shows the use of an M CR for Cyclic Data Exchange between two Drive Units
according to [9]. The initiation and supervision of the M CR is done by the IO-Controller or the
IO-Controllers if the AR endpoints of the M CR are parts of different IO AR to different IO-
Controllers.
Version 4.0
IO-Controller IO-Controller
(Controller) (Controller)
Output CR (mandatory)
Output CR (mandatory)
Connection establishment
Input CR (mandatory)
Alarm CR (optional)
Alarm CR (optional)
Alarm CR (mandatory)
Alarm CR (mandatory)
IO AR
IO AR
unidirectional
IO-connection
M CR
IO-Device IO-Device
Drive Unit Drive Unit
(Publisher) (Subscriber)
For PROFIdrive at PROFINET IO the States of the PROFIdrive Base Model State Machine are
mapped to the PROFINET IO states according to Figure 98. The actions to be carried out in
the different phases and the corresponding PROFINET IO states are described in the
following list:
Offline: In the Offline state no Communication Service is available. In this phase the
Communication System prepares for setup of basic communication functions to start the
Context Management process. Here this means the evaluation of the local configuration
and the address assignment to the stations.
Phase1: The PROFIdrive Phase 1 comprises the PROFINET IO Context Management
substep 1. Here first standard IO ARs are established to transmit standard and isochron
configuration information to the devices. Then the alarm handler is started and the local
synchronization between Slave Clock and Slave Clocks is established.
Phase2: The PROFIdrive Phase 2 comprises the PROFINET IO Context Management
substep 2. Here, with the IRT-configuration information present, the standard IO ARs are
broken down and new IRT-IO ARs are established if the PROFINET IO domain is
configured to operate in IRT mode. Phase 2 is finished with a consistency check and the
activation of provider and consumer.
Version 4.0
Phase3: This state is part 1 of the PROFIdrive Synchronization state, where the
PROFINET IO applications/application processes are already started (Input and Output
PZD are valid), and operating in isochronous mode. Now the PROFIdrive Application
Layer tries to synchronize its tasks by use of the Life Sign mechanism. In this first part the
Controller Life Sign (C-LS) is synchronized (see also 4.12).
Phase4: This state is part 2 of the PROFIdrive Synchronization state, where the
PROFINET IO applications/application processes are already started (Input and Output
PZD are valid), and operating in isochronous mode. Now the PROFIdrive Application
Layer tries to synchronize its Tasks by use of the Life Sign mechanism. In this second part
the DO Life Sign (DO-LS) is synchronized (see also 4.12).
Operation: In the Operation state all Communication Services are available and active,
also the Functional Objects on the Application Layer are synchronized and the whole
PROFIdrive application is ready to operate.
PROFIdrive
Parameter Access,
PZD valid, Slave Clocks
Parameter Access, PZD not valid
synchronized
to Master Clock
PROFINET IO
For PROFIdrive the PROFINET IO Subslot is defined as common CO. The CO/Subslot should
be used as Communication Object for Process Data, Parameter Access and the Alarm
Mechanism.
Version 4.0
Figure 99 shows the PROFIdrive Drive Unit mapped on a PROFINET IO device. The logical
address elements for a Drive Unit in the PROFINET IO Communication System are:
domain
Name of Station/IP-address
Interface UUID
Object UUID
API (here for PROFIdrive only 0x3A00 is valid)
PROFINET IO
Domain
PROFINET IO
Name of Station
Network Interface
Interface
UUID
IO Device Interface
Object
UUID
Station
PROFIdrive PROFINET
DO-ID Slot-Number
Figure 99 PROFINET IO specific Logical Drive Unit model (multi axis drive)
Figure 100 shows the general architecture and the mapping of the architectural elements to
COs for the Drive Unit for PROFINET IO. General with PROFINET IO the DO is mapped
exactly to one Module/Slot. This means that every Module within a PROFIdrive Drive Unit is a
DO. Slot 0 is exclusively reserved for Device representative purpose and therefore shall not
used for any PROFIdrive module. Valid Slotnumbers for PROFIdrive DOs are from 1 to
0x7FFF.
Copyright PNO 2005 - All Rights Reserved Page 240 of 271
Content Start
Version 4.0
Every DO contains at least the mandatory Module Access Point (MAP) which is mapped to a
dedicated DO Representative Submodule. This MAP Submodule contains at least the
mandatory Parameter Access Point (PAP) which is mapped to a dedicated Record Data
Object (see 7.4). Via the DO representative Submodule (MAP/PAP) and the specified Record
Data Object the access to the DO parameter manager is possible. The DO parameter
manager has access to the DO local Parameter Data Base and also to the Device global
Parameter Data Base because with PROFIdrive, access to global Parameters is possible by
every present PAP (DO).
In addition to the mandatory MAP submodule, the DO may contain additional (optional)
submodules which may be used to:
Represent communication end points for PZD (cyclic data channel) and also to structure
the PZD in data blocks (telegrams, signals).
Represent physical or logical Subobjects of the DO. E.g. the motor of the axis or a special
module (pluggable) may be represented by a dedicated Submodule.
IO AR
DO
acyclic cyclic
data data
channel channel
Parameter
Manager
Device/Global DO
DO Function
Parameter Parameter
Database Database
IO-Device
Figure 100 Representation of the PROFIdrive DO by PROFINET IO Submodules (CO)
The Submodules of a DO may be part of an AR. Also the Submodules of one DO may be
assigned to different ARs, but one Submodule may only be part of exactly one AR. The only
exception to this is the Implicit AR, which may have access to every submodule, but only
readable.
The hierarchical Structure of the related objects of a Drive Unit is shown in Figure 101.
Version 4.0
Drive Unit
(DU)
1..n
Drive Object
(DO)
Drive
Sub-Object
(Submodule)
Cyclic Component
Data-Object Representative
1
DO/Parameter
Telegram Signal ...... Motor ...... access point
(MAP/PAP)
The identification and function of a Submodule is only dependent on the Submodule Ident
Number but not on the Slotnumber related to the Submodule.
Version 4.0
0 - not used - -
1 ST1 PZD Data Object Standard telegram 1 2 2
2 ST2 PZD Data Object Standard telegram 2 4 4
3 ST3 PZD Data Object Standard telegram 3 9 5
4 ST4 PZD Data Object Standard telegram 4 14 6
5 ST5 PZD Data Object Standard telegram 5 9 9
6 ST6 PZD Data Object Standard telegram 6 14 10
7 ST7 PZD Data Object Standard telegram 7 2 2
8 ST8 PZD Data Object Standard telegram 8 5 5
9 ST9 PZD Data Object Standard telegram 9 5 6
10 - 19 Reserved for PROFIdrive Profile - -
20 ST20 PZD Data Object Standard telegram 20 6 2
(according to VIK-NAMUR)
21 - 80 Reserved for PROFIdrive Profile - -
81 - 98 Reserved for PROFIdrive Profile (Encoder - -
telegram)
99 Reserved for PROFIdrive Profile - -
100 - 60000 Reserved for manufacturer-specific telegram - -
PZD Data Objects
60001 - 62000 Reserved for PROFIdrive Profile Signal data - -
objects
62001 - 64000 Reserved for PROFIdrive Profile - -
64001 - 65531 Reserved for PROFIdrive Profile representative - -
Data Objects
65532 I-REP Interface-Module Representative 0 0
65533 IF-REP Infeed/Rectifier/Line-Module Representative 0 0
65534 C-REP Controller-Module-Representative 0 0
65535 M-REP Motor-Representative 0 0
65536 DO-REP, DO-Module Representative (MAP) with PAP, 0 0
(=0xFFFF) MAP/PAP implementation mandatory
65537 - Reserved for PROFIdrive Profile - -
0xFFFFFFFF
Version 4.0
Within PROFINET IO the cyclic data channel is composed out of all Submodules belonging to
the DO/Slot which are of PZD Data Object type. Modularity of the whole PZD data block is
possible by configuration of multiple Submodules as shown in Figure 102. The PZD data block
is put together according to the ascending Slotnumbers of the PZD Data Object Submodules.
It is strongly recommended to start the PZD data block by a PROFIdrive standard telegram
Submodule.
Slot Slot X = DO Y
Submodule
- 0xFFFF 3 empty 60054 empty 121
Ident Number
PZD
Submodule DO-REP
PZD
Vendor
Type reserved ST3 ... P_IST_ ...
MAP/PAP monitor
GLATT
block
Output/Input
- - 5/9 ... 1 ... 0/8
data size (Word)
Vendor specific
Modular PZD-data block Standard telegram Signal
data block
ascending address
The Producer Status (IOPS) and the Consumer Status (IOCS) are described in detail in [9].
For PROFIdrive at PROFINET IO, Record Data Objects are used as PAP to transfer requests
to the parameter manager and to transfer responses from the parameter manager to the
Controller or the Supervisor. For Parameter Access the Record Data write access is defined
as request to the parameter manager, the Record Data read access is defined as response
from the parameter manager.
According also to Figure 100, the PAP Record Data Objects are related to the Submodules of
MAP type (Submodule Ident Number = 0xFFFF). The list of defined Parameter Access Modes
and there related Record Data Object is shown in Table 79.
Version 4.0
0x0000 User specific Record Data, may be used optional Record Data 47 is
- 0x7FFF for user specific PAP. recommended to be used for
Base Mode Parameter Access
Global (0xB02F) for
compatibility reasons.
0xB000 Not defined - Reserved for further definition
- 0xB02E
0xB02E Base Mode Parameter Access - Local mandatory Parameter request compatible
(refer to 3.4.2) to PROFIBUS DP Parameter
Access defined in PROFIdrive
Profile Version 3 but
addressing of the DO is done
by the slot number.
0xB02F Base Mode Parameter Access - Global optional Parameter request compatible
(refer to 3.4.2) to Base Mode Parameter
Access (0xB02E), but
addressing of the DO is done
by the DO-ID in the request
header.
0xB030 Not defined - Reserved for further definition
- 0xBFFF
7.4.2.1 General
Every PROFIdrive Device on PROFINET IO shall support the Base Mode Parameter Access -
Local.
The Base Mode Parameter Access at PROFINET IO shall support at least 255 byte
request/response data block size (mandatory). Support of greater block sizes is optional.
A successful access to the local parameters of a DO is only possible, when the correct DO-ID
corresponding to the Slotnumber is entered in the parameter request header. Otherwise the
DO parameter manager will respond with error code 0x19 Axis/DO nonexistent.
For access of global parameters every valid PAP may be used. When accessing a global
parameter, the DO-ID in the parameter request header is of no importance (dont care) and
will not be checked by the DO parameter manager.
For access of global parameters every valid PAP may be used. When accessing a global
parameter, the DO-ID in the parameter request header shall be a valid DO-ID (also 0 is a
valid DO-ID).
Version 4.0
The data flow for the request and response data structure between the controller or
supervisor and the DO parameter manager is shown in Figure 103.
Parameter Parameter
response request
PROFIdrive PROFIdrive
Base Mode Base Mode
Parameter Request Reference Response ID Request Reference Request ID Parameter
response DO-ID No of Parameters DO-ID No of Parameters request
DO not ready
readout of for (new) error:
ParameterResponse parameter parameter ErrorCode=0xDF ParameterRequest
ok ErrorDecode=0x80
response request ErrorCode1=0xB5 or 0xB5 1)
ErrorCode2=0
no response request
available accepted ok
error: 2)
ErrorCode=0xDE
ErrorDecode=0x80
ErrorCode1=0xB5 read write
ErrorCode2=0
Data Record Data Record
0xB02F 0xB02F
Controller/Supervisor
Data Record Data Record
0xB02E (READ) 0xB02E (WRITE)
transfer
BlockHeader; transfer BlockHeader;
request to
ParameterResponse response to ParameterRequest
Parameter
Data Record
Manager
PROFIdrive PROFIdrive
Base Mode Parameter Base Mode Parameter
response request
Parameter
Data Base
Drive / DO
Figure 103 Data flow for request and response for the Base Mode Parameter Access
Version 4.0
The general Drive Unit configuration on PROFINET IO is shown in Figure 104. From the
logical point of view there are two classes of Objects:
The DOs which are named and identified by the DO-ID. They represent the application
functionality and application processes.
The Slots which are named and identified by the Slotnumber. They represent the global
communication end point for a DO.
These two classes of objects are configured by association of the DO-ID to the corresponding
Slotnumber.
IO Device
Interface
Slotnumber
PAP
PAP
PAP
PNU 978
DO DO DO DO
Figure 104 Configuration and communication channels for the Modular Drive Unit type
at PROFINET IO
The assignment of Slotnumbers to DO-IDs may be posted by the optional global parameter
P978 List of all DO-ID according to Figure 104 and Figure 105. If the Drive Unit does not
possess the parameter P978, the DO-ID is equal to the Slotnumber (the DO-ID is necessary
for the Base Mode Parameter Access).
Version 4.0
1 11
2 255
PROFINET IO PROFIdrive
Slotnumber DO-ID
3 51
4 55
5 0
6 0
Figure 105 Meaning of parameter P978 "list of all DO-IDs" for the DU at PROFINET IO
Within the PROFIdrive Drive Unit the PROFIdrive diagnosis objects defined in chapter 4.8.4
should be mapped to a PROFINET IO diagnosis object. These diagnosis objects shall be
represented by the Channel Diagnosis diagnosis type [9].
For the Alarm Mechanism the PROFINET IO Alarm ASE [9] shall be used. Within this Alarm
Mechanism the diagnosis objects according to the Definition in chapter 7.6.1 are transmitted
by the Channel Diagnosis mechanism. If the controller doesnt support the alarm the
acknowledge will be not supported. The DO is not committed to react on this negative
Version 4.0
acknowledge and may ignore it (dont care). The definition of the AlarmNotification-PDU for
the PROFINET IO Alarm Mechanism is according to Table 80.
Attribute Meaning
Attribute Meaning
ChannelProperties.Type 0
ChannelProperties.Reserved 0
0 = no maintenance required
ChannelProperties.MaintenanceRequired
1 = maintenance required
ChannelProperties.MaintenanceDemanded 0 = no warning; 1 = warning present
ChannelProperties.Specifier 0 = no error; 1 = error present
ChannelProperties.Direction 0
ChannelErrorType see Table 82
Version 4.0
Readout of the actual diagnosis information out of the DO by the controller shall be possible
by using the standard PROFINET IO Diagnosis ASE. Within this diagnosis mechanism the
diagnosis objects according to the Definition in chapter 7.6.1 are transmitted by the Channel
Diagnosis mechanism. The definition of the DiagnosisData for the PROFINET IO Diagnosis
mechanism is according to Table 83.
Attribute Meaning
Version 4.0
Figure 106 shows the sequence of an isochronous PROFINET IO with IRT Data Cycle.
Applicationcycle T CAPC =1 x T DC
T ApplEnd Controller
T ApplStart
application background
Bus
T input_valid = 0 T output_valid
T I_min T O_min
TI TO DO
Phase 2 Phase 3 Phase 4 Phase 1 Phase 2 Phase 3 Phase 4 Phase 1 Phase 2
T DC DataCycle T DC T DC
Version 4.0
These parameters are related to the Network Communication Interface of the Drive Unit or
Station.
Version 4.0
PNU: 61001
Significance: IPOfStation
Data type: Array[4] Unsigned8
Implementation: Mandatory if PROFINET Network Interface is present
Validity range: Global
Explanation: This parameter contains the IP Address of the Station for the
PROFINET IO Network Interface, which is related to this Drive Unit.
This is an additional service parallel to the standard PROFINET IO
mechanism, which makes the IP Address of Station also accessible
via PROFIdrive Parameter Access.
Reference: ---
PNU: 61002
Significance: MacOfStation
Data type: Array[6] Unsigned8
Implementation: Mandatory if PROFINET Network Interface is present
Validity range: Global
Explanation: This parameter contains the MAC Address of the Station for the
PROFINET IO Network Interface, which is related to this Drive Unit.
This is an additional service parallel to the standard PROFINET IO
mechanism, which makes the MAC Address of Station also
accessible via PROFIdrive Parameter Access.
Reference: ---
Version 4.0
According to the definition of the Application Classes in 2.4, Table 85 specifies the
communication functionality the drive shall comprise to match a specific Application Class for
PROFIdrive at PROFINET IO.
Application Classes
Functionality
1 2 3 4 5 6
RT m m m o m
IRT m m
M CR (Broadcast) m m
The requirements regarding Application Class 5 are not defined in this profile. This is the
reason, that no profile functions are specified for this Application Class in Table 85.
Version 4.0
8.1 General
This chapter shows the integration of drives in process technology according to the VIK-
NAMUR guideline [7]. The drive applications are realized only in open-loop (e.g. v/f control) or
closed-loop speed control mode, therefore they belong to the PROFIdrive Application Class 1
(see Figure 107).
Application Class 1
N-Setpoint value interface
Drive
Nsoll closed
Process ramp
loop
control function
speed
M E
system generator
control
Nist
Application Class 1
F-Setpoint value interface
Drive
Fsoll
Process ramp
v/f
control function
control
M
system generator
Fist
Figure 107 Functionality and Interfaces for drive integration according to VIK-NAMUR
Purpose of the VIK-NAMUR guideline for the integration of drives in the process technology
industry is to specify a standard interface between drive and the process control system which
offers the possibility to exchange the drive or drive system by another drive (even another
vendor) without need of any change to the process control system. Therefore a special
application-specific GSD is used and the drive shall be set up to act as a VIK-NAMUR drive
with application-specific Ident_Number = 0x3AA0. The VIK-NAMUR guideline specifies the
drive interface in hardware (VIK-NAMUR terminal block) and Software (PROFIdrive Interface
VIK-NAMUR mode). The principle structure of the interface is shown in Figure 108.
2) NAMUR = Standards Working Group for Instrumentation and Control in the Chemical Industry
Version 4.0
Drive ( in cabinet)
PROFIdrive
Profile
VIK-NAMUR
The device-specific bits of the control word1 (STW1), status word1 (ZSW1) and drive
status/fault word (MELD_NAMUR) in the PROFIdrive Profile Drive Technology are fix defined
for the VIK-NAMUR process technology operating mode.
Table 86 Overview on the assignment of the bits of control word1 for the process
technology operating mode
0 ON OFF
1 No Coast Stop (No OFF2) Coast Stop (OFF2)
2 No Quick Stop (No OFF3) Quick Stop (OFF3)
3 Enable Operation Disable Operation
4 Enable Ramp Generator Reset Ramp Generator
5 Unfreeze Ramp Generator Freeze Ramp Generator
6 Enable Setpoint Disable Setpoint
7 Fault Acknowledge (0 1)
8 a a
Jog 1 ON Jog 1 OFF
9 a a
Jog 2 ON Jog 2 OFF
Version 4.0
12 b b
Reserved Reserved
13 b b
Reserved Reserved
14 b b
Reserved Reserved
b b
15 Parameter Set 2 Parameter Set 1
NOTE 1 It shall be possible to parameterize the converter / inverter with manufacturer-specific parameters in
order to disable a certain direction of rotation.
NOTE 2 Bit 0 to Bit 10 of the control word 1 are the same as in the control word 1 of the speed control
operating mode.
NOTE 3 Further details to the control word bits may be found in 4.2.1.
a
optional
b
deviations of the VIK-NAMUR Control Word 1 (STW1) from the standard PROFIdrive STW1.
Table 87 Overview on the assignment of the bits of status word1 for the process
technology operating mode
NOTE 1 Bit 0 to Bit 3 and Bit 6 to Bit 10 of the status word 1 are the same as in the status word 1 of the
speed control operating mode.
NOTE 2 Further details to the status word bits may be found in 4.2.3.
a
deviations of the VIK-NAMUR Status Word 1 (ZSW1) from the standard PROFIdrive ZSW1
Version 4.0
Table 88 Overview on the assignment of the bits of drive status/fault word for the
process technology operating mode
Version 4.0
The general state diagram (refer to 4.12.1) is also valid for applications in the process
technology operating mode.
STW1 bit 11
True = setpoint inversion
False = no setpoint inversion
STW1 bit 4
True = enable RFG
False = reset RFG Change of mode between
normal operation and jog
STW1 bit 5 mode or vice versa
True = unfreeze RFG only when drive is
False = freeze RFG
in stand still
STW1 bit 6
True = enable setpoint
False = disable setpoint 1= operate
0= freeze
reset RFG
&
0 0 0
0 0
0
setpoint 1 1
-1 1 RFG
(velocity) 1
to v/f control or
closed loop
speed controller
STW1 bit 8 (velocity)
True = Jog 1 ON
False = Jog 1 OFF
C1
Y
STW1 bit 9 C2
True = Jog 2 ON RFG
0 = reset RFG
J1 J2
False = Jog 2 OFF (output=0)
1 = operate RFG
Jogging Jogging
setpoint 1 setpoint 2 Jogging functionality (optional)
C1 C2 Y
0 0 0
1 0 J1
0 1 J2
1 1 no change
Figure 109 Speed setpoint channel for VIK-NAMUR process technology operating
mode
In addition to the standard PROFIdrive setpoint channel (see 4.12.2), the setpoint inversion
functionality controlled by STW1 bit 11 is defined for VIK-NAMUR according to Figure 109.
Version 4.0
ZSW1 bit 14
Y true = Positive
1
Speed
Speed
X Y Direction
0 false = No Positive
X
Speed
Direction
Parameter set1 may be switched over to parameter set2 and vice versa.
This chapter describes the inevitable line interruption and the external interlock. The
inevitable line interruption is connected to the NAMUR standard terminal block (Input 17 / 18).
With contact open between terminal 17 and 18, an inevitable line interrupt shall be performed
in that way, that the inverter and the motor shall be secure separated from the line. Also the
inevitable line interrupt may be activated by an over temperature signal on the terminals 90 /
91 (see Figure 111). The signal for the inevitable line interrupt is also connected to a digital
input of the drive. The input of the drive shall be parameterized in that way, that it causes a
Coast Stop on the drive. Also one digital output of the drive shall be parameterized with the
status Coast Stop Activated / Inevitable Line Interruption Activated and this output shall also
force the switch device to separate the drive secure from the line.
The application program in the PLC (Programmable Logic Controller) recognizes an inevitable
line interruption, if in the control word1 (STW1) sent by the PLC the bit1 is TRUE that means
No Coast Stop and in the status word1 (ZSW1) the bit4 is FALSE that means Coast Stop
Activated / Inevitable Line Interruption Activated. The inevitable line interruption has to be
realized with applicable switch devices according to the VIK-NAMUR Guidelines.
Version 4.0
VIK-NAMUR-Interface
STW 1
Profibus / PROFIdrive Bit 1
>
Bit 2 = Control
Profibus
Bit 5 Infeed
Output
-> interruption) Quick Stop Line
17
Inevitable Off >1
Inevitable line interruption
18 interrupt =
(Contact open -> interruption)
Off Inevitable line
X3
interruption path
90 Temperature separates
91 monitor inverter from line
PTC
M
X1
Area Line
Inverter-(Cabinet-)Side
Figure 111 Process technology operating mode, inevitable line interruption and
external interlock
The external interlock is connected to the NAMUR standard terminal block (Input 15). The
signal from this terminal is connected to a digital input of the drive. This digital input shall be
parameterized with the function Quick Stop. In case of external interlock the drive gets the
information for a quick stop via the digital input. The converter / inverter stops the motor along
the programmable current limit and then the output pulses are disabled and the inverter is
separated from the line.
The application program in the PLC (Programmable Logic Controller) recognizes an external
interlock, if in the control word1 (STW1) sent by the PLC the bit2 is TRUE that means No
Quick Stop and in the status word1 (ZSW1) the bit5 is FALSE that means Quick Stop
Activated / External Interlock Activated.
Version 4.0
Further information to standard telegrams, signal numbers (see Table 26) and telegram
selection may be found in 4.4. Information to standard telegram configuration for PROFIBUS
DP may be found in 6.3.2.
PZD number 1 2
Setpoint STW1 NSOLL_A 1) /
FSOLL 1)
PZD 1 2 3 4 5 6
number
Actual ZSW1 NIST_A_GLATT 1) / IAIST_GLATT ITIST_GLATT 2) PIST_GLATT 3) MELD_NAMUR
value
FIST_GLATT 1) or
MIST_GLATT 2)
The signal numbers defined for the process technology are included in Table 26.
The data type for process data in setpoint-direction and actual value-direction is Integer16 (a
signed 16 bit-value), except control word1 (STW1) and status word1 (ZSW1).
The scaling factor for all process data is defined as follows: 100% corresponds to 4000 hex .
The value for this data ranges from 200% to + 200%. The PZD normalization shall be
configured in the following way: normalization bit 0-5 shall be set to 14 (bit 14 -> 0x4000 hex )
and normalization valid bit 15 shall be set to 1 (YES) (refer to 3.1.2 and 4.4.4).
The process data in actual value-direction shall be filtered with a first order filter element and
a constant filter time of approximately 100 milliseconds, except control word1 (STW1) and
status word1 (ZSW1). This is achieved by use of the special signals xxx_GLATT.
1) The setpoint NSOLL_A and the actual value NIST_A in process data 2 are only for applications in the closed-
loop speed control mode and the setpoint FSOLL and the actual value FIST in process data 2 are only for
applications in v/f control mode.
2) The actual value in process data 4 has to be configured with the process variable active current (ITIST) or
torque actual value (MIST). If both process variables are not available, the process data 4 shall be zero.
3) The actual value in process data 5 has to be configured with the process variable active power (PIST). If the
process variable is not available, the process data 5 shall be zero.
Version 4.0
Annex A
(informative)
Bibliography (Normative references)
[1] Technical Guideline: PROFIBUS-DP Extension to EN 50170 (DPV1); Version 2.0; April
1998
[2] IEC 61158 Digital data communication for measurement and control Fieldbus for use
in industrial control systems, 3. Edition
[3] not used
[4] PROFIBUS Guideline; Specification for PROFIBUS Device Description and Device
Integration, Volume 1, GSD V 5.0; Draft, Order No. 2.122
[5] PROFIBUS Profile for variable-speed drives, PROFIdrive, Version 2, Edition September
1997, Order No. 3.071
[6] not used
[7] NAMUR-Guideline: Ausfhrung von Frequenzumrichtern Standard Klemmleiste fr
drehzahlvernderliche Antriebe; NE 37 ; April 1996
[8] PROFIBUS Profile Guideline; Part 1; Identification & Maintenance Functions; Version
1.1; May 2003; Order No. 3.502
[9] PROFINET IO Application Layer Service Definition & Protocol Specification,
Version 2.0, PNO, Order No. 2.332
[10] Application Guide, planned
Version 4.0
Annex B
(informative)
Definitions and abbreviations
B.1.1 General
AK PROFIdrive Application Class
AP Application Process
API Application Process Identifier
AR Application Relationship
ASE Application Service Element
BERO Proximity Switch
C-LS Controllers Sign-Of-Life
CM Context Management
CO Communication Object
CR Communication Relationship
DAP Device Access Point
DO Drive Object
DO-LS Drive Object Sign-Of-Life
DP Decentralized (distributed) Periphery
DPM1 DP-Master Class1 (central automation device)
DPM2 DP-Master Class2 (programming, configuring device, or operator interface)
DPV1 DP Version 1
(optional addition to PROFIBUS-DP, expanded communication functionality)
DSC Dynamic Servo Control
DU Drive Unit
DX Data_Exchange
DXB Data-eXchange-Broadcast
EN European Standard
f frequency
FDL Fieldbus Data Link (Layer 2)
GAP Area between own station address and the next one (attempt to include new
active stations)
GC Global_Control
GSD Device Data File (device description, input for a bus configuring tool)
HMI Human Machine Interface
HW Hardware
IEC International Electro-technical Commission
I/O Input/Output
IOAR IO Application Relationship
Version 4.0
Version 4.0
Version 4.0
TWD Watchdog-Time
Version 4.0
Index
Actual baud rate ..................................228, 229 being established .............................195
Actual value acquisition .................17, 207, 251 Consumer Status ........................................ 244
Actual values Control
PNU 907 ..........................................156 by PLC .............................................143
Process data (PZD) ............................91 priority..............................................142
Acyclic communication ..................18, 155, 156 requested .........................................143
Acyclic Data Exchange......................25, 29, 71 Control and Status words ........... 73, 74, 76, 79
PROFIBUS DP .................................175 Control word 1........................... 74, 75, 76, 256
DPV1 mechanisms ........................175 Control word 2............................................... 76
PROFINET IO...................................234 Controller application cycle time ................. 251
Acyclic services .............................................18 Controller clock cycles
Duration ...........................................206 Different values ................................206
MSG.................................................205 Controller's Sign-Of-Life.............................. 143
Alarm Mechanism..........................................25 Conversion index .......................................... 42
PROFIBUS DP .................................176 Counting strategy
PROFINET IO...................................234 Sign-Of-Life failure counter ...............146
API ...............................................................233 Cyclic Data Exchange................................... 25
Application Classes .......................................33 PROFIBUS DP .................................175
Specified functions ........... 148, 230, 254 PROFINET IO...................................234
Application Model ..........................................33 Data block length ........................................ 198
Application Service Elements ......................234 Data cycle time ........................................... 251
ASE..............................................................234 Data types
Axis addressing .......................................54, 57 Overview ........................................... 46
Axis DO..........................................................31 Profile specific data types .................. 47
Base Mode Parameter access ......................52 Data_Exchange (DX) .................................. 205
PROFIBUS DP ......................... 193, 194 Data_Exchange-Time ................................. 205
PROFINET IO...................................245 Data-eXchange Broadcast (DXB)............... 183
Base Mode Parameter Access Diagnostics ......................................190
General characteristics .......................52 GSD entries......................................191
Base Model....................................................20 Monitoring ........................................190
Communication Devices......................20 Publisher ..........................................184
Communication Network .....................21 Subscriber ........................................184
Communication Relationship ...............20 Subscriber table ...............................189
Communication Services.....................25 Timing ..............................................190
Functional Object ...............................22 Deadtime..................................................... 101
Layer Model .......................................24 Definitions ..................................................... 19
Object Model ......................................23 Clock cycle synchronization ............... 19
Checkback signals.......................................256 Clock cycle synchronous application .. 19
Chk_Cfg.......................................................202 Drive-to-Drive communication ............ 19
Clock Equidistance...................................... 19
Failure..............................................227 Input data .......................................... 19
Jitter ................................................223 Isochronous mode ............................. 19
Clock cycle Output data ....................................... 19
Generation .......................................222 Process data (PZD) ........................... 19
Save ................................................222 Technological functions ..................... 19
Synchronism.......................................17 Delay................................................... 208, 209
Clock Synchronous Operation.......................26 Device
PROFIBUS DP .................................176 General architecture .......................... 22
PROFINET IO...................................235 Identification.....................................137
Coding Diagnosis .................................................... 128
Base Mode Parameter Access ............57 DO's Sign-Of-Life........................................ 145
Data types ..........................................46 DP cycle
Commands ............................................73, 256 Content ............................................205
Complete description (subindex 0)................44 Optimized cycle (T MAPC = 2 * T DP .......210
Configuring a telegram Optimized DP cycle ..........................209
Example .............................................97 Simplest DP cycle.............................208
Configuring the process data ........................95 Time setting .....................................206
Connection Violation ...........................................227
being disconnected...........................195 DP IDs......................................................... 181
Copyright PNO 2005 - All Rights Reserved Page 268 of 271
Content Start
Version 4.0
Version 4.0
Version 4.0