Industrial communication networks - Fieldbus specifications - Part 4-19: Data-link layer protocol specification - Type 19 elements

IEC 61158-4-19:2019 specifies procedures for the timely transfer of data and control information from one data-link user entity to a peer user entity, and among the data-link entities forming the distributed data-link service provider and the structure of the fieldbus DLPDUs used for the transfer of data and control information by the protocol of this standard, and their representation as physical interface data units. This fourth edition cancels and replaces the third edition published in 2014 and constitutes a technical revision.
The main changes are:
•improving the hotplug and redundancy features;
•improving the phase switching and the error handling;
•editorial improvements

Réseaux de communication industriels - Spécifications des bus de terrain - Partie 4-19: Spécification de protocole de la couche liaison de données - Eléments de Type 19

IEC 61158-4-19:2019 La couche liaison de données assure les communications de messagerie prioritaires de base entre les appareils d’un environnement d’automatisation.
Ce protocole offre à toutes les entités de liaison de données participantes
a) des opportunités de communication cyclique à démarrage synchrone, selon un ordre préétabli, et
b) de manière asynchrone cyclique ou acyclique, tel que requis à chaque cycle par chacune de ces entités de liaison de données.
Ainsi, ce protocole peut être caractérisé comme un protocole qui offre un accès cyclique et acyclique asynchrone, mais avec un redémarrage synchrone de chaque cycle.

General Information

Status
Published
Publication Date
17-Apr-2019
Technical Committee
Drafting Committee
Current Stage
PPUB - Publication issued
Start Date
26-Apr-2019
Completion Date
18-Apr-2019
Ref Project

Buy Standard

Standard
IEC 61158-4-19:2019 - Industrial communication networks - Fieldbus specifications - Part 4 -19: Data-link layer protocol specification - Type 19 elements
English language
477 pages
sale 15% off
Preview
sale 15% off
Preview
Standard
IEC 61158-4-19:2019 - Industrial communication networks - Fieldbus specifications - Part 4-19: Data-link layer protocol specification - Type 19 elements
English and French language
1016 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)

IEC 61158-4-19
®

Edition 4.0 2019-04
INTERNATIONAL
STANDARD

colour
inside


Industrial communication networks – Fieldbus specifications –
Part 4-19: Data-link layer protocol specification – Type 19 elements

IEC 61158-4-19:2019-04(en)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 IEC, Geneva, Switzerland

All rights reserved. Unless otherwise specified, 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
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.


IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland

About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.

About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.

IEC publications search - webstore.iec.ch/advsearchform Electropedia - www.electropedia.org
The advanced search enables to find IEC publications by a The world's leading online dictionary on electrotechnology,
variety of criteria (reference number, text, technical containing more than 22 000 terminological entries in English
committee,…). It also gives information on projects, replaced and French, with equivalent terms in 16 additional languages.
and withdrawn publications. Also known as the International Electrotechnical Vocabulary

(IEV) online.
IEC Just Published - webstore.iec.ch/justpublished
Stay up to date on all new IEC publications. Just Published IEC Glossary - std.iec.ch/glossary
details all new publications released. Available online and 67 000 electrotechnical terminology entries in English and
once a month by email. French extracted from the Terms and Definitions clause of
IEC publications issued since 2002. Some entries have been
IEC Customer Service Centre - webstore.iec.ch/csc collected from earlier publications of IEC TC 37, 77, 86 and
If you wish to give us your feedback on this publication or CISPR.

need further assistance, please contact the Customer Service

Centre: sales@iec.ch.

---------------------- Page: 2 ----------------------
IEC 61158-4-19

®


Edition 4.0 2019-04




INTERNATIONAL



STANDARD








colour

inside










Industrial communication networks – Fieldbus specifications –

Part 4-19: Data-link layer protocol specification – Type 19 elements



























INTERNATIONAL

ELECTROTECHNICAL


COMMISSION





ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-6776-9




  Warning! Make sure that you obtained this publication from an authorized distributor.


® Registered trademark of the International Electrotechnical Commission

