Industrial communication networks - Fieldbus specifications - Part 6-2: Application layer protocol specification - Type 2 elements

It provides user programs with a means to access the fieldbus communication environment. In this respect, the FAL can be viewed as a "window between corresponding application programs." This standard provides common elements for basic time-critical and non-time-critical messaging communications between application programs in an automation environment and material specific to Type 2 fieldbus. The term "time-critical" is used to represent the presence of a time-window, within which one or more specified actions are required to be completed with some defined level of certainty. Failure to complete specified actions within the time window risks failure of the applications requesting the actions, with attendant risk to equipment, plant and possibly human life. It includes the following significant changes from the previous edition deletion of the former Type 6 fieldbus for lack of market relevance; addition of new types of fieldbuses; partition of part 6 of the third edition into multiple parts numbered.

General Information

Status
Published
Publication Date
13-Dec-2007
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
01-Sep-2010
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-2:2007 - Industrial communication networks - Fieldbus specifications - Part 6-2: Application layer protocol specification - Type 2 elements Released:12/14/2007 Isbn:2831894743
English language
251 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-2
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-2: Application layer protocol specification – Type 2 elements

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
3, rue de Varembé
CH-1211 Geneva 20
Switzerland
Email: 0Hinmail@iec.ch
Web: 1Hwww.iec.ch
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 corrigenda or an amendment might have been published.
ƒ Catalogue of IEC publications: 2Hwww.iec.ch/searchpub
The IEC on-line Catalogue enables you to search by a variety of criteria (reference number, text, technical committee,…).
It also gives information on projects, withdrawn and replaced publications.
ƒ IEC Just Published: 3Hwww.iec.ch/online_news/justpub
Stay up to date on all new IEC publications. Just Published details twice a month all new publications released. Available
on-line and also by email.
ƒ Electropedia: 4Hwww.electropedia.org
The world's leading online dictionary of electronic and electrical terms containing more than 20 000 terms and definitions
in English and French, with equivalent terms in additional languages. Also known as the International Electrotechnical
Vocabulary online.
ƒ Customer Service Centre: 5Hwww.iec.ch/webstore/custserv
If you wish to give us your feedback on this publication or need further assistance, please visit the Customer Service
Centre FAQ or contact us:
Email: 6Hcsc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-6-2
Edition 1.0 2007-12
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-2: Application layer protocol specification – Type 2 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XH
ICS 35.100.70; 25.040.40 ISBN 2-8318-9474-3

– 2 – 61158-6-2 © IEC:2007(E)
CONTENTS
FOREWORD.12

INTRODUCTION.14

1 Scope.15

1.1 General .15

1.2 Specifications .15

1.3 Conformance.15

2 Normative references .16

3 Terms, definitions, symbols, abbreviations and conventions .17
3.1 Terms and definitions from other ISO/IEC standards .17
3.2 Terms and definitions from IEC 61158-5-2.18
3.3 Additional terms and definitions.18
3.4 Abbreviations and symbols .24
3.5 Conventions .24
3.6 Conventions used in state machines.28
4 Abstract syntax.30
4.1 FAL PDU abstract syntax.30
4.2 Data abstract syntax specification .110
4.3 Encapsulation abstract syntax .114
5 Transfer syntax.128
5.1 Compact encoding.128
5.2 Data type reporting.136
6 Structure of FAL protocol state machines .141
7 AP-Context state machine .142
7.1 Overview .142
7.2 Connection object state machine .142
8 FAL service protocol machine (FSPM) .151
8.1 General .151
8.2 Primitive definitions .151
8.3 Parameters of primitives.155
8.4 FSPM state machines.156
9 Application relationship protocol machines (ARPMs) .157
9.1 General .157

9.2 Connection-less ARPM (UCMM).157
9.3 Connection-oriented ARPMs (transports).167
10 DLL mapping protocol machine 1 (DMPM 1) .237
10.1 General .237
10.2 Link producer .237
10.3 Link consumer .237
10.4 Primitive definitions .237
10.5 DMPM state machine .239
10.6 Data-link Layer service selection .241
11 DLL mapping protocol machine 2 (DMPM 2) .241
11.1 General .241
11.2 Mapping of UCMM PDUs .241
11.3 Mapping of transport class 0 and class 1 PDUs .246
11.4 Mapping of transport class 2 and class 3 PDU’s .248

61158-6-2 © IEC:2007(E) – 3 –
11.5 Mapping of transport classes 4 to 6 .248

11.6 IGMP Usage.248

11.7 Management of an encapsulation session .249

12 DLL mapping protocol machine 3 (DMPM 3) .250

Bibliography.251

Figure 1 – Attribute table format and terms .24

Figure 2 – Service request/response parameter .25

Figure 3 – Example of an STD .29

Figure 4 – Network connection parameters .48
Figure 5 – Time tick .50
Figure 6 – Connection establishment time-out.52
Figure 7 – Transport Class Trigger attribute.76
Figure 8 – CP2/3_initial_comm_characteristics attribute format .79
Figure 9 – Segment type.87
Figure 10 – Port segment.88
Figure 11 – Logical segment encoding .90
Figure 12 – Extended network segment .94
Figure 13 – Encapsulation message.115
Figure 14 – FixedLengthBitString compact encoding bit placement rules .132
Figure 15 – Example compact encoding of a SWORD FixedLengthBitString.133
Figure 16 – Example compact encoding of a WORD FixedLengthBitString .133
Figure 17 – Example compact encoding of a DWORD FixedLengthBitString .133
Figure 18 – Example compact encoding of a LWORD FixedLengthBitString .133
Figure 19 – Example 2 of formal encoding of a structure type specification.138
Figure 20 – Example of abbreviated encoding of a structure type specification .138
Figure 21 – Example 1 of formal encoding of an array type specification.139
Figure 22 – Example 2 of formal encoding of an array type specification.139
Figure 23 – Example 1 of abbreviated encoding of an array type specification .140
Figure 24 – Example 2 of abbreviated encoding of an array type specification .140
Figure 25 – I/O Connection object state transition diagram .142

Figure 26 –Bridged Connection object state transition diagram .146
Figure 27 – Explicit Messaging Connection object state transition diagram .148
Figure 28 – State transition diagram of UCMM client.160
Figure 29 – State transition diagram of high–end UCMM server .161
Figure 30 – State transition diagram of low–end UCMM server .164
Figure 31 – Sequence diagram for a UCMM with one outstanding message.165
Figure 32 – Sequence diagram for a UCMM with multiple outstanding messages.166
Figure 33 – TPDU buffer .167
Figure 34 – Data flow diagram using a client transport class 0 and server transport
class 0 .170
Figure 35 – Sequence diagram of data transfer using transport class 0.170
Figure 36 – Class 0 client STD.171
Figure 37 – Class 0 server STD .172

– 4 – 61158-6-2 © IEC:2007(E)
Figure 38 – Data flow diagram using client transport class 1 and server transport

class 1 .173

Figure 39 – Sequence diagram of data transfer using client transport class 1 and

server transport class 1.174

Figure 40 – Class 1 client STD.176

Figure 41 – Class 1 server STD .177

Figure 42 – Data flow diagram using client transport class 2 and server transport

class 2 .179

Figure 43 – Diagram of data transfer using client transport class 2 and server transport

class 2 without returned data .180

Figure 44 – Sequence diagram of data transfer using client transport class 2 and
server transport class 2 with returned data.
...

Questions, Comments and Discussion

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