You are on page 1of 258

PROFIBUS

Profile for Process Control Devices

Basis for the Chinese translation:


PNO draft version V 3.02,
2009-03-27

(PNO Order No: 3.042;

PNO Document Identification: TC3-04-0006b )

The cooperation parties are:


PNO, CPO, ITEI, SAC, Siemens AG, Siemens Ltd Cina
CONTENTS
FOREWORD ......................................................................................................................... 15
INTRODUCTION ................................................................................................................... 15
1 Scope ............................................................................................................................. 17
2 Normative References .................................................................................................... 17
3 Terms, definitions, abbreviated terms, acronyms, and conventions .................................. 19
3.1 Terms and definitions ............................................................................................ 19
3.2 Abbreviations ......................................................................................................... 21
3.3 Instruction for Use of this Profile ............................................................................ 22
4 Conformance to profiles for Process Control Devices ...................................................... 23
5 General Requirements .................................................................................................... 23
5.1 Technical overview ................................................................................................ 23
5.1.1 General overview ....................................................................................... 23
5.1.2 Device model ............................................................................................. 24
5.1.3 Block model ............................................................................................... 25
5.1.4 Status flow between blocks ........................................................................ 26
5.1.5 References between Function Blocks and Transducer Blocks ..................... 26
5.1.6 Parameter.................................................................................................. 28
5.1.7 Standard parameter storage in simple devices ........................................... 29
5.2 Standard parameters and objects .......................................................................... 29
5.2.1 Block parameters and objects introduction ................................................. 29
5.2.2 Table legend .............................................................................................. 30
5.2.3 General data types and structures .............................................................. 32
5.2.4 Standard parameter definition .................................................................... 47
5.2.5 Block construction ..................................................................................... 50
5.2.6 Device Management and identification parameters ..................................... 51
5.2.7 Table handling ........................................................................................... 53
5.2.8 Physical Block ........................................................................................... 58
5.2.9 Links between Function Blocks .................................................................. 64
5.3 Process variable status and diagnosis.................................................................... 64
5.3.1 Compatibility .............................................................................................. 64
5.3.2 Classic status ............................................................................................ 64
5.3.3 Classic diagnosis ....................................................................................... 70
5.3.4 Condensed status and diagnosis ................................................................ 70
5.4 Parameter transaction ........................................................................................... 85
5.4.1 Overview ................................................................................................... 85
5.4.2 Transaction parameter description ............................................................. 86
5.4.3 Parameter transaction attributes ................................................................ 87
5.4.4 Function definitions .................................................................................... 87
5.4.5 State machine for the parameter transaction .............................................. 88
5.5 Device version identification and compatibility ........................................................ 95
5.5.1 Background and overview .......................................................................... 95
5.5.2 Up/downward compatibility ......................................................................... 96
5.5.3 Device functionality described by GSD (MS0 related device
functionality) .............................................................................................. 97
5.5.4 Device functionality described by EDD / DTM (MS1/MS2 related
device functionality) ................................................................................... 98
5.5.5 Backward compatibility to PA profile 3.0 and 3.01 ..................................... 102
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 3

5.5.6 Information at the field device .................................................................. 102


5.6 Parameter coding ................................................................................................ 102
5.6.1 DEVICE_MAN_ID .................................................................................... 102
5.6.2 Unit codes ............................................................................................... 102
5.6.3 Material codes ......................................................................................... 114
5.7 Conformance statements ..................................................................................... 115
5.8 Document history ................................................................................................. 116
6 Mapping of the profile to PROFIBUS DP ....................................................................... 118
6.1 Objective ............................................................................................................. 118
6.2 Technical overview .............................................................................................. 118
6.2.1 General ................................................................................................... 118
6.2.2 General Function Block mapping .............................................................. 119
6.2.3 Mapping for acyclic data transfer .............................................................. 119
6.2.4 Mapping for cyclic data transfer................................................................ 122
6.2.5 Detailed definition of the Device Management .......................................... 123
6.3 Communication profile ......................................................................................... 130
6.3.1 Subset of services ................................................................................... 130
6.3.2 Return error codes ................................................................................... 130
6.3.3 Use of the DP Services to provide the profile functionality ........................ 132
6.3.4 Loss of cyclic communication ................................................................... 139
6.3.5 Communication relationship ..................................................................... 139
6.3.6 Default values for communication parameters (bus parameters) ............... 139
6.4 Automatic Ident_Number adaptation .................................................................... 140
6.4.1 General rules ........................................................................................... 140
6.4.2 State machine .......................................................................................... 141
6.5 Profile specific communication definition .............................................................. 149
6.5.1 Ident_Number .......................................................................................... 149
6.5.2 Reserved ................................................................................................. 150
6.6 GSD file names ................................................................................................... 150
6.6.1 Profile GSD file names ............................................................................. 150
6.6.2 Vendor specific file names ....................................................................... 150
6.7 GSD files ............................................................................................................. 150
6.8 Conformance statements ..................................................................................... 151
6.9 Document history ................................................................................................. 151
7 Device data sheet transmitter ........................................................................................ 152
7.1 Additional parameters for the Physical Block parameter description...................... 152
7.2 Analog Input Function Block................................................................................. 152
7.2.1 Analog Input Function Block overview ...................................................... 152
7.2.2 Parameter description of the Analog Input Function Block ........................ 156
7.2.3 Parameter attributes of the Analog Input Function Block ........................... 158
7.2.4 View object of the Analog Input Function Block ........................................ 159
7.2.5 Remarks on the usage of the PV, OUT and LIMIT parameters .................. 160
7.3 Totalizer Function Block....................................................................................... 160
7.3.1 Totalizer Function Block overview ............................................................ 160
7.3.2 Parameter description of the Totalizer Function Block .............................. 163
7.3.3 Parameter attributes of the Totalizer Function Block ................................. 165
7.3.4 View object of the Totalizer Function Block .............................................. 166
7.4 Transducer Blocks ............................................................................................... 166
7.4.1 General ................................................................................................... 166
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 4

7.4.2 Temperature ............................................................................................ 167


7.4.3 Pressure .................................................................................................. 175
7.4.4 Level ....................................................................................................... 182
7.4.5 Flow ........................................................................................................ 188
7.4.6 Block order and assignment ..................................................................... 194
7.5 Conformance statement ....................................................................................... 195
7.6 Document history ................................................................................................. 195
8 Device data sheet Discrete Input ................................................................................... 196
8.1 Additional parameters for the Physical Block parameter description...................... 196
8.2 Discrete Input Function Block .............................................................................. 197
8.2.1 Overview ................................................................................................. 197
8.2.2 Parameter description of the Discrete Input Function Block ...................... 199
8.2.3 Parameter attributes of the Discrete Input Function Block ......................... 200
8.2.4 View object of the Discrete Input Function Block ...................................... 200
8.3 Transducer Blocks ............................................................................................... 200
8.3.1 Parameter description of the Discrete Input Transducer Block .................. 200
8.3.2 Parameter attributes of the Discrete Input Transducer Block .................... 201
8.3.3 View object of the Discrete Input Transducer Block .................................. 201
8.4 Conformance statement ....................................................................................... 201
8.5 Document history ................................................................................................. 202
9 Device data sheet Discrete Output ................................................................................ 202
9.1Additional parameters for the Physical Block parameter description...................... 202
9.2Discrete Output Function Block ............................................................................ 203
9.2.1 Overview ................................................................................................. 203
9.2.2 Parameter description of the Discrete Output Function Block .................... 206
9.2.3 Parameter attributes of the Discrete Output Function Block ...................... 207
9.2.4 View object of the Discrete Output Function Block .................................... 207
9.2.5 Coding of the Discrete Output FB parameter CHECK_BACK .................... 208
9.3 Transducer Blocks ............................................................................................... 209
9.3.1 Parameter description of the Discrete Valve Control Transducer Block ..... 209
9.3.2 Parameter attributes of the Discrete Valve Control Transducer Block........ 210
9.3.3 View object of the Discrete Valve Control Transducer Block ..................... 211
9.4 Conformance statement ....................................................................................... 211
9.5 Document history ................................................................................................. 212
10 Device Data Sheet Actuator .......................................................................................... 212
10.1 Additional Parameters for the Physical Block Parameter Description .................... 212
10.2 Analog Output Function Block .............................................................................. 213
10.2.1 Overview ................................................................................................. 213
10.2.2 Analog Output Function Block structure .................................................... 213
10.2.3 Analog Output Function Block state machine ............................................ 214
10.2.4 Parameter attributes of the Analog Output Function Block ........................ 218
10.2.5 View object of the Analog Output Function Block ...................................... 218
10.2.6 Coding of the Analog Output FB parameter CHECK_BACK....................... 219
10.3 Transducer Blocks ............................................................................................... 220
10.3.1 Actuator Transducer Block overview ........................................................ 220
10.3.2 Parameter description of the Actuator Transducer Block........................... 220
10.3.3 Electric Actuator Transducer Block........................................................... 222
10.3.4 Electro-Pneumatic Actuator Transducer Block .......................................... 225
10.3.5 Electro-Hydraulic Actuator Transducer Block ............................................ 227
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 5

10.4 Download order of parameters ............................................................................. 227


10.5 Conformance statement ....................................................................................... 227
10.6 Document history ................................................................................................. 228
11 Device data sheet Analyzer ........................................................................................... 228
11.1 Use of the Function Block model for analyzer field devices ................................... 228
11.2 Additional Physical Block parameters ................................................................... 230
11.2.1 Overview ................................................................................................. 230
11.2.2 Parameter description of the additional Physical Block parameters ........... 230
11.2.3 Parameter attributes of the additional Physical Block parameters ............. 230
11.2.4 View object of the Physical Block ............................................................. 231
11.3 Analyzer Transducer Block .................................................................................. 231
11.3.1 Overview ................................................................................................. 231
11.3.2 Parameter description of the Analyzer Transducer Block .......................... 232
11.3.3 Parameter attributes of the Analyzer Transducer Block ............................. 232
11.3.4 View object of the Analyzer Transducer Block .......................................... 233
11.4 Transfer Transducer Block ................................................................................... 233
11.4.1 Overview ................................................................................................. 233
11.4.2 Parameter description of the Transfer Transducer Block .......................... 234
11.4.3 Parameter attributes of the Transfer Transducer Block ............................. 235
11.4.4 View object of the Transfer Transducer Block ........................................... 235
11.5 Control Transducer Block .................................................................................... 235
11.5.1 Overview ................................................................................................. 235
11.5.2 Parameter description of the Control Transducer Block ............................ 236
11.5.3 Parameter attributes of the Control Transducer Block ............................... 240
11.5.4 View Object of the Control Transducer Block ............................................ 241
11.6 Limit Transducer Block ........................................................................................ 241
11.6.1 Overview ................................................................................................. 241
11.6.2 Parameter description of the Limit Transducer Block ................................ 241
11.6.3 Parameter attributes of the Limit Transducer Block .................................. 242
11.6.4 View Object of the Limit Transducer Block ............................................... 242
11.7 Alarm Transducer Block binary alert status ....................................................... 243
11.7.1 Parameter structure of the Alarm Transducer Block .................................. 243
11.7.2 Parameter description of the Alarm Transducer Block .............................. 244
11.7.3 Parameter attributes of the Alarm Transducer Block ................................. 246
11.7.4 View Object of the Alarm Transducer Block .............................................. 246
11.8 Multi Point Sampling Function Block .................................................................... 246
11.8.1 Overview ................................................................................................. 246
11.8.2 Parameter description of the Multi Point Sampling Function Block ............ 247
11.8.3 Parameter attributes of the Multi Point Sampling Function Block ............... 248
11.8.4 View Object of the Multi Point Sampling Function Block ............................ 248
11.9 Logbook Function Block functions for archiving ................................................. 248
11.9.1 Overview ................................................................................................. 248
11.9.2 Parameter description of the Logbook Function Block .............................. 249
11.9.3 Parameter attributes of the Logbook Function Block ................................. 250
11.9.4 View Object of the Logbook Function Block .............................................. 251
11.10 Conformance statement ....................................................................................... 251
11.11 Document history ................................................................................................. 251
12 General function set for multi-variable devices .............................................................. 253
13 Identification & Maintenance Functions (I&M) ................................................................ 253
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 6

13.1 Introduction ......................................................................................................... 253


13.2 Parameter description .......................................................................................... 253
13.2.1 I&M0 ........................................................................................................ 253
13.2.2 I&M1 ........................................................................................................ 255
13.2.3 I&M2 ........................................................................................................ 255
13.2.4 I&M3 ........................................................................................................ 255
13.2.5 I&M4 ........................................................................................................ 256
13.2.6 PA_I&M0 ................................................................................................. 256
13.3 Conformance statement ....................................................................................... 257
13.3.1 Support and access attributes of I&M parameters ..................................... 257
13.3.2 Location of I&M parameters ..................................................................... 257
13.4 Document history ................................................................................................. 257
BIBLIOGRAPHY .................................................................................................................. 257

Figure 1 Integration of the Profile (bold) in the Layer Architecture of the ISO OSI
Model. ................................................................................................................................... 16
Figure 2 Structure of the profile .......................................................................................... 22
Figure 3 PROFIBUS PA Structure of the Specification Documents ...................................... 23
Figure 4 Device model ........................................................................................................ 24
Figure 5 Relationship between blocks, block parameters and directory ............................... 25
Figure 6 Grouping of the variables / parameters in the device ............................................. 26
Figure 7 Transducer Blocks are referenced by channel numbers ......................................... 27
Figure 8 Channel referencing ............................................................................................. 28
Figure 9 Parameter conformance hierarchy in the blocks .................................................... 28
Figure 10 Structure of Parameters in a Block ...................................................................... 51
Figure 11 Directory structure and reference to the blocks ................................................... 53
Figure 12 Parameters of a Table ........................................................................................ 54
Figure 13 Value flow and application of condensed status ................................................... 71
Figure 14 Timing diagram around MAN mode ..................................................................... 82
Figure 15 Timing diagram around simulation....................................................................... 83
Figure 16 State diagram for a parameter transaction for single buffer devices ..................... 94
Figure 17 State diagram for a parameter transaction for multiple buffer devices .................. 95
Figure 18 Integration technologies for PROFIBUS .............................................................. 96
Figure 19 Explanation of up/downward compatibility between device and device driver ........ 96
Figure 20 Compatibility rules device driver and device ...................................................... 101
Figure 21 Example for display of the revision handling information .................................... 102
Figure 22 Mapping of the application profile definition to cyclic and acyclic data
transfer ............................................................................................................................... 118
Figure 23 Mapping of one PB, FB and TB to two Slots ...................................................... 120
Figure 24 Mapping of one PB, FB and more than one TB to three Slots ............................. 120
Figure 25 Mapping of one PB and more than one FB and TB to several Slots .................... 121
Figure 26 Mapping of one PB, two FBs, three TBs and one Link object ............................. 121
Figure 27 Mapping of one cyclic FB parameter to the Inp-Data frame ................................ 122
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 7

Figure 28 Mapping of more than one Cyclic FB parameter to the Inp, Outp data frame ...... 123
Figure 29 The relationship between blocks, block parameters and the directory in the
Device Management ............................................................................................................ 124
Figure 30 Summary of the parameters of Analog Input Function Block .............................. 153
Figure 31 Simulation, mode and status diagram of the Analog Input Function Block .......... 153
Figure 32 Parameter relationship of AI FB ........................................................................ 154
Figure 33 Conditions of mode and status generation ......................................................... 154
Figure 34 State machine of the Analog Input Function Block ............................................. 155
Figure 35 Example for the use of the Analog Input Function Block parameters .................. 158
Figure 36 Clarification of scaling parameters .................................................................... 160
Figure 37 Summary of the parameters of the Totalizer Function Block .............................. 161
Figure 38 Block diagram of the Totalizer Function Block ................................................... 161
Figure 39 State machine of the Totalizer Function Block ................................................... 162
Figure 40 Overview about defined measuring equipment .................................................. 167
Figure 41 Functional diagram of the Temperature Transducer Block ................................. 168
Figure 42 Pressure Transducer Block ............................................................................... 175
Figure 43 Sensor calibration ............................................................................................. 176
Figure 44 Pressure Transducer Block function: pressure .................................................. 176
Figure 45 Pressure Transducer Block function: flow .......................................................... 177
Figure 46 Pressure Transducer Block function: level ......................................................... 177
Figure 47 Flow: Square root function ................................................................................ 178
Figure 48 Functional diagram of the Level Transducer Block............................................. 182
Figure 49 Transfer function level calibration...................................................................... 183
Figure 50 Functional diagram of linearization .................................................................... 183
Figure 51 Application example for radar level ................................................................... 184
Figure 52 Application example for hydrostatic level ........................................................... 184
Figure 53 Application example for capacitance level ......................................................... 185
Figure 54 Functional diagram of the Flow Transducer Block.............................................. 189
Figure 55 Summary of the parameters of the Discrete Input Function Block ...................... 197
Figure 56 Simulation, mode and status diagram of the Discrete Input Function Block ........ 197
Figure 57 Conditions of mode and status generation ......................................................... 198
Figure 58 State machine of the Discrete Input Function Block ........................................... 198
Figure 59 Summary of the parameters of the Discrete Output Function Block .................... 203
Figure 60 Simulation, Mode and Status diagram of the Discrete Output Function Block ..... 203
Figure 61 Conditions of Mode and Status Generation ........................................................ 204
Figure 62 State machine of the Discrete Output Function Block ........................................ 204
Figure 63 Summary of parameters of the Analog Output Function Block ........................... 213
Figure 64 Mode and simulation diagram of the Analog Output Function Block ................... 214
Figure 65 Parameter relationship of Analog Output Function Block ................................... 214
Figure 66 Conditions of Mode and Status generation ........................................................ 215
Figure 67 State machine of the Analog Output Function Block .......................................... 215
Figure 68 Block structure of analyzer devices ................................................................... 229
Figure 69 Parameter structure of the Analyzer Transducer Block ...................................... 231
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 8

Figure 70 Example of cooperation between Control Transducer Block, Transfer


Transducer Block, Analyzer Transducer Block and Analog Input Function Block ................... 234
Figure 71 Parameter hierarchy of the Control Transducer Block ........................................ 236
Figure 72 State diagram of the Control Transducer Block COMMAND parameter ........... 239
Figure 73 Hierarchy of the alarm information .................................................................... 243
Figure 74 Parameter structure of the Alarm Transducer Block .......................................... 244
Figure 75 Multi Point Sampling Function Block.................................................................. 247
Figure 76 State diagram of the Logbook Function Block COMMAND parameter ............. 250

Table 1 View object description .......................................................................................... 32


Table 2 Mapping of BitString to OctetString ........................................................................ 33
Table 3 Coding of enumerations ......................................................................................... 33
Table 4 List of elements of the Block structure .................................................................... 34
Table 5 Parameter description of the Block structure .......................................................... 34
Table 6 Physical Block: coding of Block_Object, Class and Parent_Class ........................... 35
Table 7 Function Block: coding of Block_Object, Class and Parent_Class ........................... 35
Table 8 Transducer Block: coding of Block_Object, Class and Parent_Class ....................... 35
Table 9 Coding of Profile .................................................................................................... 37
Table 10 List of elements of the Value & Status - Floating Point structure ........................... 37
Table 11 List of elements of the Value & Status - Discrete structure .................................... 37
Table 12 Parameter description of the Value & Status - Discrete structure .......................... 37
Table 13 List of elements of the Scaling structure ............................................................... 38
Table 14 List of elements of the Mode structure .................................................................. 38
Table 15 List of elements of the Alarm Float structure ........................................................ 38
Table 16 Parameter description of the Alarm Float structure ............................................... 38
Table 17 List of elements of the Alarm Summary structure .................................................. 39
Table 18 Coding of the bits of the Alarm Summary structure ............................................... 39
Table 19 Coding of the OctetStrings of the Alarm Summary structure ................................. 39
Table 20 Parameter description of the Alarm Summary structure ........................................ 39
Table 21 List of elements of the FB Linkage structure ......................................................... 40
Table 22 List of elements of the Simulation - Floating Point structure .................................. 40
Table 23 Parameter description of the Simulation - Floating Point structure ........................ 40
Table 24 List of elements of the Simulation - Discrete structure .......................................... 40
Table 25 List of the elements of the Result structure ........................................................... 41
Table 26 Parameter description of the Result structure ....................................................... 41
Table 27 List of elements of the Measurement Range structure .......................................... 41
Table 28 List of elements of the Binary Message structure .................................................. 41
Table 29 Parameter description of the Binary Message structure ........................................ 41
Table 30 List of elements of the Sample Selection structure ............................................... 42
Table 31 Parameter description of the Sample Selection structure ...................................... 42
Table 32 List of elements of the Logbook structure ............................................................. 42
Table 33 Parameter description of the Logbook structure .................................................... 42
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 9

Table 34 List of elements of the Precalculation structure .................................................... 43


Table 35 Parameter description of the Precalculation structure ........................................... 43
Table 36 List of elements of the Sequential Control structure .............................................. 43
Table 37 Parameter description of the Sequential Control structure .................................... 44
Table 38 List of elements of the Batch structure ................................................................. 44
Table 39 Parameter description of the Batch structure ........................................................ 44
Table 40 List of elements of the Feature structure .............................................................. 45
Table 41 Coding of Supported ............................................................................................ 45
Table 42 Coding of Enabled ............................................................................................... 45
Table 43 List of elements of the Diag_Event_Switch structure ............................................. 46
Table 44 Element description of the Diag_Event_Switch structure ....................................... 46
Table 45 Bit coding of a Diag_Status_Link byte .................................................................. 47
Table 46 Parameter description of the standard parameters ............................................... 47
Table 47 Parameter attributes of the standard parameters .................................................. 49
Table 48 View object of the standard parameters ................................................................ 50
Table 49 Sequence diagram of the load of a table .............................................................. 55
Table 50 Parameter description of the table handling parameters ....................................... 56
Table 51 Parameter attributes of the table handling parameters .......................................... 58
Table 52 Parameter description of the Physical Block ......................................................... 59
Table 53 Parameter attributes of the Physical Block ........................................................... 61
Table 54 View object of the Physical Block ......................................................................... 62
Table 55 Access protection ................................................................................................ 63
Table 56 Parameter description of the Link object ............................................................... 64
Table 57 Coding of the Status byte ..................................................................................... 65
Table 58 Invalid Status values ............................................................................................ 66
Table 59 Reserved Status values ....................................................................................... 66
Table 60 BAD - sensor failure, low limited ........................................................................... 66
Table 61 BAD - sensor failure, high limited ......................................................................... 66
Table 62 GOOD (Non Cascade), active advisory alarm, low limited ..................................... 67
Table 63 GOOD (Non Cascade), active advisory alarm, high limited ................................... 67
Table 64 GOOD (Non Cascade), active critical alarm, low limited ........................................ 67
Table 65 GOOD (Non Cascade), active critical alarm, high limited ...................................... 67
Table 66 GOOD (Non Cascade), update event.................................................................... 67
Table 67 Priority of the Status values.................................................................................. 67
Table 68 Definition of the Status values .............................................................................. 68
Table 69 Coding of the Physical Block parameter DIAGNOSIS ............................................ 70
Table 70 Coding of the OctetString of the Parameter DIAGNOSIS ...................................... 70
Table 71 Usability of the Value in a PCS/DCS ..................................................................... 72
Table 72 Interpretation for maintenance purposes .............................................................. 72
Table 73 Kinds of limit violations and resulting status ......................................................... 73
Table 74 Effect of process limit violations on Status............................................................ 73
Table 75 Coding of the Status restricted to NE 107 ............................................................. 74
Table 76 Coding of limit checks / update events in case of Status GOOD............................ 74
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 10

Table 77 Coding of the condensed Status with detailed information .................................... 74


Table 78 Description of the condensed Status with detailed information .............................. 75
Table 79 Priority of Status .................................................................................................. 77
Table 80 Conditions for enabling condensed status and diagnosis ...................................... 78
Table 81 Interrelation between the Physical Block and Function Blocks ............................... 79
Table 82 Physical Block parameter DIAGNOSIS coding if condensed status is enabled ....... 80
Table 83 Evaluation of the Status of input Function Blocks by the fail safe mechanism ........ 83
Table 84 Status calculation for Totalizer Function Block with condensed status ................... 84
Table 85 Parameter description for the parameter transaction ............................................ 86
Table 86 Parameter attributes for the parameter transaction ............................................... 87
Table 87 Status handling for process values in dependency of the transaction status
(PTA_STATUS) ..................................................................................................................... 87
Table 88 Function definitions for parameter transaction ...................................................... 88
Table 89 State table of a parameter transaction for devices supporting a single buffer
mechanism ........................................................................................................................... 88
Table 90 State table of a parameter transaction for devices supporting a multiple
buffer mechanism ................................................................................................................. 91
Table 91 Parameter description of the Ident_Number.......................................................... 97
Table 92 Parameter description of the device parameters ................................................... 99
Table 93 Parameter description of the device driver parameters ......................................... 99
Table 94 Impact of rules on device revision parameters .................................................... 100
Table 95 Examples of setting Dev_Rev ............................................................................. 100
Table 96 Unit codes ......................................................................................................... 102
Table 97 Material codes ................................................................................................... 114
Table 98 Conformance statements for the existence of blocks .......................................... 115
Table 99 Conformance statement for Device Management ................................................ 115
Table 100 Conformance statement for blocks ................................................................... 115
Table 101 Conformance statement for profile features ...................................................... 116
Table 102 Changes from V3.0 to V3.01 ............................................................................ 116
Table 103 Changes from V3.01 to V3.02 .......................................................................... 117
Table 104 Parameter attributes of the Device Management .............................................. 124
Table 105 Data types of Header (Slot 1 Index 0) ............................................................... 125
Table 106 Composite_List_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry
number 1 and 2) .................................................................................................................. 125
Table 107 Composite_List_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry
number 3 and 4) .................................................................................................................. 125
Table 108 Composite_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry
number 5 and 6) .................................................................................................................. 126
Table 109 Composite_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry
number 7 and 8) .................................................................................................................. 126
Table 110 Header (Slot 1; Index 0) ................................................................................... 127
Table 111 Composite_List_Directory_Entries (Slot 1; Index 1) .......................................... 127
Table 112 Composite_ Directory_Entries (Slot 1; Index 1) ................................................. 127
Table 113 Header (Slot 1; Index 0) ................................................................................... 127
Table 114 Composite_List_Directory_Entries (Slot 1; Index 1) .......................................... 128
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 11

Table 115 Composite_ Directory_Entries (Slot 1; Index 2, new parameter) ........................ 128
Table 116 Composite_ Directory_Entry number 7 and 8 .................................................... 128
Table 117 Header (Slot 1; Index 0) ................................................................................... 128
Table 118 Composite_List_Directory_Entries (Slot 1; Index 1) .......................................... 128
Table 119 Composite_ Directory_Entries (Slot 1; Index 2, new parameter) ........................ 128
Table 120 Composite_ Directory_Entries number 7, 8, and 9 ............................................ 129
Table 121 Header (Slot 1; Index 0) ................................................................................... 129
Table 122 Composite_List_Directory_Entries (Slot 1; Index 1) .......................................... 129
Table 123 Composite_List_Directory_Entries with optional Begin_LO ................................ 129
Table 124 Composite_ Directory_Entries (Slot 1; Index 2, new parameter) for
Directory_Entry number 5, 6, and 7 ..................................................................................... 129
Table 125 Composite_ Directory_Entries number 8, 9, and 10 .......................................... 130
Table 126 Composite_ Directory_Entries number 11 ......................................................... 130
Table 127 DPV1 response codes ...................................................................................... 130
Table 128 Identification for cyclic parameters ................................................................... 132
Table 129 Configuration strings for Function Blocks .......................................................... 133
Table 130 Construction of identification format for multi-variable devices .......................... 134
Table 131 Coding of the identification format for multi-variable devices ............................. 134
Table 132 Definition of Function Block codes .................................................................... 134
Table 133 Identification formats for modules of multi-variable devices .............................. 135
Table 134 DPV1_Enable of User_Prm_Data definition ...................................................... 136
Table 135 Profile specific Prm_Structure .......................................................................... 136
Table 136 Mapping of DIAGNOSIS into Diagnosis-RES-PDU service data structure .......... 137
Table 137 Status appears / disappears ............................................................................. 138
Table 138 Initiate parameter values .................................................................................. 139
Table 139 Additional functions used by the MSCY1S ........................................................ 141
Table 140 Modified MSCY1S state transitions ................................................................... 141
Table 141 Profile specific Ident_Number classification ...................................................... 149
Table 142 Conformance statement for communication capabilities .................................... 151
Table 143 Changes from V3.0 to V3.01 ............................................................................ 151
Table 144 Changes from V3.01 to V3.02 .......................................................................... 152
Table 145 Conditions and results of the Actual Mode calculation ....................................... 155
Table 146 Conditions and results of the status calculation of the output parameter ........... 155
Table 147 Parameter description of the Analog Input Function Block ................................ 156
Table 148 Parameter attributes of the Analog Input Function Block ................................... 158
Table 149 View object of the Analog Input Function Block ................................................. 159
Table 150 Conditions and results of the Actual Mode calculation ....................................... 162
Table 151 Conditions and results of the classic status calculation for TOTAL
parameter ........................................................................................................................... 163
Table 152 Parameter description of the Totalizer Function Block ...................................... 163
Table 153 Parameter attributes of the Totalizer Function Block ......................................... 165
Table 154 View object of the Totalizer Function Block ....................................................... 166
Table 155 Description of the general parameters of the Temperature Transducer
Block .................................................................................................................................. 169
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 12

Table 156 Thermocouple device Temperature Transducer Block parameter


description .......................................................................................................................... 170
Table 157 Thermoresistance devices Temperature Transducer Block parameter
description .......................................................................................................................... 171
Table 158 Optical pyrometer devices Temperature Transducer Block parameter
description .......................................................................................................................... 171
Table 159 Parameter attributes of the Temperature Transducer Block general
parameters ......................................................................................................................... 172
Table 160 Parameter attributes of the additional parameters for thermocouple devices ..... 172
Table 161 Parameter attributes of the additional parameters for thermoresistance
devices ............................................................................................................................... 173
Table 162 Parameter attributes of the additional parameters for optical pyrometer
devices ............................................................................................................................... 173
Table 163 View object of the Temperature Transducer Block ............................................ 174
Table 164 Parameter description of the Pressure Transducer Block .................................. 178
Table 165 Parameter attributes of the Pressure Transducer Block .................................... 180
Table 166 View object of the Pressure Transducer Block .................................................. 181
Table 167 Assignment of dynamic variables for pressure devices ..................................... 182
Table 168 Parameter description of the Level Transducer Block ....................................... 185
Table 169 Parameter attributes of the Level Transducer Block .......................................... 186
Table 170 View object of the Level Transducer Block ....................................................... 187
Table 171 Overview of parameters of the Transducer Block of flow devices ...................... 189
Table 172 Parameter description of the Flow Transducer Block ........................................ 190
Table 173 Parameter attributes of the Flow Transducer Block ........................................... 191
Table 174 View object of the Flow Transducer Block ........................................................ 192
Table 175 View_3 object of the Flow Transducer Block ..................................................... 193
Table 176 Flow transducer classes ................................................................................... 194
Table 177 Assignment of dynamic variables ..................................................................... 194
Table 178 Conformance statement of transmitter components .......................................... 195
Table 179 Changes from V3.0 to V3.01 ............................................................................ 195
Table 180 Changes from V3.01 to V3.02 .......................................................................... 196
Table 181 Conditions and results of the Actual Mode calculation ....................................... 199
Table 182 Conditions and results of the Status calculation of the output parameter ........... 199
Table 183 Parameter description of the Discrete Input Function Block .............................. 199
Table 184 Parameter attributes of the Discrete Input Function Block ................................. 200
Table 185 View object of the Discrete Input Function Block ............................................... 200
Table 186 Parameter description of the Discrete Input Transducer Block .......................... 200
Table 187 Parameter attributes of the Discrete Input Transducer Block ............................. 201
Table 188 View object of the Discrete Input Transducer Block .......................................... 201
Table 189 Conformance statement of Discrete Input components ..................................... 201
Table 190 Changes from V3.0 to V3.01 ............................................................................ 202
Table 191 Changes from V3.01 to V3.02 .......................................................................... 202
Table 192 Conditions and results of the Actual Mode calculation ....................................... 205
Table 193 Conditions and results of the Status calculation of the output parameter ........... 205
Table 194 Conditions and results of the Status calculation of cascade handling ................ 205
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 13

Table 195 Parameter description of the Discrete Output Function Block ............................ 206
Table 196 Parameter attributes of the Discrete Output Function Block .............................. 207
Table 197 View object of the Discrete Output Function Block ............................................ 207
Table 198 Coding of the Discrete Output FB parameter CHECK_BACK ............................. 208
Table 199 Parameter description of the Discrete Valve Control Transducer Block ............. 209
Table 200 Parameter attributes of the Discrete Valve Control Transducer Block ................ 210
Table 201 View object of the Discrete Valve Control Transducer Block ............................. 211
Table 202 Conformance statement of Discrete Output components ................................... 211
Table 203 Changes from V3.0 to V3.01 ............................................................................ 212
Table 204 Changes from V3.01 to V3.02 .......................................................................... 212
Table 205 Conditions and results of the Actual Mode calculation ....................................... 216
Table 206 Conditions and results of the Status calculation of the output parameter ........... 216
Table 207 Conditions and results of the Status calculation of cascade handling ................ 216
Table 208 Parameter description of the Analog Output Function Block .............................. 217
Table 209 Parameter attributes of the Analog Output Function Block ................................ 218
Table 210 View object of the Analog Output Function Block .............................................. 218
Table 211 Coding of the Analog Output FB parameter CHECK_BACK ............................... 219
Table 212 Parameter description of the Actuator Transducer Block ................................... 220
Table 213 Parameter attributes of the Electric Actuator Transducer Block ......................... 222
Table 214 View object of the Electric Actuator Transducer Block ...................................... 224
Table 215 Parameter attributes of the Electro-Pneumatic Actuator Transducer Block ........ 225
Table 216 View object of the Electro-Pneumatic Actuator Transducer Block ...................... 226
Table 217 Conformance statement of actuator components .............................................. 227
Table 218 Changes from V3.0 to V3.01 ............................................................................ 228
Table 219 Changes from V3.01 to V3.02 .......................................................................... 228
Table 220 Parameter description of the additional Physical Block parameters ................... 230
Table 221 Parameter attributes of the additional Physical Block parameters ..................... 230
Table 222 View object of the Physical Block ..................................................................... 231
Table 223 Parameter description of the Analyzer Transducer Block .................................. 232
Table 224 Parameter attributes of the Analyzer Transducer Block ..................................... 232
Table 225 View object of the Analyzer Transducer Block .................................................. 233
Table 226 Parameter description of the Transfer Transducer Block ................................... 234
Table 227 Parameter attributes of the Transfer Transducer Block ..................................... 235
Table 228 View Object of the Transfer Transducer Block .................................................. 235
Table 229 Parameter description of the Control Transducer Block .................................... 237
Table 230 Execution of analyzer functions ........................................................................ 240
Table 231 Parameter attributes of the Control Transducer Block ....................................... 240
Table 232 View Object of the Control Transducer Block .................................................... 241
Table 233 Parameter description of the Limit Transducer Block ........................................ 241
Table 234 Parameter attributes of the Limit Transducer Block ........................................... 242
Table 235 View Object of the Limit Transducer Block ........................................................ 242
Table 236 Parameter description of the Alarm Transducer Block....................................... 244
Table 237 Mapping of the status classes to the array elements of STATUS_CLASSES ..... 245
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 14

Table 238 Parameter attributes of the Alarm Transducer Block ......................................... 246
Table 239 View Object of the Alarm Transducer Block ...................................................... 246
Table 240 Parameter description of the Multi Point Sampling Function Block .................... 247
Table 241 Parameter attributes of the Multi Point Sampling Function Block ....................... 248
Table 242 View Object of the Multi Point Sampling Function Block .................................... 248
Table 243 Parameter description of the Logbook Function Block ....................................... 249
Table 244 Parameter attributes of the Logbook Function Block ......................................... 250
Table 245 View Object of the Logbook Function Block ...................................................... 251
Table 246 Conformance statement for blocks ................................................................... 251
Table 247 Changes from V3.0 to V3.01 ............................................................................ 251
Table 248 Changes from V3.01 to V3.02 .......................................................................... 252
Table 249 Conformance statement of multi-variable devices ............................................. 253
Table 250 Parameters of I&M0 ......................................................................................... 253
Table 251 Parameters of I&M1 ......................................................................................... 255
Table 252 Parameters of I&M2 ......................................................................................... 255
Table 253 Parameters of I&M3 ......................................................................................... 256
Table 254 Parameters of PA_I&M0 ................................................................................... 256
Table 255 Conformance statement for Identification & Maintenance Functions .................. 257
Table 256 Conformance statement for Location of I&M parameters ................................... 257
Table 257 Changes from V1.0 to V3.02 ............................................................................ 257
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 15

FOREWORD

This document was prepared by

PROFIBUS Nutzerorganisation e.V. (PNO)


Haid-und-Neu-Str. 7
D-76131 Karlsruhe
Germany
Phone: +49 721 / 96 58 590
Fax: +49 721 / 96 58 589
E-mail: pi@profibus.com
Web site: www.profibus.com

In more detail it was prepared by the PNO Working Group 3 PROFIBUS PA Profile in the
Technical Committee 3 Application Profiles.

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.

PNO granted a copyright license to the cooperation parties to translate this document into
Chinese language.

List of Affected Patents


There is one affected patent known by the members of the PNO Working Group. This Endress
+ Hauser Patent EP 1779205A1 related to Ident_Number selection based on diagnosis
services which claims solutions according to 6.4 is granted to PNO according to the PNO IPR
policy. The list contains one known patent.

No patent search, neither external nor internal, has been done by the members of the Working
Group up to now. PROFIBUS&PROFINET International does not guarantee the completeness
of this list.

Requirements for Certification Tests


This profile has requirements for certification tests. PNO TC1 WG3 provides the resulting test
purposes.

New Features
In comparison to the previous version 3.01 the following major features have been added:

Parameter transaction (see 5.4).


Device version identification and compatibility (see 5.5).
Automatic Ident_Number adaptation (see 6.4).
Additional View objects for increased transfer performance (see 5.2.1.1).
Support of Condensed status is mandatory (see 5.3.4).
Integration of the amendments 2 (Condensed Status and Diagnostic Messages) and 3
(Identification and Maintenance Functions) into the main document.

INTRODUCTION

Field devices may operate in manufacturing and process control environments that may include
intrinsic safety requirements. This creates a need for devices that operate with limited memory
and processing power, and for buses that operate using very low bandwidth.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 16

The fieldbus standard for PROFIBUS 1 according to CP 3/1 and CP3/2 in IEC 61784-1 covers a
large number of potential applications for industrial control, supervision and use in the field as
well.

The parameter syntax and semantics have to be defined in order to coordinate application
functions between transmitters, actuators and controls as well as to visualization and operator
terminals. This is the main topic of this profile. The mapping to the specific PROFIBUS protocol
is defined in the mapping part of the PROFIBUS profile for process control devices. A brief
overview how a profile relates to the protocol is shown in Figure 1.

Function Block Application


Application Process
Process

Layer 7

Layer 2

Layer 1

Figure 1 Integration of the Profile (bold) in the Layer Architecture of the ISO OSI Model.

1 PROFIBUS and PROFINET logos are registered trade marks. The use is restricted for members of
PROFIBUS&PROFINET International. More detailed terms for the use can be found on the web page
www.profibus.com/libraries.html. Please select button "Presentations & logos".
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 17

PROFIBUS & PROFINET International


____________

PROFILE FOR PROCESS CONTROL DEVICES

1 Scope

This specification is to support the standardization of application process definitions. This


document specifies and defines:

A base set of device parameters for operation, commissioning, maintenance, diagnosis.


A mechanism to achieve connectivity of parameters defined by user groups and device
vendors.

This document sets out a profile describing transmitters, valves, binary devices and others
used in process control e.g. chemical industry, food, water and waste water, power station and
basic industries.

The profile provides a standardization of typical device functions. This offers the possibility to
standardize the reactions (behavior) of devices produced by different manufacturers in one
system.

The determination of specific application process parameters and communication functions


makes the interaction between the devices and the accompanying control, maintenance and
diagnosis devices much easier.

This profile contains 2 classes, the class A and B. Class A of the profile describes common
parameters of simple devices. The scope is limited to the basic functions of the operation
phase. The basic set consists of the process variables (e.g. temperature, pressure, level)
added by measured value state, the tag name and the engineering unit.

The scope of the class B profile for process control devices is an extension to the class A
definition and will cover more complex application functions for identification, commissioning,
maintenance and diagnosis. The relationship of the parameters to the classes is visible within
the parameter definitions and in the conformance statements (see 5.7).

2 Normative References

The following referenced documents are indispensable for the application of this document. For
dated references, only the edition cited applies. For undated references, the latest edition of
the referenced document (including any amendments) applies.

IEC 61158-5-3, Industrial communication networks fieldbus specifications Part 5-3:


Application layer service definition Type 3 elements

IEC 61158-5-10, Industrial communication networks fieldbus specifications Part 5-10:


Application layer service definition Type 10 elements

IEC 61158-6-3, Industrial communication networks fieldbus specifications Part 6-3:


Application layer protocol specification Type 3 elements

IEC 61784-1, Digital data communications for measurement and control Part 1: Profile sets
for continuous and discrete manufacturing Fieldbus relative to use in industrial control
systems
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 18

IEC 61512-1, Batch control - Part 1: Models and terminology

IEC 60751:2008, Industrial platinium resistance thermometer and platinum temperature


sensors

PROFIBUS Profile Amendment 1 to PROFIBUS profile for process control devices V 3.02,
PROFIsafe for PA Devices.

PROFIBUS Profile Guidelines Part 1: Identification & Maintenance Functions. Order No.: 3.502

ANSI TIA/EIA-485-A:1998, Electrical Characteristics of Generators and Receivers for


Use in Balanced Digital Multipoint Systems
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 19

3 Terms, definitions, abbreviated terms, acronyms, and conventions

3.1 Terms and definitions

For the purposes of this document, the following terms and definitions apply.

3.1.1
address
address is an absolute numerical reference to a parameter within a device

3.1.2
alert objects
used to communicate notification messages when alarms or events are detected

3.1.3
application
software functional unit consisting of an interconnected aggregation of Function Blocks, events
and objects, which may be distributed and which may have interfaces with other applications

3.1.4
attribute
property or characteristic of an entity; for instance, value and status are attributes of an output
parameter

3.1.5
bus address
bus address is the numerical reference of the device at the network

3.1.6
block (block instance)
logical processing unit of software comprising an individual, named copy of the block and
associated parameters specified by a block type, which persists from one invocation of the
block to the next

3.1.7
data structure
aggregate whose elements need not be of the same data type, and each of which may be
uniquely referenced by an identifier

3.1.8
data type
set of values together with a set of permitted operations

3.1.9
device
physical entity capable of performing one or more specified functions in a particular context
and delimited by its interfaces

3.1.10
entity
particular thing, such as a person, place, process, object, concept, association or event

3.1.11
function
{Global} specific purpose of an entity
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 20

3.1.12
function
{Concept} One of a group of actions performed by an entity in accomplishing its purposes

3.1.13
Function Block
named block consisting of one or more input, output and contained parameters computing one
of a group of actions performed by an entity in accomplishing its purposes

NOTE Function Blocks represent the basic automation functions performed by an application which is as
independent as possible of the specifics of I/O devices and the network. Each Function Block processes input
parameters according to a specified algorithm and an internal set of contained parameters. They produce output
parameters that are available for use within the same Function Block application or by other Function Block
applications.

3.1.14
Function Block Application
application of an automation system performed by Physical Blocks, Function Blocks,
Transducer Blocks and accompanied objects

3.1.15
Index
attribute to address a parameter in a device

3.1.16
Instance
piece of data related to an invocation of a Function Block

3.1.17
local access
access through local user interface or service interface

NOTE Access not via PROFIBUS.

3.1.18
mode
determines the block operating mode and available modes for a block instance

3.1.19
object
entity having state, behavior and identity

3.1.1
parameter
variable that is an input, output or contained one of a Function Block

3.1.2
parameter address
reference between the Directory object of a device and the Slot/Index address of the blocks

3.1.3
Physical Block
hardware specific characteristics of a field device, which are associated with a resource, are
made visible through the Physical Block

NOTE Similar to Transducer Blocks, they insulate Function Blocks from the physical hardware by containing a set
of implementation independent hardware parameters.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 21

3.1.4
record
set of data elements treated as a unit

3.1.5
relative index
logical offset of a parameter in a block

3.1.6
remote access
access via PROFIBUS

3.1.7
simple variable
single variable which is characterized by a defined Data Type

3.1.8
slot
attribute to address a group of parameters in a logical module of a device

3.1.9
Transducer Block
control access to I/O devices through a device independent interface defined for use by
Function Blocks and also perform functions, such as calibration and linearization, on I/O data
to convert it to a device independent representation and the interface to Function Blocks is
defined as one or more implementation independent I/O channels

NOTE Transducer Blocks insulate Function Blocks from the specifics of I/O devices, such as sensors, actuators,
and switches.

3.1.10
variable
software entity that may assume any one of a set of values

NOTE The values of a variable are usually restricted to a certain data type.

3.1.11
view objects
groups of parameters to be accessed with a single communication request

NOTE View objects are provided to support efficient access to parameter data within a Function Block application.

3.2 Abbreviations
a acyclic
AI Analog Input
AO Analog Output
AS Automation System
BM Binary Messages
cyc cyclic
DCS Decentral Control System
DM Device Management
DS Data type structures
FB Function Block
I/O Input/Output
LUV Last Usable Value
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 22

MSAC Master Slave acyclic


MSCY Master Slave cyclic
NAMUR Normungsarbeitsgemeinschaft fr Mess- und Regelungstechnik in der Chemischen Industrie
(Standardization working group for Measurement and Control in the chemistry in Germany)
PA Process Automation
PB Physical Block
PCS Process Control System
PI PROFIBUS&PROFINET International
PROFIBUS Process Field Bus
PROFIBUS DP Communication network according to IEC 61784-1 CP 3/1
PROFIBUS PA Communication network according to IEC 61784-1 CP 3/2
r read access
SAP Service Access Point
TB Transducer Block
w write access

3.3 Instruction for Use of this Profile

PROFIBUS PA compliant devices structure their parameters and functions in Physical,


Transducer and Function Block objects. Actual devices consist of instances of these blocks.
The collection of block instances in a device follows some rules.

Figure 2 shows that the profile consists of a General Requirement part, covering the overall
definition and rules for PROFIBUS PA devices and a couple of Device Data Sheets including
the Transducer, Function and Physical Block specifications. The mapping to the
communication facilities is done in Clause 6 of this profile.

PROFIBUS-PA-Profile

General Data Sheets Mapping


Requirements to fieldbus

Figure 2 Structure of the profile

There are devices comprising several applications (e.g. sensor systems, actuators). The profile
of these devices is a combination of the definitions of the General Requirements and those of
the device data sheets as necessary for the devices. In addition the mapping to the PROFIBUS
protocol has to follow the definition of the mapping part of this profile. The structure of the
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 23

profile, General Definitions as one part and different device data sheets as another part,
enables flexible updating of the profile.

4 Conformance to profiles for Process Control Devices

A statement of compliance with an of this document shall be stated 1 as

Compliance to PNO profiles for Process Control Devices


and providing details according to 5.7.

A profile is an instruction set to fulfill the fieldbus standard or certain defined areas or device
functions. A device shall comply to both:

a) the PROFIBUS protocol specification according to IEC 61784-1 CP 3/1 or CP 3/2 and
b) this profile specification

to be called a PROFIBUS PA device.

The structure is shown in Figure 3.

Analyser

Actuator
PROFIBUS-PA
Prof iles
Transmitter .
.
specific application process and parameters .

PROFIBUS-PA

Mapping Sublayer

P ROFIBUS

PROFIBUS
Protocol
Specification

MBP RS 485
(Intrinsic Safety)

Figure 3 PROFIBUS PA Structure of the Specification Documents

5 General Requirements

5.1 Technical overview

5.1.1 General overview

Each fieldbus device performs a portion of the total system operation by implementing one or
more time-critical applications or portions of an application, such as sensor data acquisition
and control algorithm processing. Each application is composed of a set of elementary field

1 In accordance with ISO/IEC Directives


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 24

device functions modeled by Function Blocks. These applications are referred to as Function
Block applications.

PROFIBUS PA fieldbus systems are composed of digital devices and control/monitoring


equipment interconnected by a fieldbus communication network. They are integrated into a
plants or a factorys physical environment where they work together to provide I/O and control
for automated processes and operations.

Therefore the field device supports the customers needs for operation, commissioning,
diagnosis and maintenance.

5.1.2 Device model

There are two different types of devices performing a PROFIBUS PA Function Block
application. The typical device is a compact one in the area of process control, e.g. transmitter
and actuator. In addition modular devices such as binary I/Os are often used to execute on/off
valves. The compact device is a modular one with exact 1 module (see Figure 4).

Compact Devices Modular Device


e.g.Transmitter, e.g.Binary I/O,
Actuator M_1 M_2 M_n

DM DM PB PB PB

PB FB ...
TB PB FB FB FB
TB TB TB

PROFIBUS-PA

DM Device Management
PB Physical Block
FB Function Block
TB Transducer Block
M_x Module_x

Figure 4 Device model

Every device is represented by a Physical Block as well as Device Management functions and
parameters. The modules of a device contain a Physical Block, Function Blocks and
Transducer Blocks (see 5.1.3). A compact device contains only one Physical Block.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 25

Device
Device Management

Physical Block Transducer Block


Block_header Block_header

Directory

other

device
Parameter order
parameter
syntax and
semantic
descripted
Function Block in PA Profile
Block_header

Pointer

Figure 5 Relationship between blocks, block parameters and directory

The device management consists of the directory of the block and object structure of the
device (see Figure 5).

5.1.3 Block model

The variables and parameters of a device or module respectively are structured in blocks
regarding their assignment to components or parts of functions (see Figure 6). In this
document a reference is made to parameters because the same parameter could be a variable
or constant depending on the context. Components of a device are for example: power supply,
memory, electronics of the process attachment unit or preprocessing of the measured value.
The components present many views of the devices e.g. commissioning, operation and
diagnosis.

Three types of blocks are created from the profile parameters: the Function Block, the
Transducer Block and the Physical Block. Function Blocks (FB) describe the functions of the
devices executing within the automation system. Examples for FBs are Analog Input (AI) and
Analog Output (AO). One device can contain several FBs. The Physical Block (PB) describes
the necessary parameters and functions of the device or the operation of the device hardware
itself. For the scope of this document one compact device contains one Physical Block.

The Transducer Block (TB) contains the parameters of a device representing the necessary
parameters and functions of the connection to the process. Examples are temperature or
pressure of the process, the type of sensor, type of reference point or the used linearization
method. Each FB can be connected to one TB at one time. The connection can be fixed or
changed during commissioning or maintenance.

The parameters are defined by attributes such as data type or type of transport (cyclic or
acyclic). Another attribute of parameters is their assignment to the blocks as Input, Output or
Contained parameter. This attribute defines the direction of the information processing and the
relationship of the parameters to the algorithm.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 26

to the actual to the


I/O hardware device hardware

Transducer Physical
Block Block

View-object
View-object
Fuction
Block

View-object

PROFIBUS - Interface

scope of this Profile to/from remote stations

Figure 6 Grouping of the variables / parameters in the device

How the parameters are stored in the device is manufacturer-specific and represented by a so-
called Directory object. However, the different view of the life cycle (commissioning, operation,
maintenance and diagnosis) needs different structures of the parameters. Transducer Block
and Physical Block parameters are usually necessary during commissioning and maintenance,
but Function Block parameters are also required during the operation phase. Diagnosis needs
parameters from all blocks (see 5.1.5).

5.1.4 Status flow between blocks

The starting point of the status model is the idea that blocks are connected via their input and
output parameters. These parameters are mostly process variables. The process variables are
defined as floating point, discrete or bit string types and structured together with one Status
Byte. The Status Byte contains information about the quality of the process variable and is
therefore also known as Quality Code. The main process variable types are analog and
discrete data structures (e.g. Data Type 101 and 102). The transfer of the status is not limited
to process variables but also coupled with manipulated variables or feed back variables. These
Status data give information about the current status of the coupled variable and the status of
the previous software process instance.

The Status Byte is structured in 3 main groups consisting of 2 bits covering fundamental
statements about the transferred value (quality). Additional quality statements are coded in the
remaining 4 bits. The meanings of these 4 bits differ in correspondence with the code of the
first 2 bits. The third group of the remaining 2 more bits covers the information of limit crossing.

The definition of status coding is described in 5.3.

5.1.5 References between Function Blocks and Transducer Blocks

The input and output Function Blocks hide the specific measurement or actuation
characteristics for the control application. The Transducer Blocks provide the access to the
necessary parameters for configuration or adjustment of the devices. During operation one
measurement or actuation channel consists of one transducer and one Function Block which
are connected. This connection is configurable using the Channel parameter of the Function
Blocks. The connection is a reference, i.e. the FB has a pointer to the related Transducer Block
and its parameter.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 27

Typically, a Transducer Block will have one reference. However, in some cases such as
multiplexers, other combinations are necessary. The following list defines the allowed
configurations:

A Transducer Block with one reference names the used parameter Primary Value (PV).
A Transducer Block with more than one reference names the additionally used parameter
Secondary Value_n (SV_n, with n = 2, ...). That means that more than one Function Block
can be connected to one Transducer Block.
Multiple Transducer Blocks may use the same measurement from the same sensor.
Transducer Block PV and SV parameters may have data 101, 102 or DS-60.

D evice
C hannels
Tran sducer Bl ock
Fu nction
Sen sors C H1
C ALI B B l ocks
LIN
C H2
C H3 C HA N N EL
A /D

Func t ions As soc iat ed


w it h Fi eld M easurement s
and Ac tuat ors .

Figure 7 Transducer Blocks are referenced by channel numbers

The reference is an Unsigned16 parameter of the Function Block and is used to logically
associate transducer and Function Block information. During block configuration, the value of
the channel number may be configured in input and output Function Blocks.

The valid range of this parameter and the information associated with a specific reference are
determined as followed:

The CHANNEL parameter consists of 2 elements:


the TB_ID (first byte, see directory definitions) and
the relative index (second byte, see first column of the attribute table of each
Transducer Block) of the used TB parameter.
NOTE This may be visualized as shown in Figure 8.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 28

Directory
Composite_Directory_Entries: Slot 1 Index 2 (new parameter)
Function Block
Pointer PB Number Pointer TB_1 Number Pointe TB_2 Number
r
Offset 0 of PB Offset 1 of TB_1 Offset 2 of TB_2
Slot Index para- Slot Index para- Slot Index para-
meters meters meters
1 14 23 1 72 120 1 192 115
PB_ID TR_ID = 1 TR_ID = 2
Channel parameter
Pointer TB_3 Number Pointer FB Number
Offset
Slot
0
Index
of TB_3
para-
Offset
Slot
1
Index
of FB
para- TB_ID rel. index of
2 52
meters
<203 1 37
meters
35
the channel
TR_ID = 3

Transducer Block attribute table


Relative
Index Parameter Name Object Data type Store Size Access Param. Default Mandatory
type Usage/ Value Optional
Type of (Class)
Transport
... Standard Parameter see General Requirements

General Parameter for Temperature Transducer Block

Transducer 8
9
10
PRIMARY_VALUE
SECONDARY_VALUE_1
SECONDARY_VALUE_2
simple
simple
simple
DS-33
DS-33
DS-33
D
D
D
5
5
5
r
r
r
C/a
C/a
C/a
M
O
O

Block 11
12
13
SENSOR_MEAS_TYPE
INPUT_RANGE
LIN_TYPE
simple
simple
unsigned 8
unsigned 8
see General Requirements.
S
S
1
1
r,w
r,w
C/a
C/a
M
M
M
18 BIAS_1 simple float S 4 r,w C/a 0.0 M
19 BIAS_2 simple float S 4 r,w C/a 0.0 M
20 PRIMARY_VALUE_UNIT simple unsigned 16 S 1 r,w C/a M
21 UPPER_SENSOR_LIMIT simple float N 4 r C/a M
22 LOWER_SENSOR_LIMIT simple float N 4 r C/a M
24 INPUT_FAULT simple unsigned 8 D 1 r C/a M
37 TAB_INDEX see General Requirements. O*)
38 TAB_X_Y_VALUE see General Requirements. O*)
39 TAB_MIN_NUMBER see General Requirements. O*)
40 TAB_MAX_NUMBER see General Requirements. O*)
41 TAB_OP_CODE see General Requirements. O*)
42 TAB_STATUS see General Requirements. O*)
43 TAB_ACTUAL_NUMBER see General Requirements. O*)
44-53 reserved
54-... manufacturer specific
parameters

Figure 8 Channel referencing

5.1.6 Parameter

5.1.6.1 General

The overall parameter in an actual PROFIBUS PA field device is constructed from parameters
of different specification levels.

Block
Standard Parameter
for all Blocks
(Universal Parameters)

Physical Blocks Function Blocks Transducer Blocks


Additional Parameters
(Function Parameters)
for Class A and B
devices
(Class A is included in
Class B)

Additional Parameter
device-specific

Additional Parameter
manufacturer-specific

Figure 9 Parameter conformance hierarchy in the blocks

All blocks shall provide at least the 7 standard parameters, the Function Block at least 8 (see
5.2). That is the top of the hierarchy. Class A blocks shall provide the standard parameters
plus the device type specific Function Block parameters for class A. Class B devices shall
provide the standard parameters plus Class A parameters plus the device type specific ones
and - if there exist some - the manufacturer specific parameters of Function Block parameters
for class B. Device specific and manufacturer specific parameters for each block are possible.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 29

5.1.6.2 Naming and addressing of parameters

All blocks are identified using a tag description. The related parameter is called TAG_DESC.
The tags provide an application specific reference to the blocks. They are assigned by the user
of the devices.

Block parameters are identified by a relative index. The relative index is a logical offset of the
parameter in the block. Parameters and their relative index are defined within the scope of a
Function Block, Transducer Block and Physical Block. The offset within the block is unique and
fixed and may be used to address the parameter at application level. For communication
purposes there is an unambiguously mapping between the naming and addressing of the
parameters in the FB application and the communication protocol specification. This is defined
in Clause 6.

Parameter Descriptions may be supplemented by additional information, e.g. using the


Electronic Device Description Language (EDDL) 1. Function Block definitions and their
associated EDD descriptions are organized into a hierarchy of common parameter sets
depending on application area, device function and manufacturer specific capabilities.

5.1.6.3 Parameter usage

Parameters are defined for a block for a specific purpose. In addition, each is defined for use
as an input, an output or a contained parameter.

Contained A contained parameter is a parameter whose value is configured, set by an


operator, higher level device, or calculated. It may not be linked to another
Function Block input or output.
Output An output parameter provides its value to an external destination. Output
parameters contain both value and status attributes. The output status indicates
the quality of the parameter value generated.
Input An input parameter obtains its value from a source external to the block. Its
value may be used by the algorithm of the block.

5.1.7 Standard parameter storage in simple devices

Simple devices (i.e. devices with one sensor attachment only) are allowed to store ST_REV,
TAG_DESC, ALERT_KEY and STRATEGY in one memory place for each parameter. That
means that only one TAG is possible.

5.2 Standard parameters and objects

5.2.1 Block parameters and objects introduction

5.2.1.1 View objects

View objects allow groups of Function Block parameter values to be read or written with one
service request. Such capability is provided to enable group information to be efficiently
communicated in a timely fashion. More than one can exist for each Physical Block, Function
Block and Transducer Block to show all information for operation and parameterization. This
profile supports View_1 as mandatory. In addition there can optionally be block-specific View_2
to View_4. The parameters to be included in VIEW_x are defined in the view object table for
each block.

5.2.1.2 Alarm objects

Alarm objects are used to communicate notification messages when alarms are detected. An
alarm is the detection of a block leaving a particular state and when it returns back to that

1 The Electronic Device Description Language is neither defined by this specification nor scope of the PROFIBUS
Profile class B. EDDL is defined in IEC 61804-3.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 30

state. The time at which the alarm state was detected is included as a time stamp 1 in the alert
message.

Based on the type of alarm two classes of alarms may be defined in the resource.

Analog Alarms - alarm used to report alarms or events whose associated value is
floating point.
Discrete Alarms - alarm used to report alarms or events whose associated value is
discrete.

Blocks provide alarm objects, the transfer of the object values is out of the scope of this profile.

5.2.2 Table legend

5.2.2.1 Overview

Four tables are used in 5.2.2 to describe the details of individual block parameters:

Parameter description table


Parameter attribute table
Conformance table
View objects table

The information provided in these tables is explained below.

5.2.2.2 Parameter description table

A description of each block parameter and its intended use is contained in this table. This
description contains the semantic of a parameter. For example the coding of enumerated
parameters is defined in this table. These are intended to be used as help strings additionally.

If a parameter has an enumeration range it is allowed to support a manufacturer specific


subset of the optional codes.

5.2.2.3 Parameter attribute table

Characteristics of the block parameters are specified by the parameter attribute table. This
table provides the following information.

Relative Index
Index offset of the parameter relative to the first parameter of the block.
Parameter Name
The Mnemonic name of the parameter
Object Type
Object type for the parameter value
Simple Simple variable
Record Structure of different simple variables
Array Array of simple variables
Data Type
Data type for the parameter value
Name Basic data type of Simple variable or array
DS-n Data structure (Record) number n
Store
Class of memory required

1 This feature is not supported by the actual profile in general, except in analyzer devices. As result of further
profile specification activities time stamping may be defined.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 31

N Non-volatile parameter which shall be remembered through a power cycle but


which is not under the static update code
S Static; Non-volatile and changing the parameter increases the static revision
counter ST_REV
D Dynamic; the value is calculated by the block or read from another block.
Cst Constant. The parameter does not change in a device.
Size
Data size in number of octets (bytes).

Access
r Indicates that the parameter can be read
w Indicates that the parameter can be written
NOTE It is a valid behavior of the device that the range of writeable parameters is limited to the
parameter value that is currently stored.

Parameter Usage
C Contained
I Input
O Output
Kind of Transport (minimum requirements as indicated)
a acyclic
cyc cyclic
Reset Class
The FACTORY_RESET (Physical Block parameter) affects a different set of parameters of the
blocks in the device. The reset class characteristic of parameters determines if a parameter is
involved in the signal chain of the measurement or actuation channel (functional parameter) or
the parameter contains additional information (informational parameter).

F Functional
I Informational
- Not applicable
Default Value
The value assigned to parameter in the initialization process. This is required for initialization of
a not configured block. Values are of the data type of the parameter. If there is a value in the
attribute table of a block, this value has to be used as default value (profile default value). If
there is no value for a parameter in the attribute table, the default value is manufacturer
specific (manufacturer default value).

Download Order
There are data consistency constraints in a device (e.g. several parameters using the same
engineering unit). Changing one parameter may lead to some calculation within a device.
Therefore a fixed download order of parameters into the device avoids data inconsistencies. A
download is a sequence of write accesses to the set of parameters. This attribute defines the
order the write access shall be done.

In some complex devices there is the need to encapsulate a set of parameters because the
interdependency is very high. For these purposes the method "Parameter Transaction" could
be applied (see 5.4).

NOTE Of course each parameter can be written separately.

Mandatory / Optional
M Indicates the parameter is mandatory for acyclic access. Cyclic access may be
configured separately.
O Indicates the parameter is optional.
5.2.2.4 Conformance table

Every device chooses the necessary subset out of the defined structures of this document.
Choosing a subset follows certain rules defined in the conformance statements. The tables
show which structures are mandatory (M), selected (S) and which are optional (O).
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 32

M Indicates that the profile feature (Physical Block, Funktion Block, Transducer
Block, Condensed Status, ) is mandatory.
O Indicates that the profile feature is optional.
S Indicates that the profile device can support one or more than one (selection of)
subfeatures (e.g. Analog Input, Analog Output, Discrete Input, as sub-feature
of Function Block). There are selected sub-features of mandatory and optional
features. Selected sub-features of mandatory features mean that the device
shall support one or more than one listed sub-feature. Selected sub-features of
optional features mean that the device shall support one or more than one listed
sub-feature if the feature is supported by the device.
5.2.2.5 View object table

View objects allow groups of parameter values to be read and written with one service request.
Such capability will be provided to enable group information to be efficiently communicated in a
timely fashion. More than one object - View_1, View_2, View_3 and View_4 - can exist for each
block.

A View object is a concatenation of all parameters (collection) marked in a View table. One
communication transaction transports all parameter values. The collection of objects is defined
within the view object table in the detailed block specification (see Table 1).

Table 1 View object description

View object Description


View_1...4 View object to access parameter values of the block
View_5 ... manufacturer specific

According to PROFIBUS PA - CLASS B, only View_1 is mandatory for all blocks. The other
view objects are optional. If there are manufacturer specific views the reserved and optional
views have to be counted even if they are not implemented.

Write access to a view object increments the ST_REV parameter in minimum by one if at least
one element of a parameter with the attribute static has been changed.

See also 5.2.3.1.2

5.2.3 General data types and structures

5.2.3.1 Data types

5.2.3.1.1 Common data types


NOTE The data type references identified by DS-xx are valid only in the scope of this document and do not
correspond to the numbering of any other document.

The data types (1-Boolean to 13-TimeDifference) are used as defined in IEC 61158-5-10.

In the scope of this profile there is no BitString data type. The BitString data type is mapped to
the OctetString one as shown in Table 2.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 33

Table 2 Mapping of BitString to OctetString

BitString definition

Byte 1 Byte 2 Byte 3 ...


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 ...
OctetString definition

Byte 1 Byte 2 Byte 3 ...


8 7 6 5 4 3 2 1 16 15 14 13 12 11 10 9 24 23 22 21 20 19 18 17 ...
Bit Bit Bit Bit Bit Bit
7 0 7 0 7 0

5.2.3.1.2 Common data types default values

Data elements, structures or View Objects defined in this profile can contain parameters which
are optional or for future use. The following values shall be used as a replacement if these
elements are not supported in the current implementation:

Floating Point 0x7F 0xFF 0xFF 0xFF (not a number)


VisibleString 0x20, 0x20,

Data types not specified above have a default of 0x00 for all octets.

For some parameters exceptions from these rules are defined explicitly in this profile.

5.2.3.1.3 TimeValue data type (21)

This data type is an additional (to Boolean, Unsigned, Integer, ...) data type and is used to
represent date and time in the required precision for device time and clock synchronization.

DataType TimeValue (21)


In the scope of this profile there is no application time synchronization and therefore no use of
time stamps. Parameter with data type 21 shall have the default value 0 (zero).

5.2.3.1.4 Enumerations and values of not supported optional parameters

The definition in Table 3 applies to all parameters with enumeration data types defined within
this profile as long as there is no other definition of the coding for an individual parameter. It is
recommended to use these definitions for future profile implementations.

Table 3 Coding of enumerations

Unsigned8 Unsigned16 Label Description


0 ... 127 0 ... 32767 reserved by PI according to profile definitions
128 ... 249 32768 ... 65529 manufacturer specific defined by manufacturer
250 65530 not used the function covered by this
parameter is not supported or the
parameter is not used in the
current configuration
251 65531 none not applicable
252 65532 unknown cannot be evaluated, e.g. not
initialized
253 65533 special additional information is
necessary / available
254 ... 255 65534 ... 65535 reserved by PI for future use

5.2.3.2 Block structure (DS-32)

This data structure consists of the attributes of the blocks (see also 5.2.5).
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 34

DataType Block (DS-32)


Attribute Number of Elements = 12
Attribute List of Elements as shown in Table 4
Table 4 List of elements of the Block structure

E Element Name Data Type (Index) Size


1 Reserved Unsigned8 (5) 1
2 Block_Object Unsigned8 (5) 1
3 Parent_Class Unsigned8 (5) 1
4 Class Unsigned8 (5) 1
5 Dev_Rev Unsigned16 (6) 2
6 Dev_Rev_Comp Unsigned16 (6) 2
7 DD_Revision Unsigned16 (6) 2
8 Profile OctetString (10) 2
9 Profile_Revision Unsigned16 (6) 2
10 Execution_Time Unsigned8 (5) 1
11 Number_of_Parameters Unsigned16 (6) 2
12 Address_of_View_1 Unsigned16 (6) 2
13 Number_of_Views (*) Unsigned8 (5) 1
(*) If a block has more than one (1) View object, these View objects shall follow the first one without gaps. Gaps
caused by View objects which are reserved for profile use are allowed.

Table 5 shows the parameter description of the block structure.

Table 5 Parameter description of the Block structure

Element Description
Reserved, These four parameters define the kind of device.
Block_Object, Coding:
Parent_Class, 0 ... 127: see Table 6, Table 7, and Table 8.
Class 128 ... 249: manufacturer specific
250: not used
251: none
252: unknown
253: special
254 and 255: reserved
Dev_Rev See 5.5.4.2.1
Identical for all blocks of the device
Dev_Rev_Comp See 5.5.4.2.1
Identical for all blocks of the device
DD_Revision For future use.
Profile Coding see Table 9.
Profile_Revision Coding:
Byte 1 (MSB): Number before the decimal point; range 00 ... 99
Byte 2 (LSB): Number after the decimal point; range 0 ... 255
The MSB counts the first number and the LSB counts the second and third number of
NAMUR NE53:
Example for profile 3.02: MSB = 0x03, LSB = 0x02.
Execution_Time For future use.
Number_of_Parameters Number of used Relative Indices (parameters) of a block including
- Gaps within the mandatory part of the block
- Optional parameters
- Reserved parameters
- Manufacturer specific parameters
- Gap within the manufacturer specific part of the block
The Number_of_Parameters does not include the view objects.
Address_of_View_1 Reference to View_1 parameter for access (see 5.2.1.1). The specific meaning of the
value of this parameter is communication specific and defined in the mapping part of
this profile.
Number_of_Views If there are more than the View_1 view objects in a block, this parameter contains the
number of view objects of the block including the View_1 and the reserved ones.

Table 6 shows the Block Object of the Physical Block.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 35

Table 6 Physical Block: coding of Block_Object, Class and Parent_Class

Byte 1 Byte 2 Byte 3 Byte 4

Reserved Block_Object Parent_Class Class


0 ... 127 reserved 01 Physical Block 01 Transmitter Default = 250 (not used)
Default = 250 (not used) 02 Actuator
03 Discrete I/O
04 Controller
05 Analyzer
06 Lab Device
07 ... 126 reserved
127 Multi-Variable

Table 7 shows the Block Object of Function Blocks.

Table 7 Function Block: coding of Block_Object, Class and Parent_Class

Byte 1 Byte 2 Byte 3 Byte 4

Reserved Block_Object Parent_Class Class (*)


02 Function Block 01 Input Input
02 Output 01 Analog Input
03 Control 02 Discrete Input
04 Advanced Control 03 ... 127 reserved
05 Calculation Output
01 Analog Output
06 Auxiliary
02 Discrete Output
07 Alert 03 ... 127 reserved
08 ... 127 reserved Control
01 PID
02 Sample Selector
03 Lab Control Unit
04 Thermostate
05 Stirrer
06 Shaker
07 Balance/Scale
08 Centrifuge
09 Dosing pump
10 ... 127 reserved
Advanced Control
01 Lab instruments
02 ... 127 reserved
Calculation
01 ... 07 reserved
08 Totalizer
09 ... 127 reserved
Auxiliary
01 Ramp
02 BM Logbook
03 Sample
04 ... 127 reserved
Alert
01 ... 127 reserved
(*) More definitions of Class codes are done in the data sheets in arrangement with the PI.

Table 8 shows the Block Object of Transducer Blocks.

Table 8 Transducer Block: coding of Block_Object, Class and Parent_Class

Byte 1 Byte 2 Byte 3 Byte 4

Reserved Block_Object Parent_Class Class (*)


03 Transducer Block 01 Pressure Pressure
02 Temperature 01 Differential
03 Flow 02 Absolute
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 36

Byte 1 Byte 2 Byte 3 Byte 4

Reserved Block_Object Parent_Class Class (*)


04 Level 03 Gage
05 Actuator 04 Pressure +
06 Discrete I/O Level + Flow
07 Analyzer 05 Pressure + Level
06 Pressure + Flow
08 Auxiliary
07 Mixed absolute /
09 Alarm diff. Pressure
10 reserved 08 ... 127 reserved
...
127 reserved Temperature
01 Thermocouple (TC)
02 Resistance
Thermometer (RTD)
03 Pyrometer
04 ... 15 reserved
16 TC + DC U
(DC Voltage)
17 RTD + R
(R-Resistance)
18 TC+RTD+R+DC U
19 ... 127 reserved

Flow
01 Electromagnetic
02 Vortex
03 Coriolis
04 Thermal Mass
05 Ultrasonic
06 Variable Area
07 Differential Pressure
08 ... 127 reserved

Level
01 Hydrostatic
02 Echo Level
03 Radiometric
04 Capacity
05 ... 127 reserved

Actuator
01 Electric
02 Electro-pneumatic
03 Electro-hydraulic
04 ... 127 reserved

Discrete I/O
01 Sensor Input
02 Actuator
03 ... 127 reserved

Analyzer
01 Standard
02 ... 127 reserved

Auxiliary
01 Transfer
02 Control
03 Limit
04 ... 127 reserved

Alarm
01 Binary Message
02 ... 127 reserved
(*) More definitions of Class codes are done in the data sheets in arrangement with the PI.

Table 9 shows the coding of the profile.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 37

Table 9 Coding of Profile

Byte 1 (MSB) Byte 2 (LSB) Description


Number of the PROFIBUS
PA profiles within PI The Profile Class is given by PI for the profile document on the
cover page: PROFIBUS PA, Profile for Process Control
Profile Class
Devices.
64, i.e. 0x40
0x01 class A Highest bit not set means: all standard parameters have their
0x02 class B own memory place.
Highest bit is set means: mapping of the standard parameters
0x81 class A
ST_REV, TAG_DESC, STRATEGY and ALERT_KEY in one
0x82 class B
memory place.
253 special manufacturer specific block structures

5.2.3.3 Value & Status Floating Point structure (101)

This data structure consists of the values and the state of the Floating Point parameters. These
parameters can be inputs or outputs.

Data Type Value & Status - Floating Point (101)


Attribute Number of Elements = 2
Attribute List of Elements (see Table 10)
Table 10 List of elements of the Value & Status - Floating Point structure

E Element Name Data Type (Index) Size


1 Value Float (8) 4
2 Status Unsigned8 (5) 1

5.2.3.4 Value & Status Discrete structure (102)

This data structure consists of the value and state of the discrete value parameters.

Data Type Value & Status Discrete (102)


Attribute Number of Elements = 2
Attribute List of Elements (see Table 11 and Table 12)
Table 11 List of elements of the Value & Status - Discrete structure

E Element Name Data Type (Index) Size


1 Value Unsigned8 (5) 1
2 Status Unsigned8 (5) 1

Table 12 Parameter description of the Value & Status - Discrete structure

Element Description
Value Coding:
0 not set (e.g. FALSE)
<> 0 set (e.g. TRUE) (values 1 .. 255 can have different semantic)
Status Coding of the status is specified in 5.3.2 and 5.3.4

5.2.3.5 Scaling structure (DS-36)

This data structure consists of static data used to scale floating point values for display
purposes.

DataType Scaling (DS-36)


Attribute Number of Elements = 4
Attribute List of Elements (see Table 13)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 38

Table 13 List of elements of the Scaling structure

E Element Name Data Type (Index) Size


1 EU_at_100% Float (8) 4
2 EU_at_0% Float (8) 4
3 Units_Index Unsigned16 (6) 2
4 Decimal_Point Integer8 (2) 1

Codes of Units Index see 5.3.

Decimal_Point is a memo how many digits after the point are valid. It can be used by the
master tool and by the local display.

5.2.3.6 Mode structure (DS-37)

This data structure consists of elements for actual, permitted and normal modes.

DataType Mode (DS-37)


Attribute Number of Elements = 3
Attribute List of Elements (see Table 14)
Table 14 List of elements of the Mode structure

E Element Name Data Type (Index) Size


1 Actual Unsigned8 (5) 1
2 Permitted Unsigned8 (5) 1
3 Normal Unsigned8 (5) 1

Codes of Mode elements see Table 46.

5.2.3.7 Alarm Float structure (DS-39)

This data structure consists of data that describe Floating Point Alarms.

DataType Alarm Float (DS-39)


Attribute Number of Elements = 5
Attribute List of Elements (Table 15 and Table 16)
Table 15 List of elements of the Alarm Float structure

E Element Name Data Type (Index) Size


1 Unacknowledged Unsigned8 (5) 1
2 Alarm_State Unsigned8 (5) 1
3 Time_Stamp TimeValue (21) 8
4 Subcode Unsigned16 (6) 2
5 Value Float (8) 4

Table 16 Parameter description of the Alarm Float structure

Element Description
Unacknowledged For future use.
Alarm_State Coding:
0 no alarm
<> 0 alarm active
Time_Stamp For future use.
Subcode Defines additional information about the reason of the alarm.
Coding:
0 not used
1 ... 32767 reserved
32768 ... 65535 device specific
Value Value which caused the alarm.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 39

5.2.3.8 Alarm Summary structure (DS-42)

This data structure consists of data that summarize 16 alarms.

DataType Alarm Summary (DS-42)


Attribute Number of Elements = 4
Attribute List of Elements (Table 17)
Table 17 List of elements of the Alarm Summary structure

E Element Name Data Type (Index) Size


1 Current OctetString (10) 2
2 Unacknowledged OctetString (10) 2
3 Unreported OctetString (10) 2
4 Disabled OctetString (10) 2

The Bits of the OctetStrings are associated with the alarms shown in Table 18, Table 19, and
Table 20.

Table 18 Coding of the bits of the Alarm Summary structure

Octet Bit Element Description


0 0 Discrete alarm (LSB) only Function Blocks with discrete limit parameters
0 1 HI_HI_Alarm only Function Blocks with analog limit parameters
0 2 HI_Alarm only Function Blocks with analog limit parameters
0 3 LO_LO_Alarm only Function Blocks with analog limit parameters
0 4 LO_Alarm only Function Blocks with analog limit parameters
0 5 ... 6 reserved
0 7 Update Event modification of a block parameter with storage attribute S
1 0 ... 7 reserved

Table 19 Coding of the OctetStrings of the Alarm Summary structure

Octet 0 Octet 1
Bit 7 Bit 0 Bit 7 Bit 0

Table 20 Parameter description of the Alarm Summary structure

Element Description
Current Limit alarm bits will be set to 1 or 0 if the alarm reason occurs (1) or is gone (0). The
update event bit will be set to 1 after any block parameter with storage attribute S is
changed and will be set to 0 after 20 s (condensed status) or 10 s (classic status).
NOTE Some alarm reasons are mapped to the cyclic status reporting.
Unreported for future use
Unacknowledged for future use
Disabled for future use

5.2.3.9 FB Linkage structure (DS-49)

This data structure consists of Function Block linkage data.

DataType FB Linkage (DS-49)


Attribute Number of Elements = 5
Attribute List of Elements (Table 21)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 40

Table 21 List of elements of the FB Linkage structure

E Element Name Data Type (Index) Size


1 Local_Index Unsigned16 (6) 2
2 Connection_Number Unsigned16 (6) 2
3 Remote_Index Unsigned16 (6) 2
4 Service_Operation Unsigned8 (5) 1
5 Stale_Count_Limit Unsigned8 (5) 1

For more details see 5.2.9.

5.2.3.10 Simulation - Floating Point structure (DS-50)

This data structure consists of the Simulation parameters.

DataType Simulation - Floating Point (DS-50)


Attribute Number of Elements = 3
Attribute List of Elements (see Table 22 and Table 23)
Table 22 List of elements of the Simulation - Floating Point structure

E Element Name Data Type (Index) Size


1 Simulate_Status Unsigned8 (5) 1
2 Simulate_Value Float (8) 4
3 Simulate_Enabled Unsigned8 (5) 1

Table 23 Parameter description of the Simulation - Floating Point structure

Element Description
Simulate_Status Status written by an operator to simulate the Transducer Block value status.
Simulate_Value Value written by an operator to simulate the Transducer Block value.
Simulate_Enabled Switch to enable or disable simulation.
Coding:
0 Disabled
<> 0 Enabled

5.2.3.11 Simulation - Discrete structure (DS-51)

This data structure consists of the Simulation parameters.

DataType Simulation Discrete (DS-51)


Attribute Number of Elements = 3
Attribute List of Elements (Table 24)
Table 24 List of elements of the Simulation - Discrete structure

E Element Name Data Type (Index) Size


1 Simulate_Status Unsigned8 (5) 1
2 Simulate_Value Unsigned8 (5) 1
3 Simulate_Enabled Unsigned8 (5) 1

Parameter Description see 5.2.3.10.

5.2.3.12 Result structure (DS-60)

This data structure contains the structure of the results.

Data Type Result (DS-60)


Attribute Number of Elements = 3
Attribute List of Elements (see Table 25 and Table 26)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 41

Table 25 List of the elements of the Result structure

E Element Name Data Type (Index) Size


1 PV Float (8) 4
2 Measurement_Status Unsigned8 (5) 1
3 PV_Time BinaryDate (11) 7

Table 26 Parameter description of the Result structure

Element Description
PV Contains the value of the result of the Transducer Block. The accompanying
parameter for the interpretation of this value is contained in the same Transducer
Block.
PV_Time Time the PV was generated.
Measurement_Status State of the result at the time of the value generation (see 5.3.2 / 5.3.4).

5.2.3.13 Measurement Range structure (DS-61)


This data structure contains the structure of the measurement range.
Data Type Measurement Range (DS-61)
Attribute Number of Elements = 2
Attribute List of Elements (see below)
Table 27 List of elements of the Measurement Range structure

E Element Name Data Type (Index) Size


1 Begin_of_Range Float (8) 4
2 End_of_Range Float (8) 4

5.2.3.14 Binary Message structure (DS-62)

This data structure contains the structure of the Binary Messages (BM).

Data Type Binary Message (DS-62)


Attribute Number of Elements = 5
Attribute List of Elements (see Table 28 and Table 29)
Table 28 List of elements of the Binary Message structure

E Element Name Data Type (Index) Size


1 Status_Class Unsigned16 (6) 2
2 Logbook_Entry Boolean (1) 1
3 Output_Reference Unsigned8 (5) 1
4 Supervision Unsigned8 (5) 1
5 Text VisibleString (9) 16

Table 29 Parameter description of the Binary Message structure

Element Description
Status_Class There are 16 status classes; the profile defines the first four. Each BM (Binary
Message) may be referenced in one or more than one status class. The number of
the bit position (starting with 1) is the reference to the status class. Bit n = 1 and this
BM is active means that the sum bit (bit 16) of the status class is set to one, the
related bit n in GLOBAL_STATUS is set to 1 and the bit in the related ACTIVE_BM
BM is set to 1. (see data sheet Analyzer)
Logbook_Entry Binary Messages may be stored in the Logbook FB accompanied by its time stamp.
This parameter enables or disables the storage of this BM in the Logbook.
Coding:
False no storage in the Logbook
True storage in the Logbook
Output_Reference Each BM may relate to exact one Discrete Output (DO). The OUTPUT_REFERENCE
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 42

Element Description
value is the number of the connected DO in the device.
Supervision The BM is immediately active if this parameter is switched to supervision on.
Supervision off make it possible to choose between active and inactive BM
independent of the occurrence of the BM provision.
Coding:
0 Supervision is switched off; Message inactive
1 Supervision is switched off; Message active
2 Supervision is switched on
Text This parameter contains an ASCII text which may be used for the interpretation and
more information of the coded message by a terminal or visualization station. This
parameter is optional, because future systems will use the device description
technology.

5.2.3.15 Sample Selection structure (DS-63)

This data structure contains the structure of the Sample Selection.

Data Type Sample Selection (DS-63)


Attribute Number of Elements = 2
Attribute List of Elements (see Table 30 and Table 31)
Table 30 List of elements of the Sample Selection structure

E Element Name Data Type (Index) Size


1 Channel Unsigned16 (6) 2
2 Active_Sample_Time TimeDifference (13) 4

Table 31 Parameter description of the Sample Selection structure

Element Description
Channel Reference to the active Transducer Block which provides the measurement value to
the Block.
Active_Sample_Time Overall time the sample is active in the device.

5.2.3.16 Logbook structure (DS-64)

This data structure contains the structure of the Logbook entries.

Data Type Logbook (DS-64)


Attribute Number of Elements = 4
Attribute List of Elements (see Table 32 and Table 33)
Table 32 List of elements of the Logbook structure

E Element Name Data Type (Index) Size


1 Type Unsigned8 (5) 1
2 Value Unsigned16 (6) 2
3 Active Boolean (1) 1
4 Time BinaryDate (11) 7

Table 33 Parameter description of the Logbook structure

Element Description
Type Coding:
0: Global_Status
1 ... 16: Status information of class n
255: Binary_Message
Value The interpretation of Value depends of the content of Type:
Type = 0 -> Value = Global_Status
Type = 1..16 -> Value = OR sum of the class states of one class
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 43

Element Description
Type = 255 -> Value = Number of Binary Message
Active Coding:
True BM becomes active
False BM becomes inactive

5.2.3.17 Precalculation structure (DS-65)

This data structure contains the structure of the Precalculation parameter.

Data Type Precalculation (DS-65)


Attribute Number of Elements = 3
Attribute List of Elements (see Table 34 and Table 35)
Table 34 List of elements of the Precalculation structure

E Element Name Data Type (Index) Size


1 Function_Type Unsigned8 (5) 1
2 Subtype Unsigned8 (5) 1
3 Choice Unsigned8 (5) 1

Table 35 Parameter description of the Precalculation structure

Element Description
Function_Type This parameter contains the choice of the used function type which will be active in
the pre-calculation chain.
Coding:
0: no pre-calculation function
1: Filter
2: Average value
3: Integrator
4: Correction
5 ... 127: reserved
128 ... 255: device specific
Subtype Contains the specific filter, average, integration or correct pre-calculation function in
device specific codes. The default value 1 (one) codes the standard method of the
device. The description of the specific algorithms is part of the device manual.
Coding:
0: no pre-calculation
1: device specific standard algorithm
2 ... 255: device specific
Choice This parameter selects if the correction is inactive, using a fixed value or using a
result of another block.
Coding:
0: Function inactive
1: Function uses result of the pre-calculation chain
2: Function uses a fixed value
3: Function uses a Function Block value
4: Function uses a Transducer Block value

5.2.3.18 Sequential Control structure (DS-66)


This data structure contains the structure of the Sequential Control parameter.
Data Type Sequential Control (DS-66)
Attribute Number of Elements = 4
Attribute List of Elements (see Table 36 and Table 37)
Table 36 List of elements of the Sequential Control structure

E Element Name Data Type (Index) Size


1 Time BinaryDate (11) 7
2 Cycle_Time TimeDifference (13) 4
3 Command Unsigned16 (6) 2
4 Time_Control_Active Boolean (1) 1
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 44

Table 37 Parameter description of the Sequential Control structure

Element Description
Time Determines the time of the first/next execution of the related block. This parameter
may determine the start of the cycle for a cyclic execution.
Cycle_Time Determines the interval for the automatic execution of the related block. The
Cycle_Time value 0 (zero) implies a non-cyclic execution.
Command This parameter contains the code for the command which influences the related
block.
The Control Transducer Block contains also a COMMAND parameter. This block
command parameter has a higher priority then the one of this structure.
Coding:
5: Start
6: Stop
7: Resume
8: Cancel
9: Start triggered by device internal event
10 ... 127: reserved
128 ... 255: manufacturer specific
Time_Control_Active This parameter determines if the command will be carried out automatically or if the
command has no consequences.
Coding:
False: Execution is disabled
True: Execution will be carried out

5.2.3.19 Batch structure (DS-67)

This data structure contains the structure of the Batch parameter

Data Type Batch (DS-67)


Attribute Number of Elements = 4
Attribute List of Elements (see Table 38 and Table 39)
Table 38 List of elements of the Batch structure

E Element Name Data Type (Index) Size


1 Batch_ID Unsigned32 (7) 4
2 Rup Unsigned16 (6) 2
3 Operation Unsigned16 (6) 2
4 Phase Unsigned16 (6) 2

Table 39 Parameter description of the Batch structure

Element Description
Batch_ID Identifies a certain batch to allow assignment of equipment-related information (e.g.
faults, alarms ...) to the batch.
Rup No. of Recipe Unit Procedure or of Unit: Identifies the active Control Recipe Unit
Procedure or the related Unit (e.g. reactor, centrifuge, drier). (Unit is defined in
IEC 61512-1, but in a different meaning as parameter UNIT i.e. Engineering Unit)
Operation No. of Recipe Operation: Identifies the active Control Recipe Operation.
Phase No. of Recipe Phase: Identifies the active Control Recipe Phase.

For more details see Table 46.

5.2.3.20 Feature structure (DS-68)

This data structure consists of 2 elements describing the supported and currently enabled
features.

Data Type Feature (DS-68)


Attribute Number of Elements = 2
Attribute List of Elements (see Table 40, Table 41, and Table 42)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 45

Table 40 List of elements of the Feature structure

E Element Name Data Type (Index) Size


1 Supported OctetString (10) 4
2 Enabled OctetString (10) 4

Table 41 Coding of Supported

Octet Bit Element Description


1 0 Condensed_Status Defines the general method how the whole device handles status and
diagnostics
0: Condensed status and diagnosis is not supported.
1: Condensed status and diagnosis information according to
definition in 5.3.4.
1 1 Classic Defines the general method how the whole device handles status and
Status/Diagnosis diagnostics
0: Classic status/diagnosis as defined in 5.3.2
is not supported.
1: As defined in 5.3.2.
1 2 DxB 0: no support of data exchange broadcast
1: data exchange broadcast supported
1 3 MS1_AR 0: no support of MS1 application relationship
1: MS1 application relationship supported
1 4 PROFIsafe 0: no support of PROFIsafe communication
1: PROFIsafe communication supported
1 5 reserved
1 6 reserved
1 7 reserved
2..4 reserved

Table 42 Coding of Enabled

Octet Bit Element Description


1 0 Condensed_Status Defines the general method how the whole device handles status and
diagnostics
0: disabled
1: enabled (condensed status and diagnosis information according
to 5.3.4)
1 1 Classic Defines the general method how the whole device handles status and
Status/Diagnosis diagnostics
0: disabled
1: enabled (As defined in 5.3.2)
1 2 DxB 0: disabled (no support of data exchange broadcast)
1: enabled (data exchange broadcast enabled)
1 3 MS1_AR 0: disabled (no support of MS1 application relationship)
1: enabled (MS1 application relationship enabled)
1 4 PROFIsafe 0: disabled (no support of PROFIsafe communication)
1: enabled (PROFIsafe communication enabled)
1 5 reserved
1 6 reserved
1 7 reserved
2..4 reserved

5.2.3.21 Diag_Event_Switch structure

This data structure defines a reference / mapping between device specific diagnostic events
and their representation in the Profile specific diagnosis and status.

Data Type Diag_Event_Switch


Attribute Number of Elements = 3
Attribute List of Elements (see Table 43, Table 44, and Table 45)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 46

Table 43 List of elements of the Diag_Event_Switch structure

E Element Name Data Type (Index) Size


1 Diag_Status_Link Array of Unsigned8 (5) 48
2 Slot Unsigned8 (5) 1
3 Index (absolute) Unsigned8 (5) 1

Table 44 Element description of the Diag_Event_Switch structure

Element Description
Diag_Status_Link Array of switches for device specific diagnostic events. Mapping to diagnosis bit and status
code. One Byte for each diagnostic event. If a diagnostic event occurs this parameter indicates
how the status and diagnosis is affected.
In case of multi-variable devices or multi-channel devices it is (usually) not useful that all FBs
react in the same way in case of a sensor failure which influences only one channel (e.g.
temperature sensor is ok while flow sensor reports a failure). The setting shall only influence
the status of the related channels (defined by the manufacturer).
Status code (low nibble):
0: Diagnostic event has no affect on the status.
Status will be GOOD ok
1: Diagnostic event is treated as maintenance request .
Status will be GOOD maintenance required .
2: Diagnostic event is treated as immediate maintenance request .
Status will be GOOD maintenance demanded
3: Diagnostic event is treated as immediate maintenance request .
Status will be UNCERTAIN maintenance demanded
4: Diagnostic event is treated as failure .
Status will be BAD maintenance alarm
5: Diagnostic event is treated as invalid process condition .
Value is conditionally usable.
Status will be UNCERTAIN process related, no maintenance
6: Diagnostic event is treated as invalid process condition .
Value is not usable.
Status will be BAD process related, no maintenance
7: Diagnostic event is treated as function check without usable value .
Status will be BAD function check / local override
8: Diagnostic event is treated as function check with usable value .
Status will be GOOD function check .
9 .. 15 reserved
Diagnosis (high nibble):
0: Diagnostic event has no affect on the diagnosis.
DIAGNOSIS: No additional bit will be set.
1: Diagnostic event is treated as maintenance request .
DIAGNOSIS: DIA_MAINTENANCE will be set.
2: Diagnostic event is treated as immediate maintenance request .
DIAGNOSIS: DIA_MAINTENANCE_DEMAND will be set.
3: Diagnostic event is treated as failure .
DIAGNOSIS: DIA_MAINTENANCE_ALARM will be set.
4: Diagnostic event is treated as invalid process condition .
DIAGNOSIS: DIA_INV_PRO_COND will be set.
5: Diagnostic event is treated as function check or simulation .
DIAGNOSIS: DIA_FUNCTION_CHECK will be set.
6 .. 15: reserved
If the device has less than 48 diagnostic events to be linked then the remaining
DIAG_STATUS_LINK Bytes are set to 0 completely.
The supported enumerations according to each diagnosis event might be limited by the
manufacturer.
Slot Slot of the continuation of Diag_Event_Switches. Points to the next Diag_Event_Switch
structure.
If there is no continuation of the Diag_Event_Switches the element Slot carries the value = 0
and Index carries the value = 0 at the same time.
Index Index (absolute) of the continuation of Diag_Event_Switches. Points to the next
Diag_Event_Switch structure.
If there is no continuation of the Diag_Event_Switches the element Slot carries the value = 0
and Index carries the value = 0 at the same time.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 47

Table 45 Bit coding of a Diag_Status_Link byte

DIAGNOSIS STATUS Code Meaning STATUS / DIAGNOSIS


2 2 2 2 2 2 2 2
7 6 5 4 3 2 1 0

0 0 0 0 0 O.K. GOOD ok
0 0 0 1 1 Maintenance request GOOD maintenance required
0 0 1 0 2 Immediate maintenance GOOD maintenance demanded
request
0 0 1 1 3 Immediate maintenance UNCERTAIN maintenance demanded
request
0 1 0 0 4 Failure BAD maintenance alarm
0 1 0 1 5 Invalid process condition Uncertain process related, no
maintenance
0 1 1 0 6 Invalid process condition BAD process related, no maintenance
0 1 1 1 7 Function check BAD function check / local override
1 0 0 0 8 Function check GOOD function check
0 0 0 0 0 O.K.
0 0 0 1 1 Check request DIA_MAINTENANCE
0 0 1 0 2 Immediate check request DIA_MAINTENANCE_DEMANDED
0 0 1 1 3 Failure DIA_MAINTENANCE_ALARM
0 1 0 0 4 Invalid process condition DIA_INV_PRO_COND
0 1 0 1 5 Function check DIA_FUNCTION_CHECK

5.2.4 Standard parameter definition

Table 46, Table 47, and Table 48 specifies the standard parameter.

Table 46 Parameter description of the standard parameters

Parameter Description
BLOCK_OBJECT The BLOCK_OBJECT parameter is the first parameter of every block. It contains the
characteristics of the block e.g. block type and profile number.
ST_REV A block has static block parameters that are not changed by the process. Values are assigned
to these parameters during the configuration or optimization. ST_REV shall be incremented at
least by one if at least one static parameter in the corresponding block has been modified.
This provides a check of the parameter revision. ST_REV shall be reset to zero or incremented
at least by one to indicate the change of static parameters in case of a cold start (i.e. if
FACTORY_RESET=1 is set). Additionally the ST_REV shall be increased if a change of a table
is accepted. The value of the static revision parameter may be used by a configuration device
to determine if a block parameter(s) stored in static memory (as defined as "S" in the
parameter attribute table) has changed its value.
In case of an overflow ST_REV should be set to 1.
TAG_DESC The tag description is a user-supplied description of the block. Every block can be assigned
such a textual tag description.
STRATEGY The STRATEGY parameter has a user-specified value. This assigned value can be used in
configuration or diagnostics as a key in sorting block information.
ALERT_KEY The ALERT_KEY parameter has a user assigned value which may be used in sorting alarms or
events generated by a block (*). It can contain the identification number of the plant unit. It
helps to identify the location (plant unit) of an event.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 48

Parameter Description
TARGET_MODE The TARGET_MODE parameter indicates which mode is desired for the block. It is normally
set by a control application or by an operator through a human interface application. The input
parameters of the block in conjunction with the state of the block are used to determine if the
block can achieve the requested target mode.
Only one mode from those allowed by the Permitted element of the MODE_BLK parameter
may be requested. A write access to this parameter with more than one mode is out of the
range of this parameter and has to be refused.
Coding:
Bit 7: Out of Service (O/S) - MSB
Bit 6: Initialization Manually (IMan) (not used in Class A and B)
Bit 5: Local Override (LO) (not used in Class A)
Bit 4: Manual (Man)
Bit 3: Automatic (Auto)
Bit 2: Cascade (Cas) (not used in Class A and B)
Bit 1: Remote-Cascade (RCas)
Bit 0: Remote-Output (ROut) - LSB (not used in Class A and B)
The automatic modes used in this profile are Auto and RCas. The manual modes are LO
and Man. In O/S mode, the normal algorithm is no longer executed.
(*) The generation and distribution of alarms and events are neither defined within this specification nor scope of
the PROFIBUS Profile class B. Event and alarm handling may be defined on further specification activities (see
also analyzer block definitions).
MODE_BLK The MODE_BLK parameter is a structured parameter composed of the actual mode, the
normal mode and the permitted mode. The actual mode is set (calculated) by the block during
its execution to reflect the mode used during execution. The normal mode is the desired
operating mode of the block.
The permitted mode shows which changes of the target mode are valid for the specific block to
the remote user of the MODE_BLK parameter.
The effect of mode on the operation of the Function Block is summarized as follows:
Out of Service (O/S): Transducer Blocks: In O/S the evaluation of the measured value(s)
and output value(s) is stopped.
Function Blocks: In O/S the evaluation of the measured value(s) and output value(s) is
stopped.
Physical Blocks: The copying of the DIAGNOSIS and DIAGNOSIS_EXTENSION parameter
content to the PROFIBUS DP Slave_Diag service is stopped.
Acyclic parameter access is not affected.
The output value of input Function Blocks should maintain the last value. For output Function
Blocks the output parameters providing information to the transducer blocks shall provide the
value as defined for power loss. This takes place independent of the definition of a fail safe
handling.
Local Override (LO): Applies to control and output blocks that support a track input
parameter. Also, a local lock-out switch on the device may be provided by a manufacturer to
enable LO mode. In the locked out mode, the block output is being set to track the value of the
track input parameter. The algorithm (for analog devices) should initialize so that no bump is
experienced when the mode switches from LO back to the target mode.
Manual (Man): The block output is not being calculated, although it may be
limited. It is directly set by the operator through an interface device. The algorithm
should initialize so that no bump is experienced when the mode switches.
Automatic (Auto): The block output is calculated using the input from the TB in
case of an input FB and using a set point value provided by a host or an operator
through an interface device in case of an output FB. For PB and TB this mode
indicates that their block functions are able to work.
Remote Cascade (RCas): The block set point is being set by a Control Application through
the remote cascade parameter RCAS_IN. Based on this set point the normal block algorithm
determines the primary output value.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 49

Parameter Description
The behaviour of a Function Block, Physical Block or Transducer Block is indicated by the
parameter MODE_BLK. The MODE_BLK elements are coded like TARGET_MODE and are
defined as follows:
1. Actual - This is the current mode of the block, which may differ from the TARGET_MODE
based on operating conditions. Its value is calculated as part of block execution.
Under conditions which prevent the Function Block from operating in the target mode, the
Function Block actual mode will automatically change. The actual mode will be calculated
based on the following:
TARGET_MODE parameter
Mode calculation of the block
A concept of priority is used when the block shall compute an actual mode that is different
from the TARGET_MODE . Mode priority is defined as follows, where zero is the lowest priority.

Mode Priority
O/S 7 highest
IMan 6 (not used)
LO 5
Man 4
Auto 3
Cas 2 (not used)
RCas 1
ROut 0 lowest (not used)

The state machine defining the details of MODE calculation is block class specific (see data
sheets).
2. Permitted - Defines the modes which are allowed for an instance of the block. The
permitted mode is configured by the block design group, i.e. is defined for every block in the
according data sheet. Any mode change request will be checked by the device to insure that
the requested target mode is defined as a permitted mode.
3. Normal - This is the mode which the block uses during normal operation conditions. This
parameter may be read by an interface device but is not used by the block algorithm. The
normal mode is not used in the scope of this profile and for further use.
Blocks of class A devices provide in minimum the MODE "Auto" as mandatory. MODE
calculation is mandatory for Function Blocks of class B devices only.
ALARM_SUM The parameter ALARM_SUM summarizes the status of up to 16 block alarms. For each alarm,
the current states, unacknowledged states, unreported states and disabled states are
maintained.
NOTE This feature is not fully supported by the actual profile. For this profile the current state
part of the alarm is used only.
BATCH This parameter is intended to be used in Batch applications according to IEC 61512-1. Only
Function Blocks carry this parameter. There is no algorithm necessary within a Function Block.
The Batch parameter is necessary in a distributed fieldbus system to identify used and
available channels, in addition to identify the current batch in case of alerts.
For more details see 5.2.3.19.

Table 47 Parameter attributes of the standard parameters


Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Data Type

Transport

Optional
Relative

Usage /
Access

Default
Name
Index

Store

Size

0 BLOCK_OBJECT Record DS-32 Cst 20 r C/a - - M


1 ST_REV Simple Unsigned16 N 2 r C/a - 0 M
2 TAG_DESC Simple OctetString (*) S 32 r,w C/a I M
3 STRATEGY Simple Unsigned16 S 2 r,w C/a I 0 M
4 ALERT_KEY Simple Unsigned8 S 1 r,w C/a I 0 M
5 TARGET_MODE Simple Unsigned8 S 1 r,w C/a F - M
Bloc
6 MODE_BLK Record DS-37 D 3 r C/a - kspe M
c
0,0,0
7 ALARM_SUM (**) Record DS-42 D 8 r C/a - M
,0
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 50

Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Data Type

Transport

Optional
Relative

Usage /
Access

Default
Name
Index

Store

Size
0,0,0
8 BATCH Record DS-67 S 10 r,w C/a I M
,0
(*) Preferred data type should be VisibleString.

(**) see NOTE in Table 46 .

Table 48 View object of the standard parameters

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
0 BLOCK_OBJECT
1 ST_REV 2 2
2 TAG_DESC 32
3 STRATEGY 2
4 ALERT_KEY 1
5 TARGET_MODE 1
6 MODE_BLK 3 3
7 ALARM_SUM 8 8
8 BATCH (*) 10 (*)
- Overall sum of bytes in View- 13 13 36 / reserve
Object 46(*) d
(*) Only in Function Blocks.

5.2.5 Block construction

Subclause 5.1.5 describes the logical concatenation of parameters to a block. Every block
starts with a header the so-called Block Object. The Block Object has a defined structure and
is defined in 5.2.3.2. Figure 10 presents the Block Object (partly) and the parameter structure
within one block.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 51

Block n
Number_of_Parameters e.g. AI
DS_32

Profile mandatory/optional
parameters according to
Device Data Sheets

i.e. Profile
ST_REV
TAG_DESC
STRATEGY
...
Number_of_Parameters

free parameters (place holders)

manufactured specific
parameters

Profile additions

free parameters (place holders)


Block n+1
e.g. TB
DS_32

Figure 10 Structure of Parameters in a Block

5.2.6 Device Management and identification parameters

5.2.6.1 Device Management overview

The Device Management provides the table of content of a device by means of a so-called
Directory, i.e. the device specific implementation of the PROFIBUS PA profile definitions. Some
parameters are reserved for future definitions. The Device Management is the basis of a
Management block, that will be introduced in future versions of the PROFIBUS PA profile.

5.2.6.2 Directory object

5.2.6.2.1 Overview

The directory object is defined to act as a guide within the Function Block application in a
device. It is a list of references to the objects making up this application. This information may
be read by an interface device desiring to access objects in the device.

There are different types of objects represented in the directory. One parameter is represented
as a single entry in the logical address space of the device. A group of parameters, e.g. a
Function Block allocate many single entries is called a Composite object. A Composite object
is referenced by a Composite_Directory_Entry in the directory. Composite_Directory_Entries of
the same type (i.e. Physical Block, Function Block and Transducer Block, Link objects) are
listed in the directory continuously. This results in compact lists of Composite Directory Entries.
References to these lists of Composite Directory Entries are an additional part of the directory,
the so called Composite_List_Directory_Entry. The Composite List Directory Entry contains the
reference to the list of Physical Block Composite_Directory_Entries, Function Blocks
Composite_Directory_Entries, Transducer Blocks Composite_Directory_Entries and Link
objects Composite_Directory_Entries if available.

The directory is logically constructed by concatenating the several directory parts. These parts
are the header followed by Composite List Directory Entries and the Composite Directory
Entries. The Composite_List_Directory_Entries points to the reference of the composite objects
types PB, FB, TB and Link objects. The following Composite_Directory_Entries point to the
parameter address of the first block parameters and objects (see Figure 11). One Composite
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 52

Directory Entry is composed of the parameter address of the first element of the according
composite object and its number of elements. The directory object is seen as one array. It has
to be mapped to the definition of the underlying communication system.

The Directory object consists of the following parts:

Header
Composite List Directory Entries
Composite Directory Entries

The definitions are given in 5.2.6.2.2, 5.2.6.2.3, and 5.2.6.2.4.

5.2.6.2.2 Header
1. Reserved - Directory ID - not used in this profile.
2. Directory Revision Number.
3. Number of Directory Objects - If more than one object is used for the entire directory
the elements are treated as continuously defined as though one larger object is used.
Multiple directory objects will be contiguously listed in the directory. This object counts
the numbers of objects which are necessary for the all over directory. The header
object is not counted.
4. Total Number of Directory Entries - Number of Composite List Directory Entries and
Composite Directory Entries shall be added.
5. Directory Entry number of first Composite List Directory Entry - This number counts the
entries within the directory not the address of the parameter which contains the entry.
The 1st directory entry is the Physical Block reference in the Composite List Directory
Entry. There is no gap between Composite List Directory Entry and Composite Directory
Entry in counting the entries.
6. Number of Composite List Directory Entries - Counts the number of different block
types (Physical Block, Transducer Blocks and Function Block) and object types (in the
scope of this profile Link object only) in the device.

5.2.6.2.3 Composite List Directory Entries, Composite Directory Entries


1. Directory_Entry_Number for the Physical Block / Number of Physical Blocks
2. Directory_Entry_Number for the first Transducer Block pointer / Number of Transducer
Blocks
3. Directory_Entry_Number for the first Function Block pointer / Number of Function
Blocks
4. Directory_Entry_Number for the first link object pointer / Number of Link Objects

NOTE The Directory_Entry_Number counts both, the address of the parameter which contains the according entry
of the Directory (this address is communication system depending, it can be e.g. an index) and the elements in the
directory array starting with the first Composite_List_Directory_Entry (this is communication system independent
and the counter in the array).

5.2.6.2.4 Composite_Directory_Entries
1. Block_ptr_1 / Number of Elements
2. Block_ptr_2 / Number of Elements
3. ...
n. Block_ptr_n / Number of Elements

The Directory is structured in 3 levels as shown in Figure 11.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 53

Header

Dir_ID Dir_Rev_No No_Dir_Obj No_Dir_Entries First_Comp_List_Dir_Entry No_Comp_List_Dir_Entry

Composite_List_ Begin_PB No_PB=1 Begin_TB No_TB Begin_FB No_FB Begin_LO No_LO


Directory_Entries

Composite_Directory_Entries

PAdd No_ PAdd No_ PAdd No_ ... ... Dir - Directory
PB - Physical Block
Communication related TB - Transducer Block
... ... FB - Function Block
address space in a device
LO - Link Object
Padd - Parameter Address
number in the comm.
related address space
... DS_32 ST_REV ... of a device
... DS_32 ... ... No_ - Number of elements
Begin - Directory_Object/
Directory_Entry number

Figure 11 Directory structure and reference to the blocks

The header contains the concrete structure of the directory and objects. The
Composite_List_Directory distinguishes between the different block types (FB, TB, PB) and
provides the number of each kind of block in the device. The Composite Directory_Entries
provides the pointers to the first element of the blocks and the number of elements within the
block. The Composite Directory_Entries part of the directory shall follow the
Composite_List_Directory_Entry without gap.

The mapping of the Directory object to communication objects is dependent from the
communication system and the device capabilities (max. length of communication objects).
E.g., if the total number of bytes in the directory is higher than the maximal length of one
communication object (respectively parameter), a new parameter has to be added and follows
directly with the next index.

5.2.6.3 Device Management parameter attributes

For the Device Management Parameter Description see 6.2.5.3.

5.2.6.4 Device Management View object

The Device Management provides no View Object.

5.2.7 Table handling

There is the possibility to load and re-load tables in the devices. This table is used for
linearization mostly. For this procedure the following parameters are necessary:

TAB_ENTRY
TAB_X_Y_VALUE
TAB_MIN_NUMBER
TAB_MAX_NUMBER
TAB_OP_CODE
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 54

TAB_STATUS
TAB_ACTUAL_NUMBER

The TAB_X_Y_VALUE parameter contains the value couple of each table entries. The
TAB_ENTRY parameter identifies what element of the table is in the TAB_X_Y_VALUE
parameter currently (see Figure 12).

y_Value

Tab_Entry x_Value y_Value yn


yn-1
1 x1 y1 y4
2 x2 y2
3 x3 y3 y3
4 x4 y4
... ... ... y2
n xn yn y1 ...

x1 x2 x3 x4 xn-1 xn x_Value

x1 x2 x3 x4 ... xn

x_Value
Tab_Entry
y_Value

y1 y2 y3 y4 ... yn

Figure 12 Parameters of a Table

TAB_MAX_NUMBER is the maximum size of the table in the device. For device internal
reasons (e.g. for calculation), sometimes it is necessary to use a certain number of table
values in minimum. This number is provided in the TAB_MIN_NUMBER parameter.

The modification of a table in a device influences the measurement or actuation algorithms of


the device. Therefore an indication of a starting and an endpoint is necessary. The
TAB_OP_CODE controls the transaction of the table. It is common to provide a plausibility
check in the device. The result of this check is indicated in the TAB_STATUS parameter.

During the load of a new table the device might not be able to provide valid parameters. In this
case the status of the process variables (Data Type 101) shall be bad-configuration error in
case of classic status and bad-function check in case of condensed status. During modification
(begin, end see above) up to two tables may be available. The following assignment is
assumed for reading/writing:

TAB_ENTRY new table


TAB_X_Y_VALUE new table
TAB_MIN_NUMBER const
TAB_MAX_NUMBER const
TAB_OP_CODE new table
TAB_STATUS fixed to 8 if old table is available; fixed to 26 if no valid table is
available
TAB_ACTUAL_NUMBER old table (new calculation after transmission is finished)
The sequence diagram for the load of a table is shown in Table 49.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 55

Table 49 Sequence diagram of the load of a table

PA-Profile PA BUS PA PA-Profile


Client Stack Stack Server
Write.req (TAB_OP_CODE)


Write.ind
TAB_OP_CODE =1
Write.res

Write.con (+)

Write.req (TAB_ENTRY)


Write.ind
Index = 1
Write.res

Write.con (+)

Write.req (TAB_X_Y_Value)


Write.ind
TAB_X_Y_VALUE
Write.res

Write.con (+)

copy of TAB_X_Y_VALUE
into internal memory is
necessary
Write.req (TAB_ENTRY)


Write.ind
Index = 2
Write.res

Write.con (+)

... ...
Index = n
Write.res

Write.con (+)

Write.req (TAB_OP_CODE)


Write.ind
TAB_OP_CODE = 3
check of the new table
if TAB_STATUS = GOOD,
taking over of the new table
and delete the old one"
Write.res

Write.con (+)

Read.req (TAB_STATUS)


Read.ind
TAB_STATUS = xx
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 56

PA-Profile PA BUS PA PA-Profile


Client Stack Stack Server

Read.res

Read.con (+)

It is visible, that the transaction starts with the write of the TAB_OP_CODE. The order of the
write services for one table row shall be TAB_ENTRY, TAB_X_Y_VALUE. After this sequence
the device copies the TAB_X_VALUE and TAB_Y_VALUE values to the internal memory.

This TAB_ENTRY parameter should be connected to exact one communication relationship.


The TAB_ ENTRY parameter should be connected to an auto-increment function.

Table 50 provides the parameter description and Table 51 provides the parameter attributes.

Table 50 Parameter description of the table handling parameters

Parameter Description
TAB_ENTRY The TAB_ENTRY parameter identifies which element of the table is in the
TAB_X_Y_VALUE parameter currently
TAB_X_Y_VALUE The TAB_X_Y_VALUE parameter contains one value couple of the table
TAB_MIN_NUMBER For device internal reasons (e.g. for calculation) sometimes it is necessary to use a certain
number of table values in minimum. This number is provided in the TAB_MIN_NUMBER
parameter.
TAB_MAX_NUMBER TAB_MAX_NUMBER is the maximum size (number of TAB_X_VALUE and TAB_Y_VALUE
value pairs) of the table in the device.
TAB_OP_CODE The modification of a table in a device influences the measurement or actuation algorithms
of the device. Therefore an indication of a starting and an end point is necessary. The
TAP_OP_CODE controls the transaction of the table.
0: not initialized
1: new operation characteristic, first value (TAB_ENTRY=1)
2: reserved
3: last value, end of transmission, check table, swap the old curve with the new curve
and update TAB_ACTUAL_NUMBER.
4: delete point of table specified by TAB_ENTRY and decrement
TAB_ACTUAL_NUMBER. (optional)
5: insert point defined with TAB_X_Y_VALUE, sort table with increasing TAB_X_VALUE
and increment TAB_ACTUAL_NUMBER. (optional)
6: replace point of table with actual ENTRY (optional).
It is possible to read a table or parts of the table without start and stop an interaction
(TAB_OB_CODE 1 and 3). The start is indicated by set TAB_ENTRY to 1.
TAB_STATUS It is common to provide a plausibility check in the device. The result of this check is
indicated in the TAB_STATUS parameter.
0: not initialized
1: good (new table is valid)
2: not monotonous increasing (old table is valid)
3: not monotonous decreasing (old table is valid)
4: not enough values transmitted (old table is valid)
5: too many values transmitted (old table is valid)
6: gradient of edge too high (old table is valid)
7: Values not accepted (old values are valid)
8: Table is currently loaded, set after TAB_OP_CODE = 1 and before
TAB_OP_CODE = 3 (Additional access to table not valid, old values are valid)
9: sorting and checking of Table (Additional access to table not valid, old
values are valid)
10 ... 19: reserved
20: not monotonous increasing (table is not initialized)
21: not monotonous decreasing (table is not initialized)
22: not enough values transmitted (table is not initialized)
23: too many values transmitted (table is not initialized)
24: gradient of edge too high (table is not initialized)
25: Values not acceped (table is not initialized)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 57

Parameter Description
26: Table is currently loaded, set after TAB_OP_CODE = 1 and before
TAB_OP_CODE = 3 (Additional access to table not valid, table is not
initialized)
27: sorting and checking of Table (Additional access to table not valid, table is not
initialized)
28 ... 127: reserved
> 128: manufacturer specific
TAB_ACTUAL_NUMB Contains the actual numbers of entries in the table. It shall be calculated after the
ER transmission of the table is finished.
LIN_TYPE Type of linearization.
0: no linearization (mandatory)
1: linearization table (optional)

10: Square root (optional)

20: cylindrical lying container (optional)


21: spherical container (optional)

50: equal percentage 1:33 (optional)


51: equal percentage inverse (quick opening) 1:33 (optional)
52: equal percentage 1:50 (optional)
53: equal percentage inverse (quick opening) 1:50 (optional)
54: equal percentage 1:25 (optional)
55: equal percentage inverse (quick opening) 1:25 (optional)

100: RTD Pt10 a=0.003850 (IEC 751, DIN 43760, JIS C1604-97, BS1904)
101: RTD Pt50 a=0.003850 (IEC 751, DIN 43760, JIS C1604-97, BS1904)
102: RTD Pt100 a=0.003850 (IEC 751, DIN 43760, JIS C1604-97, BS1904)
103: RTD Pt200 a=0.003850 (IEC 751, DIN 43760, JIS C1604-97, BS1904)
104: RTD Pt500 a=0.003850 (IEC 751, DIN 43760, JIS C1604-97, BS1904)
105: RTD Pt1000 a=0.003850 (IEC 751, DIN 43760, JIS C1604-97, BS1904)
NOTE IEC 60751 is the successor of the withdrawn standards IEC 751, DIN 43760,
JIS C1604-97, BS1904. IEC 60751 is equivalent to EN 60751 and other national
standards like DIN, OEVE, BS, NF, etc.
106: RTD Pt10 a=0.003916 (JIS C1604-81)
107: RTD Pt50 a=0.003916 (JIS C1604-81)
108: RTD Pt100 a=0.003916 (JIS C1604-81)

109: RTD Pt10 a=0.003920 (MIL-T-24388)


110: RTD Pt50 a=0.003920 (MIL-T-24388)
111: RTD Pt100 a=0.003920 (MIL-T-24388)
112: RTD Pt200 a=0.003920 (MIL-T-24388)
113: RTD Pt500 a=0.003920 (MIL-T-24388)
114: RTD Pt1000 a=0.003920 (MIL-T-24388)

115: RTD Pt100 a=0.003923 (SAMA RC21-4-1966)


116: RTD Pt200 a=0.003923 (SAMA RC21-4-1966)

117: RTD Pt100 a=0.003926 (IPTS-68)

118: RTD Ni50 a=0.006720 (Edison curve #7)


119: RTD Ni100 a=0.006720 (Edison curve #7)
120: RTD Ni120 a=0.006720 (Edison curve #7)
121: RTD Ni1000 a=0.006720 (Edison curve #7)

122: RTD Ni50 a= 0.006180 (DIN 43760)


123: RTD Ni100 a= 0.006180 (DIN 43760)
124: RTD Ni120 a= 0.006180 (DIN 43760)
125: RTD Ni1000 a= 0.006180 (DIN 43760)

126: RTD Cu10 a=0.004270


127: RTD Cu100 a=0.004270

128: TC Type B, Pt30Rh-Pt6Rh (IEC 584, NIST MN 175, DIN 43710,


BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
129: TC Type C (W5), W5-W26Rh (ASTM E 988)
130: TC Type D (W3), W3-W25Rh (ASTM E 988)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 58

Parameter Description
131: TC Type E, Ni10Cr-Cu45Ni (IEC584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
132: TC Type G (W), W-W26Rh (ASTM E 988)
133: TC Type J, Fe-Cu45Ni (IEC 584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
134: TC Type K, Ni10Cr-Ni5 (IEC 584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
135: TC Type N, Ni14CrSi-NiSi (IEC 584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
136: TC Type R, Pt13Rh-Pt (IEC 584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
137: TC Type S, Pt10Rh-Pt (IEC 584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
138: TC Type T, Cu-Cu45Ni (IEC 584, NIST MN 175, DIN 43710,
BS 4937, ANSI MC96.1, JIS C1602, NF C42-321)
139: TC Type L, Fe-CuNi (DIN 43710)
140: TC Type U, Cu-CuNi (DIN 43710)
141: TC Type Pt20/Pt40, Pt20Rh-Pt40Rh (ASTM E 1751)
142: TC Type Ir/Ir40, Ir-Ir40Rh (ASTM E 1751)
143: TC Platinel II
144: TC Ni/NiMo
145 ... 239: reserved
240 ... 249: Manufacturer specific
250: Not used
251: None
252: Unknown
253: Special
254 ... 255: reserved

Table 51 Parameter attributes of the table handling parameters

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

Parameters of the
according Transducer
Block
(*) TAB_ENTRY Simple Unsigned8 D 1 r,w C/a F 0 O (B)
TAB_X_Y_VALUE Array(** Float D 8 r,w C/a F - O (B)
)
TAB_MIN_NUMBER Simple Unsigned8 N 1 r C/a F - O (B)
TAB_MAX_NUMBER Simple Unsigned8 N 1 r C/a F - O (B)
TAB_OP_CODE Simple Unsigned8 D 1 r,w C/a F - O (B)
TAB_STATUS Simple Unsigned8 D 1 r C/a F 0 O (B)
TAB_ACTUAL_NUMBER Simple Unsigned8 N 1 r C/a F - O (B)
LIN_TYPE Simple Unsigned8 S 1 r,w C/a F - M (B)
Parameters of the O (B)
according Transducer
Block
(*) Relative Index according to the use of the table parameters in concrete blocks
(**) First 4 bytes (Float) X_VALUE, second 4 bytes (Float) Y_VALUE

5.2.8 Physical Block

5.2.8.1 Parameter description of the Physical Block

Table 52 specifies the parameter description of the Physical Block.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 59

Table 52 Parameter description of the Physical Block

Parameter Description
DEVICE_CERTIFICATION Certifications of the field device, e.g. EX certification.
DESCRIPTOR User-definable text (a string) to describe the device within the application.
DEVICE_INSTAL_DATE Date of installation of the device.
DEVICE_MESSAGE User-definable MESSAGE (a string) to describe the device within the application or in
the plant.
DEVICE_ID Manufacturer specific identification of the device.
DEVICE_MAN_ID Identification code of the manufacturer of the field device.
DEVICE_SER_NUM Serial number of the field device.
DIAGNOSIS Detailed information of the device, bitwize coded. More than one message possible
at once. If MSB of byte 4 is set to 1 than more diagnose information is available in
the DIAGNOSIS_EXTENSION parameter.
The coding of the DIAGNOSIS parameter is described in 5.3.3 and 5.3.4.
DIAGNOSIS_EXTENSION Additional manufacturer-specific information of the device, bitwize coded. More than
one message possible at once.
DIAGNOSIS_MASK Definition of supported DIAGNOSIS information-bits.
0: not supported
1: supported
DIAGNOSIS_MASK_ Definition of supported DIAGNOSIS_EXTENSION information-bits.
EXTENSION 0: not supported
1: supported
FACTORY_RESET Coding:
1: (mandatory) is the command for resetting a device to default values. The setting of
the bus address is not affected.
2: (optional) is the command for resetting informational device parameters to default
values. Parameters with Reset Class characteristic informational are defined within
the parameter attribute table of each block. The setting of the bus address is not
affected.
3: (optional) is the command for resetting device parameters with Reset Class
characteristic functional to default values. The setting of the bus address is not
affected.
4 ... 2505: reserved
2506: (optional) is the command for a restart of the device. All non-volatile
parameters remain unchanged, all dynamic parameters are reset to their defaults.
2507 ... 2711: reserved
2712: (optional) The bus address is set to its default address; other parameterization
remains unchanged. The bus address is changed immediately regardless if the
device is in cyclic data transfer state. The reset is not suspended up to a subsequent
power cycle / warm start. The No_Add_Chg_Flag corresponding to the
Set_Slave_Add service is cleared.
2713 ... 32767: reserved
32768 ... 65535: manufacturer specific
Manufacturing specific commands for other reset results are possible.
The IDENT_NUMBER_SELECTOR parameter is not affected by FACTORY_RESET.
NOTE Address manipulation by local display is not in the scope of this profile.
HARDWARE_REVISION Revision-number of the hardware of the field device.
IDENT_NUMBER_ Each PROFIBUS DP device according to IEC 61784-1 CP 3/1 shall have an
SELECTOR Ident_Number provided by PI. The Ident_Number specifies the cyclic behaviour of a
device which is described in the corresponding GSD file. A PROFIBUS PA according
to IEC 61784-1 CP 3/2 device shall support at least one profile specific
Ident_Number. Profile specific Ident_Numbers are defined in 6.4.1 of this profile. If a
device is set to a profile specific Ident_Number it shall interact with the profile
features of the corresponding profile GSD file. In addition a PROFIBUS PA device
may support manufacturer specific Ident_Numbers.
Profile specific GSD files are provided by PI. Manufacturer specific GSD files are
provided by the device manufacturer.
The user is able to select the active Ident_Number by setting the parameter
IDENT_NUMBER_SELECTOR. If the Ident_Number is changed the cyclic behaviour
of the device (e.g. diagnosis contents/length, current/accepted configuration data, )
will be changed, too.
Coding:
0: profile specific Ident_Number (PA profile V3.x) (mandatory)
1: manufacturer specific Ident_Number (PA profile V3.x) (optional)
2: manufacturer specific Ident_Number (PA profile V2.0) (optional)
3: profile specific Ident_Number of Multi-Variable Device (PA profile V3.x)
(optional)
4126: reserved for profile use (not allowed)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 60

Parameter Description
127: adaptation mode (mandatory)
128255: manufacturer specific (optional)
Each value represents one Ident_Number which is supported by the PA device. Only
in adaptation mode (IDENT_NUMBER_SELECTOR=127) the device is able to
communicate using multiple Ident_Numbers.
The device has to start-up with the Ident_Number corresponding to the stored
IDENT_NUMBER_SELECTOR value. If the adaptation mode is selected the device
has to start-up with its last active Ident_Number. The initial Ident_Number (first start-
up) has to be defined by the manufacturer.
For example, a device is purchased as profile device according to profile GSD file
PA139700.GSD. Its parameter IDENT_NUMBER_SELECTOR is set to 0. Its
Ident_Number is 0x9700.
Changing the parameter IDENT_NUMBER_SELECTOR is intended to be done if
there is no cyclic communication to the device. The Ident_Number changes
immediately in this case. It is not suspended up to a subsequent power cycle/warm
start. If the device is switched to the adaptation mode the Ident_Number remains
unchanged. The bit IDENT_NUMBER_VIOLATION of the DIAGNOSIS parameter is
not set and remains 0.
If it is tried to modify the parameter IDENT_NUMBER_SELECTOR during an active
cyclic data transfer the device behaviour shall be according to one of the following
alternatives:
The new value for the parameter IDENT_NUMBER_SELECTOR is accepted, i.e. the
parameter is changed. The Ident_Number as well as the cyclic behaviour of the
device remain unchanged as long as the cyclic data transfer is active. It changes
immediately when the cyclic data transfer is stopped. The bit
IDENT_NUMBER_VIOLATION within the parameter DIAGNOSIS is set to 1 as long
as the active Ident_Number is not according to IDENT_NUMBER_SELECTOR (see
5.3.3 and 5.3.4.3.3.2). It is cleared if the cyclic data transfer is stopped and the
Ident_Number is changed. If the device is switched to the adaptation mode the bit
IDENT_NUMBER_VIOLATION is cleared/not set. The Ident_Number as well as the
cyclic behaviour remain unchanged when the cyclic data transfer is stopped in this
case.
The parameter IDENT_NUMBER_SELECTOR cannot be modified during an active
cyclic data transfer, i.e. only the current value is accepted when
IDENT_NUMBER_SELECTOR is written. When trying to modify the parameter the
response error shall be Access, state conflict.
The parameter IDENT_NUMBER_SELECTOR is read-only during an active cyclic
data transfer. The write access is rejected in this case.

If the PA device is set to the adaptation mode the Ident_Number can be changed by
a master class 1 using the DP services Set_Prm and/or Set_Slave_Add. If the
Ident_Number is supported by the device which is transferred via the Set_Prm or
Set_Slave_Add service request the service is accepted even if it is not the current
setting. The device will switch to the requested setting (see 6.5 for details). This will
allow the costumer to replace predecessor devices with new devices without first
setting the IDENT_NUMBER_SELECTOR or alternatively configuring with a new GSD
file. The device will automatically adapt to the Ident_Number of the configured GSD
file.
If the device is not set to the adaptation mode the DP services Set_Prm and
Set_Slave_Add are accepted only if the requested Ident_Number corresponds exact
to the IDENT_NUMBER_SELECTOR setting. The Ident_Number of the device is not
changed to the requested one in this case.

The parameter IDENT_NUMBER_SELECTOR is not affected by FACTORY_RESET.

Remark:
The Profile_Ident_Number attribute of the MS2 Initiate service is not the same as the
Ident_Number of the device. The Profile_Ident_Number is fixed to 0x9700 for all
PROFIBUS PA devices (see Table 138).

LOCAL_OP_ENA Local operation enable.


0: disabled (Local operation not allowed, i.e. change of FB MODE from host
device only)
1: enabled (Local operation is allowed)
The operation of the host has higher priority then the local terminal one.
If communication fails for a time greater 30 sec, local operation will be enabled
automatically. Communication failure is defined here as absence of cyclic
communication for the specified time period. If the LOCAL_OP_ENA parameter is
equal 0 (disabled) and the communication is working again, then the device switch
back to remote operation. See 5.2.8.4.
SOFTWARE_REVISION Revision-number of the software of the field device.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 61

Parameter Description
WRITE_LOCKING Software write protection.
0: acyclic write services to all parameter are refused, except WRITE_LOCKING
itself, i.e. access is denied.
1 ... 2456: reserved
2457: is the default value and means all writeable parameters of a device are
writeable.
2458 ... 32767: reserved
32768 ... 65535: manufacturer specific
The following parameters are never write protected by any blocking mechanism:
TAB_ENTRY (linearization tables)
ACTUAL_POST_READ_NUMBER (logbook function block).
Additionally a Call-REQ-PDU without Execution_Argument shall be accepted by the
device regardless of the write protection state e.g. to read I&M data.
HW_WRITE_ Indicates the position of a write blocking mechanism which can not be modified by
PROTECTION remote access (e.g. hardware jumper or local user interface) which protects
parameter modification of a device.
0: Unprotected (mandatory)
1: Protected, manual operation permitted (optional)
Acyclic write access to all parameters is refused (write access is denied) except the
TAB_ENTRY parameter of the linearization table and parameters TARGET_MODE
and OUT/OUT_D (only valid for AO and DO).
2: Protected, no manual operation (optional)
Acyclic write access to all parameter is refused (write access is denied) except the
TAB_ENTRY parameter of the linearization table.
3 ... 127: reserved
128 ... 255: manufacturer specific
A device may support code 1 and/or 2.
The following parameters are never write protected by any blocking mechanism:
TAB_ENTRY (linearization tables)
ACTUAL_POST_READ_NUMBER (logbook function block).
Additionally a Call-REQ-PDU without Execution_Argument shall be accepted by the
device regardless of the write protection state e.g. to read I&M data.
FEATURE Indicates optional features implemented in the device and the status of these
features which indicates if the feature is supported or not supported.
COND_STATUS_DIAG Indicates the mode of a device that can be configured for status and diagnostic
behavior.
0: Status and Diagnosis is provided as defined in 5.3.2.
1: Condensed Status and Diagnosis information is provided (see 5.3.4).
2 ... 255: reserved by PI
DIAG_EVENT_SWITCH Indicates / controls the reaction of the device on device specific diagnostic events if
FEATURE.Enabled.Condensed_Status = 1.
The reference of the entries to the diagnosis events is manufacturer / device specific.
Additional parameters Defined in Amendment 1

5.2.8.2 Parameter attributes of the Physical Block

Table 53 specifies the parameter attributes of the Physical Block.

Table 53 Parameter attributes of the Physical Block


Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Physical Block Parameters


8 SOFTWARE_REVISION Simple VisibleString Cst 16 r C/a - - M
9 HARDWARE_REVISION Simple VisibleString Cst 16 r C/a - - M
10 DEVICE_MAN_ID Simple Unsigned16 Cst 2 r C/a - - M
11 DEVICE_ID Simple VisibleString Cst 16 r C/a - - M
12 DEVICE_SER_NUM Simple VisibleString Cst 16 r C/a - - M
13 DIAGNOSIS Simple OctetString D 4 r C/a - - M
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 62

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
DIAGNOSIS_EXTENSIO
14 Simple OctetString D 6 r C/a - - O
N
15 DIAGNOSIS_MASK Simple OctetString Cst 4 r C/a - - M
DIAGNOSIS_MASK_
16 Simple OctetString Cst 6 r C/a - - O
EXTENSION
DEVICE_CERTIFICATIO
17 Simple VisibleString Cst 32 r C/a - - O
N
18 WRITE_LOCKING Simple Unsigned16 N 2 r,w C/a F - O
19 FACTORY_RESET Simple Unsigned16 S 2 r,w C/a F - O
20 DESCRIPTOR Simple OctetString S 32 r,w C/a I - O
21 DEVICE_MESSAGE Simple OctetString S 32 r,w C/a I - O
22 DEVICE_INSTAL_DATE Simple OctetString S 16 r,w C/a I - O
23 LOCAL_OP_ENA Simple Unsigned8 N 1 r,w C/a F 1 O
IDENT_NUMBER_
24 Simple Unsigned8 S 1 r,w C/a - 127 M (B)
SELECTOR
HW_WRITE_
25 Simple Unsigned8 D 1 r C/a - - O
PROTECTION
26 FEATURE Record DS-68 N 8 r C/a - - M
27 COND_STATUS_DIAG Simple Unsigned8 S 1 r,w C/a F 1 M
Diag_Event_
28 DIAG_EVENT_SWITCH Record S 50 r,w C/a F - O
Switch
29 ...
Reserved by PI
32
33 ...
Manufacturer specific except PB of analyzer devices (see 11.2.3)
47
Manu Manufacturer specific parameters and additional parameters defined in PROFIBUS Profile Amendment 1 and
fac. 5.4.3

5.2.8.3 View object of the Physical Block

Table 54 specifies the view object table of the Physical Block.

Table 54 View object of the Physical Block

Access
r r r,w r

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
8 SOFTWARE_REVISION 16
9 HARDWARE_REVISION 16
10 DEVICE_MAN_ID 2
11 DEVICE_ID 16
12 DEVICE_SER_NUM 16
13 DIAGNOSIS 4 4
14 DIAGNOSIS_EXTENSION 0,0,0,0,0,0 6
15 DIAGNOSIS_MASK 4
DIAGNOSIS_MASK_EXTENSIO
16 0,0,0,0,0,0 6
N
17 DEVICE_CERTIFICATION 32 0x20 32
18 WRITE_LOCKING 32762 2
19 FACTORY_RESET
20 DESCRIPTOR 32 0x20 32
21 DEVICE_MESSAGE 32 0x20 32
22 DEVICE_INSTAL_DATE 16 0x20 16
23 LOCAL_OP_ENA 250 1
24 IDENT_NUMBER_SELECTOR 1
25 HW_WRITE_PROTECTION 0 1
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 63

Access

r r r,w r

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
26 FEATURE 8
27 COND_STATUS_DIAG 1
28 DIAG_EVENT_SWITCH 50 0x00
Overall sum of bytes in View-
- Object (+ Standard parameters 4 + 13 22 + 13 82 + 36 108 + 0
bytes)

5.2.8.4 Write access protection control

There are write accesses to block parameters by remote devices via the communication and by
a local terminal. This may cause access conflicts which will be controlled by a protection
strategy.

The following Physical Block parameters control the write access to block parameters.

LOCAL_OP_ENA
HW_WRITE_PROTECTION
WRITE_LOCKING

In addition the following issue influences the write access:

Communication error longer then 30s

These parameters and issue shall control the parameter access as defined in Table 55. If there
is an emergency input possibility, the access rights may differ from this specification.

Table 55 Access protection

HW_WRITE_ WRITE LOCAL_OP_ Loss of Local Remote


PROTECTION _LOCKING ENA cyclic comm. access access
> 30 s possible possible
0 (unprotected) 2457 (unprotected) 1 (enabled) * yes yes
0 (unprotected) 0 (protected) 0 (disabled) no no no
0 (unprotected) 0 (protected) 0 (disabled) yes yes no
0 (unprotected) 0 (protected) 1 (enabled) * yes no
1 (protected, manual operation
2457 (unprotected) 0 (disabled) no no no*
permitted)
1 (protected, manual operation
2457 (unprotected) 0 (disabled) yes no** no*
permitted)
1 (protected, manual operation
2457 (unprotected) 1 (enabled) * no** no**
permitted)
1 (protected, manual operation
0 (protected) 0 (disabled) no no no
permitted)
1 (protected, manual operation
0 (protected) 0 (disabled) yes no** no
permitted)
1 (protected, manual operation
0 (protected) 1 (enabled) * no** no
permitted)
2 (protected, no manual
* * * no no
operation permitted)
(*) do not care
(**) parameters TARGET_MODE, OUT and OUT_D are writable for AO/DO
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 64

5.2.9 Links between Function Blocks

5.2.9.1 General

The data exchange between Function Blocks (FB), i.e. between FB output and input
parameters, are described by Link Objects. The Link Object is a structured parameter DS-49
(see 5.2.3.9). One connection between two FB parameters is exactly one Link Object. The data
types of the source and destination Function Block parameters have to be the same.
Configurations with invalid parameters of Function Blocks shall not be accepted. The Link
Object parameter structure is readable and writeable across the fieldbus.

The scope of this profile revision is limited to FB links within one device. Within a device a
Function Block link is supported from output to one input parameter.

5.2.9.2 Local links

Only one link object is required to define a link within a resource. Such a link may identify an
output- input parameter transfer. The parameter identified by the Remote Index will be updated
with the value and status of the parameter identified by the Local Index.

5.2.9.3 Parameter description of the Link object

Table 56 Parameter description of the Link object

Parameter Description
Local_Index This specifies the FB_ID and parameter relative offset number of the output
parameter which is to be linked to the input parameter identified by the Remote
Index. This is the source of the link.
Connection_Number Set to zero to identify that this is a link within the device.
Remote_Index This specifies the FB_ID and parameter relative offset number of the input parameter
linked to the parameter identified by the Local Index (valid for local links only). This
is the destination of the link.
Service_Operation Determines the action of the link.
Coding:
0: no service - link is inactive
1: LOCAL - link within a device
2 ... 127: reserved
128 ... 255: manufacturer specific
Stale_Count_Limit This is set to zero - stale detection not required.

5.3 Process variable status and diagnosis

5.3.1 Compatibility

Classic status and Diagnosis is as it is described in PA profile version 3.0. It is only intended
for backwards compatibility to predecessor devices. Condensed status and Diagnosis (see
5.3.4) is intended to replace the classic status in future implementations.

5.3.2 Classic status

5.3.2.1 Status attribute

The definition of the status attribute is the same for all parameters (input, output, and
contained). There are four states of quality of the data, an enumerated set of sixteen sub-
status values for each quality, and four states of the limits placed on the data. Limit information
is generated for all status attributes of all parameters having status.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 65

Table 57 Coding of the Status byte

Meaning of Quality

Quality Quality Substatus Limits

Gr Gr QS QS QS QS Qu Qu
7 6 5 4 3 2 1
2 2 2 2 2 2 2 20
0 0 BAD
0 1 UNCERTAIN
1 0 GOOD (Non Cascade)
1 1 GOOD (Cascade)
Meaning of Substatus if Quality = BAD
0 0 0 0 0 0 non specific
0 0 0 0 0 1 configuration error
0 0 0 0 1 0 not connected
0 0 0 0 1 1 device failure
0 0 0 1 0 0 sensor failure
0 0 0 1 0 1 no communication (last usable value)
0 0 0 1 1 0 no communication (no usable value)
0 0 0 1 1 1 out of service
Meaning of Substatus if Quality = UNCERTAIN
0 1 0 0 0 0 non specific
0 1 0 0 0 1 last usable value (LUV)
0 1 0 0 1 0 substitute value
0 1 0 0 1 1 initial value
0 1 0 1 0 0 sensor conversion not accurate
0 1 0 1 0 1 engineering unit violation (unit not in the valid set)
0 1 0 1 1 0 sub normal
0 1 0 1 1 1 configuration error
0 1 1 0 0 0 simulated value
0 1 1 0 0 1 sensor calibration
Meaning of Substatus if Quality = GOOD (Non Cascade)
1 0 0 0 0 0 ok
1 0 0 0 0 1 update event
1 0 0 0 1 0 active advisory alarm
1 0 0 0 1 1 active critical alarm
1 0 0 1 0 0 unacknowledged update event
1 0 0 1 0 1 unacknowledged advisory alarm
1 0 0 1 1 0 unacknowledged critical alarm
1 0 1 0 0 0 initiate fail safe
1 0 1 0 0 1 maintenance required
Meaning of Substatus if Quality = GOOD (Cascade)
1 1 0 0 0 0 ok
1 1 0 0 0 1 initialization acknowledged
1 1 0 0 1 0 initialization request
1 1 0 0 1 1 not invited
1 1 0 1 0 1 do not select
1 1 0 1 1 0 local override
1 1 1 0 0 0 initiate fail safe
Meaning of the Limit Bits
0 0 ok
0 1 low limited
1 0 high limited
1 1 constant
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 66

5.3.2.2 Invalid Status values

Table 58 Invalid Status values

Quality Quality Substatus Limits

Gr Gr QS QS QS QS Qu Qu
7 6 5 4 3 2 1
2 2 2 2 2 2 2 20
1 0 0 0 0 0 1 0 GOOD (Non Cascade)
1 1 0 0 0 0 1 0 GOOD (Cascade)
1 0 0 0 0 0 0 1 GOOD (Non Cascade)
1 1 0 0 0 0 0 1 GOOD (Cascade)

5.3.2.3 Reserved Status values

Table 59 Reserved Status values

Quality Quality Substatus Limits

Gr Gr QS QS QS QS Qu Qu
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
Quality = BAD
0 0 1 0 0 0 * * reserved
...
0 0 1 1 1 1 * * reserved
Quality = UNCERTAIN
0 1 1 0 1 0 * * reserved
...
0 1 1 1 1 1 * * reserved
Quality = GOOD (Non Cascade)
1 0 0 1 1 1 * * reserved
1 0 1 0 1 0 * * reserved

1 0 1 1 1 1 * * reserved
Quality = GOOD (Cascade)
1 1 0 1 0 0 reserved
1 1 0 1 1 1 reserved
1 1 1 0 0 1 * * reserved
...
1 1 1 1 1 1 * * reserved

5.3.2.4 Use of the Status byte for profile compliant devices

Table 60 shows the status if the lower physical range of the sensor is reached.

Table 60 BAD - sensor failure, low limited

0 0 0 1 0 0 0 1

Table 61 shows the status if the upper physical range of the sensor reached.

Table 61 BAD - sensor failure, high limited

0 0 0 1 0 0 1 0

Table 62 shows the status if e.g. the LO_LIM of OUT is exceeded.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 67

Table 62 GOOD (Non Cascade), active advisory alarm, low limited

1 0 0 0 1 0 0 1

Table 63 shows the status if e.g. the HI_LIM of OUT is exceeded.


Table 63 GOOD (Non Cascade), active advisory alarm, high limited

1 0 0 0 1 0 1 0

Table 64 shows the status if e.g. the LO_LO_LIM of OUT is exceeded.


Table 64 GOOD (Non Cascade), active critical alarm, low limited

1 0 0 0 1 1 0 1

Table 65 shows the status if e.g. the HI_HI_LIM of OUT is exceeded.


Table 65 GOOD (Non Cascade), active critical alarm, high limited

1 0 0 0 1 1 1 0

Table 66 shows the status if the Parameter with S attribute has changed.
Table 66 GOOD (Non Cascade), update event

1 0 0 0 0 1 * *

5.3.2.5 Priority of Status

In Table 67 the Status is shown in lowest (GOOD - ok) to highest priority (BAD - out of service).
When multiple conditions exist which may impact status, the condition having the highest
priority will determine the status value.

The status will be set if the according event occurs and will be reset to the next lower prior
status if the event is gone.

Table 67 Priority of the Status values

Quality Quality Substatus Priority


GOOD (NC) ok Lowest
GOOD (NC) maintenance required
GOOD (NC) update event
GOOD (NC) active advisory alarm
GOOD (NC) active critical alarm
GOOD (NC) unacknowledged update event
GOOD (NC) unacknowledged advisory alarm
GOOD (NC) unacknowledged critical alarm
GOOD (NC) initiate fail safe
UNCERTAIN non specific
UNCERTAIN last usable value (LUV)
UNCERTAIN substitute value
UNCERTAIN initial value
UNCERTAIN sensor conversion not accurate
UNCERTAIN engineering unit violation
UNCERTAIN sub normal
UNCERTAIN configuration error
UNCERTAIN sensor calibration
UNCERTAIN simulated value
GOOD (C) ok
GOOD (C) initialization acknowledged
GOOD (C) initialization request
GOOD (C) not invited
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 68

Quality Quality Substatus Priority


GOOD (C) do not select
GOOD (C) local override
GOOD (C) initiate fail safe
BAD non specific
BAD configuration error
BAD not connected
BAD sensor failure
BAD device failure
BAD no communication (LUV)
BAD no communication (no LUV)
BAD out of service Highest

5.3.2.6 Definition of Status

The Quality, Quality Substatus, and Limit components of the Status byte are defined in Table
68.

Table 68 Definition of the Status values

Description of the Quality Bits

Quality Description
0 BAD The value is not useful.
1 UNCERTAIN The quality of the value is less than normal, but the value may still be
useful.
2 GOOD (Non Cascade) The quality of the value is good. Possible alarm conditions may be
indicated by the sub-status.
3 GOOD (Cascade) The value may be used in control.
Description of Substatus if Quality = BAD

Sub-
BAD Description
status
0 non specific There is no specific reason why the value is BAD. Used for
propagation.
1 configuration error Set if the value is not useful because there is some inconsistency
regarding the parameterization or configuration, depending on what a
specific manufacturer can detect.
2 not connected Set if this input is required to be connected and is not connected.
3 device failure Set if the source of the value is affected by a device failure.
4 sensor failure Set if the device can determine this condition. If the error depends on
an exceeded sensor range the Limits define which direction has been
exceeded.
5 no communication (LUV) Set if this value had been set by communication, which has now
failed.
6 no communication (no LUV) Set if there has never been any communication with this value since it
was last Out of Service.
7 out of service The value is not reliable because the block is not being evaluated and
may be under construction for commissioning. Set if the block mode
is O/S.
Description of Substatus if Quality = UNCERTAIN

Sub-
UNCERTAIN Description
status
0 non specific There is no specific reason why the value is uncertain. Used for
propagation.
1 last usable value (LUV) Whatever was writing this value has stopped doing so. This is used
for fail safe handling.
2 substitute value Predefined value is used instead of the calculated one. This is used
for fail safe handling.
3 initial value Value of volatile parameters during and after reset of the device or of
a parameter.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 69

Description of the Quality Bits

Quality Description
4 sensor conversion not accurate Set if the value is at one of the sensor limits. The Limits define which
direction has been exceeded. Also set if the device can determine
that the sensor has reduced accuracy (e.g. degraded analyzer), in
which case no limits are set.
5 engineering unit violation Set if the value lies outside of the set of values defined for this
parameter. The Limits define which direction has been exceeded.
6 sub normal Set if a value derived from multiple values has less than the required
number of GOOD sources.
7 configuration error Set if there is some inconsistency regarding the parameterization or
configuration, depending on what a specific manufacturer can detect.
8 simulated value Set when the process value is written by the operator while the block
is in manual mode.
9 sensor calibration Set during the active calibration procedure together with the current
measured value.
Description of Substatus if Quality = GOOD (Non Cascade)

Sub-
GOOD (NC) Description
status
0 ok No error or special condition is associated with this value.
1 update event Set if the value is good and the block has an active Update event.
2 active advisory alarm Set if the value is good and the block has an active Alarm.
3 active critical alarm Set if the value is good and the block has an active Alarm.
4 unacknowledged update event Set if the value is good and the block has an unacknowledged Update
event.
5 unacknowledged advisory alarm Set if the value is good and the block has an unacknowledged Alarm.
6 unacknowledged critical alarm Set if the value is good and the block has an unacknowledged Alarm.
7 reserved reserved
8 initiate fail safe The value is from a block that wants its following output block (e.g.
AO) to go to Fail Safe.
9 maintenance required The device works still without failure but service support will be
necessary soon. This may be detected e.g. by a Transducer Block of
a value of pH meter.
Description of Substatus if Quality = GOOD (Cascade)

Sub-
GOOD (C) Description
status
0 ok No error or special condition is associated with this value.
1 initialization acknowledged The value is an initialized value from a source (cascade input,
remote-cascade in, and remote-output in parameters).
2 initialization request The value is an initialization value for a source (back calculation input
parameter), because the lower loop is broken or the mode is wrong.
3 not invited The value is from a block which does not have a target mode that
would use this input.
4 reserved reserved
5 do not select The value is from a block which should not be selected, due to
conditions in or above the block.
6 local override The value is from a block that has been locked out by a local key
switch or is a Complex AO/DO with interlock logic active. The failure
of normal control shall be propagated to a function running in a host
system for alarm and display purposes. This also implies Not Invited.
7 reserved reserved
8 initiate fail safe The value is from a block that wants its downstream output block (e.g.
AO) to go to Fail Safe.
Description of the Limit bits

Limit Description
Bits
0 ok The value is free to move.
1 low limited The value has exceeded its low limits.
2 high limited The value has exceeded its high limits.
3 constant (high and low limited) 'constant' has to be used for parameter in general to indicate that the
value of this parameter is set by operator or local means and is not
following the value provided by the normal block algorithm. Status
may be changed by operator (if writeable).
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 70

The four cases are mutually exclusive. A constant cannot also be limited in just one direction.

5.3.3 Classic diagnosis

Table 69 Coding of the Physical Block parameter DIAGNOSIS

Indication
Octet Bit DIAGNOSIS Mnemonic Description
Class
1 0 DIA_HW_ELECTR Hardware failure of the electronic R
1 DIA_HW_MECH Hardware failure mechanics R
2 DIA_TEMP_MOTOR Motor- temperature too high R
3 DIA_TEMP_ELECTR Electronic temperature too high R
4 DIA_MEM_CHKSUM Memory error R
5 DIA_MEASUREMENT Failure in measurement R
6 DIA_NOT_INIT Device not initialized (No self calibration) R
7 DIA_INIT_ERR Self calibration failed R
2 0 DIA_ZERO_ERR Zero point error (limit position) R
1 DIA_SUPPLY Power supply failed (electrical, pneumatic) R
2 DIA_CONF_INVAL Configuration not valid R
Should be set after power-on or after
3 DIA_WARMSTART FACTORY_RESET = 2506 has been A
executed.
Should be set after FACTORY_RESET = 1
4 DIA_COLDSTART A
has been executed.
5 DIA_MAINTAINANCE Maintenance required R
6 DIA_CHARACT Characterization invalid R
Set to 1 (one), if the Ident_Number of the
running cyclic data transfer and the value of
Physical Block IDENT_NUMBER_SELECTOR
parameter do not correspond. If
7 IDENT_NUMBER_VIOLATION R
IDENT_NUMBER_SELECTOR = 127 (adaption
mode) then the DIAGNOSIS bit
IDENT_NUMBER_VIOLATION is cleared / not
set.
3 0 ... 7 reserved Reserved
4 0 ... 6 reserved Reserved
4 7 EXTENSION_AVAILABLE More diagnosis information is available
Indication Class:
R Indication remains active as long as the reason for the message exists.
A The indication has to be set in minimum 10 s and has to be reset not later then 10s after the action is finished.

Coding of the DIAGNOSIS bits:

0: not set
1: set
Table 70 Coding of the OctetString of the Parameter DIAGNOSIS

Octet 1 Octet 2 Octet 3 Octet 4


Bit 7 Bit 0 Bit 7 Bit 0 Bit 7 Bit 0 Bit 7 Bit 0

5.3.4 Condensed status and diagnosis

5.3.4.1 Motivation

To follow the requirements concerning condensed status and diagnostic messages this
definition was created to make diagnostic events more obvious and clear with reference to the
usage in the PCS/DCS and the Maintenance Station, to indicate the need of maintenance in a
graduated way and to add new required status information.

The new definitions support predictive and preventive maintenance.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 71

5.3.4.2 General requirements

5.3.4.2.1 General

This definition enhances process control devices to output a clear message for the
maintenance in case of a diagnostic event.

Only a subset of the status codes defined in 5.3.2 and the bits of parameter DIAGNOSIS is
supported for the data flow in direction towards PCS/DCS, e.g. from parameter OUT of the
Analog Input Function Block. This subset allows easier decoding of the information.

The definitions affect all process values which are accompanied by a status. Some classic
status codes will continue to be supported for the data flow from input variables towards
process connection. They shall not be used in cyclic data transfer towards PCS/DCS.

PCS / DCS SP / Actuator Final Element


SP_D
Output FB TB

RCAS_IN /
RCAS_OUT Sensor

READBACK /
READBACK_D /
POS_D
Transmitter

Input FB TB
Sensor

OUT /
OUT_D /
TOTAL

Condensed status, optionally status as defined in [1]

Status as defined in [1]

Status as defined in [1]

Figure 13 Value flow and application of condensed status

The support of the condensed status is indicated by the Physical Block parameter FEATURE.

For compatibility reasons the device behavior concerning status usage is configurable in two
ways:

classic status or
condensed status generation

If no compatibility mode is required new devices shall support the condensed status generation
only.

The coding of the condensed status is a subset of the definitions made for the classic status
plus new additional ones.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 72

The condensed status is used by values in non cascade interconnection between device and
PCS/DCS. This means that the cascade status is not affected.

The coding of the status byte has to be interpreted in the PCS/DCS. If the condensed status
and diagnosis is enabled the valid status codes used by the device are as listed below.

The status comprises two different information:

the usability of the value for calculation purposes within PCS/DCS


the condition of the device e.g. for maintenance purposes

Table 71 Usability of the Value in a PCS/DCS

Usability in a PCS/DCS Description


Usable / valid (good) The value is a real process value.
Conditionally usable / conditionally valid (uncertain) The value is of decreased quality e.g. lower accuracy or is
a substitute value. The usability depends on the
application.
Failure / not usable / not valid (bad/failure) The value does not represent the process value due to an
error.
Function check / local override The device is under local control, maintenance or
performing a function check. Therefore the value does not
represent the process value.
Passivated (diagnostic alerts inhibited) Value does not represent the process value. Channel /
device are forced in an idle mode by an operator.

Table 72 Interpretation for maintenance purposes

Usability in a Maintenance Station Description


Good Device works well, no maintenance needed.
Maintenance required Based on the previous conditions the wear spare will be
exhausted in medium term or faster than expected.
Maintenance is needed to guarantee availability.
A medium-term period in this context is defined as 7 days
and longer. After the medium-term period has passed, the
probability of failure will increase.
However Maintenance demanded has to be signalized if
the probability of failure within the medium-term period
increases.
Maintenance demanded Based on the previous conditions the wear spare will be
exhausted in a short-term period.
Maintenance is needed in a short-term period to guarantee
availability.
A short-term period in this context is defined as 24 hours
or longer. After the short-term period has passed, the
probability of failure will increase.
Maintenance alarm The wear spare of the device or an adapted armature is
exhausted or a sudden defect occurred inside or around
the device.
Maintenance is needed immediately to re-establish the
function.
Function check / local override Device is under local control, maintenance or performing a
function check.

5.3.4.2.2 Condensed status codes

5.3.4.2.2.1 General

The set of status codes described in 5.3.4.2.2.4 of this profile can be reduced to an application
specific subset, e.g. for application within national organizations like it is defined in NE 107
identical to VDI/VDE-GMA-Guideline 2650 (in the following referred to as NE 107). The status
codes defined in this clause can be reduced to the following set of definitions made by NE 107:

Failure (F)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 73

Maintenance (M)
Check (C)
Out of Specification (S)

Since the status is always transmitted with the process value there shall be a particular status
value also in case that none of the status values defined in NE 107 is present. In this case the
additional status value Good (G) is introduced.

In order to get more detailed information from the status additional values have been defined.
A device according to this profile may be parameterized in such a way that detailed information
is provided by the status or that the status is restricted to maximal four possible values
according to the ones named above. This selection can be done by the parameter
DIAG_EVENT_SWITCH (see 5.2.8.1).

For each status value a classification is made for the usage of the corresponding process value
in a PCS/DCS. The classes used in this document to describe the usage are:

Not usable: Failure / Passivated / Function Check


Conditionally usable: Uncertain
Usable: Good

These values do not correspond to NE 107 and shall only state a suggestion for the designer of
a control system. Failure / Passivated / Function Check means that the corresponding
process value should not be used in a PCS/DCS, Good means that the provided process
value is usable. In case of "Uncertain" the designer of the control system may decide on his
own with respect to the process conditions weather he wants to use the process value or not.

5.3.4.2.2.2 Limit check

There are three kinds of limit violations which lead to different status qualities (see Table 73).
The direction of the violation is signalized by the limit bits.

Table 73 Kinds of limit violations and resulting status

Limit Resulting Status Quality


Process limits exceeded Good
Out of spec: specified device operating range of the device exceeded Uncertain
Sensor problem: physical range of the sensor exceeded Bad

In case of process limit violations the kind of violation is signalized not only by the limit bits but
by a specific GOOD status according to the Table 74.

Table 74 Effect of process limit violations on Status

Limit Violation Parameter of Function Block Indication within Status


High warning limit HI_LIM GOOD advisory alarm, high limit
High alarm limit HI_HI_LIM GOOD critical alarm, high limit
Low warning limit LO_LIM GOOD advisory alarm, low limit
Low alarm limit LO_LO_LIM GOOD critical alarm, low limit

5.3.4.2.2.3 Condensed status codes restricted to NE 107

Table 75 shows the NE 107 related subset of condensed status codes.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 74

Table 75 Coding of the Status restricted to NE 107

Description
Usage in
according to Coding Description according to Profile
PCS/DCS
NE 107

Quality Quality Limits


Substatus
Failure =0x24 BAD maintenance alarm, more
Failure 0 0 1 0 0 1 x x
(F) 0x27 diagnosis available
Check =0x3C BAD function check / local
Failure 0 0 1 1 1 1 x x
(C) 0x3F override
Out of UNCERTAIN process related, no
=0x78
Specification Uncertain 0 1 1 1 1 0 x x maintenance
0x7B
(S) (limit check refer to 5.3.4.2.2.2)
GOOD maintenance required /
Maintenance 0 1 =0xA4
Good 1 0 1 0 x x demanded
(M) 1 0 0xAB
(limit check refer to 5.3.4.2.2.2)

The coding of the limit violation is shown in Table 76. Update event is set if a parameter with
attribute Store = S has been changed.

Table 76 Coding of limit checks / update events in case of Status GOOD

Description
Usage in Description according to
according to Coding
PCS/DCS Profile
NE 107

Quality Quality Limits


Substatus
Good (G) Good 1 0 0 0 0 0 0 0 =0x80 GOOD ok
=0x84
Good (G) Good 1 0 0 0 0 1 x x GOOD update event
0x87
GOOD advisory alarm, low
Good (G) Good 1 0 0 0 1 0 0 1 =0x89
limit
GOOD advisory alarm, high
Good (G) Good 1 0 0 0 1 0 1 0 =0x8A
limit
Good (G) Good 1 0 0 0 1 1 0 1 =0x8D GOOD critical alarm, low limit
Good (G) Good 1 0 0 0 1 1 1 0 =0x8E GOOD critical alarm, high limit

5.3.4.2.2.4 Condensed status codes with detailed information

Diagnostic events can be mapped to more values than the values of NE 107 as described in
5.3.4.2.2.3. This allows access to more detailed information about the quality of the process
value. The usage of this detailed information in a maintenance station enables optimization of
maintenance cycles and predictive maintenance. The mapping of a diagnosis event to a
particular status value is described in 5.2.3.21.

Table 77 shows the coding of the condensed status with detailed information. An additional
column describes the usage of the status value in a maintenance station. Therefore the status
signal Maintenance is refined and split into 3 more specific grades:

Maintenance alarm
Maintenance required
Maintenance demanded

The values of 5.3.4.2.2.3 are a subset of the status values in Table 77 (refer to lines written in
bold letters) and Table 78.

Table 77 Coding of the condensed Status with detailed information

Descripti Usage in Coding Description according to


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 75

on Profile
accordin Mainte-
g PCS/DCS nance
to NE 107 Station

Quality Quality
Limits
(BAD) Substatus
Failure (F) Failure Failure 0 0 0 0 0 0 0 0 =0x00 BAD non specific(*)
Passivate BAD passivated (diagnostic
Failure (F) Good 0 0 1 0 0 0 1 1 =0x23
d alerts inhibited)
Mainte-
Failure =0x24 BAD maintenance alarm,
Failure nance 0 0 1 0 0 1 x x
(F) 0x27 more diagnosis available
alarm
=0x28 BAD process related, no
Failure (F) Failure Good 0 0 1 0 1 0 x x
0x2B maintenance
Function Function =0x3C BAD function check / local
Check (C) 0 0 1 1 1 1 x x
Check Check 0x3F override; value not usable
Quality
Quality
(UNCE Limits
Substatus
RTAIN)
Mainte-
Failure (F) Uncertain nance 0 1 0 0 1 0 1 1 =0x4B UNCERTAIN substitute set
Alarm
Failure (F) Uncertain Good 0 1 0 0 1 1 1 1 =0x4F UNCERTAIN initial value
Mainte- UNCERTAIN maintenance
Mainte- =0x68
Uncertain nance 0 1 1 0 1 0 x x demanded (limit check refer to
nance (M) 0x6B
demanded 5.3.4.2.2.2)
Function UNCERTAIN simulated value,
Check (C) Uncertain 0 1 1 1 0 0 1 1 =0x73
Check start*
UNCERTAIN simulated value,
=0x74
Check (C) Uncertain Good 0 1 1 1 0 1 x x end (limit check refer to
0x77
5.3.4.2.2.2)
Out of UNCERTAIN process related,
=0x78
specifi- Uncertain Good 0 1 1 1 1 0 x x no maintenance (limit check
0x7B
cation (S) refer to 5.3.4.2.2.2)
Quality Quality
Limits
(GOOD) Substatus
=0x80 GOOD (limit check / update
Good (G) Good Good 1 0 0 0 x x x x
0x8E event refer to 5.3.4.2.2.2)
GOOD initiate fail safe
(command for input parameter of
=0xA0
Good (G) Good Good 1 0 1 0 0 0 x x output FBs, not relevant for
0xA3
transmitter) (limit check refer to
5.3.4.2.2.2)
Mainte- GOOD maintenance required
Mainte- =0xA4
Good nance 1 0 1 0 0 1 x x (limit check refer to
nance (M) 0xA7
required 5.3.4.2.2.2)
Mainte-
GOOD maintenance
Mainte- nance =0xA8
Good 1 0 1 0 1 0 x x demanded (limit check refer to
nance (M) demande 0xAB
5.3.4.2.2.2)
d
Function =0xBC GOOD function check (limit
Good (G) Good 1 0 1 1 1 1 x x
Check 0xBF check refer to 5.3.4.2.2.2)
(*) provided by a proxy only, not by the device itself

Table 78 Description of the condensed Status with detailed information

Status Description (NE 107) Description


BAD non specific Failure (F) Proxy determines that a device does not communicate.
BAD passivated (diagnostis Failure (F) Configured fail safe value is used accompanied by this
alerts inhibited) status. No further Diagnosis Events are mapped to the
Slave_Diag service.
Input Function Blocks: Generated by the mode and status
handling of the block. Affecting the status of the parameters
with attributes cyc, O only (behind fail safe logic).
Output Function Blocks: Affecting the status of the
parameters with attributes O only.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 76

Status Description (NE 107) Description


BAD maintenance alarm, Failure (F) No measurement available because of a failure.
more diagnosis available The detailed diagnostic can be indicated with manufacturer
specific defined bits in the DIAGNOSIS_EXTENSION
parameter, manufacturer specific parameters or/and by
means of the appropriate tool.
BAD process related, no Failure (F) No measurement available because of invalid process
maintenance conditions.
Hint: This status shall soonest be generated at a cyclic
output when the condition remains longer than a tolerable
time where the status can be signalized as good. Not for
short events.
BAD function check / local Check (C) Actuator: Status to be activated if a user controls an
override, value not usable actuator. Indication of FB AO mode crossover to MAN or LO
in READBACK(_D) and POS_D.
Transmitter / Analyzer: During cleaning or calibration
process
UNCERTAIN substitute set Failure (F) Output of fail safe logic only.
Input Function Blocks: Caused by a PV or simulated
value with status BAD -maintenance alarm, more diagnosis
available or BAD -function check. Concerns Status of
Output parameters.
Output Function Blocks: Caused by a communication loss
or initiate fail safe state. Concerns status of output
parameters as OUT(_D).
UNCERTAIN initial value Failure (F) Default value as long as no measured value is available or
until a diagnostic is made that affects the value and its
according status.
UNCERTAIN maintenance Maintenance (M) Usability of the process value depends on the application.
demanded (Priority high) Value is potentially invalid. Cause is a wear detected in the
device or on its armatures. Short-term Maintenance is
needed to guarantee the availability.
UNCERTAIN simulated Check (C) Indicates the start of a simulation (value flow from the
value, start device to the DCS).
Transmitter: Simulation of a measured value or Input FB
mode changes from AUTO to MAN.
Actuator: Status is not used by Actuators. Simulation of a
measured value is indicated in the CHECKBACK parameter.
Can be detected by the DCS driver if a flip flop is
integrated.
An engineering tool should register or track the simulation
and mode parameters whether simulation is active.
This status remains active for at least 10 seconds
- after enabling the simulation,
- after setting the FB to a MAN mode,
- after a restart (e.g. power down cycle) if the
simulation is enabled or the FB is in MAN mode,
- after passivation is cleared if the simulation is
enabled or the FB is in MAN mode.
In MAN mode the status remains until a subsequent write
command overwrites the OUT value after the 10 seconds
are expired.
In case of simulation mode the written status is buffered
and appears in the value flow after 10 seconds. However
the new written SIMULATE parameter with its status can be
read out before the 10 seconds will expire.
UNCERTAIN simulated Check (C) Indicates the end of a simulation (value flow from the
value, end device to the DCS).
Transmitter: Simulation of a measured value is disabled
or Input FB mode changes from MAN to AUTO.
Actuator: Status is not used by Actuators. Simulation of a
measured value is indicated in the CHECKBACK parameter.
Can be detected by the DCS driver if a flip flop is
integrated.
This status remains active for 10 seconds after simulation
end.
While this status is active there is no reliable process value.
Measured values and their status are updated afterwards.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 77

Status Description (NE 107) Description


UNCERTAIN process Out of Specification The process conditions are out of the specified operating
related, no maintenance (S) range of the device. The value may have reduced quality or
reduced accuracy.
Usability of the process value depends on the application.
This status shall soonest be generated at a cyclic output
when the condition remains longer than a tolerable time
where the status can be signalized as good. Not for short
events.
In addition status is used as output of fail safe logic caused
by a PV or a simulated value with status "bad - process
related, no maintenance.
GOOD ok - See 5.3.2
GOOD update event - Contrary to 5.3.2, this status remains active for 20 seconds.
The duration is enlarged to ensure the signalization in case
of a simulation end which has higher priority. So the
PCS/DCS gets simulation end for 10 seconds and 10
seconds update event afterwards.
GOOD active advisory See 5.3.2
alarm
GOOD active critical alarm See 5.3.2
GOOD initiate fail safe See 5.3.2
GOOD maintenance Maintenance (M) Value is valid. Maintenance is recommended within a
required (Priority low) medium-term period.
GOOD maintenance Maintenance (M) Value is valid. Maintenance is strongly recommended within
demanded (Priority high) a short-term period.
GOOD function check Device performs internal function check without influencing
distinctly the process. Value is valid.
GOOD (Cascade) ok See 5.3.2
GOOD (Cascade) See 5.3.2
initialization acknowledged
GOOD (Cascade) See 5.3.2
initialization request
GOOD (Cascade) not See 5.3.2
invited
GOOD (Cascade) local See 5.3.2
override
GOOD (Cascade) initiate See 5.3.2
fail safe

5.3.4.3 Use of Status

5.3.4.3.1 General

Table 79 shows the status from lowest to highest priority. When multiple conditions exist in the
device which may impact the status, the condition having the highest priority will determine the
status. The status will be set if the according event occurs and will be reset to the next lower
prior status if the event is gone.

Table 79 Priority of Status

Priority Quality Substatus


Lowest GOOD (NC) ok
GOOD (NC) maintenance required
GOOD (NC) maintenance demanded
GOOD (NC) function check
GOOD (NC) update event
GOOD (NC) active advisory alarm
GOOD (NC) active critical alarm
GOOD (NC) initiate fail safe
UNCERTAIN initial value
UNCERTAIN process related, no maintenance
UNCERTAIN maintenance demanded
UNCERTAIN substitute set
BAD process related, no maintenance
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 78

Priority Quality Substatus


BAD maintenance alarm, more diagnosis available
UNCERTAIN simulated value, end
UNCERTAIN simulated value, start
BAD function check / local override
Highest BAD passivated (diagnostic alerts inhibited)

5.3.4.3.2 Enabling condensed status and diagnostic messages

5.3.4.3.2.1 General

There are 2 types of devices concerning diagnosis and status behavior:

Devices which support condensed status and condensed diagnostic messages only
Devices which can be switched between classic and condensed status and diagnostic
messages

5.3.4.3.2.2 Devices which support condensed status and condensed diagnostic


messages only

A device of that kind shall have a FEATURE parameter and shall indicate the support of this
feature. Condensed status and condensed diagnostic messages are enabled hard coded.

Mandatory for new devices. Optional for new generations of existing devices.

5.3.4.3.2.3 Devices which can be switched between both behaviors

A device of that kind shall have a FEATURE parameter and shall indicate the support of this
feature.

Optional for new generations of existing devices.

The following mechanism is used to synchronize the engineering tool and the DCS driver
(cyclic status and acyclic status).

The device has a COND_STATUS_DIAG parameter that indicates whether the condensed
status and the condensed diagnostic messages are enabled or not. The configuration is
determined by the parameterization by a tool, by an active data exchange and by the Set_Prm
service parameter PRM_COND.

Table 80 Conditions for enabling condensed status and diagnosis

PRM_COND (**) Data Result FEATURE Enabled


COND_STATUS_DIAG
(Set_Prm) Exchange COND_STATUS_DIAG Condensed_Status
0 * no 0 0
1 * no 1 1
* 0 * 0 0
* 1 * 1 1
* do not care / not available
(**) Bit information described in the mapping subclause, see 6.3.3.4.2 and 6.7

An acyclic write access to the COND_STATUS_DIAG parameter during data exchange is


denied with the DPV1 error Access - state conflict if the written value of
COND_STATUS_DIAG is different from the actual one.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 79

5.3.4.3.3 Additional Physical Block definitions

5.3.4.3.3.1 Passivation

The Actual Mode of the whole device can be set into mode O/S (out of service) by writing the
Physical Blocks Target Mode = O/S. All FBs of the device will go into the Actual Mode = O/S
(additional condition for a transition of the state machines). The FBs Target Mode is not
affected. The primary outputs with attributes cyc/O carry the status BAD passivated.
Transducer Blocks are not affected (see Table 81).

Table 81 Interrelation between the Physical Block and Function Blocks

Condition Result
Physical Function Function Status Status
Block Block Block
(Transducer Input FB: OUT(_D)
Target Mode Target Mode Actual Mode Input) Output FB: Readback(_D) / POS_D
<>O/S O/S O/S * BAD passivated
<>O/S AUTO / RCAS AUTO / RCAS BAD Influenced by the parameter FSAFE_TYPE valid
for input Function Blocks
<>O/S AUTO / RCAS AUTO / RCAS <>BAD Influenced by the following parameters:
- PV Sub status
- Alarms (ST_REV, Limits)
- internal Block conditions
- Priority table of status (see General
Requirements)
<>O/S MAN MAN * UNCERTAIN simulated value, start (Only Input
FBs)
Status can be overwritten by the operator
O/S * O/S * BAD passivated
(The copying of the DIAGNOSIS and
DIAGNOSIS_EXTENSION parameter content to
the PROFIBUS DP Slave_Diag service is
stopped.)
* don't care

Any diagnostic alert in form of a Slave_Diag service has to be frozen as long as the Actual
Mode of the Physical Block is O/S. But the device internal diagnosis functions remain active
and the parameters DIAGNOSIS and DIAGNOSIS_EXTENSION are updated.

If the Actual Mode of the Physical Block changes from O/S into another mode, the FBs of the
device change according to their state machines.

Only the Physical Block parameter Actual Mode = O/S influences the Function Blocks.

Every single Function Block can individually be switched into mode O/S as known and deliver
the status BAD passivated as well.

A single Function Block can be passivated by changing the ACTUAL_MODE parameter to O/S.
The DIAGNOSIS and DIAGNOSIS_EXTENSION are updated. The Slave_Diag service is not
frozen, i.e. the diagnosis events of the unpassivated Function Blocks and their Transducer
Blocks are published to master class 1.

5.3.4.3.3.2 DIAGNOSIS

One of the DIAGNOSIS bits has to be set if a diagnostic event occurred. Not more than one bit
is to be set for a single diagnostic event. Different diagnostic events can lead to different
diagnostic bits set. Independently the bit EXTENSION_AVAILABLE shall be set if there is more
information available (at least one bit set) in the parameter DIAGNOSIS_EXTENSION (see
Table 82).
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 80

Table 82 Physical Block parameter DIAGNOSIS coding if condensed status is enabled

Ext_Diag
Indication
Octet Bit DIAGNOSIS Mnemonic Description Bit to be
Class
set
1 0 reserved by PI, fixed to 0
1 reserved by PI, fixed to 0
2 reserved by PI, fixed to 0
3 reserved by PI, fixed to 0
4 reserved by PI, fixed to 0
5 reserved by PI, fixed to 0
6 reserved by PI, fixed to 0
7 reserved by PI, fixed to 0
2 0 reserved by PI, fixed to 0
1 reserved by PI, fixed to 0
2 reserved by PI, fixed to 0
3 DIA_WARMSTART Should be set after power-on or A no
after FACTORY_RESET = 2506 has
been executed.
4 DIA_COLDSTART Should be set after A no
FACTORY_RESET = 1 has been
executed.
5 DIA_MAINTENANCE Maintenance required R no
6 reserved by PI, fixed to 0
7 IDENT_NUMBER_VIOLATION Set to 1 (one), if the Ident_Number R no
of the running cyclic data transfer
and the value of Physical Block
IDENT_NUMBER_SELECTOR
parameter do not correspond. If
IDENT_NUMBER_SELECTOR =
127 (adaption mode) then the
DIAGNOSIS bit
IDENT_NUMBER_VIOLATION is
cleared / not set.
3 0 DIA_MAINTENANCE_ALARM Failure of the device or armature R yes
1 DIA_MAINTENANCE_DEMANDED Maintenance demanded R no
2 DIA_FUNCTION_CHECK Device is in function check mode or R no
in simulation or under local control
e.g. maintenance
3 DIA_INV_PRO_COND The process conditions do not allow R no
to return valid values. (Set if a
value has the quality Uncertain -
Process related, no maintenance or
Bad - Process related, no
maintenance
4 ... 7 reserved reserved by PI, fixed to 0
4 0 ... 6 reserved reserved by PI, fixed to 0
7 EXTENSION_AVAILABLE 0: There is no more information
available
1: More diagnosis information is
available in
DIAGNOSIS_EXTENSION
R Indication, remains active as long as the reason for the message exists.
A Indication, will automatically be reset after 10s.

Most of the bits of DIAGNOSIS are conceived as cumulative diagnostic events. This means
that diagnostic events should be clustered in one class related to the following DIAGNOSIS
bits:

DIA_MAINTENANCE_ALARM
DIA_MAINTENANCE_DEMAND
DIA_MAINTENANCE
DIA_FUNCTION_CHECK
DIA_INV_PRO_COND
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 81

5.3.4.3.3.3 DIAGNOSIS_EXTENSION

Detailed and device specific diagnostic flags should be located in the Physical Block parameter
DIAGNOSIS_EXTENSION. One of the bits in DIAGNOSIS_EXTENSION has to be set if a
diagnostic event occurred. Not more than one bit should be set for one diagnostic event.
Different diagnostic events can lead to different diagnostic bits set.

The bits in DIAGNOSIS_EXTENSION should identify the cause of the diagnostic event. The
bits in DIAGNOSIS_EXTENSION are related to one of the DIAGNOSIS clusters above. If only
information is provided in DIAGNOSIS_EXTENSION there is no related bit in DIAGNOSIS.

5.3.4.3.3.4 Additional definition to the EXT_DIAG bit of the Slave_Diag service

The EXT_DIAG bit of the Station_Status_1 in the Slave_Diag response PDU should only be set
to one if a failure is current but should not be set if only maintenance is required or demanded
(see Table 82).

5.3.4.4 Additional definitions to data sheet transmitter

5.3.4.4.1 Simulation

5.3.4.4.1.1 Actual Mode MAN / Simulation of the OUT parameter

With the change-over of an AI into MAN the status UNCERTAIN simulated value start,
constant is settled in the OUT parameter until the operator is overwriting the OUT parameter by
a subsequent write command. If the OUT parameter is written within the first 10 s after the
change over the new OUT parameter contents is buffered and becomes visible after the 10
seconds period has elapsed. Figure 14 shows the timing diagram around MAN mode.

The diagnosis bit DIA_FUNCTION_CHECK is to be set with the change over of ACTUAL
MODE to MAN. The transducer value has no influence on the OUT parameter in MAN mode
because the signal path is interrupted.

With the change over from actual mode MAN into actual mode AUTO the status UNCERTAIN
simulated value end is settled in the OUT parameter for 10 seconds. After that period, the
measured value is updated and the according status is delivered. Additionally the
DIA_FUNCTION_CHECK is reset if no other condition for this bit is active in the device. If there
is no higher prior status GOOD update event is visible for the next 10 seconds.

With the change over from actual mode MAN into actual mode O/S the status changes
according to the status handling of MODE O/S immediately. Additionally the
DIA_FUNCTION_CHECK is reset if no other condition for this bit is active in the device.

If the change over from actual mode MAN to the actual mode AUTO takes place within the first
10 s period the status changes to UNCERTAIN simulated value end immediately. After that
period, the measured value is updated and the according status is delivered. Additionally the
DIA_FUNCTION_CHECK is reset if no other condition for this bit is active in the device. If there
is no higher prior status GOOD update event is visible for the next 10 seconds.

If the change over from actual mode MAN to the actual mode O/S takes place within the first
10 s period the status changes according to the status handling of MODE O/S immediately.
Additionally the DIA_FUNCTION_CHECK is reset if no other condition for this bit is active in
the device.

If a device starts up in actual mode MAN the OUT status is UNCERTAIN simulated value start
until a new status is written by the operator or the MODE change over to AUTO or O/S. The
OUT value is device specific.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 82

The OUT parameter status UNCERTAIN-simulated value end is rejected with the negative
respone out of range.

An update event is not signaled via the status when MAN or simulation is entered.

TARGET_MODE = MAN

MODE_BLK - Actual = MAN

DIAGNOSIS Device DIA_FUNCTION_CHECK = 1 Device

Write protection of
OUT parameter

As calculated
OUT - Value Last valid value Written by operator As calculated by the block
by the block

OUT - Status Device Simulation start Written by operator Simulation end Update event Device

10 s 10 s 10 s

Figure 14 Timing diagram around MAN mode

5.3.4.4.1.2 Simulation of the analog input value

With the change over from SIMULATE_ENABLE = 0 to 1 the device covers the written simulate
status with the status UNCERTAIN simulated value start, constant despite what status was
written. This status has higher priority and will pass the fail safe logic without modification. The
written status is buffered and becomes active after 10 seconds. However the written
SIMULATE parameter with its status can be read before the 10 seconds will expire. After
simulation has been enabled for at least 10 seconds status modifications by subsequent write
accesses become visible immediately. Figure 15 shows the timing diagram.

The diagnosis bit DIA_FUNCTION_CHECK is to be set after the SIMULATION parameter


ENABLE becomes TRUE and until the end of OUT status UNCERTAIN simulation end is
enabled and DIA_FUNCTION_CHECK is reset if no other condition for this bit is active in the
device.

The element Simulate_Status of the SIMULATION parameter has to reject the value
UNCERTAIN-simulated value end with the negative response out of range.

With a change-over from SIMULATE_ENABLE = 1 to 0 the status UNCERTAIN simulated


value end is settled in the OUT parameter for 10 seconds by the device. After that period, the
measured value is updated and the according status is delivered. If there is no higher prior
status GOOD update event is visible for the next 10 seconds.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 83

Figure 15 Timing diagram around simulation

5.3.4.4.2 Function check / local override

If the device performs a calibration, cleaning phase, test phase or similar this shall be indicated
with BAD function check / local override, constant or GOOD function check / local override,
constant in the status of TB while this device state is active. This status is provided to the
connected FB.

All input Function Blocks have the possibility that the user can deactivate the fail safe
mechanism. This is useful to propagate the function check status information to the output
value of the Function Block.

Manual mode and simulation in the FB have higher priority than function check.

5.3.4.4.3 AI FB state machine

Changes in the state machine of the AI FB are defined in Table 81.

The fail safe mechanism affects the status evaluation of Input Function Blocks according to
Table 83.

Table 83 Evaluation of the Status of input Function Blocks by the fail safe mechanism

Input Result

State before Fail Safe FSAFE_TYPE 0 FSAFE_TYPE 1 FSAFE_TYPE 2


Mechanism (FB-Input) (Failsafe Value) (Last usable value) (wrong calculated value)
BAD non specific (not - - -
generated by the device)

BAD passivated BAD passivated, BAD passivated, BAD passivated,


constant constant constant
BAD maintenance alarm UNCERTAIN substitute UNCERTAIN substitute BAD maintenance alarm
set set (*)
BAD process related UNCERTAIN process UNCERTAIN process BAD process related
related related
BAD function check UNCERTAIN substitute UNCERTAIN substitute BAD function check
set set (*)
(*) UNCERTAIN initial value shall be used if no usable value is available, e.g. if the failure is detected
immediately after power-up

5.3.4.4.4 Totalizer FB status calculation

Table 84 shows the status calculation if the condensed status is used.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 84

Table 84 Status calculation for Totalizer Function Block with condensed status

Conditions Result

Actual FB SET_TOT MODE_TOT Status (Input) FAIL_TOT Total Status


Mode conditions
Quality Quality Quality Quality Limits
SubStatus SubStatus
O/S * * * * * * BAD passivated const
MAN * * * * * * see 5.3.4.4.1.1
AUTO failure * * * * * BAD maintenanc ok
e.g. e alarm
hardware
defect or
Invalid
parameter
set (***)
AUTO ok RESET * * * * UNCERTAIN initial value const
PRESET
AUTO ok TOTALIZE HOLD * * * last status frozen before const
MODE_TOT set to
HOLD
AUTO ok TOTALIZE BALANCED GOOD * * influenced (device specific) by
POS_ONLY UNCERTAI - PV SubStatus
NEG_ONLY N - update event
- limit check
- priority table of status (see GR)
AUTO ok TOTALIZE BALANCED BAD <> MEMORY UNCERTAIN substitute ok (**)
POS_ONLY passivated set
NEG_ONLY
AUTO ok TOTALIZE BALANCED BAD <> RUN BAD STATUS ok
POS_ONLY passivated (input)
NEG_ONLY Quality
SubStatus
AUTO ok TOTALIZE BALANCED BAD <> HOLD BAD STATUS const
POS_ONLY passivated (input)
NEG_ONLY Quality
SubStatus
AUTO ok TOTALIZE BALANCED BAD passivated * BAD passivated const
POS_ONLY
NEG_ONLY
* no influence (do not care)
(**) limit might be changed to high limited or low limited according to the Totalizer Limit Check
(***) e.g. inconsistency between unit class of the transducer output and the UNIT_TOT of the totalizer.

The values and status of the TOTAL parameter in dependency on the ACTUAL_MODE MAN is
set equivalent to the value and status of the AI FB OUT parameter (see 5.3.4.4.1.1).

5.3.4.5 Additional definitions to data sheet Discrete Input

5.3.4.5.1 Simulation

5.3.4.5.1.1 Actual Mode MAN / simulation of the OUT_D parameter

The values and status of the OUT_D parameter in dependency on the ACTUAL_MODE MAN is
set equivalent to the value and status of the AI FB OUT parameter (see 5.3.4.4.1.1).

The timing diagram is similar to Figure 14.

5.3.4.5.1.2 Simulation of the discrete input value


Equal to 5.3.4.4.1.2 except that the OUT parameter is replaced by OUT_D for discrete input
blocks.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 85

5.3.4.5.2 Function check / local override

If the device performs a calibration, cleaning phase, test phase or similar this shall be indicated
with BAD function check / local override, constant or GOOD function check / local override,
constant in the status of OUT_D while this device state is active.

5.3.4.5.3 DI FB state machine


Changes in the state machine of the DI FB are defined in Table 81.
The fail safe mechanism affects the status evaluation of Input Function Blocks as described in
Table 83.

5.3.4.6 Additional definitions to data sheet Discrete Output

5.3.4.6.1 Status of READBACK_D

The return values carry the status of the whole loop. If there is a diagnostic event in the
Transducer Block or in the device affecting the output, the status of READBACK_D indicate a
failure, maintenance request and so on despite the measurement of the actual position is of
good quality.

5.3.4.6.2 Function check / local override

If an actuator device is under local control (LO), set to MAN mode, is running an initialization
phase, test phase or similar this shall be indicated with BAD function check / local override,
constant in the status of READBACK_D.

5.3.4.6.3 DO FB state machine

Changes in the state machine of the DO FB are defined in Table 81.

5.3.4.7 Additional definitions to data sheet Actuator

5.3.4.7.1 Status of READBACK and POS_D

The return values carry the status of the whole loop. If there is a diagnostic event in the
Transducer Block or in the device affecting the actuator, the status of READBACK and POS_D
indicate a failure, maintenance request and so on despite the measurement of the actual
position is of good quality.

5.3.4.7.2 Function check / local override

If an actuator device is under local control (mode LO), set to mode MAN, running an
initialization phase, test phase or similar this shall be indicated with BAD function check /
local override, constant in the status of READBACK and POS_D.

5.3.4.7.3 AO FB state machine

Changes in the state machine of the AO FB are defined in Table 81.

5.4 Parameter transaction

5.4.1 Overview

A parameter transaction is a sequence of write services to transfer a coherent data set to a


device. The mechanism is parameter orientated. It is possible to transfer view objects or other
parameters. The amount of communicated parameters during a transaction depends on the
case of operation. It is possible to communicate all device parameters or only a subset. The
consistency check between device parameters might be deactivated during the transaction
sequence.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 86

A device rejects to activate a parameter transaction if the device is in write protected mode.
The refusal occurs for a write protect mechanism via software or hardware.

After having started a parameter transaction a change of the state of the write protection
(protected or unprotected) does not influence the advancement of the transaction. This
definition is valid for a write protect mechanism activated via software or hardware.

5.4.2 Transaction parameter description

5.4.2.1 Parameter of parameter transaction

Table 85 specifies the the parameter for the parameter transaction.

Table 85 Parameter description for the parameter transaction

Parameter Description
PTA_OP_CODE Control parameter for the parameter transaction functionality.
0: PTA_PASSIVE
no action (default value)
1: PTA_START_STRICT
Start of a parameter transaction using the strict mode (100% compatibility of
downloaded data set).
2: PTA_START_SMOOTH
Start of a parameter transaction using the smooth mode (incompatibilities do
not lead to stop of download but are indicated to the host).
3: PTA_ABORT
Abort of a parameter transaction (stop of transaction and activation of the
previous data set). Only valid for devices with separate transaction data buffer.
Devices without separate transaction data buffer have to reject this command
(error code: invalid range).
4: PTA_TERMINATE
End of a parameter transaction. The master indicates that all data for the
transaction have been communicated. The device starts to verify the
transaction data set.
5: PTA_CONFIRM
User confirmation of partial incompatibilities or wrong data sets.
6 ... 127: reserved by PI
128 ... 249: manufacturer specific
250 ... 255: reserved by PI
PTA_STATUS Status information about the current state of the transaction sequence and device
data validity.
0: reserved
1: STPTA_TA_ACTIVE
A transaction is currently active.
2: STPTA_VERIFICATION
A verification of the transaction data set is active (function check).
3: STPTA_DATA_COMVALID
The data set is completely valid (consistent).
4: STPTA_DATA_NOTVALID
The data set is not valid (not consistent). The data set does not allow the start
of the intended operation.
5: STPTA_DATA_PARVALID
The data set is potentially, only partially valid (consistent). This status is
supported in cases of using the smooth mode (starting the transaction with
PTA_START_SMOOTH).
6 ... 127: reserved by PI
128 ... 249: manufacturer specific
250 ... 255: reserved by PI
During the initial start-up the device verifies the device parameters and calculates the parameter PTA_STATUS.
The time duration for the verification of the parameters depends for example of the amount of relevant parameters,
the complexity of the relations between the parameters and the device performance.

5.4.2.2 Smooth mode

Using the smooth mode a device can respond to any write service with a positive acknowledge
(reception acknowledge). It is a valid device behaviour that the parameter consistency is not
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 87

checked during transaction phase. A device can ignore invalid values. In case of structured
parameters the invalid or unknown elements can be ignored and the valid elements shall be
accepted. This procedure is intended to avoid the host to stop the parameter transaction
sequence.

EXAMPLE
In cases of communicating structured parameters (for example: view objects) a special handling is possible.
Unknown elements of parameters can be discarded (for example: unknown code of an enumeration) and known
elements can be assigned. The device responds with a positive acknowledge to the write request although not all
parameter elements are resumed.

5.4.2.3 Strict mode

Using the strict mode a device shall respond to any write service with a respective
acknowledge (positive or negative response). The validity of parameter values shall be
checked immediately by the device. During transaction phase the consistency is not checked.

5.4.3 Parameter transaction attributes

Table 86 Parameter attributes for the parameter transaction

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

Parameters of the Physical Block


n (*) PTA_OP_CODE Simple Unsigned8 D 1 r,w C/a - 0 O (B)
n+1 PTA_STATUS Simple Unsigned8 N 1 r C/a F - O (B)
Parameters of the Physical Block

(*) Parameters shall be located in the Physical Block. Relative Index n is manufacturer specific.

Table 87 shows the status handling for process values in dependency of the transaction status
(PTA_STATUS).

Table 87 Status handling for process values in dependency of the transaction status
(PTA_STATUS)

PTA_STATUS Measurement Measurement Measurement Measurement


status with status with status without status without
condensed status condensed status condensed status condensed status
with multiple with single with multiple with single
parameter buffer parameter buffer parameter buffer parameter buffer
STPTA_TA_ACTIVE Not influenced Bad - Function Not influenced Bad O/S
check

STPTA_VERIFICATION Not influenced Bad - Function Not influenced Bad O/S


(function check) check

STPTA_DATA_COMVALID Not influenced Not influenced Not influenced Not influenced

STPTA_DATA_PARVALID Not influenced Bad - Function Not influenced Bad - O/S


check

STPTA_DATA_NOTVALID Bad - Maintenance Bad - Maintenance Bad - Config Error Bad - Config Error
alarm alarm

5.4.4 Function definitions

Table 88 shows the function definitions for the parameter transaction.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 88

Table 88 Function definitions for parameter transaction

Function Name Description


isDatasetValid() This function checks if a data set is valid.
If the data set is valid (consistent) then it returns TRUE.
If the data set is not valid (consistent) then it returns FALSE.
If the data set is partially valid (consistent) then it returns PARTIALLY (only if
smooth mode is active).
DiagEventPartValidDisappears() This function deletes the diagnosis event that the transaction data set is only
partially valid (consistent).
This function can be used for recalculation of the measurement status of the
Function Blocks.
setDatasetInUse(dataSet) This function activates the data set for the application.
dataset = oldDataset (original data before the transaction)
dataset = newDataset (new data communicated with the last transaction)
isSmoothModesup() This function indicates if a device supports the smooth mode:
if the device supports the smooth mode then it returns TRUE.
if the device does not support the smooth mode then it returns FALSE.

5.4.5 State machine for the parameter transaction

5.4.5.1 General

Subclause 5.4.5 describes the state machine for the parameter transaction functionality. The
mechanism distinguishes between 2 different variations. The difference is the quantity of
available transaction and active buffers. The data of the active data buffer are, for example, the
base for executing the Function Block algorithm.

A single buffer device offers only one buffer for handling of the transaction and active device
data.

A multiple buffer device uses separated buffers for the management of the transaction data
and the activated data. This allows the device to execute the Function Block algorithm without
any restrictions during a transaction sequence. The data base for the calculation of the
algorithm of the Function Blocks is independent of the data buffer used during the parameter
transaction.

5.4.5.2 State table for devices supporting only a single buffer mechanism

Table 89 shows the state table of a parameter transaction for devices supporting a single
buffer mechanism.

Table 89 State table of a parameter transaction for devices supporting a single buffer
mechanism

# Current PTA State Event/Condition Next State


=> Action
1 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
2 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_DATA_COMVALID
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
3 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
4 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_DATA_COMVALID
=>
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 89

# Current PTA State Event/Condition Next State


=> Action
Error Code := invalid range
Write.rsp (-)
5 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_DATA_COMVALID
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
6 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_DATA_COMVALID
=>
Error Code := state conflict
Write.rsp (-)
7 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
Error Code := state conflict
Write.rsp (-)
8 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
9 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
Error Code := state conflict
Write.rsp (-)
10 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_TA_ACTIVE
=>
Error Code := invalid range
Write.rsp (-)
11 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_TERMINATE)
=>
12 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_TA_ACTIVE
=>
Error Code := state conflict
Write.rsp (-)
13 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_START_STRICT)
=>
Error Code := state conflict
Write.rsp (-)
14 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
15 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
Error Code := state conflict
Write.rsp (-)
16 STPTA_VERIFICATION Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_VERIFICATION
=>
Error Code := invalid range
Write.rsp (-)
17 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
18 STPTA_VERIFICATION Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_VERIFICATION
=>
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 90

# Current PTA State Event/Condition Next State


=> Action
Error Code := state conflict
Write.rsp (-)
19 STPTA_VERIFICATION isDatasetValid()=TRUE STPTA_DATA_COMVALID
=>
20 STPTA_VERIFICATION isDatasetValid()=FALSE STPTA_DATA_NOTVALID
=>
21 STPTA_VERIFICATION isDatasetValid()=PARTIALLY STPTA_DATA_PARVALID
(only for devices which =>
support smooth mode)
22 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
23 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_DATA_NOTVALID
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
24 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
25 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_DATA_NOTVALID
=>
Error Code := invalid range
Write.rsp (-)
26 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_DATA_NOTVALID
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
27 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_DATA_NOTVALID
=>
Error Code := state conflict
Write.rsp (-)
28 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
(only for devices which PTA_START_STRICT)
support smooth mode) =>
29 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_DATA_PARVALID
(only for devices which PTA_START_SMOOTH) &&
support smooth mode) (isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
30 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
(only for devices which PTA_START_SMOOTH) &&
support smooth mode) (isSmoothModesup() = TRUE)
=>
31 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_DATA_PARVALID
(only for devices which =>
support smooth mode) Error Code := invalid range
Write.rsp (-)
32 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_DATA_PARVALID
(only for devices which PTA_TERMINATE)
support smooth mode) =>
Error Code := state conflict
Write.rsp (-)
33 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_DATA_COMVALID
(only for devices which =>
support smooth mode) DiagEventPartValidDisappears()
34 any Write.req(PTA_OP_CODE=PTA_PASSIVE same
=>
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 91

5.4.5.3 State table for devices supporting a multiple buffer mechanism

Table 90 shows the state table of a parameter transaction for devices supporting a multiple
buffer mechanism.

Table 90 State table of a parameter transaction for devices supporting a multiple buffer
mechanism

# Current PTA State Event/Condition Next State


=> Action
1 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
dataset := oldDataset
2 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_DATA_COMVALID
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
3 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
dataset := oldDataset
4 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_DATA_COMVALID
=>
Error Code := state conflict
Write.rsp (-)
5 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = STPTA_DATA_COMVALID
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
6 STPTA_DATA_COMVALID Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_DATA_COMVALID
=>
Error Code := state conflict
Write.rsp (-)
7 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
Error Code := state conflict
Write.rsp (-)
8 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
9 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
Error Code := state conflict
Write.rsp (-)
10 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = PTA_ABORT) \ STPTA_DATA_COMVALID
isDatasetValid(oldDataset) = TRUE
=>
11 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = PTA_ABORT) \ STPTA_DATA_NOTVALID
isDatasetValid(oldDataset) = FALSE
=>
12 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_TERMINATE)
=>
13 STPTA_TA_ACTIVE Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_TA_ACTIVE
=>
Error Code := state conflict
Write.rsp (-)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 92

# Current PTA State Event/Condition Next State


=> Action
14 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_START_STRICT)
=>
Error Code := state conflict
Write.rsp (-)
15 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
16 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
Error Code := state conflict
Write.rsp (-)
17 STPTA_VERIFICATION Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_VERIFICATION
=>
Error Code := state conflict
Write.rsp (-)
18 STPTA_VERIFICATION Write.req (PTA_OP_CODE = STPTA_VERIFICATION
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
19 STPTA_VERIFICATION Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_VERIFICATION
=>
Error Code := state conflict
Write.rsp (-)
20 STPTA_VERIFICATION isDatasetValid()=TRUE STPTA_DATA_COMVALID
=>
dataSet:= newDataset
setDatasetInUse(dataSet)
21 STPTA_VERIFICATION isDatasetValid()=FALSE STPTA_DATA_NOTVALID
=>
22 STPTA_VERIFICATION isDatasetValid()=PARTIALLY STPTA_DATA_PARVALID
(only for devices which =>
support smooth mode)
23 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
dataset := oldDataset
24 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_DATA_NOTVALID
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
25 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
dataset := oldDataset
26 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_DATA_NOTVALID
=>
Error Code := state conflict
Write.rsp (-)
27 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = STPTA_DATA_NOTVALID
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
28 STPTA_DATA_NOTVALID Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_DATA_COMVALID
=>
dataSet:= oldDataset
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 93

# Current PTA State Event/Condition Next State


=> Action
29 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_STRICT)
=>
dataSet:= oldDataset
30 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_DATA_PARVALID
PTA_START_SMOOTH) &&
(isSmoothModesup() = FALSE)
=>
Error Code := invalid range
Write.rsp (-)
31 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_TA_ACTIVE
PTA_START_SMOOTH) &&
(isSmoothModesup() = TRUE)
=>
dataSet:= oldDataset
32 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = PTA_ABORT) STPTA_DATA_PARVALID
=>
Error Code := state conflict
Write.rsp (-)
33 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = STPTA_DATA_PARVALID
PTA_TERMINATE)
=>
Error Code := state conflict
Write.rsp (-)
34 STPTA_DATA_PARVALID Write.req (PTA_OP_CODE = PTA_CONFIRM) STPTA_DATA_COMVALID
=>
DiagEventPartValidDisappears()
dataSet:= newDataset
setDatasetInUse(dataSet)
35 any Write.req(PTA_OP_CODE=PTA_PASSIVE same
=>

5.4.5.4 State diagram for a parameter transaction for devices supporting a single buffer
mechanism

Figure 16 shows the state diagram for a parameter transaction for single buffer devices.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 94

7 .. 10,12

STPTA_TA_ACTIVE

13 .. 18
11

STPTA_VERIFICATION

2,4,5,6
19

STPTA_COMVALID 1,3

23,25,26,27

20
STPTA_NOTVALID 22,24

29,31,32
33

21
STPTA_PARVALID 28,30

Figure 16 State diagram for a parameter transaction for single buffer devices

5.4.5.5 State diagram for a parameter transaction for devices supporting a multiple
buffer mechanism
Figure 17 shows the state diagram for a parameter transaction for multiple buffer devices.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 95

7,8,9,13

STPTA_TA_ACTIV
E
14 .. 19
12

STPTA_VERIFICATION

2,4,5,6

20
10
STPTA_COMVALI 1,3
D
24,26,27
28
21
11 STPTA_NOTVALI 23,25
D

30,32,33
34

22 STPTA_PARVALI 29,31
D

Figure 17 State diagram for a parameter transaction for multiple buffer devices

5.5 Device version identification and compatibility

5.5.1 Background and overview

During the life cycle of a production plant, innovations of process equipment development
ensure an ongoing optimization of production processes. This applies especially to intelligent
field devices. Changes of the software revision of a field device for example can be caused by
the integration of additional functions, by changes in the device hardware, by adjustment of the
software to special features, etc. This results in device variations. All these changes may have
an influence on compatibility of variations within one model type.

For integration of device functionality in automation systems the device functionality is


described by the device manufacturer using several integration technologies (see Figure 18).
The device drivers (e.g. GSD, EDD, DTM) make the device functionality via an integration tool
available in the automation system, i.e. in the process control system.

Via the GSD file MS0 related device functionality is described, EDD or DTM are usually used
for description of MS1/MS2 related device functionality. To ensure the compatibility between
device variants of a model type a well-defined and clear identifiable correlation of device
functionality and the functionality described in a device driver is required.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 96

Integration Tool

Interpreter FDT-
for GSD / EDD Frame
integrates

User
Compatibility Compatibility
Rules based on Rules using
via Ident Number GSD EDD DTM Device Revision
Device Driver

describes Device Functionality

Manufacturer

Figure 18 Integration technologies for PROFIBUS

The identification of device functionality related to the MS0 channel takes place via the devices
unambiguous PROFIBUS Ident_Number. A set of stringent compatibility rules guides the
device manufacturer during device development process. The identification of device
functionality related to the MS1/MS2 channel described by EDD or DTM is based on
specific version parameters (device revision). The device revision decouples the device
software version evolution from device functionality related to the MS0 channel. The defined
parameters are the basis for a clear validation of compatibility of device and device driver
within the host integration tool.

5.5.2 Up/downward compatibility

Compatibility of field device and device driver is achieved, if older and newer devices and
device drivers can operate together without special modifications.

Device Type
Device Driver

(Optimal) Compatibility
Software GSD
EDD/ Driver
DTM
Variant n Variant n

Up
Development

wa
rd
Device

Compatibility
rd
nwa
w
Do
Software EDD/ Driver
GSD
Variant n+1 DTM Variant n+1
(Optimal) Compatibility

Figure 19 Explanation of up/downward compatibility between device and device driver

The definition of up- and downward compatibility depends on the point of view (see Figure 19).
Within this specification downward compatibility of a device means the ability to operate with
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 97

the device driver of a device variant of older software version. In this case the additional
functionality of the newer device variant - which is not described within the older device driver -
is not available in the integration tool.

Otherwise upward compatibility of a device stands for the ability to operate with a device driver
of a newer software version. In this case it has to be ensured that the device functionality
described by the newer device driver - which is not available in the older device - is not
available in the integration tool.

5.5.3 Device functionality described by GSD (MS0 related device functionality)

To ensure compatibility between a device (generation n) and its succeeding release


(generation n+1) the integration into the host systems has to be considered.

PROFIBUS defines means for the cyclic communication path between the host (operating
station / PLC) and the device. The cyclic master is integrated in the host and manages the
whole network path. So definitions with respect to the network and the interaction between the
devices were needed.

The device specific network behavior is defined in the General Station Description (GSD). The
device manufacturer provides the GSD (language specific *.gs? files). The GSD comprises
definition for the physical layer, the protocol layer, the modeling of the slave, startup
parameterization of the communication layers below the application layers and so on.

It is important for the customer

that succeeding releases (device generation n+1) of a device type can be integrated into
the host without the need to change the application or the network configuration
that succeeding releases (device generation n+1) of a device type shall work in the network
by use of the older GSD (device generation n), without using the new features which are
implemented in the device.

5.5.3.1 Parameter description

Device integration compatibility of the MS0 related aspects of the device (structure of cyclic
data (Cfg_Data), PRM data and diagnosis data) is based on the PROFIBUS Ident_Number of a
PROFIBUS device. Device development has to stick to rules defined in 5.5.3.2 which
guarantee the downward compatibility of device and GSD identified both by the unique
Ident_Number.Table 91 shows the Device & GSD parameter.

Table 91 Parameter description of the Ident_Number

Parameter Description
Ident_Number Ident_Number is one unique unsigned16 number representing the MS0 features of a
device defined in IEC 61158-5-3 and IEC 61158-6-3. It is exchanged between master
class 1 (controller) and slave (field device) during start up of the MS0 connection.
The Ident_Number is also a GSD key word.

5.5.3.2 Compatibility rules

GSD keywords are used for the description of device functionality related to the MS0 channel.
Any change of a keyword represents a possible change of functionality of a device successor.

Compatibility rules for the MS0 Channel may therefore based on changes of GSD keywords.
They determine compatible and non-compatible changes resulting from update of a GSD-file,
up to a request for a new PROFIBUS IDENT_NUMBER.

A supplementary document contains all keywords defined in the PROFIBUS GSD Specification
and shows the consequences of certain keyword modifications if a succeeding device is
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 98

described with a new GSD compared to the existing GSD. Thus, the described rules may serve
as a guideline for device developers showing the impact of changes in device functionality.

In principal the detailed rules can be reduced to the following generic formulation: If a device
type is modified in that way that it doesnt work anymore with the former GSD-Versions the
device type can be considered as new device type and needs a new Ident Number assigned by
Profibus International.

The consideration of the following rules is mandatory and shall be validated for field devices
with PROFIBUS certificate:

the GSD of the new device variant describes additional functionality, the functionality of the
old device variant is totally supported:
new device variant is downward compatible
new device variant needs an update of PROFIBUS certification (no new PROFIBUS
Ident_Number)
the GSD of the new device variant does not totally describe the functionality of the old
device variant
new device variant is not downward compatible
new device variant needs a new PROFIBUS Ident_Number (new certification process)
automatic Ident Number adaptation (see 6.4) mandatory
the GSD of the new device variant contains editorial changes, the functionality of the old
device variant is totally supported:
new device variant is downward compatible
the GSD version should be increased

5.5.3.3 Automatic Ident_Number adaptation

If a PROFIBUS PA device compliant with this profile is able to support more than one
Ident_Number the automatic Ident_Number adaptation has to be supported. Hereby the
Ident_Number configured in a host system is automatically taken over by the slave device
after receiving either the Set_Prm or the Set_Slave_Add telegram. Both have to be supported
by those devices. For details see Table 52 parameter IDENT_NUMBER_SELECTOR and 6.4.

The automatic Ident_Number adaptation of a device offers the possibility to replace


incompatible device variants without host modifications. Thus, a crossover from installed
device technology to a further developed technology is possible without disturbing the process.

5.5.4 Device functionality described by EDD / DTM (MS1/MS2 related device


functionality)

5.5.4.1 General

The identification of device functionality related to the MS1/MS2 channel described by EDD
or DTM is based on specific version parameters (device revision). These parameters
decouple the device software version evolution from device functionality related to the
MS1/MS2 channel. The parameters are the basis for a clear validation of compatibility of
device and device driver within the host integration tool.

5.5.4.2 Parameter description

A compatibility check between a device and EDD/DTM requires the following versioning
parameters. They are distributed into parameters which are located within the device and
parameters which are located within the device driver.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Review page 99

5.5.4.2.1 Device parameters

Table 92 specifies the two device parameters.

Table 92 Parameter description of the device parameters

Parameter Description
Dev_Rev This parameter contains the information about the device functionality used by a MS1 or
MS2 connection. The Dev_Rev (device revision) decouples the identification of device
type functionality used by MS0 connection represented by the parameter Ident_Number.
It is used to assign device driver versions (e.g. EDD, DTM) to a device. For this it is
necessary to offer that information within the device and the device driver.
The setting of the Dev_Rev is manufacturer specific, but based on mandatory rules (see
5.5.4.3).
Dev_Rev_Comp The parameter Dev_Rev_Comp (device revision compatibility) defines the downward
compatibility range of device functionality among a chain of device variants using the
MS1 or MS2 connection. Its value represents the lowest device revision which is
supported by the device.
The setting of the Dev_Rev_Comp is based on mandatory rules (see 5.5.4.3).

5.5.4.2.2 Device driver parameters

The parameter given in Table 93 shall be available within the device driver (e.g. EDD, DTM)
offered by the device manufacturer.

Table 93 Parameter description of the device driver parameters

Parameter Description
DEVICE_REVISION The parameter DEVICE_REVISION (driver device revision) is located within the device
driver and serves information about supported device functionality. It is used for
assignment of the device driver (e.g. EDD, DTM) to the device.
NOTE The parameter DEVICE_REVISION is specified in IEC 61804-3 (DEVICE_REVISION) and IEC 62453-2
(IdSoftwareRevision).

5.5.4.3 Compatibility rules

5.5.4.3.1 Device revision

The device revision is specified by the device parameter Dev_Rev. The following rules shall be
followed to update the device revision upon changed device functionality related to its MS1 and
MS2 connection.

The parameter Dev_Rev is:


1) set to a manufacturer specific initial value for the first device version that supports the
Dev_Rev feature
2) incremented when additional device objects (parameter or block) have been
implemented
3) incremented when device objects (parameter or block) are deleted.
4) incremented when the location (slot, index) of a device object (parameter, block etc.)
has been changed (moving a block also changes entries of the device management)
5) incremented when the valid range of a parameter has been enlarged e.g.
enumerated parameter
an enumerated value is now supported
numerical parameter
the lower limit has been moved down or the upper limit has been moved up
parameter attributes
change which results in a compatible modification: access (read only  read/write)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 100

6) incremented when the valid range of a parameter has been narrowed e.g.
enumerated parameter
an enumerated value is not supported any more
numerical parameter
the lower limit has been moved up or the upper limit has been moved down
parameter attributes
change which results in an incompatible modification: access (read/write  read
only), change of data length or type
7) incremented when the meaning of any data item in a device parameter has been
changed.

NOTE Parameters may not be modified in any way to produce results different than would be obtained in
a previous device revision e.g. any supported parameter of a device of device revision n shall have exactly
the same effect as in device revision ( n+1) .

Only valid for devices for which the Dev_Rev parameter is not mandatory (profile
versions prior 3.02):
8) set to 0 to signalize the device driver that the Dev_Rev parameter holds no valid
information that can be checked. The meaning is equal to a non existing Dev_Rev
parameter.

NOTE Incrementing Dev_Rev means that the parameter has to be increased monotonously.

The parameter Dev_Rev_COMP is:


9) set equal to the initial value of parameter Dev_Rev for the first device version that
supports the Dev_Rev feature.
10) set to the value of Dev_Rev in case of incompatible updates: rules 3, 4, 6 and 7.
11) not changed in case of compatible updates: rules 2 and 5.
12) set to 0 applying rule 8.

Table 94 Impact of rules on device revision parameters

Dev_Rev Dev_Rev_Comp
Compatible Update
Increase Value Unchanged Value
(Rules 2, 5)
Incompatible Update
Increase Value Set equal to Dev_Rev
(Rules 3, 4, 6, 7)

5.5.4.3.2 Examples of setting Dev_Rev

Table 95 provides examples in form of use cases to show how the rules defined in 5.5.4.3 need
to be applied.

Table 95 Examples of setting Dev_Rev

Use Case Applicable Rule


A device that supports the PA-Profile 3.0 or 3.01 introduces the Dev_Rev parameter. 1, 8
A device is improved from a prior PA-Profile version to the PA-Profile 3.02. The device revision
1
feature is supported the first time.
Depending on
A device is improved from a prior PA-Profile version to the PA-Profile 3.02. The device revision
change 2, 3, 4,
feature was already supported in prior profile versions.
5, 6, 7
A new device according to PA-Profile 3.02 is developed. 1
Add new block to device. 2
Add parameter to existing block. 2
Remove block. 3
Re-order blocks in the device management. 4
The access rights of a parameter have been changed from read, write to read only. 6
Extend the valid range of an existing parameter e.g. from 20...40 to 0...40. 5
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 101

Use Case Applicable Rule


New valid enumerated values are added to an existing parameter
5
e.g. additional units to a unit parameter, additional channels to a channel parameter.
Narrow the valid range of an existing parameter e.g. from 0...40 to 20...40. 6
An enumerated value is not supported any more
6
e.g. a unit from the list of supported units of a unit parameter is removed.
The behavior of an existing parameter has been changed
7
e.g. when writing a parameter an additional action like a calibration is executed.
A device that supports the PA-Profile 3.0 or 3.01 does not support the Dev_Rev parameter. 8
Change local display menu. none

5.5.4.3.3 Driver device revision

The driver device revision is specified by the driver parameter DEVICE_REVISION. The
following rule shall be followed to update the driver device revision upon changes of the device
driver:

The parameter DEVICE_REVISION is set equal to the device revision of the device
(Dev_Rev) the device driver is created for. This device driver is compatible to this device.
NOTE Internal revisions of a device driver may be characterized by a parameter DD_REV (Unsigned16) which is
not described in this specification. Concerning compatibility aspects, the highest value of DD_REV for a given
DEVICE_REVISION indicates best representation (see 5.5.2).

5.5.4.3.4 Compatibility rule

Compatibility of device driver and device is achieved if the supported device revision of the
installed device driver is within the device revision range of the device (see equation below and
Figure 20).

Dev_Rev_Comp DEVICE_REVISION Dev_Rev

Host

Integration
Accept/
Decline

EDD/
DTM

DEVICE_
REVISION Dev_Rev
Dev_Rev_Comp

Figure 20 Compatibility rules device driver and device

The range Dev_Rev_CompDev_Rev identifies the compatible revisions of device drivers


(DEVICE_REVISION) which can be assigned to the device. E.g. an installed device driver can
be used for a newer device as long as the Dev_Rev_Comp parameter indicates that the
MS1/MS2 related behavior of the device supports the older version.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 102

5.5.5 Backward compatibility to PA profile 3.0 and 3.01

It is possible to support the Dev_Rev and Dev_Rev_Comp parameters also for devices which
support PA Profile versions prior 3.02. The device revision starts with manufacturer specific
value unequal to 0 for the first version supporting the compatibility functionality.

5.5.6 Information at the field device

A safe/unharmful device version handling has to provide a clear and unambiguous identification
of the device manufacturer, device type and its software version. Thus, the identification of
software version and device revision are mandatory for PROFIBUS PA devices. Therefore the
parameters SOFTWARE_REVISION, Dev_Rev and Dev_Rev_Comp shall be shown on a
human readable location to provide easy access. It shall be readable in the powerless device
state.

The nameplate of a device provides a clear information about manufacturer and device type. In
addition the supported PROFIBUS Ident_Numbers should be displayed.

The format of the presentation is XX.YY.ZZ-[Dev_Rev_CompDev_Rev], see example in


Figure 21.

SOFTWARE_REVISION: 3.04.01[37]

IDENT_NUMBERS 2751 [2723, 9700]

Figure 21 Example for display of the revision handling information

Examples for such locations are:

Fixed in a captive way with a label for direct reading at the outside of the housing (not
necessarily on the nameplate) so that it is readable even when the device is powered down.
In case of updates, the label has also to be updated.
At a display if available. The device revision parameters should be shown during device
start up.
Fixed at the outside of the field device packing for direct reading.

5.6 Parameter coding

The codes of the manufacturer, the engineering units and the materials follow the
specifications contained in Table 96 and Table 97.

5.6.1 DEVICE_MAN_ID

The list of DEVICE_MAN_ID is maintained by the central office of the PI in Karlsruhe. The list
is available at www.PROFIBUS.com.

5.6.2 Unit codes

The definition of several units or the conditions for their measurement might be different for
several countries or depends on the sector of industry. If there is no exact conversion/definition
within Table 96, then the manufacturer has to describe the supported units and their meaning
in the device manual. The user has to check for differences if interchangeability is required.

Table 96 Unit codes

Value Symbol Description Equivalence


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 103

Value Symbol Description Equivalence


0 ... 99
reserved
9
1000 K kelvin SI
T /K = t /C+273.15
1001 C degree Celsius
T = 1C is equal to T = 1K
1002 F degree Fahrenheit T /K = ( t /F+459.67)/1.8
1003 R degree Rankine T /K = ( T /R)/1.8
1004 rad radian = 1 m/m
1005 degree = ( /180) rad
1006 ' minute = (1/60)
1007 '' second = (1/60)
1008 gon gon (or grade) = ( /200) rad
1009 r revolution = 2 rad
1010 m meter SI
1011 km kilometer = 1000.0 m
1012 cm centimeter = 0.01 m
1013 mm millimeter = 10 -3 m
1014 m micrometer = 10 -6 m
1015 nm nanometer = 10 -9 m
1016 pm picometer = 10 -12 m
1017 angstrom = 10 -10 m
1018 ft foot = 12 in
1019 in inch (international) = 0.0254 m
1020 yd yard = 36 in
1021 mile mile = 1760 yd
1022 nautical mile nautical mile = 1852 m
1023 m2 square meter
1024 km 2 square kilometer
1025 cm 2 square centimeter
1026 dm 2 square decimeter
1027 mm 2 square millimeter
1028 a are = 10 2 m 2
1029 ha hectare = 10 4 m 2
1030 in 2 square inch
1031 ft 2 square feet
1032 yd 2 square yard
1033 mile 2 square mile
1034 m cubic meter
1035 dm 3 cubic decimeter
1036 cm 3 cubic centimeter
1037 mm 3 cubic millimeter
1038 L liter = 10 -3 m 3
1039 cl centiliter = 0.01 L
1040 ml milliliter = 0.001 L
1041 hl hectoliter = 100 L
1042 in 3 cubic inch
1043 ft 3 cubic foot
1044 yd 3 cubic yard
1045 mile 3 cubic mile
1046 pint pint (U.S. liquid) = (1/8) gal
1047 quart quart (U.S. liquid) = (1/4) gal
1048 gal gallon (U.S.) = 231 in 3
1049 ImpGal gallon (Imperial) = 4.54609 L
1050 bushel bushel (U.S. dry) = 2150.42 in 3
1051 bbl barrel (U.S. petroleum) = 42 gal
1052 bbl (liq) barrel (U.S. liquid) = 31.5 gal
1053 ft 3 std. standard cubic foot
1054 s second SI
1055 ks kilosecond = 10 3 s
1056 ms millisecond = 10 -3 s
1057 s microsecond = 10 -6 m
1058 min minute = 60 s
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 104

Value Symbol Description Equivalence


1059 h hour = 60 min
1060 d day = 24 h
1061 m/s meter per second
1062 mm/s millimeter per second
1063 m/h meter per hour
1064 km/h kilometer per hour
1065 knot nautical mile per hour = 1.852 km/h
1066 in/s inch per second
1067 ft/s foot per second
1068 yd/s yard per second
1069 in/min inch per minute
1070 ft/min foot per minute
1071 yd/min yard per minute
1072 in/h inch per hour
1073 ft/h foot per hour
1074 yd/h yard per hour
1075 mi/h mile per hour = 0.44704 m/s
1076 m/s 2 meter per second squared
1077 Hz hertz = 1 s -1
1078 THz terahertz = 10 12 Hz
1079 GHz gigahertz = 10 9 Hz
1080 MHz megahertz = 10 6 Hz
1081 kHz kilohertz = 10 3 Hz
1082 1/s per second = 1 s -1
1083 1/min per minute = (1/60) s -1
1084 r/s revolution per second
r/min
1085 revolution per minute
rpm
1086 rad/s radian per second
1087 1/s 2 per second squared
1088 kg kilogram SI
1089 g gram = 10 -3 kg
1090 mg milligram = 10 -6 kg
1091 Mg megagram = 10 3 kg
1092 t metric ton = 10 3 kg
1093 oz ounce (Avoirdupois) = 1/16 lb
1094 lb pound (Avoirdupois) = 0.45359237 kg
1095 STon short ton = 2000 lb
1096 LTon long ton = 2240 lb
1097 kg/m 3 kilogram per cubic meter
1098 Mg/m 3 megagram per cubic meter
1099 kg/dm 3 kilogram per cubic decimeter
1100 g/cm 3 gram per cubic centimeter
1101 g/m 3 gram per cubic meter
1102 t/m 3 metric ton per cubic meter
1103 kg/L kilogram per liter
1104 g/ml gram per milliliter
1105 g/L gram per liter
1106 lb/in 3 pound per cubic inch
1107 lb/ft 3 pound per cubic foot
1108 lb/gal pound per gallon (U.S.)
1109 STon/yd 3 short ton per cubic yard
1110 Twad degree Twaddell
1111 Baum (hv) degree Baume heavy
1112 Baum (lt) degree Baume light
1113 API degree API
1114 SGU specific gravity units
1115 kg/m kilogram per meter
1116 mg/m milligram per meter
1117 tex tex = 10 -6 kg/m
1118 kgm 2 kilogram square meter
1119 kgm/s kilogram meter per second
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 105

Value Symbol Description Equivalence


2
1120 N newton = 1 kgm/s
1121 MN meganewton = 10 6 N
1122 kN kilonewton = 10 3 N
1123 mN millinewton = 10 -3 N
1124 N micronewton = 10 -6 N
1125 kgm 2 /s kilogram square meter per second
1126 Nm newton meter
1127 MNm meganewton meter
1128 kNm kilonewton meter
1129 mNm millinewton meter
1130 Pa pascal = 1 N/m 2
1131 GPa gigapascal = 10 9 PA
1132 MPa megapascal = 10 6 PA
1133 kPa kilopascal = 10 3 PA
1134 mPa millipascal = 10 -3 PA
1135 Pa micropascal = 10 -6 PA
1136 hPa hectopascal = 10 2 PA
1137 bar bar = 100 kPa
1138 mbar millibar = 1 hPa
1139 torr torr = (1/760) atm
1140 atm atmosphere = 101325.0 Pa
lbf/in 2 = (0.45359237 9.80665 / 0.0254 2 ) Pa
1141 pound-force per square inch
psi (unreferenced or differential pressure)
lbf/in 2 a pound-force per square inch = (0.45359237 9.80665 / 0.0254 2 ) Pa
1142
psia absolute (referenced to a vacuum)
lbf/in 2 g = (0.45359237 9.80665 / 0.0254 2 ) Pa
1143 pound-force per square inch gauge
psig (referenced to atmosphere)
1144 gf/cm 2 gram-force per square centimeter = 98.0665 Pa
2 kilogram-force per square
1145 kgf/cm = 98066.5 Pa
centimeter
1146 inH 2 O inch of water
1147 inH 2 O (4C) inch of water at 4C
1148 inH 2 O (68F) inch of water at 68F
1149 mmH 2 O millimeter of water
1150 mmH 2 O (4C) millimeter of water at 4C
1151 mmH 2 O (68F) millimeter of water at 68F
1152 ftH 2 O foot of water
1153 ftH 2 O (4C) foot of water at 4C
1154 ftH 2 O (68F) foot of water at 68F
1155 inHg inch of mercury
1156 inHg (0C) inch of mercury at 0C
1157 mmHg millimeter of mercury
1158 mmHg (0C) millimeter of mercury at 0C
1159 Pas pascal second
1160 m 2 /s square meter per second
1161 P poise = 0.1 Pas
1162 cP centipoise = 1 mPas
1163 St stokes = 10 -4 m 2 /s
1164 cSt centistokes = 1 mm 2 /s
1165 N/m Newton per meter
1166 mN/m millinewton per meter
1167 J joule = 1 Nm
1168 EJ exajoules = 10 18 J
1169 PJ petajoules = 10 15 J
1170 TJ terajoules = 10 12 J
1171 GJ gigajoules = 10 9 J
1172 MJ megajoules = 10 6 J
1173 kJ kilojoules = 10 3 J
1174 mJ millijoules = 10 -3 J
1175 Wh watt hour
1176 TWh terawatt hour
1177 GWh gigawatt hour
1178 MWh megawatt hour
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 106

Value Symbol Description Equivalence


1179 kWh kilowatt hour
1180 cal th calorie (thermochemical) = 4.184 J
1181 kcal th kilocalorie (thermochemical) = 4.184 kJ
1182 Mcal th megacalorie (thermochemical) = 4.184 MJ
British thermal unit
1183 Btu th = (4184 0.45359237/1.8) J
(thermochemical)
1184 datherm dekatherm = 1.0550610 9 J
1185 ftlbf foot pound-force = 1.3558179483314004 J
1186 W watt = 1 J/s
1187 TW terawatt = 10 12 W
1188 GW gigawatt = 10 9 W
1189 MW megawatt = 10 6 W
1190 kW kilowatt = 10 3 W
1191 mW milliwatt = 10 -3 W
1192 W microwatt = 10 -6 W
1193 nW nanowatt = 10 -9 W
1194 pW picowatt = 10 -12 W
1195 Mcal th /h megacalorie per hour
1196 MJ/h megajoule per hour
1197 Btu th /h British thermal unit per hour
1198 hp horsepower (electric) = 746 W
1199 W/(mK) watt per meter kelvin
1200 W/(m 2 K) watt per square meter kelvin
1201 m 2 K/W square meter kelvin per watt
1202 J/K joule per kelvin
1203 kJ/K kilojoule per kelvin
1204 J/(kgK) joule per kilogram kelvin
1205 kJ/(kgK) kilojoule per kilogram kelvin
1206 J/kg joule per kilogram
1207 MJ/kg megajoule per kilogram
1208 kJ/kg kilojoule per kilogram
1209 A ampere SI
1210 kA kiloampere = 10 3 A
1211 mA milliampere = 10 -3 A
1212 A microampere = 10 -6 A
1213 nA nanoampere = 10 -9 A
1214 pA picoampere = 10 -12 A
1215 C coulomb = 1 As
1216 MC megacoulomb = 10 6 C
1217 kC kilocoulomb = 10 3 C
1218 C microcoulomb = 10 -6 C
1219 nC nanocoulomb = 10 -9 C
1220 pC picocoulomb = 10 -12 C
1221 Ah ampere hour
1222 C/m 3 coulomb per cubic meter
1223 C/mm 3 coulomb per cubic millimeter
1224 C/cm 3 coulomb per cubic centimeter
1225 kC/m 3 kilocoulomb per cubic meter
1226 mC/m 3 millicoulomb per cubic meter
1227 C/m 3 microcoulomb per cubic meter
1228 C/m 2 coulomb per square meter
1229 C/mm 2 coulomb per square millimeter
1230 C/cm 2 coulomb per square centimeter
1231 kC/m 2 kilocoulomb per square meter
1232 mC/m 2 millicoulomb per square meter
1233 C/m 2 microcoulomb per square meter
1234 V/m volt per meter
1235 MV/m megavolt per meter
1236 kV/m kilovolt per meter
1237 V/cm volt per centimeter
1238 mV/m millivolt per meter
1239 V/m microvolt per meter
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 107

Value Symbol Description Equivalence


1240 V volt = 1 W/A
1241 MV megavolt = 10 6 V
1242 kV kilovolt = 10 3 V
1243 mV millivolt = 10 -3 V
1244 V microvolt = 10 -6 V
1245 F farad = 1 C/V
1246 mF millifarad = 10 -3 F
1247 F microfarad = 10 -6 F
1248 nF nanofarad = 10 -9 F
1249 pF picofarad = 10 -12 F
1250 F/m farad per meter
1251 F/m microfarad per meter
1252 nF/m nanofarad per meter
1253 pF/m picofarad per meter
1254 Cm coulomb meter
1255 A/m 2 ampere per square meter
1256 MA/m 2 megaampere per square meter
1257 A/cm 2 ampere per square centimeter
1258 kA/m 2 kiloampere per square meter
1259 A/m ampere per meter
1260 kA/m kiloampere per meter
1261 A/cm ampere per centimeter
1262 T tesla = 1 Wb/m 2
1263 mT millitesla = 10 -3 T
1264 T microtesla = 10 -6 T
1265 nT nanotesla = 10 -9 T
1266 Wb weber = 1 Vs
1267 mWb milliweber = 10 -3 W
1268 Wb/m weber per meter
1269 kWb/m kiloweber per meter
1270 H henry = 1 Wb/A
1271 mH millihenry = 10 -3 H
1272 H microhenry = 10 -6 H
1273 nH nanohenry = 10 -9 H
1274 pH picohenry = 10 -12 H
1275 H/m henry per meter
1276 H/m microhenry per meter
1277 nH/m nanohenry per meter
1278 Am 2 ampere square meter
1279 Nm 2 /A newton square meter per ampere
1280 Wbm weber meter
1281 ohm = 1 V/A
1282 G gigaohm = 10 9
1283 M megohm = 10 6
1284 k kilohm = 10 3
1285 m milliohm = 10 -3
1286 microohm = 10 -6
1287 S siemens = 1 -1
1288 kS kilosiemens = 10 3 -1
1289 mS millisiemens = 10 -3 -1
1290 S microsiemens = 10 -6 -1
1291 m ohm meter
1292 G m gigaohm meter
1293 M m megohm meter
1294 k m kilohm meter
1295 cm ohm centimeter
1296 m m milliohm meter
1297 m microohm meter
1298 n m nanoohm meter
1299 S/m siemens per meter
1300 MS/m megasiemens per meter
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 108

Value Symbol Description Equivalence


1301 kS/m kilosiemens per meter
1302 mS/cm millisiemens per centimeter
1303 S/mm microsiemens per millimeter
1304 1/H per henry
1305 sr steradian = 1 m 2 /m 2
1306 W/sr watt per steradian
1307 W/(srm 2 ) watt per steradian square meter
1308 W/m 2 watt per square meter
1309 lm lumen = 1 cdsr
1310 lms lumen second
1311 lmh lumen hour
1312 lm/m 2 lumen per square meter
1313 lm/W lumen per watt
1314 lx lux = 1 lm/m 2
1315 lxs lux second
1316 cd candela SI
1317 cd/m 2 candela per square meter
1318 g/s gram per second
1319 g/min gram per minute
1320 g/h gram per hour
1321 g/d gram per day
1322 kg/s kilogram per second
1323 kg/min kilogram per minute
1324 kg/h kilogram per hour
1325 kg/d kilogram per day
1326 t/s metric ton per second
1327 t/min metric ton per minute
1328 t/h metric ton per hour
1329 t/d metric ton per day
1330 lb/s pound per second
1331 lb/min pound per minute
1332 lb/h pound per hour
1333 lb/d pound per day
1334 STon/s short ton per second
1335 STon/min short ton per minute
1336 STon/h short ton per hour
1337 STon/d short ton per day
1338 LTon/s long ton per second
1339 LTon/min long ton per minute
1340 LTon/h long ton per hour
1341 LTon/d long ton per day
1342 % percent = 0.01
1343 % sol/wt percent solid per weight
1344 % sol/vol percent solid per volume
1345 % stm qual percent steam quality
1346 Plato degree Plato
1347 m 3 /s cubic meter per second
1348 m 3 /min cubic meter per minute
1349 m 3 /h cubic meter per hour
1350 m 3 /d cubic meter per day
1351 L/s liter per second
1352 L/min liter per minute
1353 L/h liter per hour
1354 L/d liter per day
1355 ML/d megaliter per day
1356 ft 3 /s cubic foot per second
1357 ft 3 /min cubic foot per minute
1358 ft 3 /h cubic foot per hour
1359 ft 3 /d cubic foot per day
1360 ft 3 /min std. standard cubic foot per minute
1361 ft 3 /h std. standard cubic foot per hour
1362 gal/s gallon (U.S.) per second
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 109

Value Symbol Description Equivalence


1363 gal/min gallon (U.S.) per minute
1364 gal/h gallon (U.S.) per hour
1365 gal/d gallon (U.S.) per day
1366 Mgal/d megagallon (U.S.) per day
1367 ImpGal/s gallon (Imperial) per second
1368 ImpGal/min gallon (Imperial) per minute
1369 ImpGal/h gallon (Imperial) per hour
1370 ImpGal/d gallon (Imperial) per day
1371 bbl/s barrel per second
1372 bbl/min barrel per minute
1373 bbl/h barrel per hour
1374 bbl/d barrel per day
1375 W/m 2 watt per square meter
1376 mW/m milliwatt per square meter
1377 W/m 2 microwatt per square meter
1378 pW/m 2 picowatt per square meter
1379 Pas/m 3 pascal second per cubic meter
1380 Ns/m newton second per meter
1381 Pas/m pascal second per meter
1382 B bel = lg(ratio)
1383 dB decibel = 10 -1 B
1384 mol mole SI
1385 kmol kilomole
1386 mmol mill mole
1387 mol micromole
1388 kg/mol kilogram per mole
1389 g/mol gram per mole
1390 m 3 /mol cubic meter per mole
1391 dm 3 /mol cubic decimeter per mole
1392 cm 3 /mol cubic centimeter per mole
1393 L/mol liter per mole
1394 J/mol joule per mole
1395 kJ/mol kilojoule per mole
1396 J/(mol-K) joule per mole kelvin
1397 mol/m 3 mole per cubic meter
1398 mol/dm 3 mole per cubic decimeter
1399 mol/L mole per liter
1400 mol/kg mole per kilogram
1401 mmol/kg millimole per kilogram
1402 Bq becquerel = 1 s -1
1403 MBq megabecquerel
1404 kBq kilobecquerel
1405 Bq/kg becquerel per kilogram
1406 kBq/kg kilobecquerel per kilogram
1407 MBq/kg megabecquerel per kilogram
1408 Gy gray = 1 J/kg
1409 mGy milligray
1410 rd rad = 10 -2 Gy
1411 Sv sievert = 1 J/kg
1412 mSv millisievert
1413 rem rem = 10 -2 Sv
1414 C/kg coulomb per kilogram
1415 mC/kg millicoulomb per kilogram
1416 R roentgen = 2.5810 -4 C/kg
1417 1/Jm 3
1418 e/Vm 3
1419 m 3 /C cubic meter per coulomb
1420 V/K volt per kelvin
1421 mV/K millivolt per kelvin
1422 pH pH
1423 ppm parts per million = 10 -6
1424 ppb parts per billion = 10 -9
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 110

Value Symbol Description Equivalence


-3
1425 ppth parts per thousand = 10
1426 Brix degree Brix
1427 Ball degree Balling
1428 proof/vol proof per volume
1429 proof/mass proof per mass
1430 lb/ImpGal pound per gallon (Imperial)
1431 kcal th /s kilocalorie per second
1432 kcal th /min kilocalorie per minute
1433 kcal th /h kilocalorie per hour
1434 kcal th /d kilocalorie per day
1435 Mcal th /s megacalorie per second
1436 Mcal th /min megacalorie per minute
1437 Mcal th /d megacalorie per day
1438 kJ/s kilojoule per second
1439 kJ/min kilojoule per minute
1440 kJ/h kilojoule per hour
1441 kJ/d kilojoule per day
1442 MJ/s megajoule per second
1443 MJ/min megajoule per minute
1444 MJ/d megajoule per day
1445 Btu th /s British thermal unit per second
1446 Btu th /min British thermal unit per minute
1447 Btu th /day British thermal unit per day
1448 gal/s microgallon (U.S.) per second
1449 mgal/s milligallon (U.S.) per second
1450 kgal/s kilogallon (U.S.) per second
1451 Mgal/s megagallon (U.S.) per second
1452 gal/min microgallon (U.S.) per minute
1453 mgal/min milligallon (U.S.) per second
1454 kgal/min kilogallon (U.S.) per minute
1455 Mgal/min megagallon (U.S.) per minute
1456 gal/h microgallon (U.S.) per hour
1457 mgal/h milligallon (U.S.) per hour
1458 kgal/h kilogallon (U.S.) per hour
1459 Mgal/h megagallon (U.S.) per hour
1460 gal/d microgallon (U.S.) per day
1461 mgal/d milligallon (U.S.) per day
1462 kgal/d kilogallon (U.S.) per day
1463 ImpGal/s microgallon (Imperial) per second
1464 mImpGal/s milligallon (Imperial) per second
1465 kImpGal/s kilogallon (Imperial) per second
1466 MImpGal/s megagallon (Imperial) per second
1467 ImpGal/min microgallon (Imperial) per minute
1468 mImpGal/min milligallon (Imperial) per minute
1469 kImpGal/min kilogallon (Imperial) per minute
1470 MImpGal/min megagallon (Imperial) per minute
1471 ImpGal/h microgallon (Imperial) per hour
1472 mImpGal/h milligallon (Imperial) per hour
1473 kImpGal/h kilogallon (Imperial) per hour
1474 MImpGal/h megagallon (Imperial) per hour
1475 ImpGal/d microgallon (Imperial) per day
1476 mImpGal/d milligallon (Imperial) per day
1477 kImpGal/d kilogallon (Imperial) per day
1478 MImpGal/d megagallon (Imperial) per day
1479 bbl/s microbarrel per second
1480 mbbl/s millibarrel per second
1481 kbbl/s kilobarrel per second
1482 Mbbl/s megabarrel per second
1483 bbl/min microbarrel per minute
1484 mbbl/min millibarrel per minute
1485 kbbl/min kilobarrel per minute
1486 Mbbl/min megabarrel per minute
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 111

Value Symbol Description Equivalence


1487 bbl/h microbarrel per hour
1488 mbbl/h millibarrel per hour
1489 kbbl/h kilobarrel per hour
1490 Mbbl/h megabarrel per hour
1491 bbl/d microbarrel per day
1492 mbbl/d millibarrel per day
1493 kbbl/d kilobarrel per day
1494 Mbbl/d megabarrel per day
1495 m 3 /s cubic micrometer per second
1496 mm 3 /s cubic millimeter per second
1497 km 3 /s cubic kilometer per second
1498 Mm 3 /s cubic megameter per second
1499 m 3 /min cubic micrometer per minute
1500 mm 3 /min cubic millimeter per minute
1501 km 3 /min cubic kilometer per minute
1502 Mm 3 /min cubic megameter per minute
1503 m 3 /h cubic micrometer per hour
1504 mm 3 /h cubic millimeter per hour
1505 km 3 /h cubic kilometer per hour
1506 Mm 3 /h cubic megameter per hour
1507 m 3 /d cubic micrometer per day
1508 mm 3 /d cubic millimeter per day
1509 km 3 /d cubic kilometer per day
1510 Mm 3 /d cubic megameter per day
1511 cm 3 /s cubic centimeter per second
1512 cm 3 /min cubic centimeter per minute
1513 cm 3 /h cubic centimeter per hour
1514 cm 3 /d cubic centimeter per day
1515 kcal th /kg kilocalorie per kilogram
1516 Btu th /lb British thermal unit per pound
1517 kL kiloliter
1518 kL/min kiloliter per minute
1519 kL/h kiloliter per hour
1520 kL/d kiloliter per day
1521 vendor-specific 1521
1522 vendor-specific 1522
1523 vendor-specific 1523
1524 vendor-specific 1524
1525 vendor-specific 1525
1526 vendor-specific 1526
1527 vendor-specific 1527
1528 vendor-specific 1528
1529 vendor-specific 1529
1530 vendor-specific 1530
1531 vendor-specific 1531
1532 vendor-specific 1532
1533 vendor-specific 1533
1534 vendor-specific 1534
1535 vendor-specific 1535
1536 vendor-specific 1536
1537 vendor-specific 1537
1538 vendor-specific 1538
1539 vendor-specific 1539
1540 vendor-specific 1540
1541 vendor-specific 1541
1542 vendor-specific 1542
1543 vendor-specific 1543
1544 vendor-specific 1544
1545 vendor-specific 1545
1546 vendor-specific 1546
1547 vendor-specific 1547
1548 vendor-specific 1548
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 112

Value Symbol Description Equivalence


1549 vendor-specific 1549
1550 vendor-specific 1550
1551 S/cm siemens per centimeter
1552 S/cm microsiemens per centimeter
1553 mS/m millisiemens per meter
1554 S/m microsiemens per meter
1555 M cm Megohm centimeter
1556 k cm kilohm centimeter
1557 Gew% Gewichtsprozent
1558 mg/L milligram per liter
1559 g/L microgram per liter
1560 %St
1561 vpm
1562 %vol Volume percent
1563 ml/min milliliter per minute
1564 mg/dm 3 milligram per cubic decimeter
milligram per liter
1565 mg/L (do not use in new projects; use
1558)
1566 mg/m milligram per cubic meter
1567 ct carat (jewel) = 200.010 -6 kg
1568 lb (tr) pound (troy or apothecary) = 0.3732417216 kg
1569 oz (tr) ounce (troy or apothecary) = 1/12 lb (tr)
1570 fl oz (U.S.) ounce (U.S. fluid) = (1/128) gal
1571 cm 3 cubic centimeter = 10 -6 m 3
1572 af acre foot = 43560 ft 3
Normal cubic meter
1573 m 3 normal
(0C, 1atm = 101325Pa)
Normal liter
1574 L normal
(0C, 1atm = 101325PA)
Standard cubic meter
1575 m 3 std.
(20C, 1atm = 101325Pa)
Standard liter
1576 L std.
(20C, 1atm = 101325PA)
1577 ml/s milliliter per second
1578 ml/h milliliter per hour
1579 ml/d milliliter per day
1580 af/s acre foot per second
1581 af/min acre foot per minute
1582 af/h acre foot per hour
1583 af/d acre foot per day
1584 fl oz (U.S.)/s ounce (U.S. fluid) per second
1585 fl oz (U.S.) /min ounce (U.S. fluid) per minute
1586 fl oz (U.S.)/h ounce (U.S. fluid) per hour
1587 fl oz (U.S.)/d ounce (U.S. fluid) per day
Normal cubic meter per second
1588 m 3 /s normal
(0C, 1atm = 101325Pa)
Normal cubic meter per minute
1589 m 3 /min normal
(0C, 1atm = 101325Pa)
Normal cubic meter per hour
1590 m 3 /h normal
(0C, 1atm = 101325Pa)
Normal cubic meter per day
1591 m 3 /d normal
(0C, 1atm = 101325Pa)
Normal liter per second
1592 L/s normal
(0C, 1atm = 101325PA)
Normal liter per minute
1593 L/min normal
(0C, 1atm = 101325PA)
Normal liter per hour
1594 L/h normal
(0C, 1atm = 101325PA)
Normal liter per day
1595 L/d normal
(0C, 1atm = 101325PA)
Standard cubic meter per second
1596 m 3 /s std.
(20C, 1atm = 101325Pa)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 113

Value Symbol Description Equivalence


Standard cubic meter per minute
1597 m 3 /min std.
(20C, 1atm = 101325Pa)
Standard cubic meter per hour
1598 m 3 /h std.
(20C, 1atm = 101325Pa)
Standard cubic meter per day
1599 m 3 /d std.
(20C, 1atm = 101325Pa)
Standard liter per second
1600 L/s std.
(20C, 1atm = 101325PA)
Standard liter per minute
1601 L/min std.
(20C, 1atm = 101325PA)
Standard liter per hour
1602 L/h std.
(20C, 1atm = 101325PA)
Standard liter per day
1603 L/d std.
(20C, 1atm = 101325PA)
1604 ft 3 /s std. standard cubic foot per second
1605 ft 3 /d std. standard cubic foot per day
1606 oz/s ounce per second
1607 oz/min ounce per minute
1608 oz/h ounce per hour
1609 oz/d ounce per day
1610 Pa a pascal absolute
1611 Pa g pascal gauge
1612 GPa a gigapascal absolute
1613 GPa g gigapascal gauge
1614 MPa a megapascal absolute
1615 MPa g megapascal gauge
1616 kPa a kilopascal absolute
1617 kPa g kilopascal gauge
1618 mPa a millipascal absolute
1619 mPa g millipascal gauge
1620 Pa a micropascal absolute
1621 Pa g micropascal gauge
1622 hPa a hectopascal absolute
1623 hPa g hectopascal gauge
gram-force per square centimeter
1624 gf/cm 2 a
absolute
gram-force per square centimeter
1625 gf/cm 2 g
gauge
kilogram-force per square
1626 kgf/cm 2 a
centimeter absolute
kilogram-force per square
1627 kgf/cm 2 g
centimeter gauge
1628 SD4C standard density at 4C
1629 SD15C standard density at 15C
1630 SD20C standard density at 20C
metric horsepower
1631 PS = 735.49875 W
(Pferdestrke)
1632 ppt parts per trillion = 10 -12
1633 hl/s hectoliter per second
1634 hl/min hectoliter per minute
1635 hl/h hectoliter per hour
1636 hl/d hectoliter per day
1637 bbl (liq)/s barrel (U.S. liquid) per second
1638 bbl (liq)/min barrel (U.S. liquid) per minute
1639 bbl (liq)/h barrel (U.S. liquid) per hour
1640 bbl (liq)/d barrel (U.S. liquid) per day
1641 bbl (fed) barrel (U.S. federal) = 31 gal
1642 bbl (fed)/s barrel (U.S. federal) per second
1643 bbl (fed)/min barrel (U.S. federal) per minute
1644 bbl (fed)/h barrel (U.S. federal) per hour
1645 bbl (fed)/d barrel (U.S. federal) per day
1646 Reserved
...
1994 Reserved
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 114

Value Symbol Description Equivalence


1995 Textual unit definition
1996 Not used
1997 None
1998 unknown
1999 special
2000-
Reserved
32767
32768 .
.. 6553 Manufacturer specific
5

5.6.3 Material codes

Table 97 specifies the predefined material codes.

Table 97 Material codes

Value Display Abbreviation Description


0 Carbon Steel
1 Stainless Steel 304 304 SST
2 Stainless Steel 316 316 SST
3 Hastelloy C Hast C
4 Monel
5 Tantalum
6 Titanium
7 Pt-Ir Platinum-Iridium
8 Alloy 20
9 Co-Cr-Ni Cobalt-Chromium-Nickel
10 PTFE PTFE (Teflon)
11 Viton
12 Buna-N
13 Ethyl-Prop
14 Urethane
15 Gold Monel Gold Monel Alloy
16 Tefzel
Ryton is a registered trademark of Phillips
17 Ryton
Petroleum Company
18 Ceramic
19 Stainless Steel 316L 316L SST
20 PVC
21 Nitrile Rubber
Teflon and Kalrez are registered trademarks of E.
22 Kalrez
I. DuPont De Nemours Company.
Inconel is a trademark of International Nickel
23 Inconel
Company
Kynar is a trademark of Pennwalt Incorporated.
24 Kynar Hastelloy C is a trademark of
Cabot Corporation
25 Aluminium Al
26 Nickel Nickel
Perfluoroethylenpropylene. Typically a sealing
27 FEP
material for O-Ring
316 Stainless steel Ti, 16% to 18% Chromium,
28 Stainless Steel 316 Ti 316 SST Ti
10% to 14% Nickel, 2% to 3% Molybdan.
30 Hastelloy C276 Hast C276
Material that may be referenced by Klinger
31 Klinger C4401 4401
compound No. C4401
Material trademarked by Armstrong World
32 Thermotork
Industries Inc.
Grafoil - Material trademarked by Union Carbide
Poly Tetra Fluoro Ethylene coated 316L Stainless
33 Grafoil
steel-Material, PTFE is also known by the
trademark name Teflon
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 115

Value Display Abbreviation Description


34 PTFE coated 316l SST
Gold plated Hastelloy Gold plated Hast
35
C276 C276
Poly Tetra Fluoro Ethylene Glass - Material,
36 PTFE Glass Glass filled PTFE, PTFE is also known by the
trademark name Teflon
Poly Tetra Fluoro Ethylene Graphite - Material,
37 PTFE Graphite Graphite filled PTFE, PTFE is also known by the
trademark name Teflon

234 PTFE Hastelloy PTFE Hast


235 Stainless Steel CF 8M
236 Hastelloy SST Hast SST
237 Gold plated SST
239 Monel 400

250 not used


251 none
252 unknown
253 special

5.7 Conformance statements

Table 98, Table 99, Table 100, and Table 101 provide the conformance statement templates.

Table 98 Conformance statements for the existence of blocks

Item Conformance statement Subelement


Physical Blocks M
Transducer Blocks O
Function Blocks M
Analog Input Blocks S
Analog Output Blocks S
Discrete Input Blocks S
Discrete Output Blocks S
Totalizer Blocks S
Logbook Blocks S
Other Function Blocks S

Table 99 Conformance statement for Device Management

Item Conformance Statement Subelement


Device Management M

Table 100 Conformance statement for blocks

Item Conformance statement Subelement


Standard Parameter from General
M
Requirements
M / O (according to the
Additional block specific parameters
corresponding attribute tables)
Manufacturer specific parameters O
O (Class A),
View_1 object
M (Class B)
View_x objects O
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 116

Table 101 Conformance statement for profile features

Item Conformance statement Subelement


Condensed status / diagnosis M
Classic status / diagnosis O
Device version identification and compatibility M
Parameter transaction O
Strict mode M
Smooth mode O
Single buffer mechanism S
Multiple buffer mechanism S
PROFIsafe O

5.8 Document history

Table 102 shows the changes from release version V3.0 to V3.01.

Table 102 Changes from V3.0 to V3.01

Clause/Figure/Table Change
Entire document Correction of spelling errors
1.2 Change reference to IEC 61158 and IEC 61784
3.1.10 Delete hint to priority
3.2.1 Integrate Reset_Class characteristic for parameter
3.2.1 Clarify use of parameter range definition which is of type enumeration
3.3.1, Tab.3 Change of description of ST_REV
Table 7 Batch parameter data type record instead of structure
3.7 Replace with Key Attribute by Data Type Numeric Identifier or Shortcut
All document Replace DS-33 by 101 and DS-34 by 102
3.7 Harmonization of the write conventions of sub parameter of GR data structures to
Name_Name
Tab 15 New table which clarifies the byte order of View reference
All further table numbers are increased by 1
3.7.3.1 and 3.7.3.6 Delete parts of status description with alarm priority (e.g. greater than or equal to 8
Table 14 Description of semantic of Profile
3.7.3.2 Number the table
All further table numbers are increased by additional 1
3.7.3.3 New table 19 Cross bit 2 and 3 within GOOD (cascade) first raw
New table 20 New priority assignment
3.7.3.6 New description sub status constant
3.7.19.4 New data type structure Feature, i.e. new clause and new tables 55 to 57,
All further table numbers a increased by additional 3
3.7 The following data structures are deleted:
DS-35, DS-38, DS-40, DS-41, DS-43 to DS-48
3.8 New text before new table 55
3.8 new Table 55 New text for write.ind and read.ind
3.11.1, new Table 56 New description parameter FACTORY_RESET
3.11.2 new Table New parameter FEATURE
58 ... 60
3.11.1, new Table 56 New description parameter IDENT_NUMBER_SELECTOR (with additional notes),
WRITE_LOCKING; HW_WRITE_PROTECTION
3.11.4 New description of characteristic of Diagnosis bits
5.1 Replace MAN_ID list by reference to PI web server
5.2; Table 55 Rename display by symbol within the unit table, add new units
5.2; Table 55 Add codes areas for reserved and manufacturer specific units
3.7.2 Table 13 Parent_Class "Pressure", Class "07 Mixed absolute / diff. Pressure" added
3.7.2 Table 13 Parent_Class "Level", Class "04 Capacity" added

Table 103 shows the changes from release version V3.01 to V3.02.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 117

Table 103 Changes from V3.01 to V3.02

Clause/Figure/Table in Change
V3.01
Entire document Correction of spelling errors
changed "PROFIBUS International" into "PROFIBUS&PROFINET International"
1.2.1 Updated reference to PROFIBUS DP to IEC 61158 Type 3 document
Delete references to included amendments
Added reference to PROFIBUS Profile Guideline Part 1: I&M
1.3 Integrated definition from mapping document
Added new definition "Local access"
1.4 Added abbreviations from Mapping
Added abbreviations "DCS" and "PCS"
3.1.6 Improved description of TARGET_MODE parameter
3.1.7 Precised block behavior for out of service mode
3.2.2 Add sentence to Access w bullit
Note: It is a valid behavior of the device that the range of writeable parameters is
limited to the parameter value that is currently stored.
Added descriptions concerning the conformance tables
3.2.3 Added new profile View objects VIEW_2...4
Table 16 2 rows (GOOD, Cascade) with reserved substatus are moved to 3.7.3.3, where all
other reserved substatus are placed.
3.3 and 3.4 Move both complete subclauses after old 3.7 and before older 3.8
3.4 and 3.5 Moved BATCH parameter Table 5 and 6 definition to Standard parameter definition
and delete 3.5 Table 3 and 4
3.7 Unified datatype identification:
- removed shortcut and numeric identifier
- added identifier to sub title and data type label
3.7.1.2 New sub-clause Enumerations and values of not supported optional parameters
Table 13 Change position of output class identifier, add new identifier of controller class
Table 30 Added reset time of update event bit for condensed status
Table 43 Add DS-66 SEQUENCE element code 9 Start triggered by device internal event
and reserved and manufacturer specific codes
3.8 Replacement of X_VALUE by TAB_X_VALUE.and Y_VALUE by TAB_Y_VALUE.
Figure 12 Replaced figure by new one
Table 57 FACTORY_RESET Code 2712: Added reset of No_Add_Chg_Flag
Table 57 IDENT_NUMBER_SELECTOR: added new codes, precised description
Table 58 and 59 Integrated parameter COND_STATUS_DIAG and DIAG_EVENT_SWITCH
Table 58 and 59 Integrated reference to additional parameters defined in Amendment 1 PROFIsafe
for PA
Table 58 Parameter description of IDENT_NUMBER_SELECTOR has been extended
Table 58 NOTE 2 was extended
Table 58 New parameter for new clause 1.6 parameter transaction
Table 64 Code 1019 (inch) has been changed to: 1 in = 0.0254m
Table 69 - "3.2.2" shall be "3.2.1"
- "3.3.1 Tab2" shall be "3.3.1 Tab3"
- "Table 6" shall be "Table 7"
- change description 3.7, replace with "Key Attribute" by "Data Type - Numeric
Identifier" or "Shortcut"
- "Tab 15" not at the actual document
- 3.7.3.1 and 3.7.3.62: replace with "delete parts of status description with alarm
priority (e.g. priority greater than or equal to 8)"
- Table 14: replace with "Description of semantic of Profile"
- "3.7.19.4" shall be "3.7.20": "table 55 to 57" shall be "table 50 to 52"
- 3.7: "DS-51" shall be "DS-52"
- "3.8 new Table 55" shall be "3.8 table 53"
- "3.11.1 new Table 56" shall be "3.11.1 table 57"
- "5.2 table 55" shall be "5.2 table 63"
3.11 Added new for passivation (taken from amendment 2)
5 Rename heading to Parameter coding
- New clause and sub-clauses added (1.5 ff) which contain the classic and condensed
status and diagnosis definitions
- New clause "Parameter transaction" added
- New clause Device version identification and compatibility added
- New Clause "1.2 New Features" added
- Added specification about the use of the terms "may, should, shall" on title page
1.2.1 Added sentence for undated reference documents
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 118

Clause/Figure/Table in Change
V3.01
Amendment 2 Subclause Introduce a 10 s period after ACTUAL MODE MAN to ACTUAL MODE MAN change.
3.1.1 and 4.1.1 Consider additionally O/S.
Adopt MAN status handling in general
Amendment 2 Passivation: device diagnosis events are updated even the device or a FB is
passivated. In terms the whole device is passivated the DIAGNOSIS and
DIAGNOSIS_EXTENSION are not published, i.e. freezed.
Amendment 2 Changed DPV1 error code from "application - invalid range" to "access - state
2.3.3 conflict"
Integrate new in Common Definition of default values for optional or future use data elemens, data structures
data type clause or View objects.
Amendment 2 figure 2 Replace text of written by operator with Block result of simulated status/value
Table 12 Remove resource state related definitions
Amendment 2, 2.4.1 Change sentence related to FB passivation to
A single Function Block can be passivated by changing the ACTUAL_MODE
parameter to O/S.
Amendment 2, 2.4.1, table entry remark related to FB passivation deleted:
Table 12 (diagnostics of this FB and related TBs do not affect DIAGNOSIS and
DIAGNOSIS_EXTENSION)

6 Mapping of the profile to PROFIBUS DP

6.1 Objective

Clause 6 defines the mapping of the PROFIBUS FB application profile definition to the
PROFIBUS DP protocol. The description of the device model and the block model is given in
Clause 5.

6.2 Technical overview

6.2.1 General

The profile, which is described in the General Requirement, and the data sheets specify FB
application definitions without communication characteristics. The profile definition aims to
provide access to the application parameters and functions. This access is done by acyclic and
cyclic data transfer supported by the Device Mapper, the interface between the FB application
and the PROFIBUS DP protocol. This mapping describes these two types of access (see
Figure 22.

PROFIBUS-PA

Profile Class A and B

Specification

Device Mapper Device Mapper


cyclic data transfer acyclic data transfer

Figure 22 Mapping of the application profile definition to cyclic and acyclic data
transfer

The mapping of the profile is done by means of three examples, a device with one Physical
Block, one Function Block and one Transducer Block, a device with more than one Transducer
Block and a device with more than one Function Block and Transducer Block.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 119

6.2.2 General Function Block mapping

Function Blocks are seen as functional modules similar to the more hardware oriented
pluggable modules of PROFIBUS DP devices. These modules are part of the GSD file which
are needed to configure the cyclic data transfer. This profile defines the following rules, to
allow the same mapping of PROFIBUS PA FBs as the PROFIBUS DP modules (see also 6.2.3
and 6.2.4):

1. 1 Slot contains 1 FB only.


2. Slot 1 contains the first FB, Slot 2 contains the 2nd FB, ..., i.e. there is a one to one
mapping between Module (in GSD), FB and Slot. Rule number 10 is the only exception.
3. All FBs start at Index 16 of the according Slot (i.e. Block_Object of FBs are always at
Index 16).
4. The directory of the Device Management starts at Slot 1 Index 0 always.
5. Physical Block shall be located in Slot 0 for all devices. It should begin at Index 16.
6. The order of the FBs in the Slots, the order of the references of the FB start addresses
in the Composite_Directory_Entry and the intentional order of the according FB
parameters in the cyclic telegram are the same. I.e. the order of the Identifier Byte or
Extended Identifier Format in the configuration string and the order of the FBs in the
slots should be the same.
7. The allocation of the Transducer Blocks to Slots is manufacturer specific. It is
recommended that devices with a fixed relation between FB and TB allocate the TB in
the same Slot as their FBs. However, one TB may be connected to more then one FB,
i.e. a FB may be connected to a TB of another Slot.
8. The allocation of the Physical Blocks for devices with more than one PB to Slots is
manufacturer-specific. It is recommended, that devices with a fixed relation between
these PB to TR (e.g. plugable hardware modules) allocate the PBs in the same Slot as
their TBs.
9. A not used FB of a device is represented by an Empty Slot Identifier in the configuration
string. Only a sequence of Empty Slot Identifiers at the end of the configuration string is
optional.
10. FBs which allocate more then 1 Slot are represented by Empty Slot Identifiers for the
additional Slots.

The allocation rules are suitable for applications which use FBs only. Commissioning and other
applications which access Physical Block, Transducer Block and Link Object parameters need
the information of the directory in the Device Management.

6.2.3 Mapping for acyclic data transfer

It shall be distinguished between the acyclic and cyclic data transfer. PROFIBUS DP provides
protocol functions for both requirements.

Each parameter of a device which has one unique address can be read or written. If a
parameter can be written this is defined in the according Function Block specification. The
parameter address is composed of one Slot number (range: 0 to 254 ) and one Index number
(range: 0 to 254). An address of one parameter is calculated as follows:

Parameter XX address = Slot/Index of BLOCK_OBJECT parameter as defined in the


COMPOSITE_DIRECTORY_ENTRY + Relative Index as defined in
parameter attribute tables of the according block. Is this sum
greater then 254 the Slot will be increased by 1 and the Index count
beginning by 0 (zero) again.
Address_of_VIEW_1 = address (Slot  Octet 1 - MSB /Index  Octet 2 - LSB) as defined
in BLOCK_OBJECT of the related block
Address_of_VIEW_n = VIEW_1 Address + (n-1)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 120

Figure 23 shows a simple device with one PB, FB and TB. The Physical Block parameters are
located in Slot 0. The parameters of the Device Management are assigned to Index 0 to 13 of
Slot 1. Function and Transducer Block parameters follow. Usually the blocks have 20 up to 50
parameters and one Slot has 255 Indexes (from 0 to 254, Index 255 of every Slot is reserved).

PA-Device

PB TB FB

DM
Device Mapper acyclic data transfer

DM - Device Management
PB - Physical Block
FB - Function Block
TB - Transducer Block

Slot 0 Slot 1
PB DM FB TB
Index 16 40 0 13 16 50 51 140
Index

Figure 23 Mapping of one PB, FB and TB to two Slots

If not all parameters fit in one Slot the blocks may overlap over the slot boundaries.

PA-Device

PB TB_1 TB_2 TB_3 FB

DM

Device Mapper acyclic data transfer

Slot 0
PB

Index 16 40

Slot 1
DM FB TB_1
DM - Device Management
Index 0 13 16 50 51 140
PB - Physical Block
FB - Function Block Slot 2
TB - Transducer Block TB_2 TB_3
Index 0 114 115

Figure 24 Mapping of one PB, FB and more than one TB to three Slots
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 121

A more complex device needs more Slots to locate all parameters. The allocation in the Slots
is manufacturer-specific. Gaps between Slot numbers are not allowed, but not all Indices of a
Slot have to be used.

PA-Device

PB TB_1 TB_2 TB_3 FB_1 FB_2

DM

Device Mapper acyclic data transfer

Slot 0 Slot 2
PB FB_2 TB_2

Index 16 40 Index 16 75 76 190

DM - Device Management Slot 1 Slot 3


PB - Physical Block DM FB_1 TB_1 TB_3
FB - Function Block 0
Index 0 13 16 50 51 140 Index
TB - Transducer Block

Figure 25 Mapping of one PB and more than one FB and TB to several Slots

PA-Device

PB TB_1 TB_2 TB_3 FB_1 FB_2 LO

DM

Device Mapper acyclic data transfer

Slot 0 Slot 2
PB FB_2 TB_2

Index 16 40 Index 16 75 76 190


DM - Device Management
PB - Physical Block Slot 1 Slot 3
FB - Function Block DM FB_1 TB_1 TB_3 LO
TB - Transducer Block
0 13 16 50 51 140 0 79 80 81
LO - Link Object Index Index

Figure 26 Mapping of one PB, two FBs, three TBs and one Link object

PROFIBUS DP maps the block parameter structure to modules which contain the references
between the service parameters (Slot and Index) and the FB application block parameters.
Each block parameter is mapped to a Slot/Index combination. The starting Slot/Index and the
number of block parameters are block specific. The Device Management parameters are fixed
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 122

bonded to defined modules (i.e. Slot/Index). The block parameters are device specific bonded
to the Slots and Index which are referenced in the directory in the Device Management. The
Device Mapper is a logical sub-layer and contains the wiring between block parameters and the
Slot/Index combination and protects the FB application block structures from the DP
communication facilities.

6.2.4 Mapping for cyclic data transfer

In the FB application profile definition only FBs may have cyclic parameters. Physical and
Transducer Blocks do not have cyclic parameters. In the example Figure 27 the FB has one out
parameter only which takes place in the cyclic data transfer.

PA-Device

PB FB
TB

DM

Device Mapper cyclic data transfer

Outp_Data empty
Inp_Data Value, Status

DM- Device Management


PB - Physical Block
FB - Function Block
TB - Transducer Block

Figure 27 Mapping of one cyclic FB parameter to the Inp-Data frame

If there are more than one Transducer Block in a device but one Function Block only, there is
no difference in cyclic data transfer. If there is more than one Function Block with more than
one cyclic parameter the data elements are concatenated in the Input and Output data frame
(Inp_Data and Outp_Data). The order of the parameters of one Function Block in the input and
output data frame is from the lower to the higher Relative Index in the Parameter Attribute table
of the Function Blocks. Is there more then one FB with the same type in a device (e.g. 3 AI
FBs) the order of the cyclic parameters in the Input and Output data frame is the same as the
order of the FB in the directory.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 123

PA-Device

PB FB_1 FB_2 TB_ TB_2 TB_3

DM

Device Mapper cyclic data transfer

Outp_Data Value, Status

Inp_Data Value, Status Value, Status Value, Status

DM - Device Management
PB - Physical Block
FB - Function Block
TB - Transducer Block

Figure 28 Mapping of more than one Cyclic FB parameter to the Inp, Outp data frame

The Chk_Cfg-REQ-PDU contains the Cfg_Data, which describes the members of the Inp_Data
and Outp_Data of the Data_Exchange service. Each block which provides parameters to the
Inp_Data and Outp_Data shall be addressed by an Identifier Byte. Only Function Block
parameters with the cyclic attribute in the parameter attribute table become members of the
cyclic data transfer. For more details about the cyclic data transfer refer to IEC 61158-5-3 and
IEC 61158-6-3 specification.

If an optional parameter for cyclic data transport (marked with O/cyc), which is not
implemented but is selected for cyclic data transfer in the Chk_Cfg-REQ-PDU, this Cfg_Data
may be accepted by the device. In this case the status shall be set to BAD passivated
(condensed status) or BAD not connected (classic status) and the value shall be set to
zero.

6.2.5 Detailed definition of the Device Management

6.2.5.1 Overview

All parameters of a device visible across the PROFIBUS DP communication protocol are
related to a certain block or object (e.g. Link object). The configuration of a device in terms of
blocks and objects are device type and manufacturer specific. The concrete configuration of a
device is described in a so called Directory object which is located in the Device Management.
The Directory object is defined to act as a guide to the information within the Function Block
application of a device and is described in the General Requirements. This information may be
read by an interface device desiring to access parameters and used to fulfill the necessary
check during the Chk_Cfg-REQ-PDU or Get_Cfg-RES-PDU services respectively.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 124

Device
Device Management

Physical Block Transducer Block


Block_header Block_header

Directory

other
device
Parameter order
parameter syntax and
semantic
descripted
Link Object Function Block in PA Profile
Block_header

Pointer

Figure 29 The relationship between blocks, block parameters and the directory in the
Device Management

The Directory contains in an unambiguously defined syntax the numbers and types of
instantiated blocks and objects in its device. This reference table provides the link between the
directory defined in this profile and the manufacturer-specific allocation of the block or object
beginning in the DP address range. The Directory is part of the Device Management.

6.2.5.2 Device Management parameter description

The device management parameters are described in 5.2.6.

6.2.5.3 Device Management mapping and parameter attributes

The Device Management occupies slot 1 index 0 to 13. Table 104 speifies the structure.

Table 104 Parameter attributes of the Device Management


(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Usage /
Access

Kind of
Usage
Name
Index

Store

Size

DIRECTORY_OBJECT_ Directory Array of


0 C spec R C/a M
HEADER Header Unsigned16
Begin_PB C 2 R C/a M
No_PB C 2 R C/a M
COMPOSITE_LIST_
Begin_TB_ Array of C 2 R C/a M
DIRECTORY_ENTRIES /
1 No_TB Unsigned16 C 2 R C/a M
COMPOSITE_
Begin_FB_ C 2 R C/a M
DIRECTORY_ENTRIES
No_FB C 2 R C/a M
Begin_LO_ C 2 R C/a O
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 125

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Usage /
Access

Kind of
Usage
Name
Index

Store

Size
No_LO (*) C 2 R C/a O
Slot/Index_PB C 2 R C/a M
No_PB_Param C 2 R C/a M
Slot/Index_1.TB C 2 R C/a M
No_1.TB_Para C 2 R C/a M
m
...
Slot/Index_n.xB
COMPOSITE_ No_n.xB_Param
2 ... Array of
DIRECTORY_ENTRIES ... C spec R C/a O
8 Unsigned16
continuous Slot/Index_n.LO
No_n.LO.Param
9 ...
Reserved by PI M
13
END of DEVICE
MANAGEMENT
Start of 1 st Function
16 Block_Object DS-32 ...
Block
...
to
254
(*) The Composite_List_Directory_Entry for Link_Object can appear, although no Link_Object is implemented.
In this case No_LO shall be set to zero.

The use of the data types is specified in Table 105, Table 106, and Table 107.

Table 105 Data types of Header (Slot 1 Index 0)

First_Comp_ Num_Comp_
Dir_ID Dir_Rev_Num Num_Dir_Obj Num_Dir_Entry
List_Dir_Entry List_Dir_Entry
Unsigned16 Unsigned16 Unsigned16 Unsigned16 Unsigned16 Unsigned16

Table 106 Composite_List_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry


number 1 and 2)

Begin_PB Num_PB Begin_TB Num_TB


Index Offset Index Offset
high byte low byte high byte low byte

Unsigned16 Unsigned16 Unsigned16 Unsigned16


Directory_Entry number 1 Directory_Entry number 2

Table 107 Composite_List_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry


number 3 and 4)

Begin_FB Num_FB Begin_LO Num_LO


Index Offset Index Offset
high byte low byte high byte low byte

Unsigned16 Unsigned16 Unsigned16 Unsigned16


Directory_Entry number 3 Directory_Entry number 4
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 126

Directory_Entry
One logical field in the directory composed of a reference and a counter, which occupy 4
bytes.
COMPOSITE_LIST_DIRECTORY_ENTRIES (first part of the entry which occupies 2 bytes)
reference COMPOSITE_DIRECTORY_ENTRIES and count the number of
COMPOSITE_DIRECTORY_ENTRIES of the same type (Physical Blocks, Function Blocks,
Transducer Blocks or Link Objects).
COMPOSITE_DIRECTORY_ENTRIES reference the first parameter of the Blocks (first part
of the entry which occupies 2 bytes) and count the number of parameters within the Blocks
or object.
Index (Directory object number)
Index is the read and write service attribute Index of this parameter which contains the
according COMPOSITE_DIRECTORY_ENTRIES parameter. The valid range is 1 to 13.
Offset (Directory Entry number)
Offset is the logical number of COMPOSITE_DIRECTORY_ENTRIES, which is counted
within the directory starting with the first COMPOSITE_LIST_DIRECTORY_ENTRY by 1.

COMPOSITE_DIRECTORY_ENTRIES
Slot 1 Index 1 (directly after COMPOSITE_LIST_DIRECTORY_ENTRIES in the same
array).

Table 108 Composite_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry


number 5 and 6)

PB_ID TR_ID
Pointer to PB Number of Pointer to TB Number of
Slot Index parameters Slot Index parameters

high byte low byte high byte low byte

Unsigned16 Unsigned16 Unsigned16 Unsigned16


Directory_Entry number 5 Directory_Entry number 6

Table 109 Composite_Directory_Entries (Slot 1 is fixed; Index 1; Directory_Entry


number 7 and 8)

FB_ID LO_ID
Pointer to FB Number of Pointer to LO Number of
Slot Index parameters Slot Index parameters

high byte low byte high byte low byte

Unsigned16 Unsigned16 Unsigned16 Unsigned16


Directory_Entry number 7 Directory_Entry number 8

Slot/Index
Reference to the first parameter of a block (BLOCK_OBJECT) or an object
(LINK_OBJECT).

PB_ID, TR_ID, FB_ID and LO_ID are logical numbers for design and configuration purposes.
The TR_ID is used to calculate the absolute parameter address of the TB parameter
referenced by the CHANNEL parameter of a FB.

The following ranges are valid for the xx_Ids within one Directory:

1 <= PB_ID <= 255


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 127

1 <= TR_ID <= 255


1 <= FB_ID <= 255
1 <= LO_ID <= 255

Subclause 6.2.5.4 presents examples for the Directory for the devices used in 6.2.3.

PB_ID, TB_ID and FB_ID are defined as a position of the corresponding block in the
nd
Composite_Directory_Entries of the according Block Object type (see 2 element of the Block
structure DS-32) starting with 1.

6.2.5.4 Device Management directory examples

6.2.5.4.1 Device with 1 PB, 1 FB and 1 TB

This example is configured according to Figure 23. The device management parameters are
shown in Table 110, Table 111, and Table 112. The Composite_Directory_Entries are direct
after Composite_List_Directory_Entries in the same array.

Table 110 Header (Slot 1; Index 0)

First_Comp_ Num_Comp_
Dir_ID Dir_Rev_Num Num_Dir_Obj Num_Dir_Entry
List_Dir_Entry List_Dir_Entry
0 1 1 6 1 3

Table 111 Composite_List_Directory_Entries (Slot 1; Index 1)

Begin_PB Num_PB Begin_TB Num_TB Begin_FB Num_FB


Index Offset Index Offset Index Offset

1 4 1 1 5 1 1 6 1

Directory_Entry number 1 Directory_Entry number 2 Directory_Entry number 3

Table 112 Composite_ Directory_Entries (Slot 1; Index 1)

PB_ID = 1 TR_ID = 1 FB_ID = 1


Pointer PB Number of PB Pointer TB Number of TB Pointer FB Number of FB
Slot Index parameters Slot Index parameters Slot Index parameters

0 16 25 1 51 90 1 16 35

Directory_Entry number 4 Directory_Entry number 5 Directory_Entry number 6

6.2.5.4.2 Device with 1 PB, 1 FB and 3 TB

This example is configured according to Figure 24. The device management parameters are
shown in Table 113, Table 114, Table 115, and Table 116.

Table 113 Header (Slot 1; Index 0)

First_Comp_ Num_Comp_
Dir_ID Dir_Rev_Num Num_Dir_Obj Num_Dir_Entry
List_Dir_Entry List_Dir_Entry
0 1 2 8 1 3
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 128

Table 114 Composite_List_Directory_Entries (Slot 1; Index 1)

Begin_PB Num_PB Begin_TB Num_TB Begin_FB Num_FB


Index Offset Index Offset Index Offset

2 4 1 2 5 3 2 8 1

Directory_Entry number 1 Directory_Entry number 2 Directory_Entry number 3

Table 115 Composite_ Directory_Entries (Slot 1; Index 2, new parameter)

PB_ID = 1 TR_ID = 1 TR_ID = 2


Pointer PB Pointer TB_1 Number of Pointer TB_2 Number of
Number of PB
TB_1 TB_2
Slot Index parameters Slot Index Slot Index
parameters parameters
0 16 25 1 51 90 2 0 115

Directory_Entry number 4 Directory_Entry number 5 Directory_Entry number 6

Table 116 Composite_ Directory_Entry number 7 and 8

TR_ID = 3 FB_ID = 1
Pointer TB_3 Number of Pointer FB
Number of FB
TB_3
Slot Index Slot Index parameters
parameters
2 115 <139 1 16 35

Directory_Entry number 7 Directory_Entry number 8

6.2.5.4.3 Device with 1 PB, 2 FBs and 3 TBs

This example is configured according to Figure 25. The device management parameters are
shown in Table 117, Table 118, Table 119, and Table 120.

Table 117 Header (Slot 1; Index 0)

First_Comp_ Num_Comp_
Dir_ID Dir_Rev_Num Num_Dir_Obj Num_Dir_Entry
List_Dir_Entry List_Dir_Entry
0 1 2 9 1 3

Table 118 Composite_List_Directory_Entries (Slot 1; Index 1)

Begin_PB Num_PB Begin_TB Num_TB Begin_FB Num_FB


Index Offset Index Offset Index Offset

2 4 1 2 5 3 2 8 2

Directory_Entry number 1 Directory_Entry number 2 Directory_Entry number 3

Table 119 Composite_ Directory_Entries (Slot 1; Index 2, new parameter)

PB_ID = 1 TR_ID = 1 TR_ID = 2


Pointer PB Pointer TB_1 Number of Pointer TB_2 Number of
Number of PB
TB_1 TB_2
Slot Index parameters Slot Index Slot Index
parameters parameters
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 129

0 16 25 1 51 90 2 76 115

Directory_Entry number 4 Directory_Entry number 5 Directory_Entry number 6

Table 120 Composite_ Directory_Entries number 7, 8, and 9

TR_ID = 3 FB_ID = 1 FB_ID = 2


Pointer TB_3 Number of Pointer FB_1 Number of Pointer FB_2 Number of
TB_3 FB_1 FB_2
Slot Index parameters Slot Index parameters Slot Index parameters
3 0 <254 1 16 35 2 16 60

Directory_Entry number 7 Directory_Entry number 8 Directory_Entry number 9

6.2.5.4.4 Device with 1 PB, 2 FBs and 3 TBs and 1 Link object

This example is configured according to Figure 26. The device management parameters are
shown in Table 121, Table 122, Table 123, Table 124, Table 125, and Table 126.

Table 121 Header (Slot 1; Index 0)

First_Comp_ Num_Comp_
Dir_ID Dir_Rev_Num Num_Dir_Obj Num_Dir_Entry
List_Dir_Entry List_Dir_Entry
0 1 2 11 1 4

Table 122 Composite_List_Directory_Entries (Slot 1; Index 1)

Begin_PB Num_PB Begin_TB Num_TB Begin_FB Num_FB


Index Offset Index Offset Index Offset

2 5 1 2 6 3 2 9 2

Directory_Entry number 1 Directory_Entry number 2 Directory_Entry number 3

Table 123 Composite_List_Directory_Entries with optional Begin_LO

Begin_LO Num_LO
Index Offset

2 11 1
Directory_Entry number 4

Table 124 Composite_ Directory_Entries (Slot 1; Index 2, new parameter) for


Directory_Entry number 5, 6, and 7

PB_ID = 1 TR_ID = 1 TR_ID = 2


Pointer PB Pointer TB_1 Number of Pointer TB_2 Number of
Number of PB
TB_1 TB_2
Slot Index parameters Slot Index Slot Index
parameters parameters
0 16 25 1 51 90 2 76 115

Directory_Entry number 5 Directory_Entry number 6 Directory_Entry number 7


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 130

Table 125 Composite_ Directory_Entries number 8, 9, and 10

TR_ID = 3 FB_ID = 1 FB_ID = 2


Pointer TB_3 Number of Pointer FB_1 Number of Pointer FB_2 Number of
TB_3 FB_1 FB_2
Slot Index parameters Slot Index parameters Slot Index parameters
3 0 80 1 16 35 2 16 60

Directory_Entry number 8 Directory_Entry number 9 Directory_Entry number 10

Table 126 Composite_ Directory_Entries number 11

LO_ID = 1
Pointer LO Number of LO
Slot Index parameters

3 80 1
Directory_Entry number 11

6.3 Communication profile

6.3.1 Subset of services

The service subset of the communication protocol is defined in IEC 61158-5-3.

6.3.2 Return error codes

The error codes are defined in IEC 61158-6-3, 5.8 and used in the scope of this profile as
described in Table 127.

Table 127 DPV1 response codes

Error_Class Error_Class Error_Code


Error_code (Meaning) Description
(Meaning) (decimal) (decimal)
Data can not be read from the
application 10 read error 0 application (may happen if there is an
error in the EEPROM or in local bus)
Data can not be written to the
write error 1 application (may happen if there is an
error in the EEPROM or local bus)
Happens, if a module is not available
module failure 2
in a device anymore
reserved 3 ... 6 -
busy 7 Not used in the scope of this profile.
version conflict 8 Not used in the scope of this profile.
Data can not be written because the
parameter is read only, e.g. dynamic
feature not supported 9 measurement variables and constant
parameters (vendor name, HW and
SW revisions, ...).
manufacturer specific 10 ... 14
other 15 The reason is unspecific
The slot is existing (references from
access 11 invalid index 0 the directory available) but no
parameter is defined for this index.
The length in the write request does
write length error 1 not match (larger or smaller) to the
size of the parameter
Accessed a slot that contains no
invalid slot 2
parameters at all.
type conflict 3 Not used in the scope of this profile.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 131

Error_Class Error_Class Error_Code


Error_code (Meaning) Description
(Meaning) (decimal) (decimal)
invalid area 4 Access to invalid FI_Index
The device is in a state in which
access to a certain set of parameters
is not possible, e.g. device/block is in
AUTO mode and the operator tries to
write the output parameter (only
state conflict 5
possible in MAN mode) or the device
is locally operated.
The host should not retry because the
device can not leave this state without
external (operator or tool) interaction.
The parameter can not be written
because the device is write protected.
The write protection can be caused
by:
access denied 6 HW_WRITE_PROTECTION
WRITE_LOCKING, DIN
IPAR_ENABLE
PROFIsafe for PA state machine state
INSPECTION = S2 or S3
The parameter can not be written
because of the value is out of range,
e.g.:
configurations which are not allowed
(e.g. fixed channel between FB and
TB)
commands which are not supported
(e.g. FACTORY_RESET)
invalid range 7 functions which are not supported
(e.g. LIN_TYPE sphere, invalid
TARGET_MODE value)
a specific order in writing parameters
is necessary, for consistency reasons
invalid selection of an enumeration or
the value is smaller than the minimum
value or the value is greater than the
maximum value.
invalid parameter 8 Not used in the scope of this profile.
invalid type 9 Not used in the scope of this profile.
backup 10 Not used in the scope of this profile.
temporal invalid 11 Not used in the scope of this profile.
manufacturer specific 12 ... 14
other 15 The reason is unspecific.
Resource 12 read constraint conflict 0 Not used in the scope of this profile.
write constraint conflict 1 Not used in the scope of this profile.
The device is busy for a certain period
of time (e.g. calibration procedure
active, EEPROM access,
simultaneous access by another
resource busy 2 master).
The host should frequently retry
because the device will leave this
state without external (operator or
tool) interaction.
Tried to access up-/download
resource unavailable 3 parameter objects, but the device
does not support up-/downloading.
reserved 4 ... 7
manufacturer specific 8 ... 14
other 15 The reason is unspecific.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 132

6.3.3 Use of the DP Services to provide the profile functionality

6.3.3.1 Data_Exchange

This service is used for the cyclic data exchange of the block parameters with the cyclic
attribute. The current structure of the Data_Exchange service is specified by the block
structure of the device and defined by the Cfg_Data (see 6.3.3.2).

If more than one cyclic parameter is chosen, the order of the cyclic parameters in
Data_Exchange is according to the relative index of the parameters in the according parameter
attribute table, starting with the lowest one.

6.3.3.2 Chk_Cfg-REQ-PDU

6.3.3.2.1 General definition

This service initiates the Function Block application of a PROFIBUS PA device (i.e. the device
management) to check the consistency between the master and slave configuration of cyclic
data exchange.

IEC 61158-6-3 describes a structure of the service parameter Cfg_Data and the coding of a
number of identifiers. An identifier consists of one or multiple octets representing a
configuration of the cyclic input and output data string, which is transferred between a
PROFIBUS DP Master Class 1 and a PROFIBUS DP slave. In terms of this profile each
Function Block has its own identifier, which represents all parameters with the cyclic attribute
(see parameter attribute tables of each FB) for PROFIBUS DP communication configuration.

Before configuration the device answers to the Get_Cfg-REQ-PDU with the identifiers of Table
129 and Table 133 in bold print.

The structure of the Cfg_Data is directly derived from the block structure of the device,
described in the directory of the Device Management. The order of the cyclic parameters in the
cyclic data telegram is exactly the same as the order of the Function Blocks in the Slots i.e. the
Identifier Bytes are concatenated in the order of their Function Blocks in the Slots. According to
the example in Figure 25 the following Cfg_Data strings will be valid for the device (see also
Table 129), assuming that the Function Blocks are both Analog Input ones:

Identifier_Format 0x94, 0x94


Extended_Special_Identifier_Format 0x42, 0x84, 0x08, 0x05, 0x42, 0x84, 0x08, 0x05

In case of a device with 4 Discrete Outputs the following configuration is valid, assuming the
set point (SP_D) parameter is in the cyclic data telegram only.

Identifier_Format 0xA1, 0xA1, 0xA1, 0xA1

For Function Blocks different parameter combinations in the cyclic data telegram are possible.
The differences come from different user needs regarding the necessary scope of information
(with feed back of the actual position of the output or without) and the way of integration in the
control task (with remote cascade or without). During configuration the operator chooses the
parameter combination (see Table 129) and the tools concatenate the according configuration
string. For Function Blocks the different parameter combinations are marked with one
additional number in the Special_Identifier_Format as specified in Table 128.

Table 128 Identification for cyclic parameters

Bit Cyclic Parameter Cyclic Parameter Cyclic Parameter Cyclic Parameter Cyclic Parameter
for AO for DO for TOT for AI for DI
0 READBACK READBACK_D TOTAL OUT OUT_D
1 SP SP_D SET_TOT * *
2 RCAS_IN RCAS_IN_D MODE_TOT * *
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 133

Bit Cyclic Parameter Cyclic Parameter Cyclic Parameter Cyclic Parameter Cyclic Parameter
for AO for DO for TOT for AI for DI
3 RCAS_OUT RCAS_OUT_D * * *
4 CHECK_BACK CHECK_BACK * * *
5 POS_D * * * *
6 not used or vendor * * * *
specific
7 1 1 1 1 1

Table 129 defines the configuration strings for the already existing Function Blocks.

Table 129 Configuration strings for Function Blocks

Function Block Parameter Identifier_Format Special_Identifier_Format /


Extended_Special_Identifier_Format
Analog Input (AI) OUT 0x94 0x42, 0x84, 0x08, 0x05
Analog Output (AO) SP 0xA4 0x82, 0x84, 0x08, 0x05
SP 0x96, 0xA4 0xC6, 0x84, 0x86, 0x08, 0x05, 0x08,
READBACK 0x05, 0x05, 0x05
POS_D
SP 0x92, 0xA4 0xC3, 0x84, 0x82, 0x08, 0x05, 0x0A
CHECK_BACK
SP 0x99, 0xA4 0xC7, 0x84, 0x89, 0x08, 0x05, 0x08,
READBACK 0x05, 0x05, 0x05, 0x0A
POS_D
CHECK_BACK
RCAS_IN 0xB4 0xC4, 0x84, 0x84, 0x08, 0x05, 0x08,
RCAS_OUT 0x05
RCAS_IN 0x97, 0xA4 0xC5, 0x84, 0x87, 0x08, 0x05, 0x08,
RCAS_OUT 0x05, 0x0A
CHECK_BACK
SP 0x9E, 0xA9 0xCB, 0x89, 0x8E, 0x08, 0x05, 0x08,
READBACK 0x05, 0x08, 0x05, 0x08, 0x05, 0x05,
RCAS_IN 0x05, 0x0A
RCAS_OUT
POS_D
CHECK_BACK
Discrete Input (DI) OUT_D 0x91
Discrete Output (DO) SP_D 0xA1
SP_D 0xC1, 0x81, 0x81, 0x83
READBACK_D
SP_D 0xC1, 0x81, 0x82, 0x92
CHECK_BACK
SP_D 0xC1, 0x81, 0x84, 0x93
READBACK_D
CHECK_BACK
RCAS_IN_D 0xC1, 0x81, 0x81, 0x8C
RCAS_OUT_D
RCAS_IN_D 0xC1, 0x81, 0x84, 0x9C
RCAS_OUT_D
CHECK_BACK
SP_D 0xC1, 0x83, 0x86, 0x9F
READBACK_D
RCAS_IN_D
RCAS_OUT_D
CHECK_BACK
Totalizer TOTAL - 0x41, 0x84, 0x85
TOTAL - 0xC1, 0x80, 0x84, 0x85
SET_TOT
TOTAL - 0xC1, 0x81, 0x84, 0x85
SET_TOT
MODE_TOT
Not used 0x00 0x00

FBs can be removed from the cyclic data transfer using the PROFIBUS DP empty module
mechanism.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 134

6.3.3.2.2 Definition of profile specific identification format for multi-variable devices

Multi-Variable devices are compact or modular devices which are characterized by a variable
number and possibly a variable set of FB types. A fixed relation between Function Block
combinations and device types as done e.g. for temperature or level devices is not possible.
The used Function Block combination of a Multi-Variable device is a result of the configuration
process (i.e. dependent on the requirements of the application). It is not possible to specify all
useful combinations of Function Blocks of devices within this profile. Technological innovations
and manufacturer specific solutions offering a specific added value have to be configurable
within the scope of the profile, if the solutions use the behavior of the specified Function
Blocks. This is one of the main advantages using the modular Function Block model.

During the configuration an unambiguously identification of FBs and of their cyclic parameters
in the cyclic telegram has to be defined. So it is necessary to identify the type of Function Block
(Function Block code) and the chosen cyclic parameter combination of this particular FB within
the Chk_Cfg-REQ-PDU data string. Therefore the Function Block code and the chosen cyclic
parameter combination in the Cfg_Data has to match the order of the Function Blocks in the
Slots (remember: one slot contains one Function Block only!). This Cfg_Data is the result of
the configuration of the device using the GSD. Therefore there is one specific GSD file for
Multi-Variable devices, which gives the opportunity to configure all possible Function Block
combinations of all Function Block driven devices.

The profile specific identification format for Multi-Variable devices shall be built according to
the rules in Table 130.

Table 130 Construction of identification format for multi-variable devices

Header I/O I/O Block code Cyclic parameter


(if necessary) combination ID

Special_Cfg_ Length_Octet Length_Octet Manufacturer_ Manufacturer_


Identifier Specific_Data Specific_Data
according to according to
Table 132 Table 128

The bytes of the identification format represent the structure of the format according to
definition given in Table 131.

Table 131 Coding of the identification format for multi-variable devices

Byte Bit Element Description


1 7 ... 6 Header Number/type of length octets of I/O data
5 ... 4 fixed to 0 (Special_Identifier_Format)
3 ... 0 number of profile specific bytes
2 7 ... 6 I/O over all consistency and byte structure
5 ... 0 number of I/O bytes in the Identification Format
3 7 ... 6 I/O over all consistency and byte structure
5 ... 0 number of I/O bytes in the Identification Format (if both I and O)
3,4 7 ... 0 Block code see Table 132
4,5 7 ... 0 Cyc P ID see Table 128

Table 132 Definition of Function Block codes

Function Block Block Code


AI 0x81
AO 0x82
DI 0x83
DO 0x84
TOTALIZER 0x85
PID 0x86
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 135

Function Block Block Code


Reserved 0x87 to 0xEF
Manufacturer specific 0xF0 to 0xFF

Table 133 defines the Identification Format for Multi-Variable devices as far as defined in the
data sheets.Table 133 Identification formats for modules of multi-variable devices

Function Block Parameter Identification Format for Multi-Variable


devices
Analog Input (AI) OUT 0x42, 0x84, 0x81, 0x81
Analog Output (AO) SP 0x82, 0x84, 0x82, 0x82
SP 0xC2, 0x84, 0x86, 0x82, 0xA3
READBACK
POS_D
SP 0xC2, 0x84, 0x82, 0x82, 0x92
CHECK_BACK
SP 0xC2, 0x84, 0x89, 0x82, 0xB3
READBACK
POS_D
CHECK_BACK
RCAS_IN 0xC2, 0x84, 0x84, 0x82, 0x8C
RCAS_OUT
RCAS_IN 0xC2, 0x84, 0x87, 0x82, 0x9C
RCAS_OUT
CHECK_BACK
SP 0xC2, 0x89, 0x8E, 0x82, 0xBF
READBACK
RCAS_IN
RCAS_OUT
POS_D
CHECK_BACK
Discrete Input (DI) OUT_D 0x42, 0x81, 0x83, 0x81
Discrete Output (DO) SP_D 0x82, 0x81, 0x84, 0x82
SP_D 0xC2, 0x81, 0x81, 0x84, 0x83
READBACK_D
SP_D 0xC2, 0x81, 0x82, 0x84, 0x92
CHECK_BACK
SP_D 0xC2, 0x81, 0x84, 0x84, 0x93
READBACK_D
CHECK_BACK
RCAS_IN_D 0xC2, 0x81, 0x81, 0x84, 0x8C
RCAS_OUT_D
RCAS_IN_D 0xC2, 0x81, 0x84, 0x84, 0x9C
RCAS_OUT_D
CHECK_BACK
SP_D 0xC2, 0x83, 0x86, 0x84, 0x9F
READBACK_D
RCAS_IN_D
RCAS_OUT_D
CHECK_BACK
Totalisator TOTAL 0x42, 0x84, 0x85, 0x81
TOTAL 0xC2, 0x80, 0x84, 0x85, 0x83
SET_TOT
TOTAL 0xC2, 0x81, 0x84, 0x85, 0x87
SET_TOT
MODE_TOT
Not used 0x00

6.3.3.3 Get_Cfg-RES-PDU

This service delivers the current Cfg_Data (i.e. the order of the cyclic data in the
Data_Exchange service) of the device (see 6.3.3.2). The device shall return the bold marked
identifier before first configuration.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 136

6.3.3.4 Set_Prm-REQ-PDU

6.3.3.4.1 General

This service can be used to initialize parameters with application specific values. The
User_Prm_Data of this service are defined in IEC 61158-6-3 and may have manufacturer
specific additions which are described in manufacturer-specific GSD files.

IEC 61158-6-3 specifies 3 bytes User_Prm_Data with specific definitions regarding PROFIBUS
DP. For compatibility reasons devices shall accept User_Prm_Data_Len = 0 and
User_Prm_Data_Len 3. The definitions given in Table 134 shall apply for devices according
to this profile specification.

Table 134 DPV1_Enable of User_Prm_Data definition

GSD GSD key word GSD key word User_Prm_Data bit Comments
Revision DPV1-Slave MS1-RW-Support DPV1_Enable (valid
for MS1 connection
only)
3 and higher 0 (False) 0 (False) 0 (False) Devices without acyclic MS1
connections, devices have not
to support DPV1 specific
User_Prm_Data (only for
compatibility to older versions)
3 and higher 1 (True) 0 (False) 0 (False) Devices without acyclic MS1
connection have to support
DPV1 specific User_Prm_Data
3 and higher 0 (False) 1 (True) - This device configuration is not
valid (error in GSD)
3 and higher 1 (True) 1 (True) 1 (True) Devices with acyclic MS1
connection, acyclic MS1
connection will be opened
3 and higher 1 (True) 1 (True) 0 (False) Devices with acyclic MS1
connection, acyclic MS1
connection will not be used

Devices getting User_Prm_Data which are not in line with the definition of Table 134 shall set a
diagnosis Diag_Prm_Fault.

Parameter write access via Set_Prm is not blocked by any write protection mechanism as far
as there is no other behavior specified.

6.3.3.4.2 Profile specific Prm_Structure with PRM_COND

The support of this structure is mandatory. For compatibility reasons devices according to
5.3.4.3.2.3 shall also accept the Set_Prm service if the described Prm_Structure is not
transmitted. The device shall act as PRM_COND=0 (condensed status disabled) in this case.

PRM_COND is a bit which provides the ability to enable or disable the use of the condensed
status. It is transmitted in a Prm_Structure which is included in the Set_Prm service (see Table
135).

Table 135 Profile specific Prm_Structure

Byte Name Format Description


0 Structure_Length Unsigned8 Contains the number of bytes of this Prm_Structure
including the Structure_Length byte itself.
Fixed to 5
1 Structure_Type Unsigned8 Fixed to 65 = profile specific
2 Slot_Number Unsigned8 Fixed to 0
Means that the settings made with this Prm_Strcuture are
valid for the whole device.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 137

Byte Name Format Description


3 reserved Unsigned8 For future use.
Fixed to 0
4 Options OctetString(1)
7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
0 0 0 0 0 0 0 x
0
2 : PRM_COND
0: Condensed status disabled
1: Condensed status enabled
2 1 2 7 : reserved

Additional note for usage of profile GSD files by devices that do support the condensed status
only:

A Set_Prm telegram containing a profile Ident_Number shall be accepted by the device


although the Set_Prm telegram does not hold a PRM_COND Prm_Structure. The devices
are allowed to transmit the condensed status instead of the classical status in this case.

6.3.3.5 MS2_READ

This service is used to read block parameters with an acyclic or cyclic attribute. The address is
defined by Slot and Index number. The values of the Slot and Index number for a parameter in
a block can be calculated using the directory object.

6.3.3.6 MS2_WRITE

This service is used to write block parameters with an acyclic or cyclic attribute. The address is
defined by Slot and Index number. The values of the Slot and Index number for a parameter in
a block can be calculated using the directory object.

6.3.3.7 MS1_READ

If MS1_READ is supported then the same mapping rules as defined for MS2_READ are valid.
The support of MS1_READ is optional. The GSD definitions have to be considered.

6.3.3.8 MS1_WRITE

If MS1_WRITE is supported then the same mapping rules as defined for MS2_ WRITE are
valid. The support of MS1_WRITE is optional. The GSD definitions have to be considered.

6.3.3.9 Diagnosis-RES-PDU

6.3.3.9.1 General

The device is able to indicate changes of diagnostic information by sending a response with
high priority. Subsequently the Master is requesting the Diagnosis-RES-PDU from the device.
The Physical Block parameter DIAGNOSIS is mapped onto the Diagnosis-RES-PDU (see Table
136).

Table 136 Mapping of DIAGNOSIS into Diagnosis-RES-PDU service data structure

Byte Name Bit Value Info


Station_status_1,
For setting the Diag.Ext_Diag
Station_status_2,
(Extended Diagnosis) in
1 6 Station_status_3,
Station_status_1 see Table
Diag_Master_Add,
82
Ident_Number
7 Header_Octet 7 0 fixed
6 0 fixed
5 0 8 or optional block length
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 138

8 Status_Type 7 1 Status
Highest manufacturer
6 0 126 specific status. Not used in
future
The PB which contains the
9 Slot_Number 0
DIAGNOSIS
10 Specifier 7 2 0 reserved
1: Status appears Depends on the content of
1 0
2: Status disappears diagnosis
DIAGNOSIS of the PB in slot
11 14 DIAGNOSIS
0
DIAGNOSIS_ DIAGNOSIS_ EXTENSION of
15 20
EXTENSION the PB in slot 0 (optional)
manufacturer specific
21
(optional)
NOTE DIAGNOSIS_EXTENSION and manufacturer specific extensions shall not be transferred if a profile
specific Ident_Number is used. For further limitations see 6.4.

6.3.3.9.2 Status appears and status disappears

Table 137 shows how to treat the bits status appears and status disappears.

Table 137 Status appears / disappears

Bit A in DIAGNOSIS or Bit B in DIAGNOSIS or Status disappears Status appears


DIAGNOSIS_EXTENSION DIAGNOSIS_EXTENSION
0 0 0 0
0 -> 1 * 0 1
1 -> 0 0 1 0
* 0 -> 1 0 1
1 -> 0 1 1 0
0 1 -> 0 1 0
* does not matter (state 0 or 1 or transition 0->1 or 1->0)

This means in short terms:

The default position for the bits status appears and status disappears is 0.
Every new event is indicated as status appears despite whether there was one before or
has gone another (status appears has higher priority than status disappears).
If one or more events have gone and no new one has appeared this will be indicated as
status disappears.

The transition from WAIT-PRM to DATA-EXCH should be considered as power-on. Active


events should be indicated as appearing events.

6.3.3.10 Set_Slave_Add

Slave Devices conforming to this profile revision have to support the DP service
Set_Slave_Add. If these devices also have a hardware switch to select a bus address the
following rules have to be followed:

1. If the hardware switch provides a valid address this address is used by the device.
Set_Slave_Add is refused by the device.
2. If the hardware switch provides an invalid address it is interpreted as not present.
Set_Slave_Add is permitted by the device.
3. If the hardware switch is shifted from an invalid address to a valid address the device
takes over the hardware selected address.
4. If the hardware switch is shifted from a valid address to an invalid address the device
takes over the default address 126. Parameter No_Add_Chg will be reset.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 139

5. Physical Block parameter FACTORY_RESET code 2712 will reset an address set by
Set_Slave_Add (even if No_Add_Chg is set).

An address is valid if the value provided by the switch is within the valid range (<=125).

An address is invalid if the value provided by the switch is outside the valid range (>125).

Additionally the validity of the address can be provided by other means (e.g. additional switch).

6.3.4 Loss of cyclic communication

Loss of cyclic communication is the event that the DP watchdog timer expires due to missing
cyclic Data Exchange to the DP-Master.

During startup with no cyclic communication active, the status of parameters with attribute I
(input) and cyc (cyclic) shall be set to BAD no communication, no usable value (classic
status) / UNCERTAIN - substitute set (condensed status).

After loss of cyclic communication the status of parameters with attribute I (input) and cyc
(cyclic) shall be set to BAD no communication last usable value (classic status) /
UNCERTAIN - substitute set (condensed status).

6.3.5 Communication relationship

The connections access points (SAPs) between master class 1 and 2 and DP slaves as well as
the allowed services are defined in IEC 61158-5-3 and IEC 61158-6-3.

A device compliant with this profile shall provide 1 Master/Slave acyclic Class 2 (MS2
relationship) communication relationship in minimum.

IEC 61158-5-3 specifies the use of different logical applications in one device in terms of the
initiate service parameter API (Application Programming Interface). The PROFIBUS PA FB
application defined by this profile is reachable under API = 0 and SCL=0 only, i.e. the initiate
service parameter API shall be API=0 and SCL=0. The API as well as SCL numbers 1 <=
API/SCL <= 127 are reserved for future profile use. API/SCL numbers higher than 127 are
manufacturer specific.

The Initiate parameters Profile_Ident_Number and Profile_Feature_Supported are defined for


devices according to this profile as described in Table 138 additionally. The device has to
answer with these values of the Profile_Ident_Number and Profile_Feature_Supported
parameters independent what the initiate.req values of these parameters contain if the
initiate.req PDU fulfills the DPV1 definition.

Table 138 Initiate parameter values

Initiate parameter Value


Profile_Ident_Number 0x9700
Profile_Feature_Supported 0x0000

6.3.6 Default values for communication parameters (bus parameters)

6.3.6.1 RS485

The default communication parameters are a result of a PROFIBUS-Nutzerorganisation e.V.


(PI) working group. These parameters are the basis for a communication between PROFIBUS
stations without additional configuration (except the station address) at layer 2. Optimization
can be done for specific application purposes. The parameter definition is available in the GSD
files.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 140

6.3.6.2 IEC 61784-1 CP 3/2 MBP communication

The default communication parameters are a result of the PROFIBUS-Nutzerorganisation e.V.


(PI) working group DP specification. These parameters are the basis for a communication
between PROFIBUS stations without additional configuration (except the station address) at
layer 2. Optimization can be done for specific application purposes. The parameter definition is
available in the GSD files.

6.4 Automatic Ident_Number adaptation

The automatic Ident_Number adaptation provides a comfortable mechanism to adjust the


Ident_Number of the PROFIBUS PA slave to the configuration of a PROFIBUS master without
additional interaction by the user. The active Ident_Number is configured during startup by
using the Set_Prm and/or Set_Slave_Add service. This mechanism does not require any
additional acyclic parameter setting.

The automatic Ident_Number adaptation is mandatory for all devices according to this Profile.

6.4.1 General rules

The general rules give an overview about the general behavior of PA devices using the
automatic Ident_Number adaptation. Details are specified in the state machine described in
6.4.2.

The automatic Ident_Number adaptation is active only if the Physical Block parameter
IDENT_NUMBER_SELECTOR is set to 127 (adaptation mode of the device); otherwise the
slaves Ident_Number is fixed and cannot be changed by the mechanism described in 6.4.
The active Ident_Number can be changed by using the DP services Set_Prm and/or
Set_Slave_Add. A device according to this Profile has to support both ways.
Change of the Ident_Number is allowed only in state WAIT-PRM of the MSCY1S state
machine specified in IEC 61158-6-3.
Change of the Ident_Number is accepted even if the device is write protected (e.g. by a
hardware write protection mechanism or via the Physical Block parameter
WRITE_LOCKING).
No static parameters are modified when the Ident_Number is changed. Therefore no
update event is generated. No ST_REV parameter is incremented.
In cases where the Ident_Number within the Set_Prm service is ignored by the MSCY1S
state machine (e.g. setting of the min Tsdr) the transferred Ident_Number is also ignored
for Ident_Number adaptation even if a valid number is transferred.
If the Ident_Number is changed the MS0 configuration is reset to the corresponding default
setting in order to provide a valid configuration for a following Get_Cfg service.
Modification should be done immediately; i.e. the first Set_Prm service should be accepted
even if the actual Ident_Number of the slave is not according to the requested
Ident_Number.
After power-on or reset the Ident_Number which was active before shall be used.
As a manufacturer specific extension the Ident_Number might be provided as a dynamic
read-only parameter to make diagnosis and support easier.
If a slave is set to the automatic Ident_Number adaptation its Diagnosis-RES-PDU is
limited to 6 bytes while the MSCY1S state machine is in state WAIT-PRM, i.e. only
Status_status_1, Station_status_2, Station_status_3, Diag_Master_Add and the actual
Ident_Number are transferred in this case. This will avoid conflicts if the PROFIBUS master
expects a reduced diagnosis length because of its configured GSD file.
The Ident_Number is adapted even if the USR_PRM_DATA are not accepted.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 141

6.4.2 State machine

6.4.2.1 General

The state machine is an adapted extract of the MSCY1S state machine specified in IEC 61158-
6-3, 9.1, which supports the automatic ident number adaptation.

6.4.2.2 Local variables


B Prm
(Octet String)

Intermediate storage for Prm data.

6.4.2.3 Functions

Table 139 contains the functions used by the MSCY1S state machine in addition to the
specifications of the IEC 61158-6-3, 9.1.

Table 139 Additional functions used by the MSCY1S

Name Function
IDENT_NUMBER_OK Ident_Number is equal to one of the entries in the list of Ident_Numbers supported by the
slave
PA_PRM_OK Prm_Data.len > 7
&& Lock_Req=TRUE
&& Unlock_Req=FALSE
&& IDENT_NUMBER_OK=TRUE
&& (WD_On=FALSE || (WD_Fact_1>0 && WD_Fact_2>0))
&& (Freeze_Req=FALSE || Freeze_Supported)
&& (Sync_Req=FALSE || Sync_Supported)
&& (Prm_Data[1].0, .1, .2=FALSE)
&& OPERATION_MODE_OK

6.4.2.4 State transitions

The transitions listed in Table 140 shall replace the corresponding transitions specified in the
IEC 61158-6-3, 9.1. The table contains only those transitions which are modified because of
the automatic Ident_Number adaptation. Other transitions are not influenced.

NOTE The numbering of the transitions does not correspond to the numbering used in the IEC 61158-6-3, 9.1
specification.

Table 140 Modified MSCY1S state transitions

# Current State Event Next State


/Condition
=> Action
1 WAIT-PRM MSCY1S Set Slave Diag.req ( Ext Diag Flag, Ext Diag Overflow, Ext WAIT-PRM
Diag_Data, Reference )
=>
Diag.Ext_Diag_Data := Ext Diag Data
Diag.Ext_Diag_Flag := Ext Diag Flag
Diag.Ext_Diag_Overflow := Ext Diag Overflow
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
Diag Data := Diag
Act_Ref := Act_Ref + 1
Act_Cnt := Reference
Ref_Cnt := Act_Ref
DMPMS Slave Diag Upd.req ( Diag Data, Reference:=Act_Ref )
MSCY1S Set Slave Diag.cnf (+) ( Reference:=Act_Cnt )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 142

# Current State Event Next State


/Condition
=> Action
2 WAIT-PRM DMPMS Set Slave Add.ind ( New Slave Add, Ident_Number, No Add Chg, POWER-ON
Rem Slave Data )
/Real_No_Add_Chg=FALSE && IDENT_NUMBER_OK=TRUE &&
Diag.Ident_Number=Ident_Number && New_Slave_Add<=125
=>
MSCY1S Set Slave Add.ind ( New Slave Add, Ident_Number, No Add
Chg, Rem Slave Data )
3 WAIT-PRM DMPMS Set Slave Add.ind ( New Slave Add, Ident_Number, No Add Chg, POWER-ON
Rem Slave Data )
/Real_No_Add_Chg=FALSE && IDENT_NUMBER_OK=TRUE &&
Diag.Ident_Number<>Ident_Number && New_Slave_Add<=125
=>
MSCY1S Set Slave Add.ind ( New Slave Add, Ident_Number, No Add
Chg, Rem Slave Data ) (*)
4 WAIT-PRM DMPMS Set Slave Add.ind ( New Slave Add, Ident_Number, No Add Chg, WAIT-PRM
Rem Slave Data )
/Real_No_Add_Chg=TRUE || IDENT_NUMBER_OK=FALSE ||
New_Slave_Add>125
=>
ignore (according to IEC 61158-6-3)
5 WAIT-PRM DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Lock_Req=TRUE && Unlock_Req=FALSE &&
(IDENT_NUMBER_OK=FALSE || OPERATION_MODE_OK=FALSE ||
WD_ON=TRUE && (WD_Fact_1=0 || WD_Fact_2=0))
=>
Diag.Prm_Fault := TRUE
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
6 WAIT-PRM DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Lock_Req=TRUE && Unlock_Req=FALSE &&
IDENT_NUMBER_OK=TRUE && OPERATION_MODE_OK=TRUE &&
(WD_On=FALSE || (WD_FACT_1>0 && WD_FACT_2>0)) &&
(Freeze_Req=TRUE && Freeze Supp=FALSE || Sync_Req=TRUE &&
Sync Supp=FALSE || Prm_Data[1].0, .1, .2=TRUE)
=>
Diag.Not_Supported := TRUE
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
7 WAIT-PRM DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-CFG
/PA_PRM_OK=TRUE && Ident_Number=Diag.Ident_Number &&
Prm_Pending=0
=>
Diag.Master_Add := Req Add
Check_Prm_Add := Req Add
FirstSynch := TRUE
SET_OPERATION_MODE
SET_WD
Active_Groups := Group_Ident
Diag.Prm_Fault := FALSE
Diag.Prm_Req := FALSE
Diag.Not_Supported := FALSE
Prm_Pending := 1
Parameter Data := Prm Data
SET_ALARM_CHKCFGM
Input_Pending := FALSE
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
DMPMS Set minTsdr.req ( minTsdr )
MSCY1S Check User Prm.ind ( Prm Structure, Parameter Data ) (**)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 143

# Current State Event Next State


/Condition
=> Action
8 WAIT-PRM DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-CFG
/PA_PRM_OK=TRUE && Ident_Number<>Diag.Ident_Number && (*****)
Prm_Pending=0
=>
Diag.Master_Add := Req Add
Check_Prm_Add := Req Add
FirstSynch := TRUE
SET_OPERATION_MODE
SET_WD
Active_Groups := Group_Ident
Diag.Prm_Fault := FALSE
Diag.Prm_Req := FALSE
Diag.Not_Supported := FALSE
Diag.Ident_Number := Ident_Number
Prm_Pending := 1
Parameter Data := Prm Data
SET_ALARM_CHKCFGM
Input_Pending := FALSE
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
DMPMS Set minTsdr.req ( minTsdr )
MSCY1S Check User Prm.ind ( Prm Structure, Parameter Data ) (***)
9 WAIT-PRM DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-CFG
/PA_PRM_OK=TRUE && Ident_Number=Diag.Ident_Number &&
Prm_Pending>0
=>
Diag.Master_Add := Req Add
Check_Prm_Add := Req Add
FirstSynch := TRUE
SET_OPERATION_MODE
SET_WD
Active_Groups := Group_Ident
Diag.Prm_Fault := FALSE
Diag.Prm_Req := FALSE
Diag.Not_Supported := FALSE
Prm_Pending := 2
B Prm := Prm Data
SET_ALARM_CHKCFGM
Input_Pending := FALSE
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
DMPMS Set minTsdr.req ( minTsdr )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 144

# Current State Event Next State


/Condition
=> Action
10 WAIT-PRM DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-CFG
/PA_PRM_OK=TRUE && Ident_Number<>Diag.Ident_Number && (*****)
Prm_Pending>0
=>
Diag.Master_Add := Req Add
Check_Prm_Add := Req Add
FirstSynch := TRUE
SET_OPERATION_MODE
SET_WD
Active_Groups := Group_Ident
Diag.Prm_Fault := FALSE
Diag.Prm_Req := FALSE
Diag.Not_Supported := FALSE
Diag.Ident_Number := Ident_Number
Prm_Pending := 2
B Prm := Prm Data
SET_ALARM_CHKCFGM
Input_Pending := FALSE
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
DMPMS Set minTsdr.req ( minTsdr )
11 WAIT-CFG MSCY1S Abort.req ( ) WAIT-PRM
=>
Operation_Mode := V0
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
Diag.Station_Not_Ready := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
StopTimer(WD)
Diag.WD_On := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
12 WAIT-CFG MSCY1S Check User Prm Result.req ( Prm_OK ) WAIT-CFG
/Prm_Pending=2
=>
Status := New Prm
Prm_Pending := 1
Parameter Data := B Prm
MSCY1S Check User Prm Result.cnf (-) ( Status )
MSCY1S Check User Prm.ind ( Prm Structure, Parameter Data ) (****)
13 WAIT-CFG MSCY1S Check User Prm Result.req ( Prm_OK ) WAIT-PRM
/Prm_Pending=1 && Diag.Master_Add=Check_Prm_Add &&
Prm_OK=FALSE
=>
Prm_Pending := 0
Diag.Prm_Fault := TRUE
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_ref := Act_Ref + 1
MSCY1S Check User Prm Result.cnf (+) ( )
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 145

# Current State Event Next State


/Condition
=> Action
14 WAIT-CFG MSCY1S Check Cfg Result.req ( Cfg_OK, Input Data Len, Output Data WAIT-PRM
Len )
/Cfg_Pending=1 && Diag.Master_Add=Check_Cfg_Add &&
Cfg_OK=FALSE
=>
Cfg_Pending := 0
Diag.Cfg_Fault := TRUE
Diag.Prm_Req := TRUE
Diag.Master_Add := invalid
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
MSCY1S Check Cfg Result.cnf (+) ( )
15 WAIT-CFG MSAC1S Abort.ind ( ) WAIT-PRM
=>
Operation_Mode := V0
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
16 WAIT-CFG DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Unlock_Req=TRUE && Diag.Master_Add=Req_Add
=>
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
17 WAIT-CFG DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Unlock_Req=FALSE && Lock_Req=TRUE &&
Diag.Master_Add=Req_Add && (Ident_Number<>Diag.Ident_Number ||
OPERATION_MODE_OK=FALSE || WD_On=TRUE && (WD_Fact_1=0 ||
WD_Fact_2=0))
=>
Diag.Prm_Fault := TRUE
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 146

# Current State Event Next State


/Condition
=> Action
18 WAIT-CFG DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Unlock_Req=FALSE && Lock_Req=TRUE &&
Diag.Master_Add=Req_Add && Ident_Number=Diag.Ident_Number &&
OPERATION_MODE_OK=TRUE && (WD_On=FALSE || (WD_Fact_1>0
&& WD_Fact_2>0)) && (Freeze_Req=TRUE && Freeze Supp=FALSE ||
Sync_Req=TRUE && Sync Supp=FALSE || Prm_Data[1].0, .1, .2=TRUE)
=>
Diag.Not_Supported := TRUE
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
19 WAIT-CFG WDTimer expired WAIT-PRM
=>
Diag.Master_Add := invalid
Diag.Prm_Req := TRUE
StopTimer(WD)
Diag.WD_On := FALSE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
STOP_C1
Diag Data := Diag
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
20 DATA-EXCH MSCY1S Abort.req ( ) WAIT-PRM
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
21 DATA-EXCH MSCY1S Set Cfg.req ( Cfg Data ) WAIT-PRM
=>
Diag.Cfg_Fault := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Get Cfg Upd.req ( Cfg Data )
MSCY1S Set Cfg.cnf (+) ( )
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
22 DATA-EXCH MSCY1S Check Cfg Result.req ( Cfg_OK, Input Data Len, Output Data WAIT-PRM
Len )
/Cfg_Pending=1 && Diag.Master_Add=Check_Cfg_Add &&
Cfg_OK=TRUE && (Input Data Len<>Inp Data Len || Output Data
Len<>Outp Data Len)
=>
Diag.Cfg_Fault := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
MSCY1S Check Cfg Result.cnf (+) ( )
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 147

# Current State Event Next State


/Condition
=> Action
23 DATA-EXCH MSCY1S Check Cfg Result.req ( Cfg_OK, Input Data Len, Output Data WAIT-PRM
Len )
/Cfg_Pending=1 && Diag.Master_Add=Check_Cfg_Add &&
Cfg_OK=FALSE
=>
Diag.Cfg_Fault := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
MSCY1S Check Cfg Result.cnf (+) ( )
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
24 DATA-EXCH MSAC1S Abort.ind ( ) WAIT-PRM
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
25 DATA-EXCH DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Unlock_Req=TRUE && Diag.Master_Add=Req_Add
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
26 DATA-EXCH DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Unlock_Req=FALSE && Lock_Req=TRUE &&
Diag.Master_Add=Req_Add && (Ident_Number<>Diag.Ident_Number ||
OPERATION_MODE_OK=FALSE || WD_On=TRUE && (WD_Fact_1=0 ||
WD_Fact_2=0))
=>
Diag.Prm_Fault := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
27 DATA-EXCH DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Prm_Data.len>=7 && Unlock_Req=FALSE && Lock_Req=TRUE &&
Diag.Master_Add=Req_Add && Ident_Number=Diag.Ident_Number &&
OPERATION_MODE_OK=TRUE && (WD_On=FALSE || (WD_Fact_1>0
&& WD_Fact_2>0)) && (Freeze_Req=TRUE && Freeze Supp=FALSE ||
Sync_Req=TRUE && Sync Supp=FALSE || Prm_Data[1].0, .1, .2=TRUE)
=>
Diag.Not_Supported := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
28 DATA-EXCH DMPMS Set Prm.ind ( Req Add, Prm Data ) WAIT-PRM
/Diag.Master_Add=Req_Add && PA_PRM_OK=TRUE && PV0V0=FALSE
&& NOPRMCMD
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 148

# Current State Event Next State


/Condition
=> Action
29 DATA-EXCH DMPMS Data Exchange.ind ( Outp Data ) WAIT-PRM
/Outp_Data.len<>Outp Data Len && (Outp_Data.len<>0 ||
Fail_Safe_supp)
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
30 DATA-EXCH WDTimer expired WAIT-PRM
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
31 DATA-EXCH DMPMS Global Control.ind ( Control Command, Group Select ) WAIT-PRM
/(Control Command.0, .6, .7=TRUE)
=>
Diag.Ext_Diag_Data := NIL
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
32 DATA-EXCH DMPMS Set Ext Prm.ind ( Req_Add, Ext Prm Data ) WAIT-PRM
/Diag.Master_Add=Req_Add
=>
Diag.Prm_Fault := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
33 DATA-EXCH MSCY1S Check Ext User Prm Result.req ( Ext_Prm_OK ) WAIT-PRM
/Ext_Prm_Pending=1 && Diag.Master_Add=Check_Ext_Prm_Add &&
Ext_Prm_OK=FALSE
=>
Diag.Cfg_Fault := TRUE
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Ext_Prm_Pending := 0
Act_Ref := Act_Ref + 1
MSCY1S Check Ext User Prm Result.cnf (+) ( )
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
34 CHECK-SYNC /SYNC && Sync Supp=FALSE WAIT-PRM
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
35 CHECK-FREEZE /FREEZE && Freeze Supp=FALSE WAIT-PRM
=>
Diag.Ext_Diag_Data := NIL
Diag.Ext_Diag_Flag := FALSE
LEAVE_MASTER
Act_Ref := Act_Ref + 1
DMPMS Slave Diag Upd.req ( Diag Data, Reference := Act_Ref )
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 149

# Current State Event Next State


/Condition
=> Action

(*) Afterwards the application has to restart the MSCY1S state machine by using the new Ident_Number and Cfg
Data compatible to this Ident_Number.
(**) Afterwards the application has to initiate updating the diagnosis data in order to make Ext_Diag_Data available.
(***) Afterwards the application has to set new Cfg Data compatible to the new Ident_Number. In addition the
application has to initiate updating the diagnosis data in order to make Ext_Diag_Data corresponding to the new
Ident_Number available.
(****) If the Ident_Number is changed the application has to update the Cfg Data corresponding to the new
Ident_Number. The application has to update the diagnosis data in order to make Ext_Diag_Data corresponding
to the new Ident_Number available.
(*****) It is also a valid behavior if the state machine goes to next state POWER-ON in this case.

6.5 Profile specific communication definition

6.5.1 Ident_Number

The profile provides its own Ident_Numbers for the devices. The classification is specified in
Table 141.

Table 141 Profile specific Ident_Number classification

Device type Assigned Ident_Numbers


Transmitter 0x9700 to 0x970F
Actuator 0x9710 to 0x971F
Discrete_Input 0x9720 to 0x972F
Discrete_Output 0x9730 to 0x973F
Transmitter AI + TOT 0x9740
Transmitter 2 AI + TOT 0x9741
Transmitter 3 AI + TOT 0x9742
Analyzer 0x9750
Multi_Variable 0x9760
Reserved all other numbers until 0x977F

Using the Ident_Numbers from 9700 to 9742 the interchangeability regarding the cyclic data
exchange is in principle possible. The prerequisite for interchangeability is that the Function
Blocks represent the same measurement and actuation type. The interchangeability covers the
following cases (basic set of Function Blocks):

One input or output Function Block per measurement and actuation point (e.g.
temperature)
Devices with more than one channel with one input or output Function Block per
measurement and actuation point (e.g. discrete output)
Specific and fixed combinations of Function Blocks (e.g. flow)

Devices which provide these basic set of Function Blocks shall support the according
Ident_Number in minimum for interchangeability reasons. If a device offers more then the basic
set of Function Blocks, it can be configured as Multi-Variable device additionally.

Devices which have one or more than one FB of the same type should take the following
Ident_Numbers:

lowest significant digit in the Ident_Number


0: 1 FB of the same type,
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 150

1: 2 FBs of the same type,


... F: 16 FBs of the same type

6.5.2 Reserved
NOTE This is an empty subclause to fullfill the editorial requirements of ISO/IEC directives.

6.6 GSD file names

6.6.1 Profile GSD file names


The name of the GSD files is combined out of:
PAyxnnnn.GSD
PA: fixed identifier for Profile GSD files
y: Identifier of the Physical Layer according to GSD specification
x: Version number of the GSD language specification, i.e. x = 3 for GSD V3.
nnnn: Ident_Number (9700 ... 970f, 9710 ...)
GSD: File extension.
EXAMPLE

GSD file name for Transmitter with one AI FB only is PA139700.gsd.

The profile GSD files are available at the PI server.

6.6.2 Vendor specific file names


The name of the GSD files should identify the revision of the GSD file as representation of the
device revision
xxrriiii.GS?
xx: name abbreviation of the vendor
rr: revision counter revision of the GSD file, alpha-numeric, manufacturer specific
iiii: Ident_Number allocated to the device by PROFIBUS&PROFINET International
GS?: Extension of the language dependent GSD file. E.g. GSG for German variant, GSE for
English variant, GSF for French variant, GSS for Spanish variant, GSI for Italian
variant. Additionally a file with extension GSD for Default is required by specific master
systems.

6.7 GSD files

The GSD files according to the definition of this mapping are actual available at the PI web
server.

There are no restrictions for manufacturer specific GSD except those coming from the
IEC 61158-5-3 and IEC 61158-6-3 definitions.

It is recommended to use only data types which have appropriate definitions in this document.

Profile GSD shall cover all devices so sometimes there are features described in the Profile
GSD that a device cannot fulfill. E. g. with RS-485 transmission some devices do not support
the higher baud rates. Or a device does not support the maximum length of acyclic data written
down in the Profile GSD etc.

The following modifications in the GSD file have to be made to support the transmission of the
Prm_Structure which contains PRM_COND to enable the condensed status:
GSD_Revision=4 ;or higher. Prm_Structure support starts with GSD_Revision 4
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 151

DPV1_Slave=1 ;is required when using Prm_Structures

Max_User_Prm_Data_Len=8 ;or higher


;DPV1_Status1...3 and profile specific Prm_Structure (size = 5 bytes).
;In DPV1_Status_3 the bit Prm_Structure (Bit 3) has to be set. The size of the
;User_Prm_Data is higher if additionally more Prm_Structures are supported by the
slave
;An existing keyword User_Prm_Data_Len in the GSD file has to be deleted.

PrmText=1
Text(0)=Disabled
Text(1)=Enabled
EndPrmText

ExtUserPrmData=1 Condensed Status


Bit(0) 1 0-1 ;PRM_COND
Prm_Text_Ref=1 ;reference to PrmText
EndExtUserPrmData

;The Prm_Structure begins at an offset of three bytes in the User_Prm_Data


;because DPV1_Status1...3 are transmitted in the first three bytes
Ext_User_Prm_Data_Const(3)=0x05,0x41,0x00,0x00,0x01 ;default values
;Structure_Length = 5
;Structure_Type = 65 (profile
specific)
;Slot_Number = 0
;reserved = 0
;PRM_COND = 1 (enabled)
Ext_User_Prm_Data_Ref(7)=1; ;reference to condensed status bit PRM_COND
Prm_Block_Structure_supp=1 ;enables the block structure of extended
parameterization
6.8 Conformance statements

Table 142 provides the conformance statement template.

Table 142 Conformance statement for communication capabilities

Item Conformance statement Subelement


Communication Capabilities M
MS0 M
MS1 O
MS2 M

6.9 Document history

Table 143 shows the changes from release version V3.0 to V3.01.

Table 143 Changes from V3.0 to V3.01

Clause/Figure/Table Change
Cover, Header, Footer Update of date and version
9.1 Physical Block shall be located in Slot 0 for all devices. Old clause 6 deleted.
9.2 Correction of figures concerning allocation and sequence of Blocks, first and last
index
9.3 Description of status of an optional not implemented cyclic parameter added.
9.4.3/Table 69 Footnote added concerning Link Object
9.4.3 Sentence added: PB_ID, TB_ID and FB_ID is defined as position of the
corresponding block in the Composite_Directory_Entries of the according Block
Object type (see 2 nd element of the Block structure DS-32) starting with 1.
9.4.4.1/Figure 22 PB located in Slot 0
9.4.4.2/Figure 23
10.2/Table 70 Adaptation of the table header to the terms of IEC 61158
10.2/Table 70 Access Invalid range: Additional description if an invalid selection of an
enumeration or a value is tried to be written which is out of a range of valid values.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 152

Clause/Figure/Table Change
10.2/Table 70 Better definition of Access temporal invalid: The requested service can not be
carried out because it is temporally not possible (not valid) in the current state of
the device.
10.3.7 and 10.3.8 MSAC1 services are optional.
10.3.9.1 New to clarify the treating of status disappears and status appears in Diagnosis-
RES-PDU.
10.3.10 Clarification of the rules if a hardware switch is implemented to select the bus
address.
10.3.11 Subclause Alarm handling deleted
10.3.12 Subclause Download deleted
13 Additional hints and recommendations concerning manufacturer specific and
profile GSDs

Table 144 shows the changes from release version V3.01 to V3.02.

Table 144 Changes from V3.01 to V3.02

Clause/Figure/Table Change
in V3.01
In general Spelling improved
8.2 and 8.3 Moved to common for references and definitions
Figure 14, 15 Title corrected
Table 70 Header Relative Index changed to Index
Figure 22 .. 25 Tables corrected
Table 71 Changed descriptions
Table 77 GSD revision 2 is not valid any more. First table entry deleted.
9.4.3 Added explanation that TR_ID is used in combination with the CHANNEL
parameters.
11.2 Subclause GSD File Names was improved.
10.2 Integrate new error codes "application, feature not supported and "application,
busy"
Added description to error code "access, invalid area"
Renamed error code "Read only" to "backup"
SET_PRM subclause Sentence deleted: This profile does not define any User_Prm_Data.
9 Delete the sentence: The alarm handling and the Up/Download mapping to
PROFIBUS DP will be defined in a future version of this document.
10.3.2 Changed names of Chk_Cfg identifier formats:
Identifier Byte  Identifier Format
Extended Identifier format  Extended Special Identifier format
Identification Format  Special Identifier format
New 6.4 with automatic Ident_Number adaptation added

7 Device data sheet transmitter

7.1 Additional parameters for the Physical Block parameter description

There are no additional parameters. First manufacturer specific block parameter may start at
Relative Index 33.

7.2 Analog Input Function Block

7.2.1 Analog Input Function Block overview

7.2.1.1 General

Analog Input Function Blocks represent transmitters. The parameters are shown in Figure 30.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 153

Figure 30 Summary of the parameters of Analog Input Function Block

Figure 31 Simulation, mode and status diagram of the Analog Input Function Block

The structure of the AI with Simulation, Mode and Status is shown in Figure 31. More details
about the relationships between the AI parameters are visible in Figure 32.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 154

Figure 32 Parameter relationship of AI FB

Figure 33 presents a summary of the inputs and outputs of the Mode- and Status-generation.

Figure 33 Conditions of mode and status generation

Permitted Mode is an element of the FB Parameter MODE_BLK. The Target Mode is set by the
operator. The Permitted Mode is predefined by the device manufacturer (Figure 33). Also the
high and low limiting value (HI_LIM, HI_HI_LIM, LO_LIM, LO_LO_LIM), regarding the output
value, influences the status of the output.

Actual Mode is an attribute of the FB-Parameter MODE_BLK and the result of the mode
calculation. The Status (OUT) is coupled with the OUT parameter (Data Type 101) of the block.

7.2.1.2 AI state machine

The modes O/S (Out of Service), MAN (Manual) and AUTO (Automatic) are mandatory as
permitted modes for AI FBs according to conformance class B as shown in Figure 34.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 155

O/S

5 2
9 1

8 3 7
Auto Man
4

Figure 34 State machine of the Analog Input Function Block

7.2.1.3 Conditions on which the Actual Mode is calculated and the Target Mode is
changed

Table 145 contains on the left side all conditions which demand a mode change from the Actual
Mode (last execution) to a new Actual Mode of the AI-Function Block. The results of the
calculation are illustrated on the right side.

The first column contains the number of the transition of the state machine in Figure 34.

General condition: permitted modes are O/S (OUT value last usable value or fail safe value),
Man (OUT value provided by the operator) and Auto (OUT value provided by the device).

Table 145 Conditions and results of the Actual Mode calculation

Conditions Result

Transition Target-Mode Actual Mode (calculated)


(Operator)
T2,T5,T6 O/S O/S
T4,T8,T9 Auto Auto
T1,T3,T7 Man Man

7.2.1.4 Conditions on which the output status is generated

Table 146 shows the conditions influencing the status of the output parameter. The conditions
are illustrated on the left side and the results of the calculation on the right.

Table 146 Conditions and results of the status calculation of the output parameter

Conditions Result

Actual-Mode Status Status


(Transducer input) (Out)
O/S * BAD - out of service, constant (classic status)
BAD - passivated, constant (condensed status)
Man * as written by the operator
Auto BAD Influenced by the parameter FSAFE_TYPE
Auto <> BAD Influenced by the following parameters:
PV Sub status
Alarms (ST_REV, Limits)
internal AI FB conditions
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 156

Conditions Result

Actual-Mode Status Status


(Transducer input) (Out)
Priority table of status (see General Requirements)
* no influence

7.2.2 Parameter description of the Analog Input Function Block

Table 147 Parameter description of the Analog Input Function Block

Parameter Description
OUT The Function Block parameter OUT contains the current measurement value in a
vendor specific or configuration adjusted engineering unit and the belonging status in
AUTO MODE. The Function Block parameter OUT contains the value and status set
by an operator in MAN MODE.
PV_SCALE Conversion of the Process Variable into percent using the high and low scale values.
The engineering unit of PV_SCALE high and low scale values are directly related to
the PV_UNIT of the configured Transducer Block (configured via Channel
parameter). The PV_SCALE high and low scale values follow the changes of the
PV_UNIT of the related Transducer Block automatically, i.e. a change of the
Transducer Block PV_Unit causes no bump at OUT from AI. There are exceptions
possible where the bump is required such as cleaning of analyzers.
OUT_SCALE Scale of the Process Variable.
The Function Block parameter OUT_SCALE contains the values of the lower limit and
upper limit effective range, the code number of the engineering unit of Process
Variable and the useful number of digits on the right hand side of the decimal point.
LIN_TYPE Type of linearization. For details see Table 50.
CHANNEL Reference to the active Transducer Block which provides the measurement value to
the Function Block. For more details, please see the General Requirement definitions
(see 5.1.5).
PV_FTIME Filter time of the Process Variable.
The Function Block parameter PV_FTIME contains the time constant for the rise time
of the FB output up to a value of 63.21 % resulted from a jump on the input (PT1
filter). The engineering unit of the parameter is second.
FSAFE_TYPE Defines the reaction of the device, if a fault is detected. The calculated ACTUAL
MODE remains in AUTO.
0: value FSAFE_VALUE is used as OUT
Status = UNCERTAIN - Substitute Value, (**)
1: use last stored valid OUT value
Status = UNCERTAIN-last usable value
(if no valid value is available UNCERTAIN-initial value shall be used;
OUT value is initial value in this case) (**)
2: OUT has the wrong calculated value and status
Status - BAD_(*) (**)
(*) as calculated
(**) if classic status definition is in use; for condensed status see Table 83
FSAFE_VALUE Default value for the OUT parameter, if a sensor or sensor electronic fault is
detected. The unit of this parameter is the same like the OUT one.
ALARM_HYS Hysteresis
Within the scope of the PROFIBUS PA specification for transmitters there are
functions for the monitoring of limit violation (off-limit conditions) of adjustable limits.
Maybe the value of one process variable is just the same as the value of a limit and
the variable fluctuates around the limit it will occur a lot of limit violations.
That triggers a lot of messages; so it shall be possible to trigger messages only after
crossing an adjustable hysteresis. The sensitivity of triggering of the alarm messages
is adjustable. The value of the hysteresis is fixed in ALARM_HYS and is the same for
the parameters HI_HI_LIM, HI_LIM, LO_LIM and LO_LO_LIM. The hysteresis is
expressed as value below high limit and above low limit in the engineering unit of
xx_LIM.
HI_HI_LIM Value for upper limit of alarms.
If the measured variable is equal to or higher than the HI_HI_LIM value the Limit Bit
high limited in the Status Byte of OUT and the HI_HI_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is the same like the
OUT one.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 157

Parameter Description
HI_LIM Value for upper limit of warnings.
If the measured variable is equal to or higher than the HI_LIM value, the Limit Bit
high limited in the Status Byte of OUT and the HI_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is the same like the
OUT one.
LO_LIM Value for lower limit of warnings.
If the measured variable is equal to or lower than the LO_LIM value, the Limit Bit low
limited in the Status Byte of OUT and the LO_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is the same like the
OUT one.
LO_LO_LIM Value for the lower limit of alarms.
If the measured variable is equal to or lower than the LO_LO_LIM value, the Limit Bit
low limited in the Status Byte of OUT and the LO_LO_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is the same like the
OUT one.
HI_HI_ALM State of the upper limit of alarms.
This parameter contains the state of the upper limit of an alarm and the related time
stamp. The time stamp expresses the time the measured variable has been equal to
or higher than the upper limit of the alarm.
HI_ALM State of the upper limit of warnings.
This parameter contains the state of the upper limit of a warning and the related time
stamp. The time stamp expresses the time the measured variable has been equal to
or higher than the upper limit of the warning.
LO_ALM State of the lower limit of warnings.
This parameter contains the state of the lower limit of a warning and the related time
stamp. The time stamp expresses the time the measured variable has been equal to
or lower than the lower limit of the warning.
LO_LO_ALM State of the lower limit of alarms.
This parameter contains the state of the lower limit of an alarm and the related time
stamp. The time stamp expresses the time the measured variable has been equal to
or lower than the lower limit of the alarm.
SIMULATE For commissioning and test purposes the input value from the Transducer Block into
the Analog Input Function Block AI-FB can be modified. That means that the
Transducer and AI-FB will be disconnected.
OUT_UNIT_TEXT If a specific unit of OUT parameter is not in the code list (see General Requirement)
the user has the possibility to write the specific text into this parameter. The unit
code is then equal to textual unit definition.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 158

150.0 C physical limit of the process attachment OUT_SCALE


(scale of the
measured variable)
upper limit of effective range
100.0 C HI_HI_LIM (upper limit alarm)

HI_LIM (upper limit warning)

OUT
(measured
variable)

0.0 C
LO_LIM (lower limit warning) Time
LO_LO_LIM (lower limit alarm)

lower limit of effective range

-100.0 C physical limit of the process attachment

Figure 35 Example for the use of the Analog Input Function Block parameters

7.2.3 Parameter attributes of the Analog Input Function Block

Table 148 Parameter attributes of the Analog Input Function Block


Default Value
Object Type

Reset Class

Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
(Class I)
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Analog Input Function Block Parameters


r,w
10 OUT Record 101 D 5 O/cyc - - - M (A,B)
(*)
Array -
11 PV_SCALE Float S 8 r,w C/a F 1 M (A,B)
(**) (***)
-
12 OUT_SCALE Record DS-36 S 11 r,w C/a F 3 M (B)
(***)
2
13 LIN_TYPE Simple Unsigned8 S 1 r,w C/a F 0 M (B)
(****)
14 CHANNEL Simple Unsigned16 S 2 r,w C/a F - - M (B)
16 PV_FTIME Simple Float S 4 r,w C/a F 0 - M (A,B)
17 FSAFE_ TYPE (*****) Simple Unsigned8 S 1 r,w C/a F 1 - O (B)
18 FSAFE_VALUE Simple Float S 4 r,w C/a F - - O (B)
0.5
% of
19 ALARM_HYS Simple Float S 4 r,w C/a F - M (A,B)
rang
e
max
21 HI_HI_LIM Simple Float S 4 r,w C/a F 4.1 M (A,B)
value
max
23 HI_LIM Simple Float S 4 r,w C/a F 4.2 M (A,B)
value
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 159

Default Value
Object Type

Reset Class

Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
(Class I)
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
min
25 LO_LIM Simple Float S 4 r,w C/a F 4.3 M (A,B)
value
min
27 LO_LO_LIM Simple Float S 4 r,w C/a F 4.4 M (A,B)
value
30 HI_HI_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
31 HI_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
32 LO_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
33 LO_LO_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
dis-
34 SIMULATE Record DS-50 S 6 r,w C/a F - M (B)
able
35 OUT_UNIT_TEXT Simple OctetString S 16 r,w C/a - - - O (A,B)
36 ...
Reserved by PI M (A,B)
44
First manufacturer
45 O (A,B)
specific parameter
(*) The OUT parameter can be written if the AI FB Actual MODE = Man
(**) First Float value: value at EU of 100% (PV_SCALE.EU_at_100%), Second Float value: value at EU of 0% (PV_SCALE
.EU_at_0%)
(***) The values of OUT_SCALE and PV_SCALE shall be equal i.e. PV_SCALE. EU_at_100% = OUT_SCALE.
EU_at_100% and PV_SCALE. EU_at_0% = OUT_SCALE. EU_at_0%
(****) If available
(*****) If this parameter is not implemented the AI FB behaves like FSAFE_TYPE = 1

7.2.4 View object of the Analog Input Function Block

Table 149 View object of the Analog Input Function Block

Access
r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
10 OUT 5 5
11 PV_SCALE 8
12 OUT_SCALE 11
13 LIN_TYPE 1
14 CHANNEL 2
16 PV_FTIME 4
17 FSAFE_TYPE 1
18 FSAFE_VALUE 4
19 ALARM_HYS 4
21 HI_HI_LIM 4
23 HI_LIM 4
25 LO_LIM 4
27 LO_LO_LIM 4
30 HI_HI_ALM
31 HI_ALM
32 LO_ALM
33 LO_LO_ALM
34 SIMULATE 6
35 OUT_UNIT_TEXT 16
Overall sum of bytes in View-
Object (+ Standard parameter 5 + 13 11 + 13 67 + 46 reserved
bytes)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 160

7.2.5 Remarks on the usage of the PV, OUT and LIMIT parameters

Figure 36 Clarification of scaling parameters

7.3 Totalizer Function Block

7.3.1 Totalizer Function Block overview

7.3.1.1 General

A Totalizer may be used in various applications to integrate (totalize, accumulate) a rate or


another quantity (e.g. flow rate or power) to the corresponding integral (e.g. volume, mass or
distance). For instance Totalizers are typically implemented in flow devices to totalize a volume
or mass flow to a volume or a mass quantity.

The units for the rate and for the totalized quantity have to match (e.g. if the channel is a mass
flow (kg/s), then the totalized quantity has to be a mass kg, ton ...). The unit of the totalized
quantity is the integral or compatible (compatible means: kg, ton ... are compatible) to the
integral of the channel value unit. All totalized quantity related values (e.g. Hysteresis, Limits)
are in the UNIT_TOT.

The Totalizer Function Block can be tailored for different applications using the MODE_TOT
parameter. Additionally the FAIL_TOT parameter determines the fail-safe behavior of this
Function Block. The alarm parameters are identical to the parameters of the Analog Input
Function Block and might be also utilized e.g. for a batch functionality. No specific simulation or
test modes are defined since with the given control parameters a defined output of the
Function Block may be generated.

Permitted Mode is in minimum AUTO for Class A devices. The modes O/S (Out of Service),
MAN (Manual) and AUTO (Automatic) are mandatory as permitted modes for Totalizer FBs
according to conformance class B.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 161

Figure 37 Summary of the parameters of the Totalizer Function Block

The structure of the Totalizer Function Block and the internal data flow is shown in Figure 38.

Figure 38 Block diagram of the Totalizer Function Block

The CHANNEL provides the rate information to the Totalizer, which processes this input in
different stages depending on the settings of the control parameters. After passing the first two
blocks, which defines the fail-safe behavior and the operation of the Function Block, the actual
Function Block algorithm is entered.

The totalizer block accumulates the rate which represents the measured rate for a specific time
interval t, to a total quantity. The integration time interval t is in general specific to a certain
transmitter. Further, it might be constant or it might depend on certain parameters of the
transmitter or even the magnitude or the rate. The TOTAL is stored at the event of a power
failure by the device in a non-volatile memory and recovered after a following power-up.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 162

The Limitation Alarm affects the status of the output. 1

7.3.1.2 Totalizer state machine

O/S

5 2
9 1

8 3 7
Auto Man
4

Figure 39 State machine of the Totalizer Function Block

The possible transitions are illustrated in Figure 39. The MODEs have the following meanings:

O/S Totalizing is stopped.


MAN The TOTAL parameter of the Totalizer FB is disconnected from the Integrator
Block. The operator can write direct to the TOTAL parameter. Nevertheless the
Integrator Block continues totalizing according to the FB configuration.
AUTO The Totalizer FB processes the value from the transmitter (PV) according all
algorithms (totalizing, status and mode calculation, limit checks).

7.3.1.3 Actual Mode calculation

The Actual Mode of the Totalizer Function Block depends on the parameter TARGET_MODE
and internal state of the Function Block. Table 150 contains on the left side all conditions which
demand a mode change of Totalizer Function Block. The results of the calculation are
illustrated on the right side.

Table 150 Conditions and results of the Actual Mode calculation

Conditions Result
Transition Target-Mode Actual Mode (calculated)
(Operator)
T2,T5,T6 O/S O/S
T4,T8,T9 AUTO AUTO
T1,T3,T7 MAN MAN

The first column contains the number of the transition of the state machine in Figure 39.

General conditions:

Permitted modes are O/S (TOTAL value is last usable value or fail safe value), MAN
(TOTAL value is provided by the operator), AUTO (TOTAL value is provided by the device).

1 Same as the analog input block.


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 163

Normal mode is AUTO mode.

7.3.1.4 Status calculation

Table 151 shows the conditions which influence the status of the TOTAL parameter if the
classic status definition is used. See Table 84 for condensed status behavior. The conditions
are illustrated on the left side and the results of the calculation on the right.

Table 151 Conditions and results of the classic status calculation for TOTAL parameter

Conditions Result
Actual Status Internal
SET_TOT MODE_TOT FAIL_TOT Status (TOTAL)
Mode (Input) State
Quality Quality Sub-Status Limit
O/S * * * * * BAD Out of Service const.
MAN * * * * * as written by the operator
hardware
AUTO * * * * BAD Device Failure ok.
defect
inconsistent Configuration
* * * * BAD ok.
unit (****) Error
<>TOTALIZ
* * * ok. (***) UNCERTAIN Initial Value const. (**)
E
last status is frozen before
* TOTALIZE HOLD * ok. (***) const. (**)
MODE_TOT is set to HOLD
Last Usable
BAD TOTALIZE <> HOLD HOLD ok. (***) UNCERTAIN const. (**)
Value
BAD TOTALIZE <> HOLD MEM ok. (***) UNCERTAIN Non Specific ok. (**)
BAD TOTALIZE <> HOLD RUN ok. (***) UNCERTAIN Non Specific ok. (**)
Influenced (device specific) by
PV Sub status
Update Event
UNCERTAIN TOTALIZE <> HOLD * ok. (***)
Limit Check
Priority table of status
(see General Requirements)
Influenced (device specific) by
PV Sub status
Update Event
GOOD TOTALIZE <> HOLD * ok. (***)
Limit Check
Priority table of status
(see General quirements)
* no influence (do not care)
(**) Limit might be changed to high limited or low limited according to the Totalizer Limit Check
(***) ok. means no hardware defect and no inconsistent unit configured for UNIT_TOT
(****) Inconsistency between unit class of the transducer output (PV) and the UNIT_TOT of the totalizer.

7.3.2 Parameter description of the Totalizer Function Block

Table 152 Parameter description of the Totalizer Function Block

Parameter Description
TOTAL The Function Block parameter TOTAL contains the integrated quantity of the rate
parameter provided by CHANNEL and the associated status.
UNIT_TOT Unit of the totalized quantity.
CHANNEL Reference to the active Transducer Block, which provides the measurement value to
the Function Block.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 164

Parameter Description
SET_TOT Reset of the internal value of the FB algorithm to 0 or set this value to
PRESET_TOT. The Function Block parameter SET_TOT affects the current totalized
value immediately. This function is level sensitive. While SET_TOT is set to RESET
or PRESET, the status of the totalized value shall be UNCERTAIN-initial value.
The parameter TOTAL is affected if the block is in AUTO mode.

Totalized 0.0 PRESET_TOT


Value UNCERTAIN-init value UNCERTAIN-init value

0.0
Time
SET_TOT

0
Time

The following selections of this Function Block parameter are possible:


0: TOTALIZE; normal operation of the Totalizer
1: RESET; assign value 0 to Totalizer
2: PRESET; assign value of PRESET_TOT to Totalizer
MODE_TOT This Function Block parameter governs the behavior of the totalization. The following
selections are possible:
0: BALANCED; true arithmetic integration of the incoming rate values.
1: POS_ONLY; totalization of positive incoming rate values only.
2: NEG_ONLY; totalization of negative incoming rate values only.
3: HOLD; totalization stopped.
FAIL_TOT Fail-safe mode of the Totalizer Function Block. This parameter governs the behavior
of the Function Block during the occurrence of input values with BAD status. The
following selections are possible:
0: RUN; totalization is continued using the input values despite the BAD status.
The status is ignored.
1: HOLD; totalization is stopped during occurrence of BAD status of incoming
values.
2: MEMORY; totalization is continued based on the last incoming value
with GOOD status before the first occurrence of BAD status.
PRESET_TOT This value is used as a preset for the internal value of the FB algorithm. The value
gets effective if using the SET_TOT function.
ALARM_HYS Hysteresis
Within the scope of the PROFIBUS PA specification for transmitters there are
functions for the monitoring of limit violation (off-limit conditions) of adjustable limits.
Maybe the value of one process variable is just the same as the value of a limit and
the variable fluctuates around the limit it will occur a lot of limit violations.
That triggers a lot of messages; so it shall be possible to trigger messages only after
crossing an adjustable hysteresis. The sensitivity of triggering of the alarm messages
is adjustable. The value of the hysteresis is fixed in ALARM_HYS and is the same for
the parameters HI_HI_LIM, HI_LIM, LO_LIM and LO_LO_LIM. The hysteresis is
expressed as value below high limit and above low limit in the engineering unit of
xx_LIM.
HI_HI_LIM Value for upper limit of alarms
If the totalizer value is equal to or higher than the upper limit value the Limit Bit high
limited in the Status Byte of TOTAL and the HI_HI_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is defined by the
parameter UNIT_TOT.
HI_LIM Value for upper limit of warnings
If the totalizer value is equal to or higher than the upper limit value the Limit Bit high
limited in the Status Byte of TOTAL and the HI_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is defined by the
parameter UNIT_TOT.
LO_LIM Value for lower limit of warnings
If the totalizer value is equal to or lower than the lower limit value the Limit Bit low
limited in the Status Byte of TOTAL and the LO_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is defined by the
parameter UNIT_TOT.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 165

Parameter Description
LO_LO_LIM Value for the lower limit of alarms
If the totalizer value is equal to or lower than the lower limit value the Limit Bit low
limited in the Status Byte of TOTAL and the LO_LO_Alarm Bit in the FB parameter
ALARM_SUM have to change to 1. The unit of this parameter is defined by the
parameter UNIT_TOT.
HI_HI_ALM State of the upper limit of alarms
This parameter contains the state of the upper limit of an alarm and the related time
stamp. The time stamp expresses the time the totalizer value has been equal to or
higher than the upper limit of the alarm.
HI_ALM State of the upper limit of warnings
This parameter contains the state of the upper limit of a warning and the related time
stamp. The time stamp expresses the time the totalizer value has been equal to or
higher than the upper limit of the warning.
LO_ALM State of the lower limit of warnings
This parameter contains the state of the lower limit of a warning and the related time
stamp. The time stamp expresses the time the totalizer value has been equal to or
lower than the lower limit of the warning.
LO_LO_ALM State of the lower limit of alarms
This parameter contains the state of the lower limit of an alarm and the related time
stamp. The time stamp expresses the time at which the totalizer value has been
equal to or lower than the lower limit of the alarm.

7.3.3 Parameter attributes of the Totalizer Function Block

Table 153 Parameter attributes of the Totalizer Function Block

Default Value

OptionaIClas
Object Type

Reset Class

Mandatory
Parameter

Parameter
Data Type

Download
Transport
Relative

Usage /
Access

Kind of

s A,B)
Order
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Totalizer Function Block Parameters


r,w
10 TOTAL Record 101 N 5 O/cyc - 0 - M (A,B)
(*)
direc
t
integ
ral of
11 UNIT_TOT Simple Unsigned16 S 2 r,w C/a F the 1 M (A,B)
chan
nel
value
unit
12 CHANNEL Simple Unsigned16 S 2 r,w C/a F - 2 M (B)
0:
TOT
13 SET_TOT Simple Unsigned8 N 1 r,w I/cyc F - M (B)
ALIZ
E
14 MODE_TOT Simple Unsigned8 N 1 r,w I/cyc F - 3 M (B)
0:
15 FAIL_TOT Simple Unsigned8 S 1 r,w C/a F 4 M (B)
RUN
16 PRESET_TOT Simple Float S 4 r,w C/a F 0 8 M (B)
17 ALARM_HYS Simple Float S 4 r,w C/a F 0 5 M (A,B)
max
18 HI_HI_LIM Simple Float S 4 r,w C/a F 6 M (A,B)
value
max
19 HI_LIM Simple Float S 4 r,w C/a F 7 M (A,B)
value
min
20 LO_LIM Simple Float S 4 r,w C/a F 9 M (A,B)
value
min
21 LO_LO_LIM Simple Float S 4 r,w C/a F 10 M (A,B)
value
22 HI_HI_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
23 HI_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
24 LO_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 166

Default Value

OptionaIClas
Object Type

Reset Class

Mandatory
Parameter

Parameter
Data Type

Download
Transport
Relative

Usage /
Access

Kind of

s A,B)
Order
Name
Index

Store

Size
25 LO_LO_ALM Record DS-39 D 16 r C/a - 0 - O (A,B)
26 ...
Reserved by PI M (A,B)
35
First manufacturer
36 O (A,B)
specific parameter
(*) The TOTAL parameter can be written if the TOT FB Actual Mode = MAN, as done for OUT in AI FB.

7.3.4 View object of the Totalizer Function Block

Table 154 View object of the Totalizer Function Block

Access

r r r,w r

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
10 TOTAL 5 5
11 UNIT_TOT 2
12 CHANNEL 2
13 SET_TOT 1
14 MODE_TOT 1
15 FAIL_TOT 1
16 PRESET_TOT 4
17 ALARM_HYS 4
18 HI_HI_LIM 4
19 HI_LIM 4
20 LO_LIM 4
21 LO_LO_LIM 4
22 HI_HI_ALM
23 HI_ALM
24 LO_ALM
25 LO_LO_ALM
Overall sum of bytes in View-
reserve
Object (+ Standard parameter 5 + 13 5 + 13 31 + 46
d
bytes)

7.4 Transducer Blocks

7.4.1 General

The Transducer Blocks contain the measurement specific parameters. There is a selection of
measurement principles defined in this profile. The selected principles are marked in Figure 40.
This overview is in line with the German standard DIN V 19259.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 167

Measuring equipment

Measuring equipment with Measuring equipment for limit


analog or digital output detection

D E Q R S
(Density) (Electrical (Quality) (Radiation) (Speed, Rotation,
variables) Frequency)

F L P T W
(Flow) (Level) (Pressure) (Temperature) (Weight Mass)

Differential Resistance/
Hydrostatic Pressure
pressure thermocouple

Variable Differential
Displacement Pyrometer
area pressure

Electro-
Float Expansion
magnetic

Bimetallic
Ultrasonic Ultrasonic
strip

Vortex Hot/cold
Microwave
counter conductor

Displacement
Laser/optical
counter

Turbine wheel
Radiometric
counter

Coriolis Capacitance

Thermal

Figure 40 Overview about defined measuring equipment

7.4.2 Temperature

7.4.2.1 Temperature Transducer Block

7.4.2.1.1 Temperature Transducer Block overview

Subclause 7.4.2 describes the specific aspect of temperature measurement used in the
process control with three different primary elements, thermocouple, thermoresistance and
pyrometer. Figure 41 provides the functional diagram of the temperature Transducer Block.

7.4.2.1.2 Thermocouple input

The voltage generated from a thermocouple is compensated with a reference junction value,
internal or fixed value EXTERNAL_RJ_VALUE and is a function of the RJ_TYPE parameter.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 168

7.4.2.1.3 Thermoresistance input

There is the possibility to connect the thermoresistance with 2, 3 and 4 wires. The selection of
the internal circuit is chosen by parameter SENSOR_CONNECTION and compensated, if it is a
2 or 3 wires type, by parameter COMP_WIRE1/2.

7.4.2.1.4 Pyrometer input

The voltage generated from an optical sensor is multiplied by EMISSIVITY factor to relate as a
black body. The parameter SPECT_FILT_SET selects the internal optical filters for a specific
work-band in the infrared field.

7.4.2.1.5 Transmitter block

After control of short or open circuit and the range imposed by LOWER_SENSOR_LIMIT and
UPPER_SENSOR_LIMIT the Inputs 1 and 2 are linearized in function of parameter LIN_TYPE.

A BIAS_1/2 value is algebraically added to the measuring value.

Input 1 and input 2 are mathematically manipulated in function of parameter


SENSOR_MEAS_TYPE to obtain the main measuring value PRIMARY_VALUE.

Process Transducer Block Transducer Block AI FB(s)

0
RJ_TEMP 1 2 EXTERNAL_RJ_VALUE
R.J.

RJ_TYPE

R.J. Comp.

Arithmetic

Input LIN Linearization


BIAS_1

SECONDARY_VALUE_1
T1 Input 1 + LIN +

PRIMARY_VALUE

T2 Input 2 + LIN +
SECONDARY_VALUE_2

BIAS_2

INPUT_RANGE, LIN_TYPE, SENSOR_MEAS_TYPE


SENSOR_CONNECTION, TAB_...
COMP_WIRE1/2

Figure 41 Functional diagram of the Temperature Transducer Block

In optical pyrometer transducers there is the possibility to have more functions like peak picker
detector or track and hold.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 169

7.4.2.2 Parameter description of the Temperature Transducer Block

7.4.2.2.1 Description of the general parameters of the Temperature Transducer Block

Table 155 Description of the general parameters of the Temperature Transducer Block

Parameter Description
BIAS_1 Bias that can be algebraically added to the process value of channel 1.
The unit of BIAS_1 is the PRIMARY_VALUE_UNIT.
BIAS_2 Bias that can be algebraically added to the process value of channel 2.
The unit of BIAS_2 is the PRIMARY_VALUE_UNIT.
INPUT_FAULT_GEN Input malfunction: Diagnosis object for errors that concerns all values
0: device OK

Bit 0 Rj error
Bit 1 Hardware error
Bit 2 ... 4 reserved
Bit 5 ... 7 manufacturer specific
INPUT_FAULT_1 Input malfunction: Diagnosis object for errors that concern SV_1
0: Input OK

Bit 0 under range


Bit 1 over range
Bit 2 lead breakage
Bit 3 short circuit
Bit 4 ... 5 reserved
Bit 6 ... 7 manufacturer specific
INPUT_FAULT_2 Input malfunction: Diagnosis object for errors that concern SV_2
Bit definition see INPUT_FAULT_1
INPUT_RANGE Electrical input range and mode. The ranges are manufacturer specific but range n is
smaller than range n+1 if more than one range is supported for one input mode (e.g.
range1=0...400 , range2=0...4k ).
INPUT_RANGE is equal for channel 1 and 2.
Coding (other codes are reserved):
0: mV range 1
1: mV range 2
...
9: mV range 10
128: range 1
129: range 2
...
137: range 10
192: mA range 1
193: mA range 2
...
201: mA range 10
240: manufacturer specific
...
249: manufacturer specific
250: not used
251: none
252: unknown
253: special

Remark: When using codes 240 to 249 (manufacturer specific) interchangeability is


not possible.
LIN_TYPE Select the type of sensor (Code) for Thermocouples, Rtd, Pyrometers or linear.
For details see Table 50.
LOWER_SENSOR_LIMIT Physical lower limit function of the sensor (e.g. Pt 100 = -200C) and input range. In
the case of multi channel measurements (e.g. differential measurement) the meaning
of LOWER_SENSOR_LIMIT is the limit of one channel and not the calculated limit of
both channels.
The unit of LOWER_SENSOR_LIMIT is the PRIMARY_VALUE_UNIT.
MAX_SENSOR_VALUE_1 Holds the maximum SECONDARY_VALUE_1. The unit is defined in
SECONDARY_VALUE_1.
MIN_SENSOR_VALUE_1 Holds the minimum SECONDARY_VALUE_1. The unit is defined in
SECONDARY_VALUE_1.
MAX_SENSOR_VALUE_2 See MAX_SENSOR_VALUE_1
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 170

Parameter Description
MIN_SENSOR_VALUE_2 See MIN_SENSOR_VALUE_1
PRIMARY_VALUE Process value, function of SECONDARY_VALUE_1/2.
The unit of PRIMARY_VALUE is the PRIMARY_VALUE_UNIT.
PRIMARY_VALUE_UNIT Selects the unit code of the PRIMARY_VALUE and other values.
Minimum set of unit codes:
1000: K (Kelvin)
1001: C (degree Celsius)
1002: F (degree Fahrenheit)
1003: Rk (Rankine)
Electrical units shall be supported according to the supported INPUT_RANGE codes
(for LIN_TYPE=0).
SECONDARY_VALUE_1 Process value connected to channel 1 and corrected by BIAS_1. The unit of
(SV_1) SECONDARY_VALUE_1 is the PRIMARY_VALUE_UNIT.
SECONDARY_VALUE_2 Process value connected to channel 2 and corrected by BIAS_2. The unit of
(SV_2) SECONDARY_VALUE_2 is the PRIMARY_VALUE_UNIT.
SENSOR_MEAS_TYPE Mathematical function to calculate PRIMARY_VALUE (PV).
Coding:
0: PV = SV_1
1: PV = SV_2
2... 127: reserved
128: PV = SV_1 SV_2 Difference
129: PV = SV_2 SV_1 Difference
130... 191: reserved
192: PV = * (SV_1 + SV_2) Average
193: PV = * (SV_1 + SV_2) Average but SV_1 or SV_2 if the other is wrong
194... 219: reserved
220... 239: manufacturer specific
240... 255: reserved
NOTE If a measuring channel is not executed the status of its corresponding SV_it
shall be set to:
"BAD - passivated - constant" if condensed status is used
"BAD - out of service - constant" if classic status is used
SENSOR_WIRE_ Enables lead breakage and short circuit detection for Sensor 1.
CHECK_1 List of valid values :
0: Lead breakage and short circuit detection enabled
1: Lead breakage detection enabled, short circuit detection disabled
2: Lead breakage detection disabled, short circuit detection enabled
3: Lead breakage and short circuit detection disabled
SENSOR_WIRE_ Enables lead breakage and short circuit detection for Sensor 2
CHECK_2 Valid values: see SENSOR_WIRE_CHECK_1
TAB_ACTUAL_NUMBER See Table 50
TAB_ENTRY See Table 50
TAB_MAX_NUMBER See Table 50
TAB_MIN_NUMBER See Table 50
TAB_OP_CODE See Table 50
TAB_STATUS See Table 50
TAB_X_Y_VALUE See Table 50
UPPER_SENSOR_LIMIT Physical upper limit function of the sensor (e.g. Pt 100 = 850C) and input range. In
the case of multi channel measurements (e.g. differential measurement) the meaning
of UPPER_SENSOR_LIMIT is the limit of one channel and not the calculated limit of
both channels.
The unit of UPPER_SENSOR_LIMIT is the PRIMARY_VALUE_UNIT.

7.4.2.2.2 Description of additional parameters of thermocouple devices

Table 156 Thermocouple device Temperature Transducer Block parameter description

Parameter Description
RJ_TEMP Reference junction temperature. The unit of RJ_TEMP is the
PRIMARY_VALUE_UNIT. If PRIMARY_VALUE_UNIT is no temperature unit (e.g.
mV) RJ_TEMP is stated in C.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 171

Parameter Description
RJ_TYPE Selects reference junction from internal to fixed value.
Coding:
0: No reference: Compensation is not used (e.g. for TC Type B).
1: Internal: Reference junction temperature is measured by the device itself via
an internal or external mounted sensor.
2: External: The fixed value EXTERNAL_RJ_VALUE is used for compensation.
The reference junction shall be kept at a constant temperature (e.g. by a reference
junction thermostat).
EXTERNAL_RJ_VALUE Fixed temperature value of an external reference junction. The unit of
EXTERNAL_RJ_VALUE is the PRIMARY_VALUE_UNIT. If PRIMARY_VALUE_UNIT
is no temperature unit (e.g. mV) EXTERNAL_RJ_VALUE is stated in C.

7.4.2.2.3 Description of additional parameters of thermoresistance devices

Table 157 Thermoresistance devices Temperature Transducer Block parameter


description

Parameter Description
SENSOR_CONNECTION Connection to the sensor, selected for 2, 3 and 4 wires connection.
Coding:
0: 2 wires
1: 3 wires
2: 4 wires
COMP_WIRE1 Value in to compensate line resistance when the thermoresistance 1 is connected
with 2 or 3 wires.
COMP_WIRE2 Value in to compensate line resistance when the thermoresistance 2 is connected
with 2 or 3 wires.

7.4.2.2.4 Description of additional parameters of optical pyrometer devices

Table 158 Optical pyrometer devices Temperature Transducer Block parameter


description

Parameter Description
EMISSIVITY Emissivity compensation: Value in % (0 to 100) to compensate the process value as
a black body.
PEAK_TRACK Choice if normal measurement or peak picker (3 types) or track and hold is to be
inserted.
Coding:
0: No peak and no track
1: Peak A
2: Peak B
3: Peak C Mode 1
4: Peak C Mode 2
5: Track and hold
DECAY_RATE Decay rate in degrees/minutes (used with peak picker).
PEAK_TIME Time in seconds of peak picking type C.
TRACK_HOLD Logical level to track the measure and hold (used only with track and hold).
Coding:
0: Hold
1: Track
SPECT_FILT_SET Selection of filter type.
Coding:
0: No selection
1: Filter Nr. 1
2: Filter Nr. 2
3: Filter Nr. 3
...
N: Filter Nr. N
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 172

7.4.2.3 Parameter attributes of the Temperature Transducer Block

7.4.2.3.1 Parameter attributes of the Temperature Transducer Block general parameters

Table 159 Parameter attributes of the Temperature Transducer Block general


parameters

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Temperature Transducer Block Parameters


8 PRIMARY_VALUE Record 101 D 5 r C/a - M
9 PRIMARY_VALUE_UNIT Simple Unsigned16 S 2 r,w C/a F 2 M
10 SECONDARY_VALUE_1 Record 101 D 5 r C/a - M
11 SECONDARY_VALUE_2 Record 101 D 5 r C/a - O
12 SENSOR_MEAS_TYPE Simple Unsigned8 S 1 r,w C/a F 3 M
13 INPUT_RANGE Simple Unsigned8 S 1 r,w C/a F 4 M
14 LIN_TYPE See Table 51. 1 M
19 BIAS_1 Simple Float S 4 r,w C/a F 0.0 5 M
20 BIAS_2 Simple Float S 4 r,w C/a F 0.0 O
21 UPPER_SENSOR_LIMIT Simple Float N 4 r C/a - M
22 LOWER_SENSOR_LIMIT Simple Float N 4 r C/a - M
24 INPUT_FAULT_GEN Simple Unsigned8 D 1 r C/a - M
25 INPUT_FAULT_1 Simple Unsigned8 D 1 r C/a - M
26 INPUT_FAULT_2 Simple Unsigned8 D 1 r C/a - O
SENSOR_WIRE_
27 Simple Unsigned8 S 1 r,w C/a F O
CHECK_1
SENSOR_WIRE_
28 Simple Unsigned8 S 1 r,w C/a F O
CHECK_2
MAX_SENSOR_VALUE_
29 Simple Float N 4 r,w C/a I O
1
30 MIN_SENSOR_VALUE_1 Simple Float N 4 r,w C/a I O
MAX_SENSOR_VALUE_
31 Simple Float N 4 r,w C/a I O
2
32 MIN_SENSOR_VALUE_2 Simple Float N 4 r,w C/a I O
33 ...
... See Table 160, Table 161, and Table 162
44
45 TAB_ENTRY See Table 51 O (*)
46 TAB_X_Y_VALUE See Table 51 O (*)
47 TAB_MIN_NUMBER See Table 51 O (*)
48 TAB_MAX_NUMBER See Table 51 O (*)
49 TAB_OP_CODE See Table 51 O (*)
50 TAB_STATUS See Table 51 O (*)
51 TAB_ACTUAL_NUMBER See Table 51 O (*)
52 ...
Reserved by PI M
61
First manufacturer
62 O
specific parameter
(*) These parameters are mandatory if LIN_TYPE=1 (linearization table) is supported.

7.4.2.3.2 Parameter attributes of the additional parameters for thermocouple devices

Table 160 Parameter attributes of the additional parameters for thermocouple devices
Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 173

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
... Standard Parameters see General Requirements
... General Temperature Transducer Block Parameters

Additional Parameters for Thermocouple Devices


33 RJ_TEMP Simple Float D 4 r C/a - O
34 RJ_TYPE Simple Unsigned8 S 1 r,w C/a F 6 M
35 EXTERNAL_RJ_VALUE Simple Float S 4 r,w C/a F O (*)
36 ...
Reserved by PI (**)
44
(*) EXTERNAL_RJ_VALUE is mandatory if RJ_TYPE=2 (External) is supported.
(**) The additional parameters for thermoresistance and optical pyrometer devices may optionally be used. Otherwise these
indices shall not be used.

7.4.2.3.3 Parameter attributes of the additional parameters for thermoresistance devices

Table 161 Parameter attributes of the additional parameters for thermoresistance


devices

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size

... Standard Parameters see General Requirements


... General Temperature Transducer Block Parameters

Additional Parameters for Thermoresistance Devices


33 ...
Reserved by PI (*)
35
36 SENSOR_CONNECTION Simple Unsigned8 S 1 r,w C/a F 7 M
37 COMP_WIRE1 Simple Float S 4 r,w C/a F 0.0 8 M
38 COMP_WIRE2 Simple Float S 4 r,w C/a F 0.0 O (**)
39 ...
Reserved by PI (***)
44
(*) The additional parameters for thermocouple devices may optionally be used. Otherwise these indices shall not be used.
(**) COMP_WIRE2 is mandatory if SENSOR_MEAS_TYPE 128 is supported.
(***) The additional parameters for optical pyrometer devices may optionally be used. Otherwise these indices shall not be
used.

7.4.2.3.4 Parameter attributes of the additional parameters for optical pyrometer devices

Table 162 Parameter attributes of the additional parameters for optical pyrometer
devices
Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size

... Standard Parameters see General Requirements


... General Temperature Transducer Block Parameters

Additional Parameters for Optical Pyrometer Devices


33 ...
Reserved by PI (*)
38
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 174

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
100.
39 EMISSIVITY Simple Float S 4 r,w C/a F 9 M
0
40 PEAK_TRACK Simple Unsigned8 S 1 r,w C/a F 0 10 M
41 DECAY_RATE Simple Float S 4 r,w C/a F 11 M
42 PEAK_TIME Simple Float S 4 r,w C/a F 12 M
43 TRACK_HOLD Simple Unsigned8 S 1 r,w C/a F 0 13 M
44 SPECT_FILT_SET Simple Unsigned8 S 1 r,w C/a F 0 14 M
(*) The additional parameters for thermocouple and thermoresistance devices are optional. Otherwise these indices shall not
be used.

7.4.2.4 View object of the Temperature Transducer Block

Table 163 View object of the Temperature Transducer Block

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
8 PRIMARY_VALUE 5 5
9 PRIMARY_VALUE_UNIT 2 2
10 SECONDARY_VALUE_1 5
11 SECONDARY_VALUE_2 5
12 SENSOR_MEAS_TYPE 1 1
13 INPUT_RANGE 1
14 LIN_TYPE 1
19 BIAS_1 4
20 BIAS_2 4
21 UPPER_SENSOR_LIMIT 4
22 LOWER_SENSOR_LIMIT 4
24 INPUT_FAULT_GEN 1 1
25 INPUT_FAULT_1 1 1
26 INPUT_FAULT_2 1
27 SENSOR_WIRE_CHECK_1 1
28 SENSOR_WIRE_CHECK_2 1
29 MAX_SENSOR_VALUE_1 4
30 MIN_SENSOR_VALUE_1 4
31 MAX_SENSOR_VALUE_2 4
32 MIN_SENSOR_VALUE_2 4
33 RJ_TEMP 4
34 RJ_TYPE 1 1
35 EXTERNAL_RJ_VALUE 4 4
36 SENSOR_CONNECTION 1
37 COMP_WIRE1
38 COMP_WIRE2
39 EMISSIVITY 4
40 PEAK_TRACK 1
41 DECAY_RATE 4
42 PEAK_TIME 4
43 TRACK_HOLD 1
44 SPECT_FILT_SET 1
45 TAB_ENTRY
46 TAB_X_Y_VALUE
47 TAB_MIN_NUMBER
48 TAB_MAX_NUMBER
49 TAB_OP_CODE
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 175

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
50 TAB_STATUS
51 TAB_ACTUAL_NUMBER
Overall sum of bytes in View-
reserve
Object (+ Standard parameter 20 + 13 54 + 13 36 + 36
d
bytes)

7.4.3 Pressure

7.4.3.1 Pressure Transducer Block

7.4.3.1.1 General

This document describes the specific aspects of pressure measurement used in the process
control.

The Standard Pressure Profile describes base sets of parameters and characteristics common
to pressure measurement. This transducer described here is limited to a single type of
measurement.

A pressure transducer computes its output using primary sensor data and parameters. The
calculation can be modeled using the following steps: The manufacturer-specific Signal
Compensation and Linearization process, Trim, Limit Checking, Primary Value to Engineering
Unit Conversion and Alarming processes.

Field device

Pressure Transducer Block


selected by
CHANNEL
Trim process e.g. PRIMARY_VALUE
Analog Input
SENSOR_VALUE CAL_POINT_HI Function
CAL_POINT_LO Block
CAL_MIN_SPAN
SENSOR_UNIT PROFIBUS

selected by
TRIMMED_VALUE
CHANNEL
Limit checking e.g. SECONDARY_VALUE_2
SENSOR_HI_LIM Analog Input
SENSOR_LO_LIM Function
Block

Pressure
Linearisation
Convert value for channel
function

Figure 42 Pressure Transducer Block

7.4.3.1.2 Calibration

This information is provided to recommend parameters for a common user calibration method
for pressure transmitters.

The calibration process is used to match the channel value reading with the applied input. The
calibration of the sensor itself is not changed, because that is a factory procedure. Six
parameters are defined to configure this process: CAL_POINT_HI, CAL_POINT_LO,
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 176

CAL_MIN_SPAN, SENSOR_UNIT, SENSOR_HI_LIM and SENSOR_LO_LIM. The CAL_*


parameters define the highest and lowest calibrated values for this sensor, and the minimum
allowable span value for calibration (if necessary). SENSOR_UNIT allows the user to select
different units for calibration purposes other than the units defined by PRIMARY_VALUE_UNIT.

The SENSOR_HI_LIM and SENSOR_LO_LIM parameter defines the maximum and minimum
values the sensor is capable of indicating, according to SENSOR_UNIT used as it can be seen
in Figure 43.

TRIMMED_VALUE
SENSOR_HI_LIM

CAL_POINT_HI

Calibrated
SENSOR_LO_LIM range

CAL_POINT_LO

SENSOR_VALUE

Figure 43 Sensor calibration

7.4.3.1.3 Linearization functions

Pressure
AI: Channel AI: Channel AI: Channel
SECONDARY_VALUE_1 SECONDARY_VALUE_2 PRIMARY_VALUE

No linearisation

Pressure SCALE_IN Linearisation table SCALE_OUT

Square root

SCALE_IN _0 SCALE_OUT_0
SCALE_IN_100 LOW_FLOW_CUT_OFF SCALE_OUT_100
FLOW_LIN_SQRT_POINT
LIN_TYPE

SECONDARY_VALUE_2 = (SECONDARY_VALUE_1 - SCALE_IN_0)/(SCALE_IN_100 - SCALE_IN_0)


PRIMARY_VALUE = (SECONDARY_VALUE_2)*(SCALE_OUT_100 - SCALE_OUT_0)) + SCALE_OUT_0

Figure 44 Pressure Transducer Block function: pressure


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 177

Flow
AI: Channel AI: Channel AI: Channel
SECONDARY_VALUE_1 SECONDARY_VALUE_2 PRIMARY_VALUE

No linearisation

Pressure SCALE_IN Linearisation table SCALE_OUT

Square root

SCALE_IN _0 SCALE_OUT_0
SCALE_IN_100 LOW_FLOW_CUT_OFF SCALE_OUT_100
FLOW_LIN_SQRT_POINT
LIN_TYPE

SECONDARY_VALUE_2 = (SECONDARY_VALUE_1 SCALE_IN_0)/(SCALE_IN_100 SCALE_IN_0)


PRIMARY_VALUE = (SQRT(SECONDARY_VALUE_2)*(SCALE_OUT_100 SCALE_OUT_0)) + SCALE_OUT_0

Figure 45 Pressure Transducer Block function: flow

Level
AI: Channel AI: Channel AI: Channel
SECONDARY_VALUE_1 SECONDARY_VALUE_2 PRIMARY_VALUE

No linearisation

Pressure SCALE_IN Linearisation table SCALE_OUT

Square root

or other

SCALE_IN _0 SCALE_OUT_0
SCALE_IN_100 LOW_FLOW_CUT_OFF SCALE_OUT_100
FLOW_LIN_SQRT_POINT
LIN_TYPE

SECONDARY_VALUE_2 = (SECONDARY_VALUE_1 SCALE_IN_0)/(SCALE_IN_100 SCALE_IN_0)


PRIMARY_VALUE = (LIN(SECONDARY_VALUE_2)*(SCALE_OUT_100 SCALE_OUT_0)) + SCALE_OUT_0

Figure 46 Pressure Transducer Block function: level


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 178

Figure 47 Flow: Square root function

7.4.3.2 Parameter description of the Pressure Transducer Block

Table 164 Parameter description of the Pressure Transducer Block

Parameter Description
CAL_MIN_SPAN This parameter contains the minimum calibration span value allowed. This minimum
span information is necessary to ensure that when calibration is done, the two
calibrated points (high and low) are not too close together. Unit is derived from
SENSOR_UNIT.
CAL_POINT_HI This parameter contains the highest calibrated value. For calibration of the high limit
point give the high measurement value (pressure) to the sensor and transfer this
point as HIGH to the transmitter. Unit is derived from SENSOR_UNIT.
CAL_POINT_LO This parameter contains the lowest calibrated value. For calibration of the low limit
point give the low measurement value (pressure) to the sensor and transfer this point
as LOW to the transmitter. Unit is derived from SENSOR_UNIT.
FLOW_LIN_SQRT_POINT This is the point of the flow function where the curve changes from linear to square
root function. The input has to be done in percent of normalized flow.
LIN_TYPE See General Requirements
LOW_FLOW_CUT_OFF This is the point in percent of flow until the output of the flow function is set to zero. It
is used for suppressing low flow values.
MAX_SENSOR_VALUE Holds the maximum process SENSOR_VALUE. The unit is defined in
SENSOR_UNIT.
MIN_SENSOR_VALUE Holds the minimum process SENSOR_VALUE. The unit is defined in SENSOR_UNIT.
MAX_TEMPERATURE Holds the maximum temperature.
MIN_TEMPERATURE Holds the minimum temperature.
PRIMARY_VALUE This parameter contains the measured value and status available to the Function
Block. The unit of PRIMARY_VALUE is the PRIMARY_VALUE_UNIT.
PRIMARY_VALUE_TYPE This parameter contains the application of the pressure device.
Coding:
0: Pressure
1: Flow
2: Level
3: Volume
4 ... 127: reserved
> 128: manufacturer specific
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 179

Parameter Description
PRIMARY_VALUE_UNIT This parameter contains the engineering unit code for the primary value according to
PRIMARY_VALUE_TYPE. An automatic adjustment of PRIMARY_VALUE_UNIT
within the devices is optional.
The minimum set of unit codes for pressure is: kPa (1133), bar (1137), psi (1141),
inHg (1155). If the device supports flow or level measurements the corresponding
units have to be supported, too. The minimum set of unit codes for volume flow is:
m 3 /h (1349), L/s (1351), ft 3 /min (1357), gal/min (1363). The minimum set of unit
codes for mass flow is: kg/s (1322), lb/s (1330). The minimum set of unit codes for
level is: % (1342), m (1010), ft (1018). The minimum set of unit codes for volume is:
m (1034), L (1038), ft 3 (1043), gal (1048). The coding is in accordance to the table
of Unit Codes given in the General Requirements.
PROCESS_ This parameter contains the index code for the material of the process connection.
CONNECTION_MATERIAL The coding is in accordance to the table of Material Codes given in the General
Requirements.
PROCESS_ This parameter contains the material code for the type of process connection. The
CONNECTION_TYPE index code is manufacturer specific.
SCALE_IN This is the input conversion of the Pressure into SECONDARY_VALUE_2 using the
high and low scale. The related unit is the SECONDARY_VALUE_1_UNIT.
SCALE_OUT This is the output conversion of the linearized value using the high and low scale.
The related unit is the PRIMARY_VALUE_UNIT. It is in accordance to the table of
Units Codes given in the General Requirements.
SECONDARY_VALUE_1 This parameter contains the Pressure value and status available to the Function
Block.
SECONDARY_VALUE_1_ This parameter contains the pressure unit of the SECONDARY_VALUE_1. The
UNIT minimum set of unit codes for pressure is: kPa (1133), bar (1137), psi (1141), inHg
(1155). It is in accordance to the table of Units Codes given in the General
Requirements.
SECONDARY_VALUE_2 This parameter contains the measured value after input scaling and status available
to the Function Block. The parameter contains the normalized pressure value without
engineering unit.
SECONDARY_VALUE_2_U This parameter contains the unit of the SECONDARY_VALUE_2. It is fixed to None,
NIT i.e. the value of this parameter is equal to 1997.
SENSOR_DIAPHRAGM_ This parameter contains the index code for the material of the diaphragm, which
MATERIAL comes in contact with the process media.
SENSOR_FILL_FLUID This parameter contains the index code for the fill fluid inside the sensor. The index
code is manufacturer specific.
SENSOR_HI_LIM This parameter contains the sensor upper limit value. Unit is derived from
SENSOR_UNIT.
SENSOR_LO_LIM This parameter contains the sensor lower limit value. Unit is derived from
SENSOR_UNIT.
SENSOR_MAX_STATIC_ This parameter contains the maximum static pressure value for the sensor. Unit is
PRESSURE derived from SENSOR_UNIT.
SENSOR_O_RING_ This parameter contains the index code for the material of the o-ring between the
MATERIAL diaphragm and process connection.
SENSOR_SERIAL_ This parameter contains the sensor serial number.
NUMBER
SENSOR_TYPE This parameter contains the index code for the sensor type described in
manufacturer specific tables.
SENSOR_UNIT This parameter contains the engineering unit index code for the calibration values.
SENSOR_UNIT shall be a subset of the interchangeable part of the Pressure unit.
SENSOR_VALUE This parameter contains the raw sensor value. This is the uncalibrated measurement
value from the sensor. Unit is derived from SENSOR_UNIT.
TAB_ACTUAL_NUMBER See Table 50

TAB_INDEX See Table 50

TAB_MAX_NUMBER See Table 50


TAB_MIN_NUMBER See Table 50
TAB_OP_CODE See Table 50
TAB_STATUS See Table 50
TAB_X_Y_VALUE See Table 50
TEMPERATURE This parameter contains the temperature (e.g. sensor temperature used for
measurement compensation) with the associated status used within the transducer.
The unit of TEMPERATURE is the TEMPERATURE_UNIT.
TEMPERATURE_UNIT This parameter contains the unit of the temperature. The minimum set of unit codes
for temperature is: K (1000), C (1001), F (1002). The coding is in accordance to the
table of Units Codes given in the General Requirements.
TRIMMED_VALUE This parameter contains the sensor value after the trim processing. Unit is derived
from SENSOR_UNIT.
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 180

7.4.3.3 Parameter attributes of the Pressure Transducer Block

Table 165 Parameter attributes of the Pressure Transducer Block

Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Default
Value

Order
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Pressure Transducer Block Parameters


8 SENSOR_VALUE Simple Float D 4 r C/a - - - M (B)
9 SENSOR_HI_LIM Simple Float N 4 r C/a - - - M (B)
10 SENSOR_LO_LIM Simple Float N 4 r C/a - - - M (B)
11 CAL_POINT_HI Simple Float S 4 r,w C/a F - - M (B)
12 CAL_POINT_LO Simple Float S 4 r,w C/a F - - M (B)
13 CAL_MIN_SPAN Simple Float N 4 r C/a - - - M (B)
14 SENSOR_UNIT Simple Unsigned16 S 2 r,w C/a F - 2 M (B)
15 TRIMMED_VALUE Record 101 D 5 r C/a - - - M (B)
16 SENSOR_TYPE Simple Unsigned16 N 2 r C/a - - - M (B)
SENSOR_SERIAL_
17 Simple Unsigned32 N 4 r C/a - - - M (B)
NUMBER
18 PRIMARY_VALUE Record 101 D 5 r C/a - - - M (B)
19 PRIMARY_VALUE_UNIT Simple Unsigned16 S 2 r,w C/a F - 3 M (B)
20 PRIMARY_VALUE_TYPE Simple Unsigned16 S 2 r,w C/a I - - M (B)
SENSOR_DIAPHRAGM_
21 Simple Unsigned16 S 2 r,w C/a I - - O (B)
MATERIAL
22 SENSOR_FILL_FLUID Simple Unsigned16 S 2 r,w C/a I - - O (B)
SENSOR_MAX_
23 Simple Float N 4 r C/a - - - O (B)
STATIC_PRESSURE
SENSOR_O_RING_
24 Simple Unsigned16 S 2 r,w C/a I - - O (B)
MATERIAL
PROCESS_
25 Simple Unsigned16 S 2 r,w C/a I - - O (B)
CONNECTION_TYPE
PROCESS_
26 CONNECTION_MATERIA Simple Unsigned16 S 2 r,w C/a I - - O (B)
L
27 TEMPERATURE Record 101 D 5 r C/a - - - O (B)
TEMPERATURE_
28 Simple Unsigned16 S 2 r,w C/a F - 4 O (B)
UNIT
29 SECONDARY_VALUE_1 Record 101 D 5 r C/a - - - O (B)
SECONDARY_VALUE_1
30 _ Simple Unsigned16 S 2 r,w C/a F - 5 O (B)
UNIT
31 SECONDARY_VALUE_2 Record 101 D 5 r C/a - - - O (B)
SECONDARY_VALUE_2
32 _ Simple Unsigned16 S 2 r,w C/a F - 6 O (B)
UNIT
33 LIN_TYPE See Table 51 1 M (B)
34 SCALE_IN Array Float (**) S 8 r,w C/a F - 7 O (B)
35 SCALE_OUT Array Float (**) S 8 r,w C/a F - 8 O (B)
36 LOW_FLOW_CUT_OFF Simple Float S 4 r,w C/a F - - O (B)
FLOW_LIN_SQRT_POIN
37 Simple Float S 4 r,w C/a F - - O (B)
T
O (B)
38 TAB_ACTUAL_NUMBER See Table 51 -
(*)
O (B)
39 TAB_ENTRY See Table 51 -
(*)
O (B)
40 TAB_MAX_NUMBER See Table 51 -
(*)
O (B)
41 TAB_MIN_NUMBER See Table 51 -
(*)
O (B)
42 TAB_OP_CODE See Table 51 -
(*)
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 181

Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Default
Value

Order
Name
Index

Store

Size
O (B)
43 TAB_STATUS See Table 51 -
(*)
O (B)
44 TAB_X_Y_VALUE See Table 51 -
(*)
45 MAX_SENSOR_VALUE Simple Float N 4 r,w C/a I - - O (B)
46 MIN_SENSOR_VALUE Simple Float N 4 r,w C/a I - - O (B)
47 MAX_TEMPERATURE Simple Float N 4 r,w C/a I - - O (B)
48 MIN_TEMPERATURE Simple Float N 4 r,w C/a I - - O (B)
49 ...
Reserved by PI - - - - - - - - - -
58
(*) These parameters are mandatory if LIN_TYPE=1 (linearization table) is supported.
(**) First Float value: value at EU of 100%, Second Float value: value at EU of 0%

7.4.3.4 View object of the Pressure Transducer Block

Table 166 View object of the Pressure Transducer Block

Access
reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
8 SENSOR_VALUE 4
9 SENSOR_HI_LIM 4
10 SENSOR_LO_LIM 4
11 CAL_POINT_HI 4
12 CAL_POINT_LO 4
13 CAL_MIN_SPAN 4
14 SENSOR_UNIT 2 2
15 TRIMMED_VALUE 4
16 SENSOR_TYPE 2
17 SENSOR_SERIAL_NUMBER 4
18 PRIMARY_VALUE 5 5
19 PRIMARY_VALUE_UNIT 2 2
20 PRIMARY_VALUE_TYPE 2 2
21 SENSOR_DIAPHRAGM_MATERIAL 2
22 SENSOR_FILL_FLUID 2
23 SENSOR_MAX_STATIC_PRESSURE 4
24 SENSOR_O_RING_MATERIAL 2
25 PROCESS_CONNECTION_TYPE 2
26 PROCESS_CONNECTION_MATERIAL 2
27 TEMPERATURE 5
28 TEMPERATURE_UNIT 2 2
29 SECONDARY_VALUE_1 5
30 SECONDARY_VALUE_1_UNIT 2
31 SECONDARY_VALUE_2 5
32 SECONDARY_VALUE_2_UNIT 2
33 LIN_TYPE 1
34 SCALE_IN 8
35 SCALE_OUT 8
36 LOW_FLOW_CUT_OFF 4
37 FLOW_LIN_SQRT_POINT 4
38 TAB_ACTUAL_NUMBER
39 TAB_INDEX
40 TAB_MAX_NUMBER
41 TAB_MIN_NUMBER
PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 182

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
42 TAB_OP_CODE
43 TAB_STATUS
44 TAB_X_Y_VALUE
45 MAX_SENSOR_VALUE 4
46 MIN_SENSOR_VALUE 4
47 MAX_TEMPERATURE 4
48 MIN_TEMPERATURE 4
Overall sum of bytes in View-Object reserve
- 5 + 13 86 + 13 43 + 36
(+Standard parameter bytes) d

7.4.3.5 Assignment of dynamic variables for pressure devices

Table 167 Assignment of dynamic variables for pressure devices

Application Transducer Output

PRIMARY_ PRIMARY_ SECONDARY_ SECONDARY_ TEMPERATURE


VALUE_TYPE VALUE VALUE_1 VALUE_2
Pressure Pressure Temperature
Flow Flow Pressure Temperature
Level Level Pressure Temperature
Normalized
Volume Volume Pressure Temperature
Pressure

7.4.4 Level

7.4.4.1 Level Transducer Block overview

The Level Transducer Block describes the basic set of parameters for level devices. The
following diagrams define the basic functional interrelation of the parameters.

Level Transducer_Block

Sensor_Value Level Primary_Value

Sensor Sensortechnology Levelcalibration Linearization Analog


Input

Secondary_Value_1 Analog
Cal_Point_Hi Cal_Point_Lo Input
Sensor_Offset Level_Hi Level_Lo Level_Offset Lin_Type

Cal_Type
Secondary_Value_2 Analog
Input

Figure 48 Functional diagram of the Level Transducer Block


PROFIBUS PA Profile for Process Control Devices V3.02 WG3 Draft for PI Reviewpage 183

Level

Level_Hi

Level_Lo

Sensor_Value

Cal_Point_Lo Cal_Point_Hi

Figure 49 Transfer function level calibration

Linearization
Lin_Type = 0

Lin_Type = 1
Conversion Table
Secondary_
Value_1 Lin_Type = 20 Cylindric Lying Primary_Value
Container

LIN_DIAMETER LIN_VOLUME

Lin_Type = 21
Spheric Container

Figure 50 Functional diagram of linearization


PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 184

Sensor_ Reference_Point (lower end of flange)


Sensor_Offset

Cal_Point_Hi
Level_Hi
(Default: 100)
Sensor_value

Level Cal_Point_Lo
Level_Lo
(Default: 0)
Level_Offset

Secondary_value_1

Figure 51 Application example for radar level

Level_Hi
Cal_Point_Hi
(Default: 100)

Secondary_value_1
Sensor_Value

Level Cal_Point_Lo
Level_Lo
(Default: 0)
Level_Offset
Sensor_Offset

Figure 52 Application example for hydrostatic level

Hydrostatic Level Devices can be calibrated online or offline. (SENSOR_VALUE is used for the
level calibration; CAL_TYPE = 1, Online).
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 185

Level_Hi
Cal_Point_Hi
(Default: 100)

Sensor_Value
Level Secondary_value_1
Level_Lo
(Default: 0) Cal_Point_Lo
Level_Offset

Figure 53 Application example for capacitance level

Capacity Level Devices are calibrated online. (SENSOR_VALUE is used for the level
calibration; CAL_TYPE = 1, Online).

7.4.4.2 Parameter description of the Level Transducer Block

Table 168 Parameter description of the Level Transducer Block

Parameter Description
CAL_POINT_HI CAL_POINT_HI is the upper calibrated point of the SENSOR_VALUE. It refers to
LEVEL_HI. The unit is defined in SENSOR_UNIT.
CAL_POINT_LO CAL_POINT_LO is the lower calibrated point of the SENSOR_VALUE. It refers to
LEVEL_LO. The unit is defined in SENSOR_UNIT.
CAL_TYPE Defines the type of calibration.
Coding:
0: Dry; no influence of the sensor value on level calibration
Mandatory for Radar Devices
1: online; current sensor value determines level calibration.
LEVEL Level derives directly from SENSOR_VALUE by a linear transformation using
LEVEL_HI, LEVEL_LO, CAL_POINT_HI, CAL_POINT_LO and SENSOR_OFFSET.
The unit is defined in LEVEL_UNIT.
LEVEL_HI LEVEL_HI is the value of Level at CAL_POINT_HI. The unit is defined in
LEVEL_UNIT.
When writing LEVEL_HI and CAL_TYPE = 1 the CAL_POINT_HI is automatically set
to SENSOR_VALUE.
LEVEL_LO LEVEL_LO is the value of Level at CAL_POINT_LO. The unit is defined in
LEVEL_UNIT.
When writing LEVEL_LO and CAL_TYPE = 1 the CAL_POINT_LO is automatically
set to SENSOR_VALUE.
LEVEL_OFFSET LEVEL_OFFSET is a constant offset that is added after the transfer function of level
calibration. The unit is defined in LEVEL_UNIT.
LEVEL_UNIT Selected unit code for LEVEL, LEVEL_HI, LEVEL_LO and LIN_DIAMETER.
Mandatory: %, m, ft
LIN_TYPE See Table 50
LIN_DIAMETER Diameter for cylindrical lying or spherical container in LEVEL_UNITs.
It is used when LIN_TYPE = 20 or 21.
LIN_VOLUME LIN_VOLUME is the complete volume of the cylindrical lying or spherical container. It
is used when LIN_TYPE = 20 or 21. The unit is defined in PRIMARY_VALUE_UNIT.
MAX_SENSOR_VALUE Holds the maximum process SENSOR_VALUE. The unit is defined in
SENSOR_UNIT.
MIN_SENSOR_VALUE Holds the minimum process SENSOR_VALUE. The unit is defined in SENSOR_UNIT.
MAX_TEMPERATURE Holds the maximum process temperature.
MIN_TEMPERATURE Holds the minimum process temperature.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 186

Parameter Description
PRIMARY_VALUE Primary_Value is the process value and the status of the Transducer Block and is the
input for the analog input block. PRIMARY_VALUE contains the same value as level
when linearisation type = 0. The unit is defined in PRIMARY_VALUE_UNIT.
PRIMARY_VALUE_UNIT Selected unit code for PRIMARY_VALUE and LIN_VOLUME.
Mandatory: %, m, ft
SECONDARY_VALUE_1 SECONDARY_VALUE_1 is LEVEL + LEVEL_OFFSET and the status of the
Transducer Block. The unit is defined in SECONDARY_VALUE_1_UNIT. It can be
connected to a second Analog Input Block.
SECONDARY_VALUE_1_ Selected unit code for SECONDARY_VALUE_1. It is the same as in LEVEL_UNIT.
UNIT Mandatory: %, m, ft
SECONDARY_VALUE_2 SECONDARY_VALUE_2 is SENSOR_VALUE + SENSOR_OFFSET and the status of
the Transducer Block. The unit is defined in SECONDARY_VALUE_2_UNIT. It can be
connected to a third Analog Input Block.
SECONDARY_VALUE_2_ Selected unit code for SECONDARY_VALUE_2. It is the same as in SENSOR_UNIT.
UNIT Mandatory for pressure: PA, mbar, psi, Mandatory for distance: m, ft.
SENSOR_HIGH_LIMIT Upper Process limit of the sensor in SENSOR_UNIT.
SENSOR_LOW_LIMIT Lower Process limit of the sensor in SENSOR_UNIT.
SENSOR_OFFSET SENSOR_OFFSET is a constant offset that is added to the SENSOR_VALUE. The
unit is defined in SENSOR_UNIT.
SENSOR_UNIT Unit for SENSOR_VALUE, SENSOR_LOW_LIMIT, SENSOR_HIGH_LIMIT,
CAL_POINT_HI, CAL_POINT_LO, MAX_SENSOR_VALUE and
MIN_SENSOR_VALUE
Mandatory for pressure: PA, mbar, psi, Mandatory for distance: m, ft.
SENSOR_VALUE Sensor value is the physical value of the sensor.
TEMPERATURE Process temperature.
TEMPERATURE_UNIT Temperature unit. Selects the unit of Temperature, MAX_TEMPERATURE and
MIN_TEMPERATURE.
TAB_ENTRY See Table 50
LIN_TYPE See Table 50
TAB_X_Y_VALUE See Table 50
TAB_MIN_NUMBER See Table 50
TAB_MAX_NUMBER See Table 50
TAB_OP_CODE See Table 50
TAB_STATUS See Table 50
TAB_ACTUAL_NUMBER See Table 50

7.4.4.3 Parameter attributes of the Level Transducer Block

Table 169 Parameter attributes of the Level Transducer Block


Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Level Transducer Block Parameters


8 PRIMARY_VALUE Record 101 D 5 r C/a - - - M (B)
9 PRIMARY_VALUE_UNIT Simple Unsigned16 S 2 r,w C/a F % 2 M (B)
10 LEVEL Simple Float D 4 r C/a - - - M (B)
11 LEVEL_UNIT Simple Unsigned16 S 2 r,w C/a F % 3 M (B)
12 SENSOR_VALUE Simple Float D 4 r C/a - - - M (B)
13 SENSOR_UNIT Simple Unsigned16 S 2 r,w C/a F - 4 M (B)
14 SECONDARY_VALUE_1 Record 101 D 5 r C/a - - - O (B)
SECONDARY_VALUE_1
15 _ Simple Unsigned16 S 2 r,w C/a F - - O (B)
UNIT
16 SECONDARY_VALUE_2 Record 101 D 5 r C/a - - - O (B)
SECONDARY_VALUE_2
17 _ Simple Unsigned16 S 2 r,w C/a F - - O (B)
UNIT
18 SENSOR_OFFSET Simple Float S 4 r,w C/a F 0 5 M (B)
19 CAL_TYPE Simple Unsigned8 S 1 r,w C/a F - 7 (*) M (B)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 187

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
20 CAL_POINT_LO Simple Float S 4 r,w C/a F - 8 (*) M (B)
21 CAL_POINT_HI Simple Float S 4 r,w C/a F - 9 (*) M (B)
10
22 LEVEL_LO Simple Float S 4 r,w C/a F 0 M (B)
(*)
11
23 LEVEL_HI Simple Float S 4 r,w C/a F 100 M (B)
(*)
24 LEVEL_OFFSET Simple Float S 4 r,w C/a F 0 6 M (B)
25 LIN_TYPE See Table 51 1 M (B)
26 LIN_DIAMETER Simple Float S 4 r,w C/a F 100 - O (B)
27 LIN_VOLUME Simple Float S 4 r,w C/a F 100 - O (B)
28 SENSOR_HIGH_LIMIT Simple Float C 4 r C/a - - - O (B)
29 SENSOR_LOW_LIMIT Simple Float C 4 r C/a - - - O (B)
30 MAX_SENSOR_VALUE Simple Float N 4 r,w C/a I - - O (B)
31 MIN_SENSOR_VALUE Simple Float N 4 r,w C/a I - - O (B)
32 TEMPERATURE Simple Float D 4 r C/a - - - O (B)
33 TEMPERATURE_UNIT Simple Unsigned16 S 2 r,w C/a F C - O (B)
34 MAX_TEMPERATURE Simple Float N 4 r,w C/a I - - O (B)
35 MIN_TEMPERATURE Simple Float N 4 r,w C/a I - - O (B)
O(B)
36 TAB_ENTRY See Table 51 -
(**)
O(B)
37 TAB_X_Y_VALUE See Table 51 -
(**)
O(B)
38 TAB_MIN_NUMBER See Table 51 -
(**)
O(B)
39 TAB_MAX_NUMBER See Table 51 -
(**)
O(B)
40 TAB_OP_CODE See Table 51 -
(**)
O(B)
41 TAB_STATUS See Table 51 -
(**)
O(B)
42 TAB_ACTUAL_NUMBER See Table 51 -
(**)
43 ...
Reserved by PI - - - - - - - - - M (A,B)
52
First manufacturer
53 O (A,B)
specific parameter
(*) Download only allowed if CAL_TYPE = 0.
(**) These parameters are mandatory if LIN_TYPE = 1 (linearization table) is supported.

7.4.4.4 View object of the Level Transducer Block

Table 170 View object of the Level Transducer Block

Access
reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
8 PRIMARY_VALUE 5 5
9 PRIMARY_VALUE_UNIT 2 2
10 LEVEL 4 4
11 LEVEL_UNIT 2 2
12 SENSOR_VALUE 4
13 SENSOR_UNIT 2 2
14 SECONDARY_VALUE_1 5
15 SECONDARY_VALUE_1_UNIT 2 2
16 SECONDARY_VALUE_2 5
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 188

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
17 SECONDARY_VALUE_2_UNIT 2 2
18 SENSOR_OFFSET 4
19 CAL_TYPE 1
20 CAL_POINT_LO 4
21 CAL_POINT_HI 4
22 LEVEL_LO 4
23 LEVEL_HI 4
24 LEVEL_OFFSET 4
25 LIN_TYPE 1
26 LIN_DIAMETER 4
27 LIN_VOLUME 4
28 SENSOR_HIGH_LIMIT 4
29 SENSOR_LOW_LIMIT 4
30 MAX_SENSOR_VALUE 4
31 MIN_SENSOR_VALUE 4
32 TEMPERATURE 4
33 TEMPERATURE_UNIT 2 2
34 MAX_TEMPERATURE 4
35 MIN_TEMPERATURE 4
36 TAB_ENTRY
37 TAB_X/Y_VALUE
38 TAB_MIN_NUMBER
39 TAB_MAX_NUMBER
40 TAB_OP_CODE
41 TAB_STATUS
42 TAB_ACTUAL_NUMBER
Overall sum of bytes in View-
reserve
- Object ( + S t a n d a r d P a r a m e t e r 9 + 13 80 + 13 29 + 36
d
bytes )

7.4.5 Flow

7.4.5.1 Flow Transducer Block overview

The Flow Transducer Block describes the basic set of parameters for flow devices. The
mandatory set of parameters for several measuring principles is described in 7.4.5. The
diagram in Figure 54 shows the functional interrelation of the parameters.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 189

Quantities
(e.g. density)
Flow Transducer Block

Raw signals Conditioned Raw_quantities


signals (e.g. flow rate) Totalizer

Signal
Signal Unit and limit
processing,
conditioning computation
normalization

Sensor Analog
input

Sensor data Process data Units Limits


(e.g. nominal size) (e.g. low flow cut)

Figure 54 Functional diagram of the Flow Transducer Block

7.4.5.2 Flow Transducer Block parameter description

7.4.5.2.1 General

The parameters of the Flow Transducer Block depend on the type of flow meter. Table 171
gives an overview of the allocation of parameters. Parameters are defined for electromagnetic,
coriolis, vortex, thermal, ultrasonic and variable area flow meters. It is not possible to define a
minimum set of parameters for a Flow Transducer Block of a differential pressure transmitter.
The output type of the primary variable of the Transducer Block (mass flow or volume flow)
depends on the application. The differential pressure transmitter Transducer Block should
deliver a sensor lower and upper range value and a corresponding unit.

Table 171 assigns each parameter for use to one of the flow meter types. For these types all
parameters are mandatory.

Table 171 Overview of parameters of the Transducer Block of flow devices

Parameter Type of flow Meter

Electro- Coriolis Vortex Thermal Ultra- Variable


magnetic Mass sonic Area
CALIBR_FACTOR M M M M M M
NOMINAL_SIZE M M M M M M
NOMINAL_SIZE_UNITS M M M M M M
LOW_FLOW_CUTOFF M M M M M M
FLOW_DIRECTION M M M
ZERO_POINT
ZERO_POINT_ADJUST
ZERO_POINT_UNIT
MEASUREMENT_MODE M M M
SAMPLING_FREQUENCY M
SAMPLING_FREQ_UNITS M
VOLUME_FLOW M M M M
VOLUME_FLOW_LO_LIMIT M M M M
VOLUME_FLOW_HI_LIMIT M M M M
VOLUME_FLOW_UNITS M M M M
MASS_FLOW M M
MASS_FLOW_LO_LIMIT M M
MASS_FLOW_HI_LIMIT M M
MASS_FLOW_UNITS M M
DENSITY M
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 190

Parameter Type of flow Meter

Electro- Coriolis Vortex Thermal Ultra- Variable


magnetic Mass sonic Area
DENSITY_LO_LIMIT M
DENSITY_HI_LIMIT M
DENSITY_UNITS M
TEMPERATURE M
TEMPERATURE_LO_LIMIT M
TEMPERATURE_HI_LIMIT M
TEMPERATURE_UNITS M
VORTEX_FREQUENCY M
VORTEX_FREQ_LO_LIMIT M
VORTEX_FREQ_HI_LIMIT M
VORTEX_FREQ_UNITS M
SOUND_VELOCITY M
SOUND_VELOCITY_LO_LIMIT M
SOUND_VELOCITY_HI_LIMIT M
SOUND_VELOCITY_UNITS M
M Mandaory
Empty cells are optional

7.4.5.2.2 Parameter description of the Flow Transducer Block

Table 172 Parameter description of the Flow Transducer Block

Parameter Description
CALIBR_FACTOR Gain compensation value for the flow sensor, so that flow indication is as accurate
as specified by the manufacturer (Sensor specific, shall not be downloaded).
NOMINAL_SIZE Ideal size of the measuring pipe, or process pipe size for insertion type flow
transmitter.
NOMINAL_SIZE_UNITS Selects the unit for NOMINAL_SIZE parameter.
1013: mm
1019: inch
LOW_FLOW_CUTOFF PV is set to zero if the absolute value of PV is less than LOW_FLOW_CUTOFF. The
value can have a hysteresis. LOW_FLOW_CUTOFF defines the lower switching
point in this case. The unit of LOW_FLOW_CUTOFF is the unit of PV.
FLOW_DIRECTION Assigns an arbitrary positive or negative sign to the measured PV value.
0: positive
1: negative
ZERO_POINT Offset compensation value for the flow sensor, so that true zero flow value can be
indicated during no flow condition (Sensor specific, shall not be downloaded).
ZERO_POINT_ADJUST Initiates a device specific adjustment cycle that determines the true ZERO_POINT
value during no-flow process conditions. The result is placed in ZERO_POINT.
0: cancel
1: execute
ZERO_POINT_UNIT Selected unit code for ZERO_POINT parameter.
1062: mm/s
MEASUREMENT_MODE Mode of flow measurement, either unidirectional or bidirectional measurement.
0: unidirectional
1: bidirectional
SAMPLING_FREQ Indicates the field frequency of the sensor (Sensor specific, shall not be
downloaded).
SAMPLING_FREQ_UNITS Selected unit code for SAMPLING_FREQ parameter.
1077: Hz
VOLUME_FLOW Measuring value, measured volume flow value.
VOLUME_FLOW_LO_ Absolute value of the lower range value (volume flow) of the sensor.
LIMIT
VOLUME_FLOW_HI_ Absolute value of the upper range value (volume flow) of the sensor.
LIMIT
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 191

Parameter Description
VOLUME_FLOW_UNITS Selected unit code for VOLUME_FLOW, VOLUME_FLOW_LO_LIMIT and
VOLUME_FLOW_HI_LIMIT parameters.
1349: m3/h
1351: L/s
1357: ft3/s (cubic foot per second)
1363: gal/min (gallon (U.S.) per minute)
MASS_FLOW Measuring value, measured mass flow.
MASS_FLOW_HI_LIMIT Absolute value of the upper range value (mass flow) of the sensor.
MASS_FLOW_LO_LIMIT Absolute value of lower range value (mass flow) of the sensor.
MASS_FLOW_UNITS Selected unit code for MASS FLOW, MASS_FLOW_HI_LIMIT and
MASS_FLOW_LO_LIMIT parameters.
1322: kg/s
1330: lb/s
DENSITY Measuring value, measured medium density.
DENSITY_HI_LIMIT Upper range value (density) of the sensor.
DENSITY_LO_LIMIT Lower range value (density) of the sensor.
DENSITY_UNITS Selected unit code for DENSITY, DENSITY_HI_LIMIT and DENSITY_LO_LIMIT
parameters.
1103: kg/L
1107: lb/ft 3
TEMPERATURE Measured Sensor Temperature.
TEMPERATURE UNITS Selected unit code for TEMPERATURE, TEMPERATURE_HI_LIMIT and
TEMPERATURE_LO_LIMIT parameters.
1000: K
1001: C
1002: F
TEMPERATURE_HI_ Upper range value (temperature) of the sensor.
LIMIT
TEMPERATURE_LO_ Lower range value (temperature) of the sensor.
LIMIT
VORTEX_FREQ Measured Vortex frequency, proportional to flow velocity.
VORTEX_FREQ_HI_LIMIT Upper range value (vortex frequency) of the sensor.
VORTEX_FREQ_LO_LIMIT Lower range value (vortex frequency) of the sensor.
VORTEX_FREQ_UNITS Selected unit code for VORTEX_FREQ, VORTEX_FREQ_LO_LIMIT and
VORTEX_FREQ_HI_LIMIT parameters.
1077: Hz
SOUND_VELOCITY Sound velocity of the medium.
SOUND_VELOCITY_HI_ Upper range value (sound velocity) of the sensor.
LIMIT
SOUND_VELOCITY_LO_ Lower range value (sound velocity) of the sensor.
LIMIT
SOUND_VELOCITY_ Selected unit code for SOUND_VELOCITY, SOUND_VELOCITY_LO_LIMIT and
UNITS SOUND_VELOCITY_HI_LIMIT parameters.
1061: m/s
1067: ft/s

7.4.5.3 Parameter attributes of the Flow Transducer Block

Table 173 Parameter attributes of the Flow Transducer Block


Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Flow Transducer Block Parameters


Sens
8 CALIBR_FACTOR Simple Float S 4 r,w C/a F or- - (*)
spec
9 LOW_FLOW_CUTOFF Simple Float S 4 r,w C/a F - 12 (*)
10 MEASUREMENT_MODE Simple Unsigned8 S 1 r,w C/a F - 1 (*)
11 FLOW_DIRECTION Simple Unsigned8 S 1 r,w C/a F 0 2 (*)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 192

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Download
Transport

Optional
Relative

Usage /
Access

Kind of

Order
Name
Index

Store

Size
Sens
12 ZERO_POINT Simple Float S 4 r,w C/a F or- - (*)
spec
13 ZERO_POINT_ADJUST Simple Unsigned8 N 1 r,w C/a - 0 - (*)
14 ZERO_POINT_UNIT Simple Unsigned16 S 2 r,w C/a - - 3 (*)
15 NOMINAL_SIZE Simple Float S 4 r,w C/a F - - (*)
16 NOMINAL_SIZE_UNITS Simple Unsigned16 S 2 r,w C/a - 1013 4 (*)
17 VOLUME_FLOW Record 101 D 5 r C/a - - - (*)
18 VOLUME_FLOW_UNITS Simple Unsigned16 S 2 r,w C/a F 1349 5 (*)
VOLUME_FLOW_
19 Simple Float S 4 r,w C/a F - - (*)
LO_LIMIT
VOLUME_FLOW_
20 Simple Float S 4 r,w C/a F - - (*)
HI_LIMIT
21 MASS_FLOW Record 101 D 5 r C/a - - - (*)
22 MASS_FLOW_UNITS Simple Unsigned16 S 2 r,w C/a F 1322 6 (*)
23 MASS_FLOW_LO_LIMIT Simple Float S 4 r,w C/a F - - (*)
24 MASS_FLOW_HI_LIMIT Simple Float S 4 r,w C/a F - - (*)
25 DENSITY Record 101 D 5 r C/a - - - (*)
26 DENSITY_UNITS Simple Unsigned16 S 2 r,w C/a F 1103 7 (*)
27 DENSITY_LO_LIMIT Simple Float S 4 r,w C/a F - - (*)
28 DENSITY_HI_LIMIT Simple Float S 4 r,w C/a F - - (*)
29 TEMPERATURE Record 101 D 5 r C/a - - - (*)
30 TEMPERATURE_UNITS Simple Unsigned16 S 2 r,w C/a F 1000 8 (*)
TEMPERATURE_LO_LIM
31 Simple Float S 4 r,w C/a F - - (*)
IT
TEMPERATURE_HI_LIMI
32 Simple Float S 4 r,w C/a F - - (*)
T
33 VORTEX_FREQ Record 101 D 5 r C/a - - - (*)
34 VORTEX_FREQ_UNITS Simple Unsigned16 S 2 r,w C/a F 1077 9 (*)
VORTEX_FREQ_LO_LIM
35 Simple Float S 4 r,w C/a F - - (*)
IT
VORTEX_FREQ_HI_LIMI
36 Simple Float S 4 r,w C/a F - - (*)
T
37 SOUND_VELOCITY Record 101 D 5 r C/a - - - (*)
SOUND_VELOCITY_
38 Simple Unsigned16 S 2 r,w C/a F 1061 10 (*)
UNITS
SOUND_VELOCITY_
39 Simple Float S 4 r,w C/a F - - (*)
LO_LIMIT
SOUND_VELOCITY_
40 Simple Float S 4 r,w C/a F - - (*)
HI_LIMIT
41 SAMPLING_FREQ Record 101 D 5 r C/a - - - (*)
SAMPLING_FREQ_UNIT
42 Simple Unsigned16 S 2 r,w C/a - 1077 11 (*)
S
43 ...
Reserved by PI M (A,B)
52
First manufacturer
53 O (A,B)
specific parameter
(*) See Table 171.

7.4.5.4 View object of the Flow Transducer Block

Table 174 View object of the Flow Transducer Block

Access
r

Relative
Parameter Name View_1 and View_2
Index
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 193

Electro- Thermal Ultra- Variable


Coriolis Vortex
magnetic Mass sonic Area
8 CALIBR_FACTOR
9 LOW_FLOW_CUTOFF
10 MEASUREMENT_MODE
11 FLOW_DIRECTION
12 ZERO_POINT
13 ZERO_POINT_ADJUST
14 ZERO_POINT_UNIT
15 NOMINAL_SIZE
16 NOMINAL_SIZE_UNITS
17 VOLUME_FLOW 5 5 5 5
18 VOLUME_FLOW_UNITS
19 VOLUME_FLOW_LO_LIMIT
20 VOLUME_FLOW_HI_LIMIT
21 MASS_FLOW 5 5
22 MASS_FLOW_UNITS
23 MASS_FLOW_LO_LIMIT
24 MASS_FLOW_HI_LIMIT
25 DENSITY 5
26 DENSITY_UNITS
27 DENSITY_LO_LIMIT
28 DENSITY_HI_LIMIT
29 TEMPERATURE 5
30 TEMPERATURE_UNITS
31 TEMPERATURE_LO_LIMIT
32 TEMPERATURE_HI_LIMIT
33 VORTEX_FREQ 5
34 VORTEX_FREQ_UNITS
35 VORTEX_FREQ_LO_LIMIT
36 VORTEX_FREQ_HI_LIMIT
37 SOUND_VELOCITY 5
38 SOUND_VELOCITY_UNITS
39 SOUND_VELOCITY_LO_LIMIT
40 SOUND_VELOCITY_HI_LIMIT
41 SAMPLING_FREQ 5
42 SAMPLING_FREQ_UNITS
Overall sum of bytes in View-
Object ( + S t a n d a r d P a r a m e t e r 10 + 13 15 + 13 10 + 13 5 + 13 10 + 13 5 + 13
bytes )

Table 175 View_3 object of the Flow Transducer Block

Access
r,w

Relative Substitute
Parameter Name View_3
Index Value
Electro- Thermal Ultra- Variable
Coriolis Vortex
magnetic Mass sonic Area
8 CALIBR_FACTOR 4 4 4 4 4 4
9 LOW_FLOW_CUTOFF 4 4 4 4 4 4
10 MEASUREMENT_MODE 1 1 1
11 FLOW_DIRECTION 1 1 1
12 ZERO_POINT
13 ZERO_POINT_ADJUST
14 ZERO_POINT_UNIT 2 2 2 2 2
15 NOMINAL_SIZE 4 4 4 4 4 4
16 NOMINAL_SIZE_UNITS 2 2 2 2 2 2
17 VOLUME_FLOW
18 VOLUME_FLOW_UNITS 2 2 2 2
19 VOLUME_FLOW_LO_LIMIT 4 4 4 4
20 VOLUME_FLOW_HI_LIMIT 4 4 4 4
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 194

21 MASS_FLOW
22 MASS_FLOW_UNITS 2 2
23 MASS_FLOW_LO_LIMIT 4 4
24 MASS_FLOW_HI_LIMIT 4 4
25 DENSITY
26 DENSITY_UNITS 2
27 DENSITY_LO_LIMIT 4
28 DENSITY_HI_LIMIT 4
29 TEMPERATURE
30 TEMPERATURE_UNITS 2
31 TEMPERATURE_LO_LIMIT 4
32 TEMPERATURE_HI_LIMIT 4
33 VORTEX_FREQ
34 VORTEX_FREQ_UNITS 2
35 VORTEX_FREQ_LO_LIMIT 4
36 VORTEX_FREQ_HI_LIMIT 4
37 SOUND_VELOCITY
38 SOUND_VELOCITY_UNITS 2
SOUND_VELOCITY_LO_LI
39 4
MIT
SOUND_VELOCITY_HI_LIM
40 4
IT
41 SAMPLING_FREQ
42 SAMPLING_FREQ_UNITS 2
Overall sum of bytes in
View-Object ( + S t a n d a r d 30 + 36 48 + 36 30 + 36 26 + 36 38 + 36 26 + 36
P aram eter bytes )

View_4 assignment of parameters is reserved.

7.4.6 Block order and assignment

7.4.6.1 General

There are three classes of flow devices. A class describes the relation (connection order) of
the dynamic variables of the flow Transducer Block to following blocks (Analog Input Blocks
and Totalizer Blocks).

Table 176 Flow transducer classes

Class Dynamic Transducer Output Variable

Block 1 Block 2 Block 3 Block 4


Class 1 PV TOT
Class 2 PV SV TOT
Class 3 PV SV TV TOT
PV: Primary Variable
SV: Secondary Variable
TV: Tertiary Variable
TOT: Totalizer Block

7.4.6.2 Assignment of dynamic variables for flow devices

Table 177 Assignment of dynamic variables

Device Type (coded in


Transducer Output
Transducer class)

PV SV TV
Coriolis Mass flow Density Temperature
Electromagnetic Volume flow - -
Thermal Mass Mass flow - -
Ultrasonic Volume flow Sound velocity -
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 195

Device Type (coded in


Transducer Output
Transducer class)

PV SV TV
Variable Area Volume flow - -
Vortex Volume flow Vortex frequency -

7.5 Conformance statement

Table 178 provides the conformance statement template.

Table 178 Conformance statement of transmitter components

Item Conformance statement Subelement


Physical Blocks M
Function Blocks M
Analog Input Function Blocks M
Totalizer Function Blocks O
Other Function Blocks O
Transducer Blocks O (Class A),
M (Class B)
Temperature Transducer Block O (Class A),
S (Class B)
Pressure Transducer Block O (Class A),
S (Class B)
Level Transducer Block O (Class A),
S (Class B)
Flow Transducer Block O (Class A),
S (Class B)
Other Transducer Blocks O (Class A),
S (Class B)

7.6 Document history

Table 179 shows the changes from release version V3.0 to V3.01

Table 179 Changes from V3.0 to V3.01

Clause/Figure/Table Change
general DS-33 replaced with 101
general Reset class added
15.2.1 / Figure 27 Order of MAN-mode, Limit check and Fail safe.
15.2.1 / Figure 28 Figure changed (linearization and limit check added).
15.2.1.1 Definition of the supported modes for the Function Blocks AI for Class B.
15.2.2 / Table 85 Handling of PV Scale.
15.3.1.1 Totalizer state machine
15.3.1.2 Totalizer actual Mode Calculation
15.3.1.3 Totalizer status Calculation
15.3.2 / Table 90 Picture for parameter SET_TOT hanged.
15.3.3 / Table 91 The parameter TOTAL is defined as "M(A,B)".
16.2.2 / Table 102 Relation between PRIMARY_VALUE_UNIT and PRIMARY_VALUE_TYPE.
16.2.2 / Table 102 PRIMARY_VALUE_UNIT:
The minimum set of unit codes for volume is:
m (1034), L (1038), cf - cubic feet (1043),GMP - US gallon (1048).
16.2.3 / Table 103 All default values for the parameters of the pressure transducer are removed.
16.2.3 / Table 103 Access and Storage of SECONDARY_VALUE_1_UNIT changed.
16.2.3 / Table 103 Order of the floats of the parameters SCALE_IN and SCALE_OUT described.
16.3.2 / Table 106 Adapted parameter names in table 106/108 according to table 107:
16.3.4 / Table 108 INDEX -> TAB_ENTRY
ACTUAL_NUMBER -> TAB_ACTUAL_NUMBER
MIN_NUMBER -> TAB_MIN_NUMBER
MAX_NUMBER -> TAB_MAX_NUMBER
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 196

Clause/Figure/Table Change
X_VALUE, Y_VALUE -> TAB_X_Y_VALUE
16.3.2 / Table 106 In the description of LIN_DIAMETER and LIN_VOLUME the linearization types 20
and 21 are referenced.
16.3.3 / Table 107 TEMPERATURE_UNIT size shall be 2 bytes.
16.4.2 / Table 109 The Thermal Mass Transducer Block View Object supports MASS_FLOW but not
SOUND_VELOCITY. The Ultrasonic Transducer Block View Object supports
VOLUME_FLOW and SOUND_VELOCITY.

Table 180 shows the changes from release version V3.01 to V3.02

Table 180 Changes from V3.01 to V3.02

Clause/Figure/Table in Change
V3.01
15.2.1 The following sentence deleted:
The measurement value status delivered by the Transducer Block to the Function
Block across the Channel is one of the inputs of the MODE calculation.
15.2.1 Description of the MODE_BLK changed.
15.2.3 / Table 86 Default value of parameter PV_SCALE and OUT_SCALE deleted.
The following sentence added:
The values of OUT_SCALE and PV_SCALE shall be equal i.e. PV_SCALE.
EU_at_100% = OUT_SCALE. EU_at_100% and PV_SCALE. EU_at_0% =
OUT_SCALE. EU_at_0%.
15.3.1 Description of MODE_BLK changed. New sentence:
Permitted Mode is in minimum AUTO for Class A devices and O/S, MAN and
AUTO for Class B devices.
15.3.1.3 / Table 89 Foot note (****) redefined.
Combined line 3 and 4 (FB state=hardware defect / inconsistent unit)
15.3.3 / Table 91 Access rights of parameter TOTAL changed (TOTAL can be written if the TOT FB
Actual Mode = MAN", as done for OUT in AI FB).
15.3.3 / Table 91 Default value of parameter MODE_TOT deleted.
15.3.3 / Table 91 Coding of the parameters SET_TOT, MODE_TOT and FAIL_TOT deleted in the
table 91. The information is already available in the table Parameter Description
of the Totalizer Function Block (Table 90).
16.1.2.1 / Table 93 Added note to SENSOR_MEAS_TYPE
16.3.1 / Figure 46 Correction of parameter naming (LIN_DIAMETER, LIN_VOLUME).
16.4.2 / Table 109 The parameters ZERO_POINT, ZERO_POINT_ADJUST; ZERIOINT_UNIT are
optional parameters for flow transducers.
16.4.2.1 ... 16.4.2.6 Parameter description tables for all flow transducers condensed to one table.
16.4.3 / Table 116 Default value for the parameters LOW_FLOW_CUTOFF, MEASUREMENT_MODE
and ZERO_POINT_UNIT deleted.
15.2.1 Remove description of resource state.
Table 83 Remove resource state entries
15.2.1.1 Remove description of the MODEs MAN, AUTO and O/S
Figure 29 Replace resource state by internal conditions
Table 88 Remove resource state entries
15.3.1.1 Modified description of the MODEs MAN, AUTO and O/S
Figure 29 Replace resource state by internal conditions

8 Device data sheet Discrete Input

8.1 Additional parameters for the Physical Block parameter description

There are no additional parameters. First manufacturer specific block parameter may be
started at relative index 33.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 197

8.2 Discrete Input Function Block

8.2.1 Overview

Figure 55 shows the Discrete Input Function Blocks that represent for example inductive,
optical, capacitive, ultrasonic, proximity switches.

Figure 55 Summary of the parameters of the Discrete Input Function Block

The structure of the MODE and the simulation feature of the DI are shown in Figure 56.

Figure 56 Simulation, mode and status diagram of the Discrete Input Function Block

Figure 57 presents a summary of the inputs and outputs of the Mode- and Status-generation.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 198

Mode and status handling


Process variable status
(Transducer Block)
Actual mode

Internal conditions
O/S

Permitted mode
Status (OUT_D)

TARGET_MODE
Auto Man

Figure 57 Conditions of mode and status generation

The Transducer Block process variable Status is visible at the Transducer Block. The Target
Mode is set by the operator and the Permitted Mode by the block designer. Actual Mode is an
attribute of the FB-Parameter MODE_BLK and the result of the mode calculation (see General
Requirements, Clause 5).

The Status (OUT_D) is coupled with the OUT_D value (Data type 102) of the block.

8.2.1.1 DI state machine

O/S

5 2
9 1

8 3 7
Auto Man
4

Figure 58 State machine of the Discrete Input Function Block

The modes O/S (Out of Service), Man (Manual) and Auto (Automatic) are mandatory as
permitted modes for DI-FBs according to conformance class B. The possible transitions are
illustrated in Figure 58.

8.2.1.2 Actual Mode calculation

Table 181 contains on the left side all conditions that demand a mode change from the current
Actual Mode (last execution) to the new Actual Mode of the DI-Function Block. On the right
side the results of the calculation are illustrated.

The first column in Table 181 contains the number of the transition of the state machine in
Figure 58.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 199

General condition: permitted modes are O/S, Man, Auto.

Table 181 Conditions and results of the Actual Mode calculation

Conditions Result

Transition Target Mode Actual Mode


(Operator) (calculated)
T2,T5,T6 O/S O/S
T4,T8,T9 Auto Auto
T1,T3,T7 Man Man

8.2.1.3 Output Status calculation

Table 182 shows the conditions influencing the Status of the output parameter. On the left side
all conditions are illustrated and on the right side the result.

Table 182 Conditions and results of the Status calculation of the output parameter

Conditions Result

Actual-Mode Status Status


(Transducer output) (OUT_D)
O/S * BAD - out of service constant
Man * as written by the operator
Auto BAD Influenced by the parameter
FSAFE_TYPE
Auto <> BAD Influenced by the following parameters:
PV Sub status
Alarms (ST_REV, Limits)
Internal DI FB conditions
Priority table of status (see General Requirements)
* no influence

8.2.2 Parameter description of the Discrete Input Function Block

Table 183 Parameter description of the Discrete Input Function Block

Parameter Description
CHANNEL Reference to the active Transducer Block which provides the measurement value to
the Function Block. For more details, please see the General Requirement
definitions.
INVERT Indicates whether the input value of the PV_D should be logically inverted before it is
stored in the OUT_D.
Coding:
0: not inverted
1: inverted
FSAFE_TYPE Defines reaction of the device, if a fault is detected.
Coding:
0: value FSAFE_VAL_D is used as OUT_D
Status = UNCERTAIN-substitute value (**)
1: use of last stored valid OUT_D value
Status = UNCERTAIN-last usable value
(if no valid value is available UNCERTAIN-Initial Value shall be used) (**)
2: OUT_D has the wrong calculated value and status
Status = BAD-(*) (**)
(*) as calculated
(**) if classic status definition is in use; for condensed status see Table 83
FSAFE_VAL_D Default value for the OUT_D parameter, if a sensor or sensor electronic fault is
detected.
OUT_D OUT_D is the output of the Function Block. The value is specified by the operator in
MODE Man.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 200

SIMULATE_D For commissioning and test purposes the input value from the Transducer Block in
the Discrete Input Function Block DI-FB can be modified. That means that the
Transducer and DI-FB will be disconnected.

8.2.3 Parameter attributes of the Discrete Input Function Block

Table 184 Parameter attributes of the Discrete Input Function Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Discrete Input Function Block Parameters


r,w
10 OUT_D Record 102 D 2 O/cyc - - M
(*)
14 CHANNEL Simple Unsigned16 S 2 r,w C/a F - M(B)
15 INVERT Simple Unsigned8 S 1 r,w C/a F 0 M
20 FSAFE_TYPE Simple Unsigned8 S 1 r,w C/a F - M(B)
21 FSAFE_VAL_D Simple Unsigned8 S 1 r,w C/a F 0 M
dis-
24 SIMULATE_D Record DS-51 S 3 r,w C/a F M(B)
abled
25 ...
Reserved by PI M
34
First manufacturer
35 O
specific parameter
(*) The OUT_D parameter can be written if the AI FB Actual MODE = Man

8.2.4 View object of the Discrete Input Function Block

Table 185 View object of the Discrete Input Function Block

Access
r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
10 OUT_D 2 2
14 CHANNEL 2
15 INVERT 1
20 FSAFE_TYPE 1
21 FSAFE_VAL_D 1
24 SIMULATE_D 3 3
Overall sum of bytes in View-
Object ( + S t a n d a r d P a r a m e t e r 2 + 13 5 + 13 8 + 46 reserved
bytes )

8.3 Transducer Blocks

8.3.1 Parameter description of the Discrete Input Transducer Block

Table 186 Parameter description of the Discrete Input Transducer Block

Parameter Description
SENSOR_WIRE_CHECK Enables the lead breakage and short circuit detection.
Coding:
0: Lead breakage and short circuit detection enabled
1: Lead breakage detection enabled, short circuit detection disabled
2: Lead breakage detection disabled, short circuit detection enabled
3: Lead breakage and short circuit detection disabled
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 201

Parameter Description
SENSOR_SER_NUM Serial number of the sensor.
SENSOR_ID Identification of the sensor (-type).
SENSOR_MAN Manufacturer of the sensor.
PV_D This parameter contains the measured value and status available to the Function
Block.

8.3.2 Parameter attributes of the Discrete Input Transducer Block

Table 187 Parameter attributes of the Discrete Input Transducer Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Parameters for Discrete Input Transducer Blocks


8 SENSOR_WIRE_CHECK Simple Unsigned8 S 1 r,w C/a F - O
9 SENSOR_ID Simple OctetString S 16 r,w C/a I - O
10 SENSOR_SER_NUM Simple OctetString S 16 r,w C/a I - O
11 SENSOR_MAN Simple OctetString S 16 r,w C/a I - O
12 PV_D Record 102 D 2 r C/a - - M (B)
13 ...
Reserved by PI M
22
First manufacturer
23 O
specific parameter

8.3.3 View object of the Discrete Input Transducer Block

Table 188 View object of the Discrete Input Transducer Block

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
8 SENSOR_WIRE_CHECK 250 1
9 SENSOR_ID 16
10 SENSOR_SER_NUM 16
11 SENSOR_MAN 16
12 PV_D 2 2
Overall sum of bytes in View-
Object ( + S t a n d a r d P a r a m e t e r 2 + 13 2 + 13 49 + 36 reserved
bytes )

8.4 Conformance statement

Table 189 provides the conformance statement template.

Table 189 Conformance statement of Discrete Input components

Parameter Conformance statement Subelement


Physical Block M
Function Block M
Discrete Input Function Block M
Other Function Block O
Transducer Block O (Class A),
M (Class B)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 202

Discrete Input Transducer Block O (Class A),


S (Class B)
Other Transducer Block O (Class A),
S (Class B)

8.5 Document history

Table 190 shows the changes from release version V3.0 to V3.01.

Table 190 Changes from V3.0 to V3.01

Clause/Figure/Table Change
19.2.1.1 Sentence added below Figure 54:
The modes O/S (Out of Service), MAN (Manual) and AUTO (Automatic) are
mandatory as permitted modes for DI FBs according to conformance class B.
19.2.2/Table 124 Editorial:
FSAVE_VALUE -> FSAFE_VAL_D
19.2.2/Table 124 Expected status changed in case of
- FSAFE_TYPE=0:
UNCERTAIN-Initial Value -> UNCERTAIN-Substitute Value
- FSAFE_TYPE=2:
BAD-Sensor Failure (0x08) -> BAD-* (*=as calculated)
19.2.3/Table 125 Editorial:
FSAVE_TYPE -> FSAFE_TYPE
FSAVE_VAL_D -> FSAFE_VAL_D
19.2.3/Table 125 Column Reset Class added.
Default value for FSAFE_TYPE is deleted.
Data type DS-34 replaced by Data type 102 according to Profile Guideline.
19.2.4/Table 126 Editorial:
FSAVE_TYPE -> FSAFE_TYPE
FSAVE_VAL_D -> FSAFE_VAL_D
20.2/Table 128 Column Reset Class added.
Data type DS-34 replaced by Data type 102 according to Profile Guideline.

Table 191 shows the changes from release version V3.01 to V3.02

Table 191 Changes from V3.01 to V3.02

Clause/Figure/Table in Change
V3.01
Entire Document SIMULATE replaced by SIMULATE_D
4.2.2/Table 126 Editorial:
FSAVE_VALUE -> FSAFE_VAL_D
19.2.1.2 Remove description of resource state.
Table 122 Remove resource state entries
19.2.1.2 Remove description of the MODEs MAN, AUTO and O/S
Figure 53 Replace resource state by internal conditions

9 Device data sheet Discrete Output

9.1 Additional parameters for the Physical Block parameter description

There are no additional Parameters. First manufacturer specific block parameter may be
started at Relative Index 33.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 203

9.2 Discrete Output Function Block

9.2.1 Overview

9.2.1.1 General

This profile is meant to be for every kind of discrete output. So if a valve is mentioned it is just
an example.

Discrete Output Function Block represents e.g. discrete valves, relay outputs, transistor
outputs etc.

Figure 59 Summary of the parameters of the Discrete Output Function Block

Discrete Output Function Block


from Mode
TARGET_MODE
operator
Status Mode and status
Status handling Status
Status

to remote
RCAS_OUT_D
station Value Status Mode

from remote RCas


RCAS_IN_D
station Value Status
from remote Auto Value FB
SP_D
station Value Status algorithm
RCas, Auto

from Man
OUT_D
operator Value Status to transducer
OUT_D
LO Value Status (OUT_CHANNEL)
OUT_D

O/S
OUT_D

SIMULATE_D
Enable from operator
to On Value and
Status from operator
operator / FB Value Status
READBACK_D
remote Value Status algorithm Off from transducer
station (IN_CHANNEL)
Value Status

Figure 60 Simulation, Mode and Status diagram of the Discrete Output Function Block
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 204

The structure of the DO with Simulation, Mode and Status is shown in Figure 60. Figure 61
presents a summary of all considering factors of the Mode and Status generation.

Figure 61 Conditions of Mode and Status Generation

The Status (RCAS_IN_D) is coupled with the value provided by a supervisory host for the
target set point.

Actual Mode is an attribute of the FB parameter MODE_BLK and the result of the calculation.
The Status (RCAS_OUT_D) is coupled with the RCAS_OUT_D value (Data type 102) from the
block, provided to a supervisory host. The Process Status to Transducer Block is coupled with
the primary Output value (Data type 102) from the Function Block to the Transducer Block.

9.2.1.2 DO state machine

Figure 62 State machine of the Discrete Output Function Block


PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 205

The modes O/S (Out of Service), MAN (Manual) and AUTO (Automatic) are mandatory as
permitted modes for DO FBs according to conformance class B. The modes LO (Local
Override) and RCas (Remote Cascade) are optional. The possible mode changes (transitions)
are illustrated in Figure 62.

9.2.1.3 Conditions on which the Actual Mode is calculated and the Target Mode is
changed

Table 192 contains on the left side all conditions that demand a mode change from the Actual
Mode (last execution) to the new Actual and Target Mode of the DO-Block. On the right side
are illustrated the results of the calculation. The first column of Table 192 contains the number
of the transition of the state machine in Figure 62.

Table 192 Conditions and results of the Actual Mode calculation

Conditions Result
Transition Target Actual- Status Status of Actual Mode
Mode Mode (RCAS_IN_D) RCAS_IN_D <> (calculated)
(Operator) (previous GOOD (C) longer
execution) as FSAFE_TIME
2, 7, 8, 11, 16 O/S * * * O/S
15, 18, 20, 21, 22 LO * LO
1, 4, 9, 12, 17 Man * * * Man
3, 5, 13, 19, 23 Auto * * * Auto
19 RCas LO * * Auto
23 RCas O/S * * Auto
6 RCas Auto GOOD (C)-IA * RCas
13 RCas Auto <> GOOD (C)-IA * Auto
10 RCas Man GOOD (C)-IA * RCas
12 RCas Man <>GOOD (C)-IA * Man
14 RCas RCas <>GOOD (C) no RCas
5 RCas RCas <>GOOD (C) yes Auto
14 RCas RCas GOOD (C) * RCas
5 RCas RCas GOOD (C)-IFS * Auto

9.2.1.4 Conditions on which the output Status is generated

Table 193 and Table 194 show which conditions influence the Status of the output parameters.

Table 193 Conditions and results of the Status calculation of the output parameter

Conditions Result
Actual Mode Status Status
(calculated) (SP_D) (OUT_D)
O/S * BAD - out of service, constant
LO * GOOD (NC)- ok, constant
Man * Last status value and constant or
as written by the operator
Auto <> BAD and <> GOOD (NC)-IFS GOOD (NC)
Auto BAD (fail safe time still active) GOOD (NC)
Auto BAD (fail safe time ended) or See FAIL_SAFE_TYPE
GOOD (NC)-IFS
RCas * GOOD (NC)- ok
* no influence

Table 194 Conditions and results of the Status calculation of cascade handling

Conditions Result
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 206

Actual Mode Target Mode Status Status


(calculated) (RCAS_IN_D) (RCAS_OUT_D)
OS * * BAD - out of service, constant
LO * * GOOD (C)-local override, constant
Man <>RCas * GOOD (C)-not invited, constant
Auto <>RCas * GOOD (C)-not invited
Man RCas <> GOOD (C)-initialization GOOD (C)-initialization request, constant
acknowledge
Man RCas GOOD (C)-initialization GOOD (C)-ok
acknowledge
Auto RCas <> GOOD (C)-initialization GOOD (C)-initialization request
acknowledge
Auto RCas GOOD (C)-initialization GOOD (C)-ok
acknowledge
RCas RCas GOOD(C) - * GOOD (C)-ok
* no influence

9.2.2 Parameter description of the Discrete Output Function Block

Table 195 Parameter description of the Discrete Output Function Block

Parameter Description
CHECK_BACK Detailed information of the device, bitwize coded. More than one message is possible
at once.
CHECK_BACK_MASK Definition of supported CHECK_BACK information bits.
Coding of each bit:
0: not supported
1: supported
FSAFE_TIME Time in seconds from detection of failure of the actual used set point (SP_D = BAD
or RCAS_IN <> GOOD) to the action of the block if the condition still exists.
NOTE A communication time out changes the status of the transmitted set point to
BAD (see 6.3.4).
FSAFE_TYPE Defines reaction of the device, if a failure of the actual used set point is still detected
after FSAFE_TIME or if the status of the actual used set point is Initiate Fail Safe.
The calculated ACTUAL MODE is AUTO respectively (see 5.2.3.6).
Coding:
0: value FSAFE_VAL_D is used as setpoint status of
OUT_D = UNCERTAIN - Substitute Value
1: storing last valid set point
status of OUT_D = UNCERTAIN - Last usable Value
or BAD - No communication, no LUV
2: actuator goes to fail-safe position defined by ACTUATOR_ACTION,
status of OUT_D = BAD - non specific
FSAFE_VAL_D OUT_D transfers this value if FSAFE_TYPE = 0 and FSAFE is activated.
IN_CHANNEL Reference to the active Transducer Block and its parameter which provides the
actual position of the final control element (FEEDBACK_VALUE_D). For more
description see General Requirements (CHANNEL)
INVERT Indicates whether the SP_D should be logically inverted before writing to OUT_D in
mode AUTO or RCAS.
Coding:
0: not inverted
1: inverted
OUT_CHANNEL Reference to the active Transducer Block and its parameter which provides the
position for the final control element (POSITIONING_VALUE_D). For more
description see General Requirements (CHANNEL)
OUT_D This parameter is the process variable of the discrete output block in AUTO and
RCas mode and is the value specified by the operator/engineer in MAN and LO. In
case of BAD status the valve goes to the position specified in ACTUATOR_ACTION.
READBACK_D Can be the actual position of the final control element and its sensors.
RCAS_IN_D Target Set point and status provided by a supervisory Host to the discrete output
block used in MODE RCAS.
RCAS_OUT_D Function Block Set point and status provided to a supervisory Host for monitoring /
back calculation and to allow action to be taken under limited conditions or mode
change.
SIMULATE_D For commissioning and maintenance reasons, it is possible to simulate the
READBACK by defining the value and the status. That means that the Transducer
Block and the DO-FB will be disconnected.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 207

Parameter Description
SP_D Set point of Function Block used in MODE AUTO.

9.2.3 Parameter attributes of the Discrete Output Function Block

Table 196 Parameter attributes of the Discrete Output Function Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Discrete Output Function Block Parameters


9 SP_D Record 102 D 2 r, w I/a, cyc - - M
O(A),
10 OUT_D Record 102 D 2 r, w C/a - -
M(B)
12 READBACK_D Record 102 D 2 r O/a, cyc - - O
14 RCAS_IN_D Record 102 D 2 r, w I/a, cyc - - O
O(A),
17 IN_CHANNEL Simple Unsigned16 S 2 r, w C/a F -
M(B)
18 INVERT Simple Unsigned8 S 1 r, w C/a F 0 M
O(A),
19 FSAFE_TIME Simple Float S 4 r, w C/a F 0
M(B)
O(A),
20 FSAFE_TYPE Simple Unsigned8 S 1 r, w C/a F -
M(B)
O(A),
21 FSAFE_VAL_D Simple Unsigned8 S 1 r, w C/a F 0
M(B)
22 RCAS_OUT_D Record 102 D 2 r O/a, cyc - - O
disab O(A),
24 SIMULATE_D Record DS-51 S 3 r, w C/a F
led M(B)
33 CHECK_BACK Simple OctetString D 3 r C/a, cyc - - M
34 CHECK_BACK_MASK Simple OctetString Cst 3 r C/a - - M
35 OUT_CHANNEL Simple Unsigned16 S 2 r, w C/a F - O
36 ...
Reserved by PI - M
44
First manufacturer
45 - O
specific parameter

9.2.4 View object of the Discrete Output Function Block

Table 197 View object of the Discrete Output Function Block

Access
r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
9 SP_D 2 2
10 OUT_D 2 2
12 READBACK_D 2
14 RCAS_IN_D 2 2
17 IN_CHANNEL 2
18 INVERT 1
19 FSAFE_TIME 4
20 FSAFE_TYPE 1
21 FSAFE_VAL_D 1
22 RCAS_OUT_D 2 2
24 SIMULATE_D 3 3
33 CHECK_BACK 3 3
34 CHECK_BACK_MASK 3
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 208

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
35 OUT_CHANNEL 2
Overall sum of bytes in View-
Object (+ Standard Parameter 11 + 13 19 + 13 14 + 46 reserved
bytes)

9.2.5 Coding of the Discrete Output FB parameter CHECK_BACK

For the mapping of BitStrings to OctetStrings see 5.2.3.1, especially Table 2.

Table 198 Coding of the Discrete Output FB parameter CHECK_BACK

CHECK_BACK Description Ind.


Bit Mnemonic Class
0 CB_FAIL_SAFE Field device in Fail safe active R
1 CB_REQ_LOC_OP Request for local operation at device R
2 CB_LOCAL_OP Field device under local control R
3 CB_OVERRIDE Emergency override active R
4 CB_DISC_DIR Actual position feedback different from expected R
position
5 CB_LEAD_BREAK_VALVE Indicates a lead break of the valve connection. R
6 CB_SHORT_CIRCUIT_VALVE Indicates a short circuit of the valve connection. R
7 Not used
8 CB_ACT_OPEN Actuator is moving towards open direction R
9 CB_ACT_CLOSE Actuator is moving towards close direction R
10 CB_UPDATE_EVT The alert generated by any change to the static data A
of FB and TB
11 CB_SIMULATE Simulation of process values is enabled R
12 Not used
13 CB_CONTR_ERR Internal control loop disturbed R
14 CB_CONTR_INACT Valve inactive (status OUT_D BAD) R
15 CB_SELFTEST Device under self-test. R
16 CB_TOT_VALVE_TRAV Indicates that the total valve travel limit is exceeded R
17 CB_BREAK_TIME_OPEN_TO_CLOSE Limit for break time of change from OPEN to CLOSE R
exceeded.
18 CB_BREAK_TIME_CLOSE_TO_OPEN Limit for break time of change from CLOSE to OPEN R
exceeded.
19 CB_CYCLE_TEST Error occurred in the internal cycle test. R
20 CB_TRAVEL_TIME_OPEN_TO_CLOSE Limit for time between change from OPEN to CLOSE R
exceeded.
21 CB_TRAVEL_TIME_CLOSE_TO_OPEN Limit for time between change CLOSE to OPEN R
exceeded.
22 CB_TRAVEL_BLOCKED Valve mechanically blocked. R
23 CB_ZERO_POINT_ERROR Zero point position cannot be reached. R
Values of the CHECK_BACK bits:
0: not set
1: set

Indication Class:
R: Indication remains active as long as the reason for the message exists.
A: Indication will be automatically reset after 20 seconds.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 209

9.3 Transducer Blocks

9.3.1 Parameter description of the Discrete Valve Control Transducer Block

The output of the Transducer Block is READBACK_D for discrete valve control applications.
For each discrete output 2 proximity switches inputs are available. The input signals indicate
the ON/OFF state of the valve.

Table 199 Parameter description of the Discrete Valve Control Transducer Block

Parameter Description
ACTUATOR_ACTION Fail-safe position for power-loss of the actuator resp. the valve:
Coding:
0: not initialized
1: opening
2: closing
ACTUATOR_MAN Name of the actuator Manufacturer
ACTUATOR_ SER_NUM Serial number of the actuator belonging to the device.
ACTUATOR_ID Identification of the actuator (-type)
TRAVEL_COUNT Number of cycles from OPEN to CLOSE and CLOSE to OPEN (Sum of both)
TRAVEL_COUNT_LIM Limit for TRAVEL_COUNT
BREAK_TIME_OPEN_ Set point for the time in 10 millisecond resolution between the change to state
CLOSE CLOSE and the indication that the valve leaves the state OPEN.
BREAK_TIME_CLOSE_ Set point for the time in 10 millisecond resolution between the change to state OPEN
OPEN and the indication that the valve leaves the state CLOSE.
BREAK_TIME_OPEN_ Actual time in 10 millisecond resolution between the change to state CLOSE and the
CLOSE_ACT indication that the valve leaves the state OPEN.
BREAK_TIME_CLOSE_ Actual time in 10 millisecond resolution between the change to state OPEN and the
OPEN_ACT indication that the valve leaves the state CLOSE.
BREAK_TIME_OPEN_ Maximal allowed time difference between BREAK_TIME_OPEN_CLOSE and
CLOSE_TOL BREAK_TIME_OPEN_CLOSE_ACT.
BREAK_TIME_CLOSE_ Maximal allowed time difference between BREAK_TIME_CLOSE_OPEN and
OPEN_TOL BREAK_TIME_CLOSE_OPEN_ACT.
CYCLE_TEST_CMD Enables/disables an internal function test procedure. The function is defined vendor
specific.
Coding:
0: disabled
1: enabled
CYCLE_TEST_TIME Time in seconds between two internal test cycles.
FEEDBACK_VALUE_D The actual position of the final control element.
In case of valve control this object indicates the position of the discrete valve and the
sensor states.
Bit 0 (LSB), 1: 0 = not initialized, 1 = closed, 2 = open, 3 = intermediate
Bit 2: State sensor 1
Bit 3: Short circuit sensor 1, 1 = active, 0 = inactive
Bit 4: Lead break sensor 1, 1 = active, 0 = inactive
Bit 5: State sensor 2
Bit 6: Short circuit sensor 2, 1 = active, 0 = inactive
Bit 7 (MSB): Lead break sensor 2, 1 = active, 0 = inactive
POSITIONING_VALUE_D The actual command variable for the final control element.
SELF_CALIB_CMD Initiation of a device-specific calibration-procedure, manufacturer specific.
0 default
SELF_CALIB_STATUS Result or status of the device-specific calibration-procedure, manufacturer specific.
0 default
TRAVEL_TIME_CLOSE_ Set point for the time in 10 millisecond resolution between the changes of the state
OPEN from CLOSE to OPEN.
TRAVEL_TIME_OPEN_ Set point for the time in 10 millisecond resolution between the changes of the state
CLOSE from OPEN to CLOSE.
TRAVEL_TIME_CLOSE_ The last Travel time from close to open in 10 millisecond resolution.
OPEN_ACT
TRAVEL_TIME_OPEN_ The last Travel time from open to close in 10 millisecond resolution.
CLOSE_ACT
TRAVEL_TIME_CLOSE_ Maximal allowed time difference between TRAVEL_TIME_CLOSE_OPEN and
OPEN_TOL TRAVEL_TIME_CLOSE_OPEN_ACT.
TRAVEL_TIME_OPEN_ Maximal allowed time difference between TRAVEL_TIME_OPEN_CLOSE and
CLOSE_TOL TRAVEL_TIME_OPEN_CLOSE_ACT.
VALVE_MAN Name of the valve Manufacturer
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 210

Parameter Description
VALVE_SER_NUM Serial number of the valve belonging to the device.
VALVE_ID Identification of the valve (-type)
SENSOR_WIRE_CHECK Enables the lead breakage and short circuit detection.
Coding:
0: Lead breakage and short circuit detection enabled
1: Lead breakage detection enable, short circuit detection disabled
2: Lead breakage detection disable, short circuit detection enabled
3: Lead breakage and short circuit detection disabled

9.3.2 Parameter attributes of the Discrete Valve Control Transducer Block

Table 200 Parameter attributes of the Discrete Valve Control Transducer Block

Default Value
Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
ObjeIType

Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Transducer Block Parameters for Discrete Valve Control Devices


8 VALVE_MAN Simple OctetString S 16 r,w C/a I - O (B)
9 ACTUATOR_MAN Simple OctetString S 16 r,w C/a I - O (B)
10 VALVE_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
11 ACTUATOR_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
12 VALVE_ID Simple OctetString S 16 r,w C/a I - O (B)
13 ACTUATOR_ID Simple OctetString S 16 r,w C/a I - O (B)
14 ACTUATOR_ACTION Simple Unsigned8 S 1 r,w C/a F - M (B)
15 TRAVEL_COUNT Simple Unsigned32 N 4 r,w C/a (*) - O (B)
16 TRAVEL_COUNT_LIM Simple Unsigned32 S 4 r,w C/a F - O (B)
BREAK_TIME_OPEN_
17 Simple Unsigned16 S 2 r,w C/a F - O (B)
CLOSE
BREAK_TIME_CLOSE_
18 Simple Unsigned16 S 2 r,w C/a F - O (B)
OPEN
BREAK_TIME_OPEN_
19 Simple Unsigned16 D 2 r C/a - - O (B)
CLOSE_ACT
BREAK_TIME_CLOSE_
20 Simple Unsigned16 D 2 r C/a - - O (B)
OPEN_ACT
BREAK_TIME_OPEN_
21 Simple Unsigned16 S 2 r,w C/a F - O (B)
CLOSE_TOL
BREAK_TIME_CLOSE_
22 Simple Unsigned16 S 2 r,w C/a F - O (B)
OPEN_TOL
23 CYCLE_TEST_CMD Simple Unsigned8 S 1 r,w C/a F - O (B)
24 CYCLE_TEST_TIME Simple Unsigned16 S 2 r,w C/a F - O (B)
TRAVEL_TIME_CLOSE_
25 Simple Unsigned16 S 2 r,w C/a F - O (B)
OPEN
TRAVEL_TIME_OPEN_
26 Simple Unsigned16 S 2 r,w C/a F - O (B)
CLOSE
TRAVEL_TIME_CLOSE_
27 Simple Unsigned16 D 2 r C/a - - O (B)
OPEN_ACT
TRAVEL_TIME_OPEN_
28 Simple Unsigned16 D 2 r C/a - - O (B)
CLOSE_ACT
TRAVEL_TIME_CLOSE_
29 Simple Unsigned16 S 2 r,w C/a F - O (B)
OPEN_TOL
TRAVEL_TIME_OPEN_
30 Simple Unsigned16 S 2 r,w C/a F - O (B)
CLOSE_TOL
31 SELF_CALIB_CMD Simple Unsigned8 N 1 r,w C/a - - M (B)
32 SELF_CALIB_STATUS Simple Unsigned8 N 1 r C/a - - M (B)
33 SENSOR_WIRE_CHECK Simple Unsigned8 S 1 r,w C/a F - O (B)
34 POSITIONING_VALUE_D Record 102 D 2 r C/a - - O (B)
35 FEEDBACK_VALUE_D Record 102 D 2 r C/a - - O (B)
36 ...
Reserved by PI
43
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 211

Default Value
Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
ObjeIType

Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
(*) manufacturer specific

9.3.3 View object of the Discrete Valve Control Transducer Block

Table 201 View object of the Discrete Valve Control Transducer Block

Access

r r r,w r,w

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
8 VALVE_MAN 16
9 ACTUATOR_MAN 16
10 VALVE_SER_NUM 16
11 ACTUATOR_SER_NUM 16
12 VALVE_ID 16
13 ACTUATOR_ID 16
14 ACTUATOR_ACTION 1
15 TRAVEL_COUNT 4
16 TRAVEL_COUNT_LIM 4
17 BREAK_TIME_OPEN_CLOSE 2
18 BREAK_TIME_CLOSE_OPEN 2
19 BREAK_TIME_OPEN_CLOSE_ACT 2
20 BREAK_TIME_CLOSE_OPEN_ACT 2
21 BREAK_TIME_OPEN_CLOSE_TOL 2
22 BREAK_TIME_CLOSE_OPEN_TOL 2
23 CYCLE_TEST_CMD
24 CYCLE_TEST_TIME 2
25 TRAVEL_TIME_CLOSE_OPEN 2
26 TRAVEL_TIME_OPEN_CLOSE 2
27 TRAVEL_TIME_CLOSE_OPEN _ACT 2
28 TRAVEL_TIME_OPEN_CLOSE _ACT 2
29 TRAVEL_TIME_CLOSE_OPEN _TOL 2
30 TRAVEL_TIME_OPEN_CLOSE _TOL 2
31 SELF_CALIB_CMD
32 SELF_CALIB_STATUS 1
33 SENSOR_WIRE_CHECK 1
34 POSITIONING_VALUE_D 2
35 FEEDBACK_VALUE_D 2
Overall sum of bytes in View-Object
0 + 13 17 + 13 24 + 36 96 + 0
(+ Standard Parameter bytes)

9.4 Conformance statement

Table 202 provides the conformance statement template.

Table 202 Conformance statement of Discrete Output components

Parameter Conformance statement Subelement


Physical Block M
Function Block M
Discrete Output Function Block M
Other Function Block O
Transducer Block O (Class A),
M (Class B)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 212

Discrete Valve Control Transducer Block O (Class A),


S (Class B)
Other Transducer Block O (Class A),
S (Class B)

9.5 Document history

Table 203 shows the changes from release version V3.0 to V3.01.

Table 203 Changes from V3.0 to V3.01

Clause/Figure/Table Change
24.2.1/Figure 56 The value written to by the operator in mode Man is OUT_D instead of SP_D.
24.2.1 DS-34 replaced by data type 102.
24.2.1.1 Sentence changed below Figure 58:
The modes O/S (Out of Service), MAN (Manual) and AUtO (Automatic) are
mandatory as permitted modes for DO FBs according to conformance class B. The
modes LO (Local Override) and RCas (Remote Cascade) are optional.
24.2.3/Table 136 In column Mandatory optional Class (A/B) all cyc optional deleted. RCAS_IN_D
and RCAS_OUT_D are now O(A/B).
Default value for FSAVE_TYPE is deleted.
Column Reset Class added.
Data type DS-34 replaced by data type 102.
24.2.5/Table 138 Description for CB_DISC_DIR changed:
Actual position feedback different from expected position
Bit 23 CB_ZERO_POINT_ERROR added:
Zero point position cannot be reached
25.2/Table 140 Column Reset Class added.

Table 204 shows the changes from release version V3.01 to V3.02.

Table 204 Changes from V3.01 to V3.02

Clause/Figure/Table in Change
V3.01
Clause 23 SIMULATE replaced by SIMULATE_D
CHANNEL replaced by IN_CHANNEL
Introduced new optional parameter OUT_CHANNEL
Table 133 Removed not necessary column Status (RCAS_IN_D)
Table 134 Corrected label
Table 135 Changed description of READBACK_D
Table 138 Changed time of CB_UPDATE_EVT indication from 10 to 20 seconds
Clause 24 Introduced new optional parameters FEEDBACK_VALUE_D and
POSITIONING_VALUE_D
Table 132 Remove resource state entries
Figure 57 Replace resource state by internal conditions
6.2.1 Delete resource state description

10 Device Data Sheet Actuator

10.1 Additional Parameters for the Physical Block Parameter Description

There are no additional parameters. The first manufacturer specific block parameter may be
started at Relative Index 33.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 213

10.2 Analog Output Function Block

10.2.1 Overview

Analog Output Function Blocks in this document represent positioners or valves for the
actuation of final control. The parameters are shown in the Figure 63.

Variable speed motor drives (i.e. pumps, ventilators, drives ...) are not included in the scope of
this device data sheet.

The Analog Output Function Block can also be used for other analog outputs than valves. In
this case all parameters related to valves have to be used in a way corresponding to the
transducer used in this application.

Figure 63 Summary of parameters of the Analog Output Function Block

10.2.2 Analog Output Function Block structure

The structure of the AO with Simulation, Mode and Status is shown in Figure 64. More details
about the relationships between some AO parameters are visible in Figure 65.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 214

Analog Output Function Block


from Mode
TARGET_MODE
operator
Status Mode and status
Status handling Status
Status

to remote Mode
RCAS_OUT
station Value Status

from remote RCas


RCAS_IN
station Value Status
from remote Auto Value FB
SP
station Value Status algorithm
Rcas, Auto

from Man
OUT
operator Value Status to transducer
OUT
LO Value Status (OUT_CHANNEL)
OUT

O/S
OUT

SIMULATE
Enable from operator
READBACK
to Value Status On Value and
Status from operator
operator / FB Value Status
POS_D
remote Value Status algorithm Off from transducer
station (IN_CHANNEL)
CHECKBACK Value Status
Value Status

Figure 64 Mode and simulation diagram of the Analog Output Function Block

Figure 65 Parameter relationship of Analog Output Function Block

10.2.3 Analog Output Function Block state machine

10.2.3.1 General

Figure 66 presents a summary of all considering factors of the Mode and Status generation.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 215

Figure 66 Conditions of Mode and Status generation

The Status (RCAS_IN) is coupled with the value provided by a supervisory host for the target
set point. The Target Mode is set by the operator and the Permitted Mode by the block
designer. Actual Mode is an attribute of the FB parameter MODE_BLK and the result of the
calculation. The Status (RCAS_OUT) is coupled with the RCAS_OUT value (Data type 101)
from the block, provided to a supervisory host. The Process Status to Transducer Block is
coupled with the primary Output value (Data type 101) from the Function Block to the
Transducer Block.

Figure 67 State machine of the Analog Output Function Block

The modes O/S (Out of Service), MAN (Manual) and AUTO (Automatic) are mandatory as
permitted modes for AO Function Blocks according to conformance class B. The modes LO
(Local Override) and RCas (Remote Cascade) are optional. The possible mode changes
(transitions) are illustrated in Figure 67.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 216

10.2.3.2 Conditions on which the Actual Mode is calculated and the Target Mode is
changed

Table 205 contains on the left side all conditions that demand a mode change from the Actual
Mode (last execution) to the new Actual and Target Mode of the AO-Block. On the right side
the results of the calculation are illustrated. The first column contains the number of the
transition of the state machine in Figure 67.

Table 205 Conditions and results of the Actual Mode calculation

Conditions Result
Transition Target Mode Actual Mode Status Status of Actual Mode
(Operator) (previous (RCAS_IN) RCAS_IN <> (calculated)
execution) GOOD (C)
longer as
FSAFE_TIME
2, 7, 8, 11, 16 O/S * * * O/S
15, 18, 20, 21, 22 LO * LO
1, 4, 9, 12, 17 Man * * * Man
3, 5, 13, 19, 23 Auto * * * Auto
19 RCas LO * * Auto
23 RCas O/S * * Auto
6 RCas Auto GOOD (C)-IA * RCas
13 RCas Auto <>GOOD (C)-IA * Auto
10 RCas Man GOOD (C)-IA * RCas
12 RCas Man <>GOOD (C)-IA * Man
14 RCas RCas <>GOOD (C) no RCas
5 RCas RCas <>GOOD (C) yes Auto
14 RCas RCas GOOD (C) * RCas
5 RCas RCas GOOD (C)-IFS * Auto

10.2.3.3 Conditions on which the output Status is generated

Table 206, Table 207, and Table 208 show the conditions that influence the status of the output
parameters. On the left side all conditions and on the right side the results are illustrated.

Table 206 Conditions and results of the Status calculation of the output parameter

Conditions Result

Actual Mode Status Status


(calculated) (SP) (OUT)
O/S * BAD - out of service, constant
LO * GOOD (NC)-ok, constant
Man * last status value and constant or
as written by the operator
Auto <> BAD and <> GOOD (NC)-IFS GOOD (NC)
Auto BAD (fail safe time still active) GOOD (NC)
Auto BAD (fail safe time ended) or see FAIL_SAFE_TYPE
GOOD (NC)-IFS
RCas * GOOD (NC)-ok
* no influence

Table 207 Conditions and results of the Status calculation of cascade handling

Conditions Result
Actual Mode Target Mode Status (RCAS_IN) Status (RCAS_OUT)
(calculated)
O/S * * BAD - out of service, constant
LO * * GOOD (C)-Local Override, Constant
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 217

Conditions Result

Actual Mode Target Mode Status (RCAS_IN) Status (RCAS_OUT)


(calculated)
Man <>RCas * GOOD (C)-Not Invited, Constant
Auto <>RCas * GOOD (C)-Not Invited
Man RCas <> Initialization acknowledge GOOD (C)-Initialization Request, Constant
Man RCas Initialization acknowledge GOOD (C)-ok
Auto RCas <> Initialization acknowledge GOOD (C)-Initialization Request
Auto RCas Initialization acknowledge GOOD (C)-ok
RCas RCas GOOD (C)- * GOOD (C)-ok
* no influence

Table 208 Parameter description of the Analog Output Function Block

Parameter Description
CHECK_BACK Detailed information of the device, bitwise coded. More than one message possible
at once.
CHECK_BACK_MASK Definition of supported CHECK_BACK information bits.
Coding:
0: not supported
1: supported
FSAFE_TIME Time in seconds from detection of failure of the actual used set point (SP = BAD or
RCAS_IN <> GOOD) to the action of the block if the condition still exists.
NOTE A communication time out changes the status of the transmitted set point to
BAD (see Mapping).
FSAFE_TYPE Defines reaction of the device, if a failure of the actual used set point is still detected
after FSAFE_TIME or if the status of actual used set point is Initiate Fail Safe.
The calculated ACTUAL MODE is AUTO or RCAS respectively (see Table 1).
0: value FSAFE_VALUE is used as set point
status of OUT = UNCERTAIN - Substitute Value
1: use last valid set point
status of OUT = UNCERTAIN - Last usable Value
or BAD - No communication, no LUV
2: actuator goes to fail-safe position defined by ACTUATOR_ACTION (only
useful for actuators with spring return)
status of OUT = BAD - non specific
FSAFE_VALUE Set point used if FSAFE_TYPE = 1 and FSAFE is activated.
INCREASE_CLOSE Defines actuator movement relative to the set point in mode RCAS and AUTO.
Coding:
0: rising (increasing of set point results in OPENING of the valve)
1: falling (increasing of set point results in CLOSING of the valve)
The following parameters are influenced by the setting of INCREASE_CLOSE:
READBACK, POS_D, OUT and CHECKBACK
IN_CHANNEL Reference to the active Transducer Block and its parameter that provides the actual
position of the final control element. For more description see General Requirements
(CHANNEL).
OUT This parameter is the process variable of the analog output block in engineering units
in AUTO and RCas mode and is the value specified by the operator/engineer in MAN
and LO mode.
OUT_CHANNEL Reference to the active Transducer Block and its parameter that provides the
position value for the final control element. For more description see General
Requirements (CHANNEL).
OUT_SCALE Conversion of the OUT of the Function Block in percent to OUT in engineering units
as the output value of the Function Block. The high and low scale values, engineering
unit code, and the number of digits to the right of the decimal point.
The following units should be supported in minimum: mm, (Degrees), % (depending
on VALVE_TYPE)
POS_D The current position of the valve (discrete).
Coding:
0: not initialized
1: closed
2: opened
3: intermediate
PV_SCALE Conversion of the PV in engineering units to PV in percent as the input value of the
Function Block. It consists of the high and low scale values, engineering unit code,
and number of digits to the right of the decimal point.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 218

Parameter Description
RCAS_IN Target set point in units of PV_SCALE and status provided by a supervisory host to
the analog control or output block in mode RCas.
RCAS_OUT Function Block set point in units of PV_SCALE and status. Provided to a supervisory
Host for monitoring / back calculation and to allow action to be taken under limited
conditions or mode change.
READBACK The actual position of the final control element within the travel span (between OPEN
and CLOSE position) in units of PV_SCALE.
SETP_DEVIATION Difference between OUT signal and feedback position in % travel span (between
OPEN and CLOSE position).
SIMULATE For commissioning and maintenance reasons, it is possible to simulate the
READBACK by defining the value and the status. That means that the signal path
from the Transducer Block to the AO FB will be disconnected.
SP Set point. Defines the position of the final control element within the travel span
(between OPEN and CLOSE position) in units of PV_SCALE in mode AUTO.

10.2.4 Parameter attributes of the Analog Output Function Block

Table 209 Parameter attributes of the Analog Output Function Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Analog Output Function Block Parameters


9 SP Record 101 D 5 r,w I/cyc - - M
100,
11 PV_SCALE Record DS-36 S 11 r,w C/a F M
0, %
12 READBACK Record 101 D 5 r O/cyc - - M (B)
14 RCAS_IN Record 101 D 5 r,w I/cyc - - O (B)
21 IN_CHANNEL Simple Unsigned16 S 2 r,w C/a F - M (B)
22 OUT_CHANNEL Simple Unsigned16 S 2 r,w C/a F - M (B)
23 FSAFE_TIME Simple Float S 4 r,w C/a F 0 M (B)
24 FSAFE_TYPE Simple Unsigned8 S 1 r,w C/a F 2 M (B)
25 FSAFE_VALUE Simple Float S 4 r,w C/a F 0 M (B)
27 RCAS_OUT Record 101 D 5 r O/cyc - - O (B)
31 POS_D Record 102 D 2 r O/cyc - - M
32 SETP_DEVIATION Simple Float D 4 r C/a - - O
33 CHECK_BACK Simple OctetString D 3 r O/cyc - - M (B)
34 CHECK_BACK_MASK Simple OctetString Cst 3 r C/a - - M (B)
disab
35 SIMULATE Record DS-50 S 6 r,w C/a F M (B)
led
36 INCREASE_CLOSE Simple Unsigned8 S 1 r,w C/a F 0 M (B)
37 OUT Record 101 D 5 r,w C/a - - M (B)
38 OUT_SCALE Record DS-36 S 11 r,w C/a F - M
39 ...
Reserved by PI M
48
First manufacturer
49 O
specific parameter

10.2.5 View object of the Analog Output Function Block

Table 210 View object of the Analog Output Function Block

Access
r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
9 SP 5
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 219

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
11 PV_SCALE 11
12 READBACK 5 5
14 RCAS_IN 5
21 IN_CHANNEL 2
22 OUT_CHANNEL 2
23 FSAFE_TIME 4
24 FSAFE_TYPE 1
25 FSAFE_VALUE 4
27 RCAS_OUT 5
31 POS_D 2 2
32 SETP_DEVIATION 4
33 CHECK_BACK 3 3
34 CHECK_BACK_MASK 3
35 SIMULATE 6
36 INCREASE_CLOSE 1
37 OUT 5
38 OUT_SCALE 11
Overall sum of bytes in View-
Object (+ Standard Parameter 10 + 13 43 + 13 36 + 46 reserved
bytes)

10.2.6 Coding of the Analog Output FB parameter CHECK_BACK

For the mapping of BitStrings to OctetStrings see 5.2.3.1, especially in Table 2.

Table 211 Coding of the Analog Output FB parameter CHECK_BACK

CHECK_BACK Description Ind.


Bit Mnemonic Class
0 CB_FAIL_SAFE Field device in Fail safe active R
1 CB_REQ_LOC_OP Request for local Operation R
2 CB_LOCAL_OP Field device under local control, LOCKED OUT R
switch is in gear
3 CB_OVERRIDE Emergency override active R
4 CB_DISC_DIR Actual position feedback different from expected R
position
5 CB_TORQUE_D_OP Indicates that the torque limit in OPEN direction is R
exceeded
6 CB_TORQUE_D_CL Indicates that the torque limit in CLOSE direction is R
exceeded
7 CB_TRAV_TIME Indicates status of travel monitoring equipment, if A
YES, travel time for actuator has exceeded
8 CB_ACT_OPEN Actuator is moving towards open direction R
9 CB_ACT_CLOSE Actuator is moving towards close direction R
10 CB_UPDATE_EVT The alert generated by any change to the static data A
(Function and Transducer Block).
11 CB_SIMULATE Simulation of process values is enabled R
12 reserved - -
13 CB_CONTR_ERR Internal control loop disturbed R
14 CB_CONTR_INACT Positioner inactive (OUT status = BAD) R
15 CB_SELFTEST Device under self test R
16 CB_TOT_VALVE_TRAV Indicates that total valve travel limit is exceeded R
17 CB_ADD_INPUT Indicates that an additional input (i.e. for diagnostics) R
is activated
18 ... 2 manufacturer specific - -
1
22 reserved for profile use - -
23 CB_ZERO_POINT_ERROR Zero point position cannot be reached R
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 220

CHECK_BACK Description Ind.


Bit Mnemonic Class

Values of the CHECK_BACK bits:


0: not set
1: set

Indication Class:
R: Indication remains active as long as the reason for the message exists.
A: Indication will be automatically reset after 20 seconds.

10.3 Transducer Blocks

10.3.1 Actuator Transducer Block overview

Subclause 10.3 describes the parameters of the electric and electro-pneumatic Transducer
Blocks.

10.3.2 Parameter description of the Actuator Transducer Block

Table 212 Parameter description of the Actuator Transducer Block

Parameter Description
ACTUATOR_SER_NUM Serial number of the actuator belonging to the positioner or the electronic device.
ACTUATOR_ACTION Fail-Safe position for power-loss of the actuator respectively the valve.
Coding:
0: not initialized
1: opening (100%)
2: closing (0%)
3: none / remains in actual position
ACTUATOR_MAN Name of Actuator-Manufacturer.
ACTUATOR_TYPE Type of actuator.
Coding:
0: electro-pneumatic
1: electric
2: electro-hydraulic
3: others
ACT_ROT_DIR Actuator rotation in direction OPEN.
Coding:
0: clockwise OPEN
1: counterclockwise OPEN
ACT_STROKE_TIME_DEC Minimum of time to move from OPEN to CLOSE position (in sec.) for total system
(positioner, actuator and valve). Measured while commissioning.
ACT_STROKE_TIME_INC Minimum of time to move from CLOSE to OPEN position (in sec.) for total system
(positioner, actuator and valve). Measured while commissioning.
ACT_TRAV_TIME Travel time limit detection. Measured while commissioning.
ADD_GEAR_ID Manufacturer specific type identification of the additional component (e.g. a gearbox,
booster) mounted between the actuator and valve.
ADD_GEAR_INST_DATE Installation date of the additional component (e.g. gearbox, booster) mounted
between the actuator and valve.
ADD_GEAR_MAN Manufacturer name of the additional component (e.g. gearbox, booster) mounted
between the actuator and valve.
ADD_GEAR_SER_NUM Serial number of the additional component (e.g. gearbox, booster) mounted between
the actuator and valve.
ANTI_PUMP_CL Fast-moving electric actuators with non self-locking gearbox often need the Anti-
pumping-feature to avoid pump effects. This may occur if limit-switch releases while
actuator moves back a little bit during motor is switched off. This variable defines the
distance from limit position CLOSE where the Anti-pumping is enabled.
ANTI_PUMP_OP Fast-moving electric actuators with non self-locking gearbox often need the Anti-
pumping-feature to avoid pump effects. This may occur if limit-switch releases while
actuator moves back a little bit during motor is switched off. This variable defines the
distance from limit position OPEN where the Anti-pumping is enabled.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 221

Parameter Description
BREAK_STRENGTH Power of actuator brake. Depends on the way, the brake works (time, current, ...)
BYPASS_SETP_CL When starting from limit position CLOSE to direction OPEN, the start bypass allows
the maximum torque value to exceed for a short time.
BYPASS_SETP_OP When starting from limit position OPEN to direction CLOSE, the start bypass allows
the maximum torque value to exceed for a short time.
DEADBAND Dead band in percent of travel span. Travel span correspondends to OUT_SCALE.
DEVICE_CALIB_DATE Date of last calibration of the device.
DEVICE_CONFIG_DATE Date of last configuration of the device.
LIN_TYPE See General Requirements.
FEEDBACK_VALUE The actual position of the final control element in units of OUT_SCALE.
MAX_TORQUE Maximum torque, allowed for the actuator.
MOTOR_ON_TIME Accumulation of the motor on-time in hours.
NUM_LIMIT_CUT_OFF Total number of limit switch dependent cut-offs of the actuator.
NUM_MOT_ON_CYC Total number of Start and Stop cycles of motor.
NUM_MOT_ON_HOUR Number of cycles that the motor has been switched on/off in the last hour.
NUM_TORQ_CUT_OFF Total number of torque dependent cut/offs of the actuator.
POSITIONING_VALUE The actual command variable for the final control element in units of OUT_SCALE.
Status BAD will drive the actuator to the fail-safe position defined by
ACTUATOR_ACTION.
RATED_TRAVEL Nominal stroke of the valve in units of OUT_SCALE.
SELF_CALIB_CMD Initiation of a device-specific (manufacturer specific) calibration-procedure.
Coding:
0: default value; no reaction of the field device (mandatory)
1: start zero point adjustment (optional)
2: start self calibration / initialization (optional)
7: reset total valve travel limit exceeded CB_TOT_VALVE_TRAV (optional)
and reset Accumulated valve travel TOTAL_VALVE_TRAVEL (optional)
10: reset internal control loop disturbed CB_CONTR_ERR (optional)
255: abort current calibration-procedure (optional)
SELF_CALIB_STATUS Result or status of the device-specific (manufacturer specific) calibration-procedure.
Coding:
0: undetermined (mandatory)
1: reserved
2: aborted (optional)
3: reserved
4: error in mechanical system (optional)
5 10: reserved
11: timeout (optional)
12 19: reserved
20: aborted by means of Emergency override active CB_OVERRIDE (opt.)
21 29: reserved
30: zero point error (optional)
31.. 127: reserved
128 249: manufacturer specific (optional)
250 253: reserved
254: successful (optional)
255: no valid data (optional)
SERVO_GAIN_1 Proportional-action coefficient for both moving directions. Actuators that have only
SERVO_GAIN_2 one servo gain use SERVO_GAIN_1.
SERVO_RATE_1 Derivative-action coefficient for both moving directions. Actuators that have only one
SERVO_RATE_2 servo rate use SERVO_RATE_1.
SERVO_RESET_1 Integral-action coefficient for both moving directions. Actuators that have only one
SERVO_RESET_2 servo reset use SERVO_RESET_1.
SETP_CUTOFF_DEC If the reference variable exceeds the entered value, the valve moves towards the
final position which corresponds to 0 % reference variable.
Electropneumatic actuators are completely filled with air or vented (depending on the
fail-safe position).
The motor of electric actuators moves the valve to the corresponding final position.
SETP_CUTOFF_INC If the reference variable exceeds the entered value, the valve moves towards the
final position which corresponds to 100 % reference variable.
Electropneumatic actuators are completely filled with air or vented (depending on the
fail-safe position).
The motor of electric actuators moves the valve to the corresponding final position.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 222

Parameter Description
SETP_CUTOFF_MODE Select travel- or torque-dependent cut-off (separate for each direction on travel).
Coding:
0: torque in dir. OPEN, torque in dir. CLOSE
1: torque in dir. OPEN, travel in dir. CLOSE
2: travel in dir. OPEN, torque in dir. CLOSE
3: travel in dir. OPEN, travel in dir. CLOSE
TAB_ENTRY See Table 50
TAB_X_Y_VALUE See Table 50
TAB_MIN_NUMBER See Table 50
TAB_MAX_NUMBER See Table 50
TAB_ACTUAL_NUMBER See Table 50
TAB_OP_CODE See Table 50
TAB_STATUS See Table 50
TORQUE_ACTUAL Indicates actual torque value in engineering unit.
TORQUE_LIM_CL Set value in engineering units. Determines the limit for the torque dependent switch
off in CLOSE direction.
TORQUE_LIM_OP Set value in engineering units. Determines the limit for the torque dependent switch
off in OPEN direction.
TORQUE_UNIT Engineering unit for torque or force.
TOTAL_VALVE_TRAVEL Accumulated valve travel in nominal duty cycles.
TOT_VALVE_TRAV_LIM Limit for the TOTAL_VALVE_TRAVEL in nominal duty cycles.
TRAVEL_LIMIT_LOW Lower limit of the valve position in percent of travel span. Travel span
correspondends to OUT_SCALE.
TRAVEL_LIMIT_UP Upper limit of the valve position in percent of travel span. Travel span
correspondends to OUT_SCALE.
TRAVEL_RATE_DEC Configurable time of full span change (closing time of the valve) in seconds.
TRAVEL_RATE_INC Configurable time of full span change (opening time of the valve) in seconds.
VALVE_MAINT_DATE Date of last valve maintenance.
VALVE_MAN Name of Valve Manufacturer.
VALVE_SER_NUM Serial number of the valve belonging to the positioner or the electronic device.
VALVE_TYPE Type of valve.
Coding:
0: linear moving valve, sliding valve
1: rotary moving valve, part-turn
2: rotary moving valve, multi-turn

10.3.3 Electric Actuator Transducer Block

10.3.3.1 Parameter attributes of the Electric Actuator Transducer Block

Table 213 Parameter attributes of the Electric Actuator Transducer Block


Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements


Additional Transducer Block Parameters for electric actuators
8 ACT_ROT_DIR Simple Unsigned8 S 1 r,w C/a F 0 O (B)
ACT_STROKE_TIME_DE man
9 Simple Float S 4 r C/a - O (B)
C spec
ACT_STROKE_TIME_IN man
10 Simple Float S 4 r C/a - O (B)
C spec
man
11 ACT_TRAV_TIME Simple Float S 4 r C/a - O (B)
spec
12 ANTI_PUMP_CL Simple Float S 4 r,w C/a F - O (B)
13 ANTI_PUMP_OP Simple Float S 4 r,w C/a F - O (B)
14 BREAK_STRENGTH Simple Float S 4 r,w C/a F - O (B)
15 BYPASS_SETP_CL Simple Float S 4 r,w C/a F - O (B)
16 BYPASS_SETP_OP Simple Float S 4 r,w C/a F - O (B)
17 TAB_ENTRY See Table 51 O (B)
18 TAB_X_Y_VALUE See Table 51 O (B)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 223

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
19 TAB_MIN_NUMBER See Table 51 O (B)
20 TAB_MAX_NUMBER See Table 51 O (B)
21 TAB_ACTUAL_NUMBER See Table 51 O (B)
22 DEADBAND Simple Float S 4 r,w C/a F - O (B)
23 DEVICE_CALIB_DATE Simple OctetString S 16 r,w C/a I - O (B)
24 DEVICE_CONFIG_DATE Simple OctetString S 16 r,w C/a I - O (B)
25 LIN_TYPE See Table 51 M (B)
26 MAX_TORQUE Simple Float S 4 r,w C/a F - O (B)
man
27 MOTOR_ON_TIME Simple Float D 4 r C/a - O (B)
spec
man
28 NUM_LIMIT_CUT_OFF Simple Float D 4 r C/a - O (B)
spec
man
29 NUM_MOT_ON_CYCL Simple Float D 4 r C/a - O (B)
spec
man
30 NUM_MOT_ON_HOUR Simple Unsigned8 D 1 r C/a - O (B)
spec
man
31 NUM_TORQ_CUT_OFF Simple Float D 4 r C/a - O (B)
spec
32 RATED_TRAVEL Simple Float S 4 r,w C/a F - M (B)
33 SELF_CALIB_CMD Simple Unsigned8 N 1 r,w C/a - 0 M (B)
34 SELF_CALIB_STATUS Simple Unsigned8 N 1 r C/a - 0 M (B)
35 SERVO_GAIN_1 Simple Float S 4 r,w C/a F - O (B)
36 SERVO_RATE_1 Simple Float S 4 r,w C/a F - O (B)
37 SERVO_RESET_1 Simple Float S 4 r,w C/a F - O (B)
38 SETP_CUTOFF_DEC Simple Float S 4 r,w C/a F - M (B)
39 SETP_CUTOFF_INC Simple Float S 4 r,w C/a F - M (B)
40 SETP_CUTOFF_MODE Simple Unsigned8 S 1 r,w C/a F 3 O (B)
41 TORQUE_ACTUAL Record 101 D 5 r C/a - - O (B)
42 TORQUE_LIM_CL Simple Float S 4 r,w C/a F - O (B)
43 TORQUE_LIM_OP Simple Float S 4 r,w C/a F - O (B)
44 TORQUE_UNIT Simple Unsigned16 S 2 r,w C/a F - O (B)
man
45 TOTAL_VALVE_TRAVEL Simple Float D (*) 4 r,w C/a - O (B)
spec
46 TOT_VALVE_TRAV_LIM Simple Float S 4 r,w C/a F - O (B)
47 TRAVEL_LIMIT_LOW Simple Float S 4 r,w C/a F 0 M (B)
48 TRAVEL_LIMIT_UP Simple Float S 4 r,w C/a F 100 M (B)
49 TRAVEL_RATE_DEC Simple Float S 4 r,w C/a F - M (B)
50 TRAVEL_RATE_INC Simple Float S 4 r,w C/a F - M (B)
51 VALVE_MAINT_DATE Simple OctetString S 16 r,w C/a I - O (B)
55 TAB_OP_CODE See Table 51 O (B)
56 TAB_STATUS See Table 51 O (B)
57 POSITIONING_VALUE Record 101 D 5 r C/a - - M (B)
58 FEEDBACK_VALUE Record 101 D 5 r C/a - - M (B)
59 VALVE_MAN Simple OctetString S 16 r,w C/a I - M (B)
60 ACTUATOR_MAN Simple OctetString S 16 r,w C/a I - O (B)
61 VALVE_TYPE Simple Unsigned8 S 1 r,w C/a F - M (B)
62 ACTUATOR_TYPE Simple Unsigned8 Cst 1 r C/a - - M (B)
man
63 ACTUATOR_ACTION Simple Unsigned8 S 1 r,w C/a - M (B)
spec
64 VALVE_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
65 ACTUATOR_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
66 ADD_GEAR_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
67 ADD_GEAR_MAN Simple OctetString S 16 r,w C/a I - O (B)
68 ADD_GEAR_ID Simple OctetString S 16 r,w C/a I - O (B)
69 ADD_GEAR_INST_DATE Simple OctetString S 16 r,w C/a I - O (B)
70 ...
Reserved by PI M (B)
79
First manufacturer
80 O (B)
specific parameter
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 224

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
(*) Should be stored non volatile.

10.3.3.2 View object of the Electric Actuator Transducer Block

Table 214 View object of the Electric Actuator Transducer Block

Access

r r r,w r,w

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
8 ACT_ROT_DIR 1
9 ACT_STROKE_TIME_DEC 4
10 ACT_STROKE_TIME_INC 4
11 ACT_TRAV_TIME 4
12 ANTI_PUMP_CL 4
13 ANTI_PUMP_OP 4
14 BREAK_STRENGTH 4
15 BYPASS_SETP_CL 4
16 BYPASS_SETP_OP 4
17 TAB_ENTRY
18 TAB_X_Y_VALUE
19 TAB_MIN_NUMBER
20 TAB_MAX_NUMBER
21 TAB_ACTUAL_NUMBER
22 DEADBAND 4
23 DEVICE_CALIB_DATE 16
24 DEVICE_CONFIG_DATE 16
25 LIN_TYPE 1
26 MAX_TORQUE 4
27 MOTOR_ON_TIME 4
28 NUM_LIMIT_CUT_OFF 4
29 NUM_MOT_ON_CYCL 4
30 NUM_MOT_ON_HOUR 1
31 NUM_TORQ_CUT_OFF 4
32 RATED_TRAVEL 4
33 SELF_CALIB_CMD
34 SELF_CALIB_STATUS 1
35 SERVO_GAIN_1 4
36 SERVO_RATE_1 4
37 SERVO_RESET_1 4
38 SETP_CUTOFF_DEC 4
39 SETP_CUTOFF_INC 4
40 SETP_CUTOFF_MODE 1
41 TORQUE_ACTUAL 5
42 TORQUE_LIM_CL 4
43 TORQUE_LIM_OP 4
44 TORQUE_UNIT 2
45 TOTAL_VALVE_TRAVEL 4
46 TOT_VALVE_TRAV_LIM 4
47 TRAVEL_LIMIT_LOW 4
48 TRAVEL_LIMIT_UP 4
49 TRAVEL_RATE_DEC 4
50 TRAVEL_RATE_INC 4
51 VALVE_MAINT_DATE 16
55 TAB_OP_CODE
56 TAB_STATUS
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 225

Access

r r r,w r,w

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
57 POSITIONING_VALUE 5
58 FEEDBACK_VALUE 5
59 VALVE_MAN 16
60 ACTUATOR_MAN 16
61 VALVE_TYPE 16
62 ACTUATOR_TYPE 1
63 ACTUATOR_ACTION 1
64 VALVE_SER_NUM 16
65 ACTUATOR_SER_NUM 16
66 ADD_GEAR_SER_NUM
67 ADD_GEAR_MAN
68 ADD_GEAR_ID
69 ADD_GEAR_INST_DATE
Overall sum of bytes in View-
Total Object (+ Standard Parameter 0 + 13 66 + 13 86 + 36 112 + 0
bytes)

10.3.4 Electro-Pneumatic Actuator Transducer Block

10.3.4.1 Parameter attributes of the Electro-Pneumatic Actuator Transducer Block

Table 215 Parameter attributes of the Electro-Pneumatic Actuator Transducer Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Transducer Block Parameters for electro-pneumatic actuators


ACT_STROKE_TIME_DE man
9 Simple Float S 4 r C/a - O (B)
C spec
ACT_STROKE_TIME_IN man
10 Simple Float S 4 r C/a - O (B)
C spec
17 TAB_ENTRY See Table 51 O (B)
18 TAB_X_Y_VALUE See Table 51 O (B)
19 TAB_MIN_NUMBER See Table 51 O (B)
20 TAB_MAX_NUMBER See Table 51 O (B)
21 TAB_ACTUAL_NUMBER Table 51 O (B)
22 DEADBAND Simple Float S 4 r,w C/a F - O (B)
23 DEVICE_CALIB_DATE Simple OctetString S 16 r,w C/a I - O (B)
24 DEVICE_CONFIG_DATE Simple OctetString S 16 r,w C/a I - O (B)
25 LIN_TYPE See Table 51 M (B)
32 RATED_TRAVEL Simple Float S 4 r,w C/a F - M (B)
33 SELF_CALIB_CMD Simple Unsigned8 N 1 r,w C/a - 0 M (B)
34 SELF_CALIB_STATUS Simple Unsigned8 N 1 r C/a - 0 M (B)
35 SERVO_GAIN_1 Simple Float S 4 r,w C/a F - O (B)
36 SERVO_RATE_1 Simple Float S 4 r,w C/a F - O (B)
37 SERVO_RESET_1 Simple Float S 4 r,w C/a F - O (B)
38 SETP_CUTOFF_DEC Simple Float S 4 r,w C/a F - M (B)
39 SETP_CUTOFF_INC Simple Float S 4 r,w C/a F - M (B)
man
45 TOTAL_VALVE_TRAVEL Simple Float D (*) 4 r C/a - O (B)
spec
46 TOT_VALVE_TRAV_LIM Simple Float S 4 r,w C/a F - O (B)
47 TRAVEL_LIMIT_LOW Simple Float S 4 r,w C/a F 0 M (B)
48 TRAVEL_LIMIT_UP Simple Float S 4 r,w C/a F 100 M (B)
49 TRAVEL_RATE_DEC Simple Float S 4 r,w C/a F - M (B)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 226

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
50 TRAVEL_RATE_INC Simple Float S 4 r,w C/a F - M (B)
51 VALVE_MAINT_DATE Simple OctetString S 16 r,w C/a I - O (B)
52 SERVO_GAIN_2 Simple Float S 4 r,w C/a F - O (B)
53 SERVO_RATE_2 Simple Float S 4 r,w C/a F - O (B)
54 SERVO_RESET_2 Simple Float S 4 r,w C/a F - O (B)
55 TAB_OP_CODE See Table 51 O (B)
56 TAB_STATUS See Table 51 O (B)
57 POSITIONING_VALUE Record 101 D 5 r C/a - - M (B)
58 FEEDBACK_VALUE Record 101 D 5 r C/a - - M (B)
59 VALVE_MAN Simple OctetString S 16 r,w C/a I - M (B)
60 ACTUATOR_MAN Simple OctetString S 16 r,w C/a I - M (B)
61 VALVE_TYPE Simple Unsigned8 S 1 r,w C/a F - M (B)
62 ACTUATOR_TYPE Simple Unsigned8 Cst 1 r C/a - - M (B)
man
63 ACTUATOR_ACTION Simple Unsigned8 S 1 r,w C/a - M (B)
spec
64 VALVE_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
65 ACTUATOR_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
66 ADD_GEAR_SER_NUM Simple OctetString S 16 r,w C/a I - O (B)
67 ADD_GEAR_MAN Simple OctetString S 16 r,w C/a I - O (B)
68 ADD_GEAR_ID Simple OctetString S 16 r,w C/a I - O (B)
69 ADD_GEAR_INST_DATE Simple OctetString S 16 r,w C/a I - O (B)
70 ...
Reserved by PI M (B)
79
First manufacturer
80 O (B)
specific parameter
(*) Should be stored non volatile.

10.3.4.2 View object of the Electro-Pneumatic Actuator Transducer Block

Table 216 View object of the Electro-Pneumatic Actuator Transducer Block

Access

r r r,w r,w

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
9 ACT_STROKE_TIME_DEC 4
10 ACT_STROKE_TIME_INC 4
17 TAB_ENTRY
18 TAB_X_Y_VALUE
19 TAB_MIN_NUMBER
20 TAB_MAX_NUMBER
21 TAB_ACTUAL_NUMBER
22 DEADBAND 4
23 DEVICE_CALIB_DATE 16
24 DEVICE_CONFIG_DATE 16
25 LIN_TYPE 1
32 RATED_TRAVEL 4
33 SELF_CALIB_CMD
34 SELF_CALIB_STATUS 1
35 SERVO_GAIN_1 4
36 SERVO_RATE_1 4
37 SERVO_RESET_1 4
38 SETP_CUTOFF_DEC 4
39 SETP_CUTOFF_INC 4
45 TOTAL_VALVE_TRAVEL 4
46 TOT_VALVE_TRAV_LIM 4
47 TRAVEL_LIMIT_LOW 4
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 227

Access

r r r,w r,w

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
48 TRAVEL_LIMIT_UP 4
49 TRAVEL_RATE_DEC 4
50 TRAVEL_RATE_INC 4
51 VALVE_MAINT_DATE 16
52 SERVO_GAIN_2 4
53 SERVO_RATE_2 4
54 SERVO_RESET_2 4
55 TAB_OP_CODE
56 TAB_STATUS
57 POSITIONING_VALUE 5
58 FEEDBACK_VALUE 5
59 VALVE_MAN 16
60 ACTUATOR_MAN 16
61 VALVE_TYPE 1
62 ACTUATOR_TYPE 1
63 ACTUATOR_ACTION 1
64 VALVE_SER_NUM 16
65 ACTUATOR_SER_NUM 16
66 ADD_GEAR_SER_NUM
67 ADD_GEAR_MAN
68 ADD_GEAR_ID
69 ADD_GEAR_INST_DATE
Overall sum of bytes in View-
Object (+ Standard Parameter 0 + 13 40 + 13 62 + 36 97 + 0
bytes)

10.3.5 Electro-Hydraulic Actuator Transducer Block

Not specified.

10.4 Download order of parameters

If a set of parameters have to be written to the device a special order shall be obtained. All
other parameters shall be written after these parameters.

For devices described in this Data Sheet the order is described as follows.

VALVE_TYPE
RATED_TRAVEL
OUT_SCALE
10.5 Conformance statement

Table 217 provides the conformance statement template.

Table 217 Conformance statement of actuator components

Parameter Conformance statement Subelement


Physical Block M
Function Block M
Analog Output Function Block M
Other Function Block O
Transducer Block O (Class A),
M (Class B)
Electro-pneumatic Transducer Block O (Class A),
S (Class B)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 228

Electric Transducer Block O (Class A),


S (Class B)
Electro-hydraulic Transducer Block O (Class A),
S (Class B)
Other Transducer Block O (Class A),
S (Class B)

10.6 Document history

Table 218 shows the changes from release version V3.0 to V3.01

Table 218 Changes from V3.0 to V3.01

Clause/Figure/Table Change
Entire document Correction of spelling errors
27.2.1 Editorial changes
27.2.3 Clarification of permitted modes
27.2.3 Replaced DS-33 by Data type 101
27.2.3.2 table 145 and Term 'high limit, low limit' replaced by 'Constant'
146
27.2.5 table 148 Clarification of Mandatory Optional (Class):
Replaced M(A,B) by M; Replaced M(B) by O(A), M(B); Replaced O(B) by O;
Changed POS_D to M
27.2.5 table 148 Column Reset Class added.
27.2.5 table 148 Replaced DS-33 by Data type 101
27.2.5 table 148 Replaced DS-34 by Data type 102
27.2.7 table 150 Bit 23 CB_ZERO_POINT_ERROR added
27.3 Clarification
28.3.1 table 152 Relative Index for first manufacturer specific parameter corrected
28.3.1 table 152 Column Reset Class added.
28.3.1.table 152 Replaced DS-33 by Data type 101
28.4.1 table 154 Relative Index for first manufacturer specific parameter corrected
28.4.1 table 154 Column Reset Class added.
28.4.1 table 154 Replaced DS-33 by Data type 101

Table 219 shows the changes from release version V3.01 to V3.02

Table 219 Changes from V3.01 to V3.02

Clause/Figure/Table in Change
V3.01
27.2.2 Figure 60 Repaired figure
Table 150 Bit 12 and 18 ... 22 redefined.
Time of CB_UPDATE_EVT indication increased from 10 to 20 seconds
Change of description of the MODE_BLK.
Table 145 Removed not necessary column Status (RCAS_IN)
Table 147 Description of parameter SIMULATE: Changed DO-FB to AO-FB.
Added details to parameter INCREAS_CLOSE
Table 144 Remove tesource state entries
Figure 62 Replace resource state by internal conditions
7.2.3 Remove resource state description

11 Device data sheet Analyzer

11.1 Use of the Function Block model for analyzer field devices

The parameter structures of the analyzer field devices are in accordance to the block model of
the general requirements in Clause 5. An analyzer device consists of one Physical Block as
well as of several instances of Transducer Blocks and Function Blocks. The blocks differ in the
parameters they contain. The Function Blocks (FB) Analog Input (AI), Analog Output (AO),
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 229

Discrete Input (DI) and Discrete Output (DO) are used as defined in the other parts of this
guideline.

This part defines additional blocks for analyzer field devices. The Analyzer Transducer Block
contains a common set of parameters unique for all analyzer devices of this profile. The
adaptation of the Analyzer Transducer Blocks to particular sensor types is done by the
parameter values. The Transfer Transducer Block provides cascadable functions for the
precalculation of the process values (e.g. filter, average, integration or correction). The Control
Transducer Block starts and stops device functions like "Init", "Measurement" and "Calibration".
Additionally a device may have a Multi Point Sampling Function Block and a Logbook Function
Block. Alarm Transducer Blocks contain information about device or process specific events
(e.g. limit exceeding or short circuit).

Sensor

Control

Physical Block
Analyser Transfer Control
Transducer Transducer Transducer
Block Block Block

Alarm Logbook Limit


Transducer Function Transducer
Block Block PV PV Block

Local Output Local I/O

Analog Analog Discrete Discrete


Output Input Input Output
Function Function Function Function
Block Block Block Block

Remote Access

Figure 68 Block structure of analyzer devices

Figure 68 shows the block structure of an analyzer device. The block model defines that there
is exactly one Physical Block and a free number and combination of Transducer and Function
Blocks. Most of the block types may be instantiated several times.

The specification of each block starts with a short overview accompanied by figures. All
parameters of the blocks are described by text and if necessary by special codes with their
meanings. A following table contains all parameters with their specific attributes like data type,
access rights and default value.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 230

11.2 Additional Physical Block parameters

11.2.1 Overview

The analyzer shall use the Physical Block as defined in the general requirements in Clause 5.
Additionally the Physical Block comprises the parameters defined in 11.2.

11.2.2 Parameter description of the additional Physical Block parameters

Table 220 Parameter description of the additional Physical Block parameters

Parameter Description
DEVICE_ Textual description of its configuration of functional units.
CONFIGURATION
INIT_STATE The device stops in a parameterized state after a reset and a device specific
initialization phase. This state may be either one of the states of DEVICE_STATE or
the state STATUS_BEFORE_RESET.
Coding:
1: STATUS_BEFORE_RESET
2: RUN
3: STANDBY
4: POWER_DOWN
5: MAINTENANCE
DEVICE_STATE There are 4 states which are disjunct. The operator chooses a new state by writing
the code of the desired state to this parameter. Please notice that not all functions of
the Control Transducer Block are executable in every device state (see 11.5).
Coding:
2: RUN (mandatory)
3: STANDBY (optional)
4: POWER_DOWN (optional)
5: MAINTENANCE (mandatory)

RUN
In the RUN state all operation items are active, which are necessary to generate a
process value.

STANDBY
The device is ready for measurement in the STANDBY state and can be switched to
RUN without delay.

POWER_DOWN
The POWER_DOWN state is a mode with low power consumption i.e. throttled and
economy operation. The device is not in operation. Putting into operation can take a
longer period of time.

MAINTENANCE
The behavior in the state MAINTENANCE is device specific. In addition to the
functions of the states RUN, STANDBY and POWER_DOWN other Control
Transducer Block functions like test, service or cleaning can be carried out in the
state MAINTENANCE.
GLOBAL_STATUS See 11.7.2, Table 236.

11.2.3 Parameter attributes of the additional Physical Block parameters

Table 221 Parameter attributes of the additional Physical Block parameters


Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Physical Block Parameters


PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 231

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
33 ...
Reserved by PI
35
DEVICE_
36 Simple VisibleString D 32 r C/a - - M
CONFIGURATION
37 INIT_STATE Simple Unsigned8 S 1 r,w C/a F - M
38 DEVICE_STATE Simple Unsigned8 D 1 r,w C/a F - M
39 GLOBAL_STATUS Simple Unsigned16 D 2 r C/a - 0 M
40 ...
Reserved by PI M
47
First manufacturer
48 O
specific parameter

11.2.4 View object of the Physical Block

Table 222 View object of the Physical Block

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
36 DEVICE_CONFIGURATION
37 INIT_STATE
38 DEVICE_STATE 1 1
39 GLOBAL_STATUS 2 2
Overall sum of bytes in View-
Object (+ common Physical 3+4+ 3 + 21 0 + 82
reserved
Block + Standard Parameter 13 + 13 + 36
bytes)

11.3 Analyzer Transducer Block

11.3.1 Overview

Sensor

COMPONENT_NAME PV
to AI FB

PV Measurement_Status

PV_UNIT PV_Time

PV_UNIT_TEXT

SAMPLING_RATE RANGE_1

AUTORANGE_ON RANGE_2

ACTIVE_RANGE ...

NUMBER_OF_RANGES RANGE_n

Analyser Transducer Block

Figure 69 Parameter structure of the Analyzer Transducer Block


PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 232

Every existing measurement value in the analyzer device is represented by an Analyzer


Transducer Block. This block contains a set of parameters which describes the measurement
value in a way that can be interpreted by a remote station.

11.3.2 Parameter description of the Analyzer Transducer Block

Table 223 Parameter description of the Analyzer Transducer Block

Parameter Description
Component_Name Description of the measurement value as readable ASCII text.
PV The primary value is of primary interest for the device users. All results are available
as value which has been scaled and which represents the physical process value.
Raw data and internal intermediate results are not visible across the communication
system.
A measurement value is raw data generated by the sensor. This raw data is a
dynamic value. The dynamic values may be calculated further on by using
standardized and non-standardized algorithms. These functions are the scope of the
Transfer Transducer Block (see 11.4). The PV is read only. The PV is the result of
using standardized and non-standardized algorithms and is structured as follows:
PV
Value of the result. All accompanying information which is necessary to interpret the
value is scope of other parameters of the Analyzer Transducer Block.
Measurement_Status
Status of the result. It is calculated at the sampling time (Coding see General
Requirements).
PV_Time
Sampling time of the measurement value.
NOTE Devices without clock use the value 0.
PV_Unit Engineering unit of the measurement value (Coding see General Requirements).
PV_Unit_Text Additional manufacturer specific engineering units.
Active_Range Number of the active range. The ranges are defined in the according parameter array
of this block.
Coding:
1: RANGE_1
2: RANGE_2
n: RANGE_n
Autorange_On Switches the automatic range choice on and off.
There are 2 scaling parameters, one in the Analyzer Transducer Block and one in the
Analog Input Function Block (AI). For consistency reasons the PV_SCALE parameter
of the AI should use the RANGE_n parameter of the Analyzer Transducer Block.
Two approaches are valid: If the Transducer uses auto ranging (Autorange_On =
TRUE) the connected AI should use the Transducer Blocks RANGE_n with the widest
measuring range for scaling. If the Transducer uses a fixed measuring range only
(AUTORANGE_ON = FALSE) the connected AI should use the Transducer Blocks
RANGE_n selected by ACTIVE_RANGE for scaling.
Sampling_Rate The measurement values are sampled device and measurement type specific. This
parameter contains the time between two samples.
Number_of_Ranges This parameter contains the number of ranges which are supported by the device.
Range_n Every range is a record which contains the values Begin_of_Range and
End_of_Range. The engineering unit is the same as the unit of the measurement
value of the Analyzer Transducer Block.

11.3.3 Parameter attributes of the Analyzer Transducer Block

Table 224 Parameter attributes of the Analyzer Transducer Block


Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Analyzer Transducer Block Parameters


8 COMPONENT_NAME Simple OctetString S 32 r,w C/a I - M
9 PV Record DS-60 D 12 r C/a - - M
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 233

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
10 PV_UNIT (*) Simple Unsigned16 S 2 r,w C/a F - M
11 PV_UNIT_TEXT Simple OctetString S 8 r,w C/a - - M
12 ACTIVE_RANGE Simple Unsigned8 S 1 r,w C/a F - M
13 AUTORANGE_ON Simple Boolean S 1 r,w C/a F - M
Time_Differenc
14 SAMPLING_RATE Simple S 4 r,w C/a F - M
e
15 ...
Reserved by PI M
24
25 NUMBER_OF_RANGES Simple Unsigned8 N 1 r C/a - - M
26 RANGE_1 Record DS-61 N 8 r,w C/a F - M
...
25+n RANGE_n Record DS-61 N 8 r,w C/a F - O
25+n First manufacturer
O
+1 specific parameter
(*) Engineering units without existing unit code have to use the code 1995. The engineering unit will be placed in the
PV_UNIT_TEXT parameter.

11.3.4 View object of the Analyzer Transducer Block

Table 225 View object of the Analyzer Transducer Block

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
8 COMPONENT_NAME 32
9 PV 12 12
10 PV_UNIT 2 2
11 PV_UNIT_TEXT 8 8
12 ACTIVE_RANGE 1 1 1
13 AUTORANGE_ON 1
14 SAMPLING_RATE 4
15 ... 24 Reserved by PI
25 NUMBER_OF_RANGES 1
26 RANGE_1 8
...
25+n RANGE_n
Overall sum of bytes in View-
Object (+ Standard Parameter 13 + 13 24 + 13 56 + 36 reserved
bytes)

11.4 Transfer Transducer Block

11.4.1 Overview

The result of a Transducer Block may have to be precalculated before being used by an Analog
Input FB. This task is carried out by the Transfer Transducer Block which provides average,
integration, correction and filter functions. These functions can be concatenated to a cascaded
structure. The CHANNEL parameter of the Transfer Transducer Block refers to the Analyzer
Transducer Block whose PV needs precalculation. The time conditions of the cascaded
function structure are device specific and therefore not in the scope of this profile. The
Transfer Transducer Block provides the calculated value in the parameter PV.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 234

11.4.2 Parameter description of the Transfer Transducer Block

Table 226 Parameter description of the Transfer Transducer Block

Parameter Description
Channel The CHANNEL parameter defines the Transducer Block whose PV needs
precalculation (Coding see General Requirements).
PV This parameter contains the calculated value of the Transfer Transducer Block. This
value can be used by other blocks.
PV_Unit Engineering unit of the measurement value (Coding see General Requirements).
PV_Unit_Text Additional manufacturer-specific engineering units.
Static_Value Fixed value which is used for correction.
Correction_ This parameter defines the Transducer Block which is used for the correction of the
Channel PV (Coding like parameter CHANNEL).
FB_Value Output parameter of another block (local or remote) which is used for correction. This
parameter is used as FB input parameter, i.e. the connection between the FB output
parameter and this parameter is handled by a link object.
Number_of_ Number of cascaded precalculations in this block.
Calculation
Calculation_n This parameter structure contains the code of the functions which will be used for
precalculation. The order of execution of the precalculation is the order of the relative
index attribute of the precalculation structures in the Transfer Transducer Block.
The value 0 is mandatory for the subparameter Choice.

Control

Control Analyser Transfer


Transducer Block Transducer Block Transducer Block

PV PV

Analog Input
Function Block

CHANNEL

Figure 70 Example of cooperation between Control Transducer Block, Transfer


Transducer Block, Analyzer Transducer Block and Analog Input Function Block
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 235

11.4.3 Parameter attributes of the Transfer Transducer Block

Table 227 Parameter attributes of the Transfer Transducer Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Transfer Transducer Block Parameters


9 CHANNEL Simple Unsigned16 S 2 r,w C/a F - M
10 PV Record DS-60 D 12 r C/a - - M
11 PV_UNIT (*) Simple Unsigned16 S 2 r,w C/a F - M
12 PV_UNIT_TEXT Simple OctetString S 8 r,w C/a - - M
13 STATIC_VALUE Simple Float S 4 r,w C/a F - M
CORRECTION_CHANNE
14 Simple Unsigned16 S 2 r,w C/a F - M
L
15 FB_VALUE Record 101 D 5 r,w C/a F 0 M
16 ...
Reserved by PI M
25
NUMBER_OF_
26 Simple Unsigned8 S 1 r,w C/a F - M
CALCULATION
27 CALCULATION_1 Record DS-65 S 3 r,w C/a F - M
...
26+n CALCULATION_n Record DS-65 S 3 r,w C/a F - O
26+n First manufacturer
O
+1 specific parameter
(*) Engineering units without existing codes have to use the code 1995. The engineering unit will be placed in the
PV_UNIT_TEXT parameter.

11.4.4 View object of the Transfer Transducer Block

Table 228 View Object of the Transfer Transducer Block

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
9 CHANNEL 2
10 PV 12 12
11 PV_UNIT 2 2
12 PV_UNIT_TEXT 8 8
13 STATIC_VALUE 4
14 CORRECTION_CHANNEL 2
15 FB_VALUE 5
16 ... 25 Reserved by PI
26 NUMBER_OF_CALCULATION 1
27 CALCULATION_1 3
...
26+n CALCULATION_n
O v e r a l l s u m o f b y t e s i n V i e w-
Objec t (+ S tandard P aram eter 12 + 13 27 + 13 22 + 36 reserved
bytes )

11.5 Control Transducer Block

11.5.1 Overview

The Control Transducer Block (CTB) is a Transducer Block with contained parameters only,
executing general initialization and control functions of the analyzer device. It influences the
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 236

other Transducer Blocks of the device according to the chosen function (see parameter
BLOCK_TYPE). The details of the influence are device specific and are therefore out of the
scope of this profile. The functions are represented by codes with a common name. Link
objects for the interconnection of parameters between the Control Transducer Block and other
Blocks are not possible.

There are function specific parameters in the Control Transducer Block, i.e. not all parameters
are used for all functions. An overview is shown in Figure 71.

Control Transducer Block

BLOCK_TYPE

COMMAND

STATUS

CHANNEL

SEQUENCE_CONTROL

CTB_MASTER

SELECTION

INIT MEASUREMENT CALIBRATION CLEANING SYSTEM_CHECK

RECIPE RECIPE

QUALITY

SP

PV

PARAMETER_SET_
NUMBER

pH CONDUCTIVITY OXYGEN

BUFFER_NUMBER CELL_CONSTANT CALOXY_TYPE

ZERO CALOXY_ZERO

SLOPE CALOXY_HIGH

CALOXY_HUMIDITY_REL

CALOXY_PRESSURE

SATURATION CONCENTRATION

CALOXY_BUFFER_SAT CALOXY_BUFFER_CONC

Figure 71 Parameter hierarchy of the Control Transducer Block

11.5.2 Parameter description of the Control Transducer Block

11.5.2.1 General

Table 229 specifies the parameter of the Control Transducer Block.


PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 237

Table 229 Parameter description of the Control Transducer Block

Parameter Description
BLOCK_TYPE The BLOCK_TYPE determines the function of the Control Transducer Block which
has to be executed. The Control Transducer Block carries out exactly one function
type at the same time. The switch over to another block type is possible in every
operation state. The valid parameters of the Control Transducer Block according to
the block types are shown in Figure 71.
The choice of device specific Control Transducer Block types is manufacturer
specific or can be extended in further versions of the profile.
Not all functions are executable in all device states.
shows the permitted combinations.
Coding:
1: INIT (mandatory)
2: MEASUREMENT (mandatory)
3: CALIBRATION (optional)
4: CLEANING (optional)
5: SYSTEM_CHECK (optional)
632767: reserved
3276865535: manufacturer specific (optional)

INIT
The INIT function carries out a manufacturer specific new initialization of the related
Transducer Block.

MEASUREMENT
The MEASUREMENT function starts the algorithms for the generation of the process
value and the precalculation if any. The related Transducer Block is chosen by the
parameter CHANNEL. The parameter RECIPE chooses one of several optional signal
calculation functions implemented in the device.

CALIBRATION
The CALIBRATION calculates correction data from set points and PV. The correction
data will be used for the adjustment of the analyzer device. With the parameter
CHANNEL one single Transducer Block is chosen for calibration. If the calibration
calculation is finished successfully, the CTB automatically starts the measurement of
the according Transducer Block.

CLEANING
This is a device specific function. Details are out of the scope of this profile.

SYSTEM_CHECK
This is a device specific function. Details are out of the scope of this profile.
COMMAND The COMMAND executes the regarding function a single time (e.g. MEASUREMENT,
SYSTEM_CHECK ...). The COMMAND parameter has higher priority than
SEQUENCE_CONTROL, i.e. the function of SEQUENCE_CONTROL is active only if
COMMAND equals 0 (zero).
Coding:
0: RESET COMMAND function is not active (mandatory)
5: START executes a device function (mandatory)
6: STOP interrupts a device function, function remains in current
state (optional)
7: RESUME function resumes execution from current state (optional)
8: CANCEL disables a device function, sets the function into initial state
(mandatory)
STATUS The STATUS presents the current state or the result of the execution of the function.
Coding:
0: READY function has successfully been executed
1: NO_INIT function is not initialized
2: IDLE function is inactive
3: RUNNING function is currently active
4: INTERRUPTED function is currently interrupted
5: TIME_OUT function execution time has expired
6 ... 127: reserved
128 ... 255: manufacturer specific
CHANNEL The CHANNEL parameter defines the Transducer Block which is controlled by the
Control Transducer Block (Coding see General Requirements).
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 238

Parameter Description
SEQUENCE_CONTROL The SEQUENCE_CONTROL parameter provides an automated execution of the
Control Transducer Block triggered by a cyclic time event or by a defined date and
time, e.g.
automatic calibration every 8 hours,
start Init function at April 3 rd 1992, 7.30 am.
start cleaning function by a device internal event
This parameter is a record containing all necessary information.
RECIPE The RECIPE parameter provides the possibility to choose between different sub-
versions of the Control Transducer Block function selected by BLOCK_TYPE. The
coding of RECIPE depends on the BLOCK_TYPE:

MEASUREMENT
Number of the signal processing method. The default number is zero (0).

CALIBRATION
1: Automatic over all calibration (mandatory)
2: Calculate the current value of the active probe and store it at position 1
(optional)
3: Calculate the current value of the active probe and store it at position
2(optional)
4: Calculate the current value of the active probe and store it at position 3
(optional)
5: Evaluate parallelism with position 1(optional)
6: Evaluate slope with position 1 and 2(optional)
7: 3-Point-Calibration(optional)
8: Check parallelism(optional)
9: Check slope(optional)
10: Check 3-Point-Calibration(optional)
11 ... 32767: reserved
32768 ... 65535: non standardized recipe (manufacturer specific)
QUALITY The QUALITY parameter contains the result of the RECIPE check calibration. It is
calculated by comparing the SP and the PV of the device.
SP The calibration of the Transducer Block needs 1 or more SP/PV couples, depending
on the calibration method. The parameter SP is therefore an array containing the set
points. The SPs are e.g. filled in ascending order. The engineering unit of the SP is
the same as the one of the Transducer Block.
PV The calibration of the Transducer Block needs 1 or more SP/PV couples, depending
on the calibration method. The parameter PV is therefore an array containing the
current values. The PVs are filled in the same order as the belonging set points. The
engineering unit of the PV is the same as the one of the Transducer Block.
CTB_MASTER A master CTB is used to simultaneously control a set of other CTBs. This means that
the COMMAND parameter of a master CTB applies to all slave CTBs which are listed
in the parameter SELECTION. The STATE and all other parameters are maintained
separately in every controlled slave CTB. The master CTB is an additional CTB.
There can be more than one master CTB in a device.
Coding:
TRUE: CTB is a master
FALSE: CTB is a slave
SELECTION The SELECTION parameter is valid for master CTBs only (CTB_MASTER = TRUE).
It contains an array of pointers to the slave CTBs which are controlled by this master
CTB. The pointers have the same coding as the parameter CHANNEL.
PARAMETER_SET_ Choice of a device or measurement specific set of block parameters. The selected
NUMBER set of block parameters is mapped onto the relative indexes above the index of
PARAMETER_SET_NUMBER. This mapping preserves the possibility to integrate
other parameter sets in future.
Coding:
1: pH
2: CONDUCTIVITY
3: OXYGEN
NUMBER_PARAMETERS Contains the number of parameters belonging to the parameter set selected by
PARAMETER_SET_NUMBER.
BUFFER_NUMBER Choice of the active buffer of the buffer set list which is available in the device. If the
buffer number equals 0 (zero), no buffer is used.
ZERO The ZERO point has the same engineering unit as the associated Analyzer or
Transfer Transducer Block.
SLOPE Slope of the sensor characteristics. The engineering unit is mV/pH.
CELL_CONSTANT Slope of the sensor.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 239

Parameter Description
CALOXY_TYPE Selects the type of calibration.
Coding:
1: SATURATION
2: CONCENTRATION
CALOXY_ZERO Sensor zero point current. Value and status set by calibration. Unit code same as
associated Transducer Block.
CALOXY_HIGH Sensor high point current at normal conditions (Example: 1013.25 hPa, 25 C, 100 %
rH). Value and status set by calibration. Unit code same as related Transducer Block.
CALOXY_HUMIDITY_ Calibration air humidity. Value set by calibration. Unit code 1342 [%].
REL
CALOXY_PRESSURE Calibration pressure. Value set by calibration. Unit code same as associated
Transducer Block.
CALOXY_TEMP Calibration temperature. Value set by calibration. Unit code same as associated
Transducer Block.
CALOXY_BUFFER_SAT Manual saturation calibration buffer. Value set by calibration. Unit code 1342 [%].
CALOXY_BUFFER_CONC Manual concentration calibration buffer. Value set by calibration. Unit code same as
associated Transducer Block.

11.5.2.2 COMMAND / STATUS parameter description

The COMMAND parameter controls the state machine in Figure 72. The transitions are fired by
the change of the COMMAND value.

The STATUS parameter contains the actual state. Additional states are manufacturer specific.

NO_INIT

Initialisation Spontaneous
TIME_OUT

IDLE
RESET, START
CANCEL Internal
RESET, Event
CANCEL
STOP
READY RUNNING
RESUME

Internal
Spontaneous Event
INTERRUPTED

Figure 72 State diagram of the Control Transducer Block COMMAND parameter

11.5.2.3 CTB_MASTER description

There are two possibilities to control the analyzers functions. The COMMAND parameter
switches the functions according to the state diagram. The SEQUENCE_CONTROL parameter
gives the opportunity for time controlled execution. The Element COMMAND of the
SEQUENCE_CONTROL parameter has lower priority than the COMMAND parameter of the
Control Transducer Block. The CTB_MASTER mechanism gives the opportunity to control
more than one Transducer Block in parallel as result of a COMMAND change in the master
CTB. The SELECTION parameter contains a list of slave CTBs which are controlled by the
parameter COMMAND of the master CTB.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 240

11.5.2.4 Execution of analyzer functions

Table 230 Execution of analyzer functions

DEVICE STATE DEVICE_STATE DEVICE_STATE DEVICE_STATE


Analyzer function
RUN STANDBY POWER_DOWN MAINTENANCE
INIT X X X X
MEASUREMENT X X
CALIBRATION X X
CLEANING X X
SYSTEM_CHECK X
X Function execution permitted.

11.5.3 Parameter attributes of the Control Transducer Block

Table 231 Parameter attributes of the Control Transducer Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

... Standard Parameters see General Requirements Size


Additional Control Transducer Block Parameters
9 BLOCK_TYPE Simple Unsigned16 S 2 r,w C/a F - M
10 COMMAND Simple Unsigned16 N 2 r,w C/a F - M
11 STATUS Simple Unsigned8 D 1 r C/a - - M
12 CHANNEL Simple Unsigned16 S 2 r,w C/a F - M
13 SEQUENCE_CONTROL Record DS-66 S 14 r,w C/a F - M
14 RECIPE Simple Unsigned16 S 2 r,w C/a F - M
man
15 QUALITY Array Float N r C/a - - O
spec
man
16 SP Array Float N r,w C/a F - O
spec
man
17 PV Array Float N r C/a - - O
spec
18 CTB_MASTER Simple Unsigned8 N 1 r,w C/a F - O
man
19 SELECTION Array Unsigned16 N r,w C/a F - O
spec
20 ...
Reserved by PI M
29
PARAMETER_SET_
30 Simple Unsigned8 N 1 r C/a - - M
NUMBER
31 NUMBER_PARAMETERS Simple Unsigned8 N 1 r C/a - - O
Parameter set for pH
32 BUFFER_NUMBER Simple Unsigned8 N 1 r,w C/a F - O
33 ZERO Simple Float S 4 r,w C/a - - O
34 SLOPE Simple Float S 4 r,w C/a - - O
Parameter set for Conductivity
32 CELL_CONSTANT Simple Float S 4 r,w C/a - - O
Parameter set for Oxygen
32 CALOXY_TYPE Simple Unsigned8 S 1 r,w C/a F - O
33 CALOXY_ZERO Record 101 S 5 r,w C/a - - O
34 CALOXY_HIGH Record 101 S 5 r,w C/a - - O
CALOXY_HUMIDITY_RE
36 Simple Float S 4 r,w C/a F - O
L
37 CALOXY_PRESSURE Simple Float S 4 r,w C/a F - O
38 CALOXY_TEMP Simple Float S 4 r,w C/a F - O
39 CALOXY_BUFFER_SAT Simple Float S 4 r,w C/a F - O
CALOXY_BUFFER_CON
40 Simple Float S 4 r,w C/a F - O
C
31+n First manufacturer
O
+1 specific parameter
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 241

11.5.4 View Object of the Control Transducer Block

Table 232 View Object of the Control Transducer Block

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
9 BLOCK_TYPE 2
10 COMMAND
11 STATUS 1 1
12 CHANNEL 2
13 SEQUENCE_CONTROL 14
14 RECIPE 2
15 QUALITY
16 SP
17 PV
18 CTB_MASTER 1
19 SELECTION
20 ... 29 Reserved by PI
30 PARAMETER_SET_NUMBER 1
31 NUMBER_PARAMETERS 1
Parameter set for pH
32 BUFFER_NUMBER
33 ZERO
34 SLOPE
Parameter set for Conductivity
32 CELL_CONSTANT
Parameter set for Oxygen
32 CALOXY_TYPE
33 CALOXY_ZERO
34 CALOXY_HIGH
36 CALOXY_HUMIDITY_REL
37 CALOXY_PRESSURE
38 CALOXY_TEMP
39 CALOXY_BUFFER_SAT
40 CALOXY_BUFFER_CONC
Overall sum of bytes in View-
Object (+ Standard Parameter 1 + 13 3 + 13 21 + 36 reserved
bytes)

11.6 Limit Transducer Block

11.6.1 Overview

The Limit Transducer Block is used to observe whether a PV of a Transducer Block has
exceeded a configurable limit (THRESHOLD). The result of the limit check is stored in
LIMIT_STATUS and can be integrated in the cyclic data transfer by a Discrete Input (DI) FB
(this is done by setting the CHANNEL parameter of the DI to the LIMIT_STATUS parameter of
the Limit Transducer Block). Devices can provide more than one limit check.

11.6.2 Parameter description of the Limit Transducer Block

Table 233 Parameter description of the Limit Transducer Block

Parameter Description
CHANNEL The CHANNEL parameter defines the PV of the Transducer Block which is checked
against THRESHOLD (Coding see General Requirements).
THRESHOLD THRESHOLD contains the limit value. The engineering unit is the same as the one of
the related Analyzer Transducer or Transfer Transducer Block.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 242

Parameter Description
HYSTERESIS Absolute value of the switching hysteresis. The engineering unit is the same as the
one of the related Analyzer Transducer or Transfer Transducer Block.
DIRECTION The DIRECTION determines whether the result of the limit check is active in case of
a higher or a lower value than the limit.
Coding:
0: active if value has fallen below the limit (PV < THRESHOLD)
1: active if value has exceeded the limit (PV > THRESHOLD)
ON_DELAY ON_DELAY defines the time interval while the PV shall permanently exceed the limit
before LIMIT_STATUS switches to active.
OFF_DELAY OFF_DELAY defines the time before LIMIT_STATUS switches back to inactive after
the limit exceeding has disappeared.
RESET With this parameter an active LIMIT_STATUS can be frozen, i.e. LIMIT_STATUS will
not return to inactive after the limit exceeding has gone.
Coding:
0: update LIMIT_STATE continuously
1: freeze LIMIT_STATE when active
CONFIRMATION This parameter is used to reset the LIMIT_STATUS parameter. The default value for
reset is 0x42. The parameter will be set to 0 (zero) by the Transducer Limit Block
after LIMIT_STATUS has been reset to inactive.
LIMIT_STATUS Result of the limit check.
Coding of LIMIT_STATUS.Value:
0: Limit condition is inactive
1: Limit condition is active
LIMIT_STATUS.Status is given by the related Transducer Block.

11.6.3 Parameter attributes of the Limit Transducer Block

Table 234 Parameter attributes of the Limit Transducer Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Limit Transducer Block Parameters


9 CHANNEL Simple Unsigned16 S 2 r,w C/a F - M
10 THRESHOLD Simple Float S 4 r,w C/a F - M
11 HYSTERESIS Simple Float S 4 r,w C/a F - M
12 DIRECTION Simple Unsigned8 S 1 r,w C/a F - M
Time_-
13 ON_DELAY Simple S 4 r,w C/a F - M
Difference
Time_-
14 OFF_DELAY Simple S 4 r,w C/a F - M
Difference
15 RESET Simple Unsigned8 S 1 r,w C/a F - M
16 CONFIRMATION Simple Unsigned8 S 1 r,w C/a - - M
17 LIMIT_STATUS Simple 102 D 2 r C/a - - M
18 ...
Reserved by PI M
27
from First manufacturer
O
28 specific parameter

11.6.4 View Object of the Limit Transducer Block

Table 235 View Object of the Limit Transducer Block

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 243

Access

r r r,w reserved

Relative Substitute
Parameter Name View_1 View_2 View_3 View_4
Index Value
9 CHANNEL 2
10 THRESHOLD 4
11 HYSTERESIS 4
12 DIRECTION 1
13 ON_DELAY 4
14 OFF_DELAY 4
15 RESET 1
16 CONFIRMATION
17 LIMIT_STATUS 2 2
Overall sum of bytes in View-
Object (+ Standard Parameter 2 + 13 2 + 13 20 + 36 reserved
bytes)

11.7 Alarm Transducer Block binary alert status

11.7.1 Parameter structure of the Alarm Transducer Block

The Alarm Transducer Block is composed of a hierarchy of several objects. The top of this
hierarchy is the sum of all class specific states containing the OR information of each class.
Stepping into the lower level objects the user can get more detailed information about an
alarm, e.g. the alarm source or reason (see Figure 73).

GLOBAL_STATUS
(within Physical Block)

Failure Maint. Funct. Limits Man. ... Man.


Req. Check spec. spec.

STATUS_CLASSES
Failure
STATUS_CLASSES
Maintenance Req.
STATUS_CLASSES
Function Check
STATUS_CLASSES
Limits ... STATUS_CLASSES
Man. spec.

Man. Man. Man. Man. Man.


spec. spec. spec. spec. spec.
Failure Maint. Funct. Limits
Req. Check

BM BM BM BM BM
Failure Maint. Req. Funct. Check Limits Man. spec.

BM Binary Message

logic OR operation

Figure 73 Hierarchy of the alarm information

The GLOBAL_STATUS parameter is a summary of all states of the device and is therefore
placed in the Physical Block.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 244

GLOBAL_STATUS
(within Physical Block)

Failure Maint. Funct. Limits Man. Man. Man. Man. Man. Man. Man. Man. Man. Man. Man. Man.
Req. Check spec. spec. spec. spec. spec. spec. spec. spec. spec. spec. spec. spec.

ACTIVE_MESSAGES

(each bit = state of one BM)


STATUS_CLASSES BM_1 BM_2 BM_n

BM_1 BM_2 BM_n


Status_Classes Status_Classes Status_Classes

Logbook_Entry

Output_Reference
Logbook_Entry

Output_Reference
... Logbook_Entry

Output_Reference

Supervision Supervision Supervision

Text Text Text

NUMBER_OF_MESSAGES

Figure 74 Parameter structure of the Alarm Transducer Block

Binary Messages are the lowest hierarchy level of the alarm information. They reflect individual
device or process states without influence of other signals. All BMs are numbered in ascending
order starting with 1. The parameter NUMBER_OF_MESSAGES shows the number of present
BMs. The change of BM states can be stored in the Logbook Function Block.

11.7.2 Parameter description of the Alarm Transducer Block

Table 236 Parameter description of the Alarm Transducer Block

Parameter Description
GLOBAL_STATUS This parameter is the top of the status hierarchy. It shows if any of the status classes
has an active message. Each bit of the GLOBAL_STATUS parameter is the OR
combination of the related status class. GLOBAL_STATUS is an element of the
Physical Block.
Bit 0 Failure
Bit 1 Maintenance Required
Bit 2 Function Check
Bit 3 Limits (This class is used for the results of
the Transducer Blocks and/or the OUT parameter of
the Analog Input/Output Blocks)
Bit 4 to 15 manufacturer specific
STATUS_CLASSES This array contains one element (unsigned16) for each status class. The bits 0 to 14
of each element mirror the states of individual Binary Messages or device specific
events. Bit 15 (MSB) is the OR combination of all Binary Messages belonging to the
status class (see classification of the BM status) and shows if at least one of these
Binary Messages is active. Reading the parameter STATUS_CLASSES provides a
quick way to find out which BMs are currently active.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 245

Parameter Description
The assignment of the status classes to the elements of STATUS_CLASSES is
shown in
. Unused STATUS_CLASSES elements are set to 0 (zero).

Coding of Bit 15 of each STATUS_CLASSES element:


0: no Binary Message of this status class is active
1: at least one Binary Message of this status class is active

Status Class Failure


This status class relates to the failure of the device.
Bit 0 to14 not standardized
Bit 15 reserved for sum of BMs

Status Class Maintenance Required


This status class relates to the required maintenance of the device.
Bit 0 to 14 not standardized
Bit 15 reserved for sum of BMs

Status Class Function Check


The status class Function Check provides information about the current mode and
state of the analyzer device. If the measurement equipment does not provide the
process attributes as required, the message Function Check has to be generated.
The status Function Check can be generated
- while the device is in modes which inhibit the measurement of the process
attributes. Each device may provide a list of modes which generate the status
Function Check.
- at least one Binary Message related to status class Function Check is active.

Bit 0 Standby
Bit 1 Power down
Bit 2 Hold
Bit 3 Stop measurement
Bit 4 Maintenance by hand
Bit 5 Maintenance automatically
Bit 6 Calibration by hand
Bit 7 Calibration automatically
Bit 8 to 14 reserved
Bit 15 reserved for sum of BMs

Status Class Limits


This status class relates to limit exceeding of the measurement values.
Bit 0 HI_HI_LIM exceeded in the AI-Block
Bit 1 HI_LIM exceeded in the AI-Block
Bit 2 LO_LIM exceeded in the AI-Block
Bit 3 LO_LO_LIM exceeded in the AI-Block
Bit 4 to 14 reserved
Bit 15 reserved for sum of BMs
ACTIVE_MESSAGES This bit string contains all configured Binary Messages, i.e. each BM is represented
by one bit. All active BMs are marked. The order number of the bits in the bit string is
the same as the order of the BMs in the block parameter list of the Alarm Transducer
Block. The number of BMs is device specific. The read access to this parameter
provides an overview of all active BMs at a specific time.
Coding of each bit:
0 BM_NOT_ACTIVE Binary Message not active
1 BM_ACTIVE Binary Message active
NUMBER_OF_ Number of configurable Binary Messages in the device.
MESSAGES
BM_n This parameter contains the attributes of the Binary Message (Coding see General
Requirements).

Table 237 Mapping of the status classes to the array elements of STATUS_CLASSES

STATUS_CLASSES Status class


Array element
(Bit numbering)
0 Failure
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 246

STATUS_CLASSES Status class


Array element
(Bit numbering)
1 Maintenance Required
2 Function Check
3 Limits
4 ... 15 manufacturer specific

11.7.3 Parameter attributes of the Alarm Transducer Block

Table 238 Parameter attributes of the Alarm Transducer Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Alarm Transducer Block Parameters


0,...,
8 STATUS_CLASSES Array Unsigned16 D 32 r C/a - M
0
9 ACTIVE_MESSAGES Array BitString D 32 r C/a - 0,0,0 M
10 ...
Reserved by PI M
14
NUMBER_OF_MESSAGE
15 Simple Unsigned16 N 2 r C/a - - M
S
16 BM_1 Record DS-62 N 21 r,w C/a F - M
...
15+n BM_n Record DS-62 N 21 r,w C/a F - O
15+n First manufacturer
O
+1 specific parameter

11.7.4 View Object of the Alarm Transducer Block

Table 239 View Object of the Alarm Transducer Block

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
8 STATUS_CLASSES 32 32
9 ACTIVE_MESSAGES 32 32
10 ... 1
Reserved by PI
4
15 NUMBER_OF_MESSAGES 2
16 BM_1
...
15+n BM_n
Overall sum of bytes in View-
Object (+ Standard Parameter 64 + 13 66 + 13 0 + 36 reserved
bytes)

11.8 Multi Point Sampling Function Block

11.8.1 Overview

An analyzer device may offer a Multi Point Sampling Function Block. This block executes all
samplings described in the sample list one after another. The execution time of each sample is
configured in the according parameter element of the sample structure. A device may contain n
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 247

samples. Each sample can be used for different applications. There may be one Multi Point
Sampling Function Block in an analyzer device at the most.

W ith the commands START and STOP the Multi Point Sampling Function Block will be started
and stopped.

Multi Point Sampling Function Block

SAMPLE_1.Channel

SAMPLE_1.Active_Sample_Time

COMMAND

STATUS
SAMPLE_2.Channel
ACTIVE_SAMPLE
SAMPLE_2.Active_Sample_Time

...

SAMPLE_n.Channel

SAMPLE_n.Active_Sample_Time

Figure 75 Multi Point Sampling Function Block

11.8.2 Parameter description of the Multi Point Sampling Function Block

Table 240 Parameter description of the Multi Point Sampling Function Block

Parameter Description
COMMAND (*) The COMMAND parameter controls the sampling activity.
Coding:
0: RESET COMMAND function not active (mandatory)
5: START activates this device function (mandatory)
6: STOP interrupts this device function (optional)
7: RESUME reactivates an interrupted device function (optional)
8: CANCEL stops this device function (mandatory)
STATUS (*) This STATUS parameter mirrors the state of the function which is currently executed
or presents the result of the execution.
Coding:
0: READY function execution was stopped successfully
1: NO_INIT function is not initialized
2: IDLE function is inactive
3: RUNNING function is currently active
4: INTERRUPTED function execution is currently interrupted
5: TIME_OUT function execution time is over
6 ... 127: reserved
128 ... 255: manufacturer specific
ACTIVE_SAMPLE This parameter shows which sample of the sample list is currently taken.
NUMBER_SAMPLES This parameter shows how many samples are configured in the device.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 248

Parameter Description
SAMPLE_n This parameter structure contains the reference to the samples and the execution
time of each sample. The Channel structure element refers to the Transducer Block
which is sampled. The order in which the samples are taken equals the order
(relative index) of the SAMPLE_n block parameters in the Multi Point Sampling
Function Block.
(*) For more details see 11.5.2.2.

11.8.3 Parameter attributes of the Multi Point Sampling Function Block

Table 241 Parameter attributes of the Multi Point Sampling Function Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size
... Standard Parameters see General Requirements

Additional Multi Point Sampling Function Block Parameters


9 COMMAND Simple Unsigned16 N 2 r,w C/a F - M
10 STATUS Simple Unsigned8 D 1 r C/a - - M
11 ...
Reserved by PI M
20
21 ACTIVE_SAMPLE Simple Unsigned16 D 2 r C/a - - M
22 NUMBER_SAMPLES Simple Unsigned16 N 2 r C/a - - M
23 SAMPLE_1 Record DS-63 N 6 r,w C/a F - M
...
22+n SAMPLE_n Record DS-63 N 6 r,w C/a F - O
22+n First manufacturer
O
+1 specific parameter

11.8.4 View Object of the Multi Point Sampling Function Block

Table 242 View Object of the Multi Point Sampling Function Block

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
9 COMMAND
10 STATUS 1 1
11 ... 2
reserved by PI
0
21 ACTIVE_SAMPLE 2 2
22 NUMBER_SAMPLES 2
23 SAMPLE_1
...
22+n SAMPLE_n
Overall sum of bytes in View-
reserve
Object (+ Standard Parameter 3 + 13 5 + 13 0 + 46
d
bytes)

11.9 Logbook Function Block functions for archiving

11.9.1 Overview

Binary Messages and status information can be stored in a Logbook Function Block. Changes,
i.e. the appearance and disappearance of Binary Messages or status information will be
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 249

coupled with its time stamp and stored in the Logbook. The number of entries in the logbook is
limited and configured by the device manufacturer. Read services have access to single
entries. The first entry has the number 1. Each new entry gets the next position in the ring
memory until the highest position SIZE_OF_ENTRIES is reached. From that moment on each
new entry will overwrite the oldest one contained in the logbook. The support of a Logbook in
an analyzer device is optional. The COMMAND parameter and the parameterization of the
Binary Messages determine whether and in which way events are stored in the Logbook.

Each logbook entry is of data structure DS-64. The first element of this data structure is the
type of entry, i.e. a Binary Message or a status information of one of the status classes. The
second element is either the number of the Binary Message or the sum of the related status
class. The third element shows if the BM became active or inactive. If an entry is a status
information this third element has no meaning. The last element contains the time stamp of the
state change.

11.9.2 Parameter description of the Logbook Function Block

11.9.2.1 General

Table 243 specifies the parameter of the Logbook Function Block.

Table 243 Parameter description of the Logbook Function Block

Parameter Description
COMMAND (*) The COMMAND is used to switch on and off as well as resume or reset the Logbook
FB.
Coding:
0 RESET (mandatory)
5 START (mandatory)
6 STOP (optional)
7 RESUME (optional)
STATUS (*) The STATUS parameter contains the state of the function which is currently executed
or presents the result of the execution.
Coding:
0 READY function execution was stopped successfully
1 NO_INIT function is not initialized
2 IDLE function is inactive
3 RUNNING function is currently active
4 ... 127 reserved
128 ... 255 manufacturer specific
SIZE_OF_ENTRIES This parameter shows the number of different entries which the Logbook can take up
at the same time.
NUMBER_OF_ENTRIES This parameter contains the actual number of entries in the Logbook.
TURN_NUMBER This parameter counts how many times the logbook has completely been filled.
NEWEST_ENTRY This parameter contains the newest entry of the Logbook. As long as no entries have
been stored in the Logbook, NEWEST_ENTRY shall point to the following Binary
Message (DS-62):
Status_Class = 0
Logbook_Entry = TRUE
Output_Reference = 0
Supervision = 0
Text = Empty Logbook
This Binary Message is not listed in the parameters STATUS_CLASSES and
ACTIVE_MESSAGES and is overwritten by the first Logbook entry.
OLDEST_ENTRY This parameter contains the oldest entry of the Logbook.
ACTUAL_POST_READ_ This parameter shows the number of the Logbook entry which will be returned by the
NUMBER next read access to the parameter POST_READ_ENTRY. This parameter provides a
flow control of the entry access of the Logbook. It decreases after each
POST_READ_ENTRY parameter read access. If the oldest entry was read then this
parameter switches to the number of the newest one.
If the value 0 (zero) is written to ACTUAL_POST_READ_NUMBER then the
parameter POST_READ_ENTRY is set to the newest entry.
POST_READ_ENTRY A read access to this parameter returns the logbook entry with the number given by
ACTUAL_POST_READ_NUMBER. Every read access automatically decreases
ACTUAL_POST_READ_NUMBER by one, i.e. the read pointer is shifted to the next
older entry. Step by step every entry of the Logbook can be read.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 250

Parameter Description

(*) For more details see 11.5.2.2.

11.9.2.2 COMMAND / STATUS parameter description

The COMMAND parameter controls the state machine in Figure 76. The transitions are fired by
the change of the COMMAND value.

The STATUS parameter contains the actual state. Additional states are manufacturer specific.

NO_INIT

Initialisation

IDLE
START
RESET
RESET

STOP
READY RUNNING START
RESUME

Figure 76 State diagram of the Logbook Function Block COMMAND parameter

11.9.3 Parameter attributes of the Logbook Function Block

Table 244 Parameter attributes of the Logbook Function Block

Default Value
Object Type

Reset Class

(Class A,B)
Mandatory
Parameter

Parameter
Data Type

Transport

Optional
Relative

Usage /
Access

Kind of
Name
Index

Store

Size

... Standard Parameters see General Requirements

Additional Logbook Function Block Parameters


9 COMMAND Simple Unsinged16 S 2 r,w C/a F 5 M
10 STATUS Simple Unsigned8 D 1 r C/a - - M
11 SIZE_OF_ENTRIES Simple Unsigned16 N 2 r C/a - - M
12 NUMBER_OF_ENTRIES Simple Unsigned16 N 2 r C/a - 0 M
13 TURN_NUMBER Simple Unsigned16 N 2 r C/a - 0 M
14 NEWEST_ENTRY Record DS-64 N 11 r C/a - (*) M
15 OLDEST_ENTRY Record DS-64 N 11 r C/a - (*) M
ACTUAL_POST_READ_
16 Simple Unsigned16 D 2 r,w C/a F 0 M
NUMBER
17 POST_READ_ENTRY Record DS-64 D 11 r C/a - (*) M
18 ...
Reserved by PI - M
27
First manufacturer
28 O
specific parameter
(*) see Table 243 Parameter NEWEST_ENTRY for a valid default value.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 251

11.9.4 View Object of the Logbook Function Block

Table 245 View Object of the Logbook Function Block

Access

reserve
r r r,w
d

Relativ Substitute
Parameter Name View_1 View_2 View_3 View_4
e Index Value
9 COMMAND
10 STATUS 1 1
11 SIZE_OF_LOGBOOK 2
12 NUMBER_OF_ENTRIES 2
13 TURN_NUMBER 2
14 NEWEST_ENTRY 11 11
15 OLDEST_ENTRY 11
16 ACTUAL_POST_READ_NUMBER
17 POST_READ_ENTRY
18... 27 Reserved by PI
Overall sum of bytes in View-
29 +
Object (+ 13 Standard Parameter 12 + 13 0 + 46 reserved
13
bytes)

11.10 Conformance statement

Table 246 provides the conformance statement template.

Table 246 Conformance statement for blocks

Description Conformance statement Subelement


Physical Block M
Function Block M
Analog Input Function Block M
Multi Point Sampling Function Block O
Logbook Function Block O
Other Function Block O
Transducer Block O (Class A),
M (Class B)
Analyzer Transducer Block O (Class A),
S (Class B)
Transfer Transducer Block O (Class A),
S (Class B)
Control Transducer Block O (Class A),
S (Class B)
Limit Transducer Block O (Class A),
S (Class B)
Alarm Transducer Block O (Class A),
S (Class B)
Other Transducer Block O (Class A),
S (Class B)

11.11 Document history

Table 247 shows the changes from release version V3.0 to V3.01.

Table 247 Changes from V3.0 to V3.01

Clause/Figure/Table Change
Entire document Editorial changes.
All parameter tables Extended by column Reset class.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 252

32.2.2 / Table 158 Reference to inexistent DEVICE_STATE figure deleted.


32.2.2 / Table 158 Description of GLOBAL_STATUS replaced by a reference to the same description
within 1.7.2 / Table 17
32.3.2 / Table 161 Description of parameter AUTORANGE_ON clarified.
32.3.4 / Table 163 Size of ACTIVE_RANGE in View_1 changed from 2 to 1. Overall sum of bytes in
VIEW_1 changed from 14+13 to 13+13.
32.5.1 / Figure 67 Figure extended.
32.5.2 / Table 167 Extended by parameters for PARAMETER_SET_NUMBER = 3 (Oxygen).
32.5.2 / Table 167 Description of CTB_MASTER: parameter Choice changed to SELECTION.
32.5.2 / Table 167 Limitation which shall be active during an all over calibration changed to which are
controlled by this master CTB.
32.5.2.1 / Figure 68 STATUS NO_INIT added; COMMAND CANCEL added.
32.5.2.2 Sentence deleted: One example is shown in the following figure.
32.5.3 / Table 169 Mandatory Optional attribute of parameter PARAMETER_SET_NUMBER changed
from o to m.
32.5.3 / Table 169 Extended by parameters for PARAMETER_SET_NUMBER = 3 (Oxygen).
32.6.2 / Table 171 Coding of parameter DIRECTION changed from TRUE/FALSE to 0/1.
32.6.2 / Table 171 Coding of parameter RESET changed from TRUE/FALSE to 0/1.
32.6.2 / Table 171 Coding of parameter LIMIT_STATE changed from TRUE/FALSE to 0/1. Additional
description of new component Status.
32.6.3 / Table 172 Data Type of parameter LIMIT_STATE changed from Unsigned8 to 102. Attribute
Size changed from 1 to 2.
32.7.1 / Figure 70 Figure extended.
32.7.4 / Table 177 Man.-specific deleted from overall sum of bytes in View-Object.
32.7.5 / Table 178 Number of table integrated in the automated table counting. The new number is
table 178, all subsequent tables are shifted one number upwards.
32.8.1 Subclause deleted.
32.8.1.1 Subclause deleted, contents moved to 32.8.
32.8.1.2 Subclause deleted.
32.9 Labels harmonized: Probe FB and Multi Point Sample FB changed to Multi Point
Sampling FB.
32.10.1 Change of Logbook description.
32.10.2 / Table 182 Extension to the description of parameter ACTUAL_POST_READ_NUMBER.
32.10.2 / Table 182 Definition of parameter NEWEST_ENTRY enlarged by the definition of a default
value.
32.10.2 / Table 182 Value Cancel (8) deleted from the list of valid COMMAND values.
32.10.3 / Table 183 Access attribute of parameter NEWEST_ENTRY changed from r,w to r.
32.10.3 / Table 183 Default value of parameter COMMAND changed from 0 (Reset) to 5 (Start).
32.10.3 / Table 183 Default value of parameter STATUS deleted.
32.10.3 / Table 183 Default value of parameter TURN_NUMBER changed from 1 to 0.
33 / Table 185 ... 190 Table captions corrected and rendered more precisely.
33 / Table 186 Limit Transducer Block and Alarm Transducer Block added as optional.
33 / Table 188 Value RESET added as mandatory.

Table 248 shows the changes from release version V3.01 to V3.02.

Table 248 Changes from V3.01 to V3.02

Clause/Figure/Table in Change
V3.01
32.6.3 / Table 172 Parameter LIMIT_STATUS: attribute Store changed from S to D.
32.4.3 / Table 165 Parameter FB_VALUE: attribute Store changed from S to D.
32.4.3 / Table 165 Parameter CALCULATION_n: attribute Mandatory changed from M to O.
32.10.3 / Table 183 Default values of NEWEST_ENTRY, OLDEST_ENTRY and POST_READ_ENTRY
changed.
Table 195 Additional example for SEQUENCE_CONTROL parameter description Start
cleaning function by a device internal event
Table 159 Storage attribute of DEVICE_CONFIGURATION changed from N to D.
32.7.5 Clause deleted
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 253

12 General function set for multi-variable devices

There are device types which cover a large variety hardware configuration and functionality.
Such device types are a combination of different block types. These device types may be a
selection of one or more blocks specified in the range of PROFIBUS PA device data sheets.
The choice of a subset follows certain rules defined in the conformance statements in Table
249.

Table 249 Conformance statement of multi-variable devices

Parameter Conformance statement Subelement


Physical Block M
Function Block M
Analog Input Function Block S
Analog Output Function Block S
Discrete Input Function Block S
Discrete Output Function Block S
Totalizer Function Block S
Logbook Function Block S
Multipoint Sampling Function Block S
other Function Block S
Transducer Block M
Temperature Transducer Block S
Pressure Transducer Block S
Level Transducer Block S
Flow Transducer Block S
Electro-pneumatic Transducer Block S
Electro Transducer Block S
Hydraulic Transducer Block S
Analyzer Transducer Block S
Transfer Transducer Block S
Control Transducer Block S
Alarm Transducer Block S
Limit Transducer Block S
other Transducer Block S

13 Identification & Maintenance Functions (I&M)

13.1 Introduction

I&M specifies different kinds of functions which are used to get quick information about the
device. General specifications for I&M are specified in the PROFIBUS Profile Guidelines Part
1: Identification & Maintenance Functions. I&M Functions are mandatory for Slot 0. They are
optional for Slot 1 to 254. The Call service defined in IEC 61158-5-3, 6.2.8.3.6 is used to
access these functions. Unused characters of VisibleString parameters shall to be set to 0x20
(space). Unused or reserved bytes of OctetString shall be set to 0x00 (zero).

13.2 Parameter description

13.2.1 I&M0
FI_Index = 65000
Length of I&M data set = 64 bytes.

Table 250 Parameters of I&M0

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
0 Header reserved - OctetString (10)
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 254

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
Identification code of the
1 MANUFACTURER_ID PB.DEVICE_MAN_ID Unsigned16
manufacturer of the PA device.
PROFIBUS Profile Guidelines Part 1:
Identification & Maintenance
Functions defines that the PA device
order number has to be stored in this
parameter. The PROFIBUS PA
2 ORDER_ID profile has not specified such a Manufacturer specific VisibleString (20)
parameter.
Mapping shall be
manufacturer/device specific
according to the manufacturers web
site structure.
3 SERIAL_NUMBER unique serial number PB.DEVICE_SER_NUM VisibleString (16)
Mapping is manufacturer
The data type of this parameter is specific
not compatible to the PROFIBUS PA If no manufacturer specific
HARDWARE_REVISIO
4 profile specification. 0xFFFF can be mapping is used the Unsigned16
N
used in order to indicate a profile parameter shall be fixed to
specific information. 0xFFFF in order to reference
to PA_IM0.
Mapping is manufacturer
specific
The data type of this parameter is
If no manufacturer specific Record
not compatible to the PROFIBUS PA
SOFTWARE_REVISIO mapping is used the
5 profile specification. V255.255.255 VisibleString (1)
N parameter shall be fixed to
can be used in order to indicate a Unsigned8 (3)
V,0xFF,0xFF,0xFF
profile specific information.
(V255.255.255) in order to
reference to PA_IM0
According to PROFIBUS Profile
Guidelines Part 1: Identification &
Maintenance Functions. The
REV_COUNTER is incremented if a
parameter content with static
6 REV_COUNTER attribute in the according slot has Manufacturer specific Unsigned16
changed or a module exchange have
been carried out.
Slot 0 carries a REV_COUNTER that
counts all changes of static
parameters of the whole device.
7 PROFILE_ID Fixed to 0x9700 for PA devices. 0x9700 Unsigned16
Specifies the block which is used in
this slot. If more than one block is Byte 0:
located in this slot use the following BLOCK_OBJECT.BlockObje
PROFILE_SPECIFIC_ rules to determine the block whose ct
8 information has to be mapped: OctetString (2)
TYPE Byte 1:
1. Physical Block (if available) BLOCK_OBJECT.ParentCla
2. Function Block (if available) ss
3. Transducer Block
Supported version of PROFIBUS
Profile Guidelines Part 1:
Identification & Maintenance
9 IM_VERSION Functions Manufacturer specific Unsigned8 (2)
The supported version is
manufacturer specific.
Minimum requirement is version 1.1
This parameter indicates the
availability of the I&M records:
Byte 0:
2 7 : I&M15 (reserved for future
use)
2 6 : I&M14 (reserved for future
use) Fixed according to
10 IM_SUPPORTED OctetString (2)
2 5 : I&M13 (reserved for future description next column left.
use)
2 4 : I&M12 (reserved for future
use)
2 3 : I&M11 (reserved for future
use)
2 2 : I&M10 (reserved for future
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 255

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
use)
21: I&M9 (reserved for future
use)
20: I&M8 (reserved for future
use)

Byte 1:
2 7 : I&M7 (reserved for future
use)
2 6 : I&M6 (reserved for future
use)
2 5 : I&M5 (reserved for future
use)
2 4 : I&M4 (not used)
2 3 : I&M3 (optional)
2 2 : I&M2 (mandatory)
2 1 : I&M1 (mandatory)
2 0 : profile specific I&M
(PA_I&M) (mandatory)

13.2.2 I&M1
FI_Index = 65001
Length of I&M data set = 64 bytes.

Table 251 Parameters of I&M1

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
0 Header reserved - OctetString (10)
User identification description of the
1 TAG_FUNCTION FB / TB / PB: TAG_DESC (*) VisibleString (32)
functionality of the slot module.
User identification description of the No mapping, filled with
2 TAG_LOCATION VisibleString (22)
location of the slot module. blanks
(*) If a Function Block is located in the related slot the according TAG_DESC parameter has to be used. If no Function
Block is located in the related slot the TAG_DESC parameter of the Transducer Block has to be used. For slot 0 the
TAG_DESC parameter of the Physical Block has to be used.

13.2.3 I&M2
FI_Index = 65002
Length of I&M data set = 64 bytes.

Table 252 Parameters of I&M2

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
0 Header reserved - OctetString (10)
PB.DEVICE_INSTAL_DATE
1 INSTALLATION_DATE Date of installation of the device. VisibleString (16)
(*)
2 reserved OctetString (38)
(*) If a Physical Block is located in this slot the according parameter of this Physical Block is used. If not the according
parameter of the related Physical Block is used.

13.2.4 I&M3
FI_Index = 65003
Length of I&M data set = 64 bytes.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 256

Table 253 Parameters of I&M3

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
0 Header reserved - OctetString(10)
This comment field allows customers
1 DESCRIPTOR to store any individual additional PB.DESCRIPTOR (*) VisibleString(54)
information and annotation.
(*) If a Physical Block is located in this slot the according parameter of this Physical Block is used. If not the according
parameter of the related Physical Block is used.

13.2.5 I&M4

At this time the usage of SIGNATURE is unknown. Therefore PA devices do not support this
record. In future if the definition and usage of SIGNATURE is defined. PA devices could
support this record by setting the according bit in I&M0 IM_supported at the same time.

13.2.6 PA_I&M0
FI_Index = 65016
Length of I&M data set = 64 bytes.

Table 254 Parameters of PA_I&M0

Ele- Mapped Parameter Data Type


Parameter Name Description
ment of PA Profile (Size)
0 Header reserved - OctetString (10)
Version of the process device
profile specific extensions of I&M
Octet 1 (MSB) = major version
1 PA_IM_VERSION Fixed to 1, 0 (Version 1.0) Unsigned8 (2)
number, e.g. 1 of version 1.0
Octet 2 (LSB) = minor version
number, e.g. 0 of version 1.0
Hardware revision of the Physical Block:
2 HARDWARE_REVISION VisibleString (16)
according physical component HARDWARE_REVISION (*)
Firmware revision of the Physical Block:
3 SOFTWARE_REVISION VisibleString (16)
according physical component SOFTWARE_REVISION (*)
4 reserved OctetString (18)
Byte 0:
27: PA I&M15 (reserved)
26: PA I&M14 (reserved)
25: PA I&M13 (reserved)
24: PA I&M12 (reserved)
23: PA I&M11 (reserved)
22: PA I&M10 (reserved)
21: PA I&M9 (reserved)
20: PA I&M8 (reserved)

Byte 1: Constant according to


5 PA_IM_SUPPORTED 27: PA I&M7 (reserved) description on the next left OctetString (2)
26: PA I&M6 (reserved) column
25: PA I&M5 (reserved)
24: PA I&M4 (reserved)
23: PA I&M3 (reserved)
22: PA I&M2 (reserved)
21
: PA I&M1 (reserved)
20: manufacturer specific
I&M

PA I&M115 are reserved for


future use
(*) If a Physical Block is located in this slot the according parameter of this Physical Block is used. If not the according
parameter of the related Physical Block is used.
PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 257

13.3 Conformance statement

13.3.1 Support and access attributes of I&M parameters

Table 255 Conformance statement for Identification & Maintenance Functions

Item Conformance statement Access


I&M0 M R
I&M1 M R
I&M2 M R
I&M3 O R
I&M4 - -
PA_I&M0 M R

13.3.2 Location of I&M parameters

Table 256 Conformance statement for Location of I&M parameters

Item Conformance statement


I&M Parameters for slot 0 M
I&M Parameters for slot 1 and higher O

This means:

At least a device has to support the I&M parameters I&M0, I&M1, I&M2 and PA_I&M0 for
slot 0 in case of a read access.
If the device wants to support I&M parameters in other slots than slot 0, I&M0, I&M1, I&M2
and PA_I&M0 shall be readable.

13.4 Document history

Table 257 shows the changes from release version V1.0 to integration in V3.02.

Table 257 Changes from V1.0 to V3.02

Clause/Figure/Table Change
Entire document Additional top headline level added. Therefore the numbering of all clauses is
changed.
1.1 / Table 1 Changed IM_VERSION mapping
1.2.1/Table 1 Block priority for element 8 (PROFILE_SPECIFIC_TYPE) revised to accept
additional Physical Blocks in Slots > 0.
1.2.6/Table 5 Entries for PA I&M17 marked as reserved.
1.4 References deleted which are not used in this document.
3 and 4 Delete references because it is integrated in the general normative reference in
Clause 2
I&M 0 Add REV_COUNTER increment after a module exchange.

BIBLIOGRAPHY

IEC 61804-3, Function blocks (FB) for process control - Part 3: Electronic Device Description
Language (EDDL)

IEC/PAS 62453-2, Field Device Tool (FDT) interface specification - Part 2: INTERBUS
communication

IEC 60584-1, Thermocouples - Part 1: Reference tables

IEC 60584-2, Thermocouples. Part 2 : Tolerances


PROFIBUS PA Profile for Process Control Devices V3.02 W G3 Draft for PI Reviewpage 258

VDI/VDE-GMA-Guideline 2650 Blatt 1, Requirements regarding self-monitoring and diagnosis


in field instrumentation - General requirements

VDI/VDE-GMA-Guideline 2650 Blatt 2, Requirements regarding self-monitoring and diagnosis


in field instrumentation - General faults and fault conditions

NAMUR NE107, Self-Monitoring and Diagnosis of Field Devices


<available at http://www.namur.de/index.php?id=104&no_cache=1>

PROFIBUS Specification Device Integration Volume 1: GSD, Version 5.04, July 2005 (Order
No: 2.122)

DIN V 19259-2, Documentation of devices - Standard data element types with


associated classification for valves

SAMA RC21-4-1966 TEMPERATURE-RESISTANCE VALUES FOR RESISTANCE


THERMOMETER ELEMENT OF PLATINUM, NICKLE AND COPPER
<SAMA = Scientific Apparatus Makers Association>

IPTS-68 International Practical Temperature Scale of 1968

MIL-T-24388, Thermocouple and resistance temperature detector assemblies, general


specification for (naval shipboard)

You might also like