---------------------- Page: 3 ----------------------
– 2 – IEC 61158-4-19:2019 © IEC 2019
CONTENTS
FOREWORD . 24
INTRODUCTION . 26
1 Scope . 28
1.1 General . 28
1.2 Specifications . 28
1.3 Procedures . 28
1.4 Applicability . 28
1.5 Conformance . 29
2 Normative references . 29
3 Terms, definitions, symbols, acronyms, abbreviations and conventions . 29
3.1 Reference model terms and definitions . 29
3.2 Additional Type 19 terms and definitions . 30
3.3 Symbols . 33
3.4 Acronyms and abbreviations . 34
3.5 Additional conventions . 35
4 DL-protocol overview . 35
4.1 Overview . 35
4.2 General DLPDU identification . 37
4.2.1 Introduction . 37
4.2.2 Destination address (Dest MAC) . 37
4.2.3 Source address (Src MAC) . 37
4.2.4 EtherType . 37
4.3 General DLPDU structure . 37
4.3.1 Introduction . 37
4.3.2 DLPDU header . 38
4.3.3 DLPDU payload . 38
4.4 DLPDU header . 38
4.4.1 Introduction . 38
4.4.2 DLPDU type. 38
4.5 MDT DLPDU . 39
4.5.1 MDT MST field summary . 39
4.5.2 Evaluation of MDT header in the slaves . 39
4.5.3 MDT type . 40
4.5.4 MDT phase . 40
4.5.5 MDT CRC . 40
4.5.6 MDT payload during initialization . 40
4.5.7 MDT payload in normal operation (CP4) . 44
4.6 AT DLPDU . 51
4.6.1 AT header field summary . 51
4.6.2 Evaluation of AT header in the slaves . 51
4.6.3 AT type . 52
4.6.4 AT phase . 52
4.6.5 AT CRC . 52
4.6.6 AT Payload during initialization . 52
4.6.7 AT payload in CP4 . 56
4.7 Mechanisms of connections . 62
4.7.1 Introduction . 62

---------------------- Page: 4 ----------------------
IEC 61158-4-19:2019 © IEC 2019 – 3 –
4.7.2 Configuration of connections . 63
4.7.3 Connection control . 64
4.7.4 Producer state machine . 66
4.7.5 Consumer state machine . 68
5 DL management . 72
5.1 Overview . 72
5.2 Initialization of cyclic communication. 72
5.2.1 Introduction . 72
5.2.2 Communication phases (CP) . 73
5.2.3 Switching of communication phases (CPS) . 86
5.2.4 Communication Version . 98
5.2.5 Address allocation in the master and slave . 99
5.3 Network topologies . 101
5.3.1 Introduction . 101
5.3.2 Ring topology . 102
5.3.3 Line topology . 102
5.3.4 Topology conditions of a slave device . 103
5.3.5 Topology conditions of a multi-slave device . 104
5.3.6 Topology state machine . 108
5.3.7 States of Topology state machine of slave . 109
5.3.8 Transitions of Topology state machine . 110
5.4 Redundancy of RT communication with ring topology . 112
5.4.1 Introduction . 112
5.4.2 Sequence with ring break . 112
5.4.3 Recovery of ring topology . 113
5.4.4 Recovery of P channel . 114
5.4.5 Recovery of S channel . 115
5.5 Hot-plug procedure . 115
5.5.1 Introduction . 115
5.5.2 Hot-plug state machine . 116
5.5.3 States of HP state machine . 117
5.5.4 Transitions of HP state machine . 121
5.6 Watchdog . 122
5.7 Status procedures . 122
6 Data transmission methods . 123
6.1 Overview . 123
6.2 Service channel (SVC) . 123
6.2.1 SVC handling . 123
6.2.2 Opening and closing SVC . 124
6.2.3 Selection of data block element . 124
6.2.4 Changing of data block element . 124
6.2.5 Transmission steps . 125
6.2.6 SVC valid . 126
6.2.7 Handshake bits . 126
6.2.8 Read/Write . 127
6.2.9 Busy bit . 127
6.2.10 Service channel initialization . 128
6.2.11 Reaction to SVC handshake timeout . 128
6.2.12 Reaction to error messages in the service channel . 128

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-4-19:2019 © IEC 2019
6.2.13 Service channel error messages . 128
6.2.14 Procedure command functions via the service channel . 131
6.3 RT Channel . 137
6.3.1 Introduction . 137
6.3.2 Read_Cyclic (RDC) . 137
6.3.3 Write_Cyclic (WRC) . 137
6.3.4 Notify_Cyclic_Data (NCD) . 137
6.4 Transmission and activation of Type 19 time . 137
6.5 Multiplexing of real-time data with data containers . 139
6.5.1 General . 139
6.5.2 Functionality of standard data container . 141
6.5.3 Functionality of extended data container (preferred function) . 145
6.5.4 Data container diagnostic . 150
6.6 Handling of Real-time bits . 150
6.6.1 General . 150
6.6.2 Real-time bits (RTB) . 151
6.6.3 RTB word container . 152
6.6.4 RTB list container . 152
6.7 SMP. 153
6.7.1 Definitions . 153
6.7.2 Structure of the Session Control Header (SCH) . 154
6.7.3 Evaluation sequence of session control header by the consumer . 156
6.7.4 Multiplexing of two sessions (example) . 157
6.7.5 Priorization . 157
6.7.6 Diagnosis of SMP . 158
6.7.7 Definition of SMP containers . 158
6.7.8 Example . 158
6.8 Oversampling . 159
6.8.1 Description . 159
6.8.2 General . 159
6.8.3 Constraints . 159
6.8.4 Oversampling Input . 159
6.8.5 Oversampling Output . 160
6.8.6 Oversampling Identification . 160
6.8.7 Oversampling Configuration . 161
6.8.8 Application example . 161
6.8.9 Oversampling State Machine . 161
7 Telegram timing and DLPDU handling . 163
7.1 Communication mechanisms . 163
7.1.1 Cycle time . 163
7.1.2 Medium access . 166
7.1.3 Calculation of the Type 19 telegram length . 168
7.1.4 Timing calculation of RT channel . 168
7.1.5 Calculation of S-0-1006 AT0 transmission starting time (t1) . 169
7.1.6 Timing calculation of UC channel . 170
7.1.7 Telegram timing in CP0 . 171
7.1.8 Telegram timing in CP1 and CP2 . 172
7.1.9 Telegram timing in CP3 and CP4 . 174
7.1.10 Unified communication mechanisms . 175

---------------------- Page: 6 ----------------------
IEC 61158-4-19:2019 © IEC 2019 – 5 –
7.1.11 Internet Protocol Services (IPS) . 187
7.2 Synchronization . 224
7.2.1 Network synchronization . 224
7.2.2 Synchronization of producer cycles. 232
7.3 Processing methods of connection data . 233
7.3.1 General . 233
7.3.2 Synchronous processing of application data in the slave . 234
7.3.3 Cyclic processing of application data in the slave . 235
7.3.4 Non-synchronous processing of application data in the slave . 236
8 Communication Error handling and monitoring . 236
8.1 Invalid telegrams . 236
8.2 Response to MDT and AT telegram failure . 237
8.3 Error counters in the slave . 237
8.3.1 Error effects on communication phases . 237
8.4 Status codes of Type 19 communication profile (SCP) . 238
8.5 Priority of diagnosis classes . 240
Annex A (normative) IDN – Identification numbers . 242
A.1 IDN specification . 242
A.1.1 Introduction . 242
A.1.2 Element 1: structure of IDN . 242
A.1.3 Element 2: structure of name . 243
A.1.4 Element 3: structure of attribute . 244
A.1.5 Element 4: structure of unit . 246
A.1.6 Element 5: structure of minimum value . 247
A.1.7 Element 6: structure of maximum value . 247
A.1.8 Element 7: structure of operation data . 247
A.1.9 Structure of Data status . 249
A.2 Identification numbers in numerical orders . 250
A.3 Detailed specification of communication-related IDNs . 254
A.3.1 IDN S-0-0014 Interface status . 254
A.3.2 IDN S-0-0021 IDN-list of invalid operation data for CP2 . 255
A.3.3 IDN S-0-0022 IDN-list of invalid operation data for CP3 . 256
A.3.4 IDN S-0-0026 IDN allocation of producer RTB word container . 257
A.3.5 IDN S-0-0027 IDN allocation of consumer RTB word container . 257
A.3.6 IDN S-0-0127 CP3 transition check . 258
A.3.7 IDN S-0-0128 CP4 transition check . 259
A.3.8 IDN S-0-0144 Producer RTB word container . 260
A.3.9 IDN S-0-0145 Consumer RTB word container . 260
A.3.10 IDN S-0-0187 IDN-list of configurable data as producer . 261
A.3.11 IDN S-0-0188 IDN-list of configurable data as consumer . 261
A.3.12 IDN S-0-0328 Bit allocation of producer RTB word container . 262
A.3.13 IDN S-0-0329 Bit allocation of consumer RTB word container . 263
A.3.14 IDN S-0-0360 MDT data container A1 . 263
A.3.15 IDN S-0-0361 MDT data container B1 . 264
A.3.16 IDN S-0-0362 MDT data container A list index . 265
A.3.17 IDN S-0-0363 MDT data container B list index . 266
A.3.18 IDN S-0-0364 AT data container A1 . 267
A.3.19 IDN S-0-0365 AT data container B1 . 268
A.3.20 IDN S-0-0366 AT data container A list index . 269

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-4-19:2019 © IEC 2019
A.3.21 IDN S-0-0367 AT data container B list index . 270
A.3.22 IDN S-0-0368 Data container A pointer . 271
A.3.23 IDN S-0-0369 Data container B pointer . 273
A.3.24 IDN S-0-0370 MDT data container A/B configuration list . 274
A.3.25 IDN S-0-0371 AT data container A/B configuration list . 275
A.3.26 IDN S-0-0394 List IDN . 275
A.3.27 IDN S-0-0395 List index . 276
A.3.28 IDN S-0-0396 Number of list elements . 277
A.3.29 IDN S-0-0397 List segment . 277
A.3.30 IDN S-0-0398 IDN list of configurable real-time bits as producer . 278
A.3.31 IDN S-0-0399 IDN list of configurable real-time bits as consumer . 279
A.3.32 IDN S-0-0444 IDN-list of configurable data in the AT data container . 280
A.3.33 IDN S-0-0445 IDN-list of configurable data in the MDT data container . 280
A.3.34 IDN S-0-0450 MDT data container A2 . 281
A.3.35 IDN S-0-0451 MDT data container A3 . 282
A.3.36 IDN S-0-0452 MDT data container A4 . 283
A.3.37 IDN S-0-0453 MDT data container A5 . 284
A.3.38 IDN S-0-0454 MDT data container A6 . 285
A.3.39 IDN S-0-0455 MDT data container A7 . 286
A.3.40 IDN S-0-0456 MDT data container A8 . 287
A.3.41 IDN S-0-0457 MDT data container A9 . 288
A.3.42 IDN S-0-0458 MDT data container A10 . 289
A.3.43 IDN S-0-0459 MDT data container B2 . 289
A.3.44 IDN S-0-0480 AT data container A2 . 290
A.3.45 IDN S-0-0481 AT data container A3 . 291
A.3.46 IDN S-0-0482 AT data container A4 . 292
A.3.47 IDN S-0-0483 AT data container A5 . 293
A.3.48 IDN S-0-0484 AT data container A6 . 294
A.3.49 IDN S-0-0485 AT data container A7 . 295
A.3.50 IDN S-0-0486 AT data container A8 . 296
A.3.51 IDN S-0-0487 AT data container A9 . 297
A.3.52 IDN S-0-0488 AT data container A10 . 298
A.3.53 IDN S-0-0489 AT data container B2 . 299
A.3.54 IDN S-0-0490 MDT data container A2 configuration list . 300
A.3.55 IDN S-0-0491 MDT data container A3 configuration list . 301
A.3.56 IDN S-0-0492 MDT data container A4 configuration list . 302
A.3.57 IDN S-0-0493 MDT data container A5 configuration list . 302
A.3.58 IDN S-0-0494 MDT
...

IEC 61158-4-19
®

Edition 4.0 2019-04
INTERNATIONAL
STANDARD
NORME
INTERNATIONALE
colour
inside


Industrial communication networks – Fieldbus specifications –
Part 4-19: Data-link layer protocol specification – Type 19 elements

Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 4-19: Spécification de protocole de la couche liaison de données –
Eléments de Type 19

IEC 61158-4-19:2019-04(en-fr)

---------------------- Page: 1 ----------------------
THIS PUBLICATION IS COPYRIGHT PROTECTED
Copyright © 2019 IEC, Geneva, Switzerland
All rights reserved. Unless otherwise specified, 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
either IEC or IEC's member National Committee in the country of the requester. If you have any questions about IEC
copyright or have an enquiry about obtaining additional rights to this publication, please contact the address below or
your local IEC member National Committee for further information.
Droits de reproduction réservés. Sauf indication contraire, aucune partie de cette publication ne peut être reproduite
ni utilisée sous quelque forme que ce soit et par aucun procédé, électronique ou mécanique, y compris la photocopie
et les microfilms, sans l'accord écrit de l'IEC ou du Comité national de l'IEC du pays du demandeur. Si vous avez des
questions sur le copyright de l'IEC ou si vous désirez obtenir des droits supplémentaires sur cette publication, utilisez
les coordonnées ci-après ou contactez le Comité national de l'IEC de votre pays de résidence.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de Varembé info@iec.ch
CH-1211 Geneva 20 www.iec.ch
Switzerland
About the IEC
The International Electrotechnical Commission (IEC) is the leading global organization that prepares and publishes
International Standards for all electrical, electronic and related technologies.
About IEC publications
The technical content of IEC publications is kept under constant review by the IEC. Please make sure that you have the
latest edition, a corrigendum or an amendment might have been published.
IEC publications search - webstore.iec.ch/advsearchform IEC online collection - oc.iec.ch
The advanced search enables to find IEC publications by a Discover our powerful search engine and read freely all the
variety of criteria (reference number, text, technical publications previews. With a subscription you will always
committee, …). It also gives information on projects, replaced have access to up to date content tailored to your needs.
and withdrawn publications.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
The world's leading online dictionary on electrotechnology,
Stay up to date on all new IEC publications. Just Published
containing more than 22 000 terminological entries in English
details all new publications released. Available online and
and French, with equivalent terms in 18 additional languages.
once a month by email.
Also known as the International Electrotechnical Vocabulary
(IEV) online.
IEC Customer Service Centre - webstore.iec.ch/csc
If you wish to give us your feedback on this publication or
need further assistance, please contact the Customer Service
Centre: sales@iec.ch.
A propos de l'IEC
La Commission Electrotechnique Internationale (IEC) est la première organisation mondiale qui élabore et publie des
Normes internationales pour tout ce qui a trait à l'électricité, à l'électronique et aux technologies apparentées.
A propos des publications IEC
Le contenu technique des publications IEC est constamment revu. Veuillez vous assurer que vous possédez l’édition la
plus récente, un corrigendum ou amendement peut avoir été publié.
Recherche de publications IEC - IEC online collection - oc.iec.ch
webstore.iec.ch/advsearchform Découvrez notre puissant moteur de recherche et consultez
La recherche avancée permet de trouver des publications IEC gratuitement tous les aperçus des publications. Avec un
en utilisant différents critères (numéro de référence, texte, abonnement, vous aurez toujours accès à un contenu à jour
comité d’études, …). Elle donne aussi des informations sur adapté à vos besoins.
les projets et les publications remplacées ou retirées.
Electropedia - www.electropedia.org
IEC Just Published - webstore.iec.ch/justpublished
Le premier dictionnaire d'électrotechnologie en ligne au
Restez informé sur les nouvelles publications IEC. Just
monde, avec plus de 22 000 articles terminologiques en
Published détaille les nouvelles publications parues.
anglais et en français, ainsi que les termes équivalents dans
Disponible en ligne et une fois par mois par email.
16 langues additionnelles. Egalement appelé Vocabulaire
Electrotechnique International (IEV) en ligne.
Service Clients - webstore.iec.ch/csc
Si vous désirez nous donner des commentaires sur cette
publication ou si vous avez des questions contactez-nous:
sales@iec.ch.

---------------------- Page: 2 ----------------------
IEC 61158-4-19

®


Edition 4.0 2019-04




INTERNATIONAL



STANDARD




NORME


INTERNATIONALE
colour

inside










Industrial communication networks – Fieldbus specifications –

Part 4-19: Data-link layer protocol specification – Type 19 elements



Réseaux de communication industriels – Spécifications des bus de terrain –

Partie 4-19: Spécification de protocole de la couche liaison de données –

Eléments de Type 19















INTERNATIONAL

ELECTROTECHNICAL

COMMISSION


COMMISSION

ELECTROTECHNIQUE


INTERNATIONALE




ICS 25.040.40; 35.100.20; 35.110 ISBN 978-2-8322-9176-4




Warning! Make sure that you obtained this publication from an authorized distributor.

Attention! Veuillez vous assurer que vous avez obtenu cette publication via un distributeur agréé.

® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale

---------------------- Page: 3 ----------------------
– 2 – IEC 61158-4-19:2019 © IEC 2019
CONTENTS
FOREWORD . 24
INTRODUCTION . 26
1 Scope . 28
1.1 General . 28
1.2 Specifications . 28
1.3 Procedures . 28
1.4 Applicability . 28
1.5 Conformance . 29
2 Normative references . 29
3 Terms, definitions, symbols, acronyms, abbreviations and conventions . 29
3.1 Reference model terms and definitions . 29
3.2 Additional Type 19 terms and definitions . 30
3.3 Symbols . 33
3.4 Acronyms and abbreviations . 34
3.5 Additional conventions . 35
4 DL-protocol overview . 35
4.1 Overview . 35
4.2 General DLPDU identification . 37
4.2.1 Introduction . 37
4.2.2 Destination address (Dest MAC) . 37
4.2.3 Source address (Src MAC) . 37
4.2.4 EtherType . 37
4.3 General DLPDU structure . 37
4.3.1 Introduction . 37
4.3.2 DLPDU header . 38
4.3.3 DLPDU payload . 38
4.4 DLPDU header . 38
4.4.1 Introduction . 38
4.4.2 DLPDU type. 38
4.5 MDT DLPDU . 39
4.5.1 MDT MST field summary . 39
4.5.2 Evaluation of MDT header in the slaves . 39
4.5.3 MDT type . 40
4.5.4 MDT phase . 40
4.5.5 MDT CRC . 40
4.5.6 MDT payload during initialization . 40
4.5.7 MDT payload in normal operation (CP4) . 44
4.6 AT DLPDU . 51
4.6.1 AT header field summary . 51
4.6.2 Evaluation of AT header in the slaves . 51
4.6.3 AT type . 52
4.6.4 AT phase . 52
4.6.5 AT CRC . 52
4.6.6 AT Payload during initialization . 52
4.6.7 AT payload in CP4 . 56
4.7 Mechanisms of connections . 62
4.7.1 Introduction . 62

---------------------- Page: 4 ----------------------
IEC 61158-4-19:2019 © IEC 2019 – 3 –
4.7.2 Configuration of connections . 63
4.7.3 Connection control . 64
4.7.4 Producer state machine . 66
4.7.5 Consumer state machine . 68
5 DL management . 72
5.1 Overview . 72
5.2 Initialization of cyclic communication. 72
5.2.1 Introduction . 72
5.2.2 Communication phases (CP) . 73
5.2.3 Switching of communication phases (CPS) . 86
5.2.4 Communication Version . 98
5.2.5 Address allocation in the master and slave . 99
5.3 Network topologies . 101
5.3.1 Introduction . 101
5.3.2 Ring topology . 102
5.3.3 Line topology . 102
5.3.4 Topology conditions of a slave device . 103
5.3.5 Topology conditions of a multi-slave device . 104
5.3.6 Topology state machine . 108
5.3.7 States of Topology state machine of slave . 109
5.3.8 Transitions of Topology state machine . 110
5.4 Redundancy of RT communication with ring topology . 112
5.4.1 Introduction . 112
5.4.2 Sequence with ring break . 112
5.4.3 Recovery of ring topology . 113
5.4.4 Recovery of P channel . 114
5.4.5 Recovery of S channel . 115
5.5 Hot-plug procedure . 115
5.5.1 Introduction . 115
5.5.2 Hot-plug state machine . 116
5.5.3 States of HP state machine . 117
5.5.4 Transitions of HP state machine . 121
5.6 Watchdog . 122
5.7 Status procedures . 122
6 Data transmission methods . 123
6.1 Overview . 123
6.2 Service channel (SVC) . 123
6.2.1 SVC handling . 123
6.2.2 Opening and closing SVC . 124
6.2.3 Selection of data block element . 124
6.2.4 Changing of data block element . 124
6.2.5 Transmission steps . 125
6.2.6 SVC valid . 126
6.2.7 Handshake bits . 126
6.2.8 Read/Write . 127
6.2.9 Busy bit . 127
6.2.10 Service channel initialization . 128
6.2.11 Reaction to SVC handshake timeout . 128
6.2.12 Reaction to error messages in the service channel . 128

---------------------- Page: 5 ----------------------
– 4 – IEC 61158-4-19:2019 © IEC 2019
6.2.13 Service channel error messages . 128
6.2.14 Procedure command functions via the service channel . 131
6.3 RT Channel . 137
6.3.1 Introduction . 137
6.3.2 Read_Cyclic (RDC) . 137
6.3.3 Write_Cyclic (WRC) . 137
6.3.4 Notify_Cyclic_Data (NCD) . 137
6.4 Transmission and activation of Type 19 time . 137
6.5 Multiplexing of real-time data with data containers . 139
6.5.1 General . 139
6.5.2 Functionality of standard data container . 141
6.5.3 Functionality of extended data container (preferred function) . 145
6.5.4 Data container diagnostic . 150
6.6 Handling of Real-time bits . 150
6.6.1 General . 150
6.6.2 Real-time bits (RTB) . 151
6.6.3 RTB word container . 152
6.6.4 RTB list container . 152
6.7 SMP. 153
6.7.1 Definitions . 153
6.7.2 Structure of the Session Control Header (SCH) . 154
6.7.3 Evaluation sequence of session control header by the consumer . 156
6.7.4 Multiplexing of two sessions (example) . 157
6.7.5 Priorization . 157
6.7.6 Diagnosis of SMP . 158
6.7.7 Definition of SMP containers . 158
6.7.8 Example . 158
6.8 Oversampling . 159
6.8.1 Description . 159
6.8.2 General . 159
6.8.3 Constraints . 159
6.8.4 Oversampling Input . 159
6.8.5 Oversampling Output . 160
6.8.6 Oversampling Identification . 160
6.8.7 Oversampling Configuration . 161
6.8.8 Application example . 161
6.8.9 Oversampling State Machine . 161
7 Telegram timing and DLPDU handling . 163
7.1 Communication mechanisms . 163
7.1.1 Cycle time . 163
7.1.2 Medium access . 166
7.1.3 Calculation of the Type 19 telegram length . 168
7.1.4 Timing calculation of RT channel . 168
7.1.5 Calculation of S-0-1006 AT0 transmission starting time (t1) . 169
7.1.6 Timing calculation of UC channel . 170
7.1.7 Telegram timing in CP0 . 171
7.1.8 Telegram timing in CP1 and CP2 . 172
7.1.9 Telegram timing in CP3 and CP4 . 174
7.1.10 Unified communication mechanisms . 175

---------------------- Page: 6 ----------------------
IEC 61158-4-19:2019 © IEC 2019 – 5 –
7.1.11 Internet Protocol Services (IPS) . 187
7.2 Synchronization . 224
7.2.1 Network synchronization . 224
7.2.2 Synchronization of producer cycles. 232
7.3 Processing methods of connection data . 233
7.3.1 General . 233
7.3.2 Synchronous processing of application data in the slave . 234
7.3.3 Cyclic processing of application data in the slave . 235
7.3.4 Non-synchronous processing of application data in the slave . 236
8 Communication Error handling and monitoring . 236
8.1 Invalid telegrams . 236
8.2 Response to MDT and AT telegram failure . 237
8.3 Error counters in the slave . 237
8.3.1 Error effects on communication phases . 237
8.4 Status codes of Type 19 communication profile (SCP) . 238
8.5 Priority of diagnosis classes . 240
Annex A (normative) IDN – Identification numbers . 242
A.1 IDN specification . 242
A.1.1 Introduction . 242
A.1.2 Element 1: structure of IDN . 242
A.1.3 Element 2: structure of name . 243
A.1.4 Element 3: structure of attribute . 244
A.1.5 Element 4: structure of unit . 246
A.1.6 Element 5: structure of minimum value . 247
A.1.7 Element 6: structure of maximum value . 247
A.1.8 Element 7: structure of operation data . 247
A.1.9 Structure of Data status . 249
A.2 Identification numbers in numerical orders . 250
A.3 Detailed specification of communication-related IDNs . 254
A.3.1 IDN S-0-0014 Interface status . 254
A.3.2 IDN S-0-0021 IDN-list of invalid operation data for CP2 . 255
A.3.3 IDN S-0-0022 IDN-list of invalid operation data for CP3 . 256
A.3.4 IDN S-0-0026 IDN allocation of producer RTB word container . 257
A.3.5 IDN S-0-0027 IDN allocation of consumer RTB word container . 257
A.3.6 IDN S-0-0127 CP3 transition check . 258
A.3.7 IDN S-0-0128 CP4 transition check . 259
A.3.8 IDN S-0-0144 Producer RTB word container . 260
A.3.9 IDN S-0-0145 Consumer RTB word container . 260
A.3.10 IDN S-0-0187 IDN-list of configurable data as producer . 261
A.3.11 IDN S-0-0188 IDN-list of configurable data as consumer . 261
A.3.12 IDN S-0-0328 Bit allocation of producer RTB word container . 262
A.3.13 IDN S-0-0329 Bit allocation of consumer RTB word container . 263
A.3.14 IDN S-0-0360 MDT data container A1 . 263
A.3.15 IDN S-0-0361 MDT data container B1 . 264
A.3.16 IDN S-0-0362 MDT data container A list index . 265
A.3.17 IDN S-0-0363 MDT data container B list index . 266
A.3.18 IDN S-0-0364 AT data container A1 . 267
A.3.19 IDN S-0-0365 AT data container B1 . 268
A.3.20 IDN S-0-0366 AT data container A list index . 269

---------------------- Page: 7 ----------------------
– 6 – IEC 61158-4-19:2019 © IEC 2019
A.3.21 IDN S-0-0367 AT data container B list index . 270
A.3.22 IDN S-0-0368 Data container A pointer . 271
A.3.23 IDN S-0-0369 Data container B pointer . 273
A.3.24 IDN S-0-0370 MDT data container A/B configuration list . 274
A.3.25 IDN S-0-0371 AT data container A/B configuration list . 275
A.3.26 IDN S-0-0394 List IDN . 275
A.3.27 IDN S-0-0395 List index . 276
A.3.28 IDN S-0-0396 Number of list elements . 277
A.3.29 IDN S-0-0397 List segment . 277
A.3.30 IDN S-0-0398 IDN list of configurable real-time bits as producer . 278
A.3.31 IDN S-0-0399 IDN list of con
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.