IEC 61158-6-9:2010
(Main)Industrial communication networks - Fieldbus specifications - Part 6-9: Application layer protocol specification - Type 9 elements
Industrial communication networks - Fieldbus specifications - Part 6-9: Application layer protocol specification - Type 9 elements
IEC 61158-6-9:2010(E) specifies the protocol of the Type 9 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). It defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-5:2010, and the externally visible behavior associated with their transfer. This second edition cancels and replaces the first edition published in 2007 and constitutes a technical revision. The main changes with respect to the previous edition are: corrections, in Table 32.
General Information
Relations
Standards Content (Sample)
IEC 61158-6-9 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-9: Application layer protocol specification – Type 9 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: inmail@iec.ch
Web: www.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: www.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: www.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: www.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: www.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: csc@iec.ch
Tel.: +41 22 919 02 11
Fax: +41 22 919 03 00
IEC 61158-6-9 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-9: Application layer protocol specification – Type 9 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XD
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-127-4
– 2 – 61158-6-9 © IEC:2010(E)
CONTENTS
FOREWORD.5
INTRODUCTION.7
1 Scope.8
1.1 General .8
1.2 Specifications.8
1.3 Conformance.9
2 Normative references .9
3 Terms, definitions, symbols, abbreviations and conventions .9
3.1 Terms and definitions from other ISO/IEC standards .9
3.2 IEC/TR 61158-1 terms.10
3.3 Abbreviations and symbols.14
3.4 Conventions .15
3.5 Conventions used in state machines .15
4 Abstract syntax.16
4.1 FAL-AR PDU abstract syntax .16
4.2 Abstract syntax of PDUBody.19
4.3 Type definitions for ASEs .22
4.4 Abstract syntax of data types .27
5 Transfer syntax .28
5.1.1 General .28
5.1.2 Coding rules.28
5.1.3 Structure of the identification information .29
6 Structure of FAL protocol state machines .38
7 AP-Context state machines .40
7.1 VCR PM structure .40
7.2 VCR PM state machine .40
8 FAL service protocol machine (FSPM).52
8.1 General .52
8.2 FSPM state tables .52
8.3 Functions used by FSPM.55
8.4 Parameters of FSPM/ARPM primitives .55
9 Application relationship protocol machines (ARPMs) .55
9.1 AREP mapping to data-link layer .55
9.2 Application relationship protocol machines (ARPMs) .65
9.3 AREP state machine primitive definitions .81
9.4 AREP state machine functions .83
10 DLL mapping protocol machine (DMPM).84
10.1 DMPM States .84
10.2 DMPM state table.84
10.3 Primitives exchanged between data-link layer and DMPM .91
10.4 Functions used by DMPM.94
Bibliography.96
Figure 1 – Insertion of identification information in the FMS PDU.28
Figure 2 – Identification .29
61158-6-9 © IEC:2010(E) – 3 –
Figure 3 – Coding with identification .30
Figure 4 – Coding without identification .30
Figure 5 – Representation of the value true .30
Figure 6 – Representation of the value false .31
Figure 7 – Coding of data of data type Integer16 .31
Figure 8 – Coding of data of data type Unsigned16.32
Figure 9 – Coding of data of data type Floating Point.32
Figure 10 – Coding of data of data type Visible String.33
Figure 11 – Coding of data of data type Octet String.33
Figure 12 – Coding of data of type Date.34
Figure 13 – Coding of data of data type Time-of-day.35
Figure 14 – Coding of data of data type Time-difference .35
Figure 15 – Coding of data of data type Bit String .36
Figure 16 – Coding of data of data type Time-value .36
Figure 17 – Coding of data of user data definitions with identifier.37
Figure 18 – Coding of data of user data definitions without identifier.37
Figure 19 – Coding of ID info for a SEQUENCE .37
Figure 20 – Relationships among protocol machines and adjacent layers .39
Figure 21 – Relationships among protocol machines and adjacent layers .40
Figure 22 – VCR state machine .41
Figure 23 – State transition diagram of FSPM.52
Figure 24 – State transition diagram of the QUU ARPM .66
Figure 25 – State transition diagram of QUB ARPM .68
Figure 26 – State transition diagram of the BNU ARPM .76
Figure 27 – State transition diagram of DMPM .84
Table 1 – Conventions used for state machines .15
Table 2 – Coding for Date type .34
Table 3 – AP-VCR state machine transactions .42
Table 4 – Primitives issued by FAL-User to VCR PM .50
Table 5 – Primitives issued by VCR PM to FAL-User .51
Table 6 – Primitives issued by VCR PM to FSPM.51
Table 7 – Primitives issued by FSPM to VCR PM.52
Table 8 – FSPM state table – sender transactions .53
Table 9 – FSPM state table – receiver transactions .54
Table 10 – Function SelectArep().55
Table 11 – Parameters used with primitives exchanged between FSPM and ARPM .55
Table 12 – QUU ARPM states.66
Table 13 – QUU ARPM state table – sender transactions .66
Table 14 – QUU ARPM state table – receiver transactions.67
Table 15 – QUB ARPM states .68
Table 16 – QUB ARPM state table – sender transactions.69
Table 17 – QUB ARPM state table – receiver transactions.70
– 4 – 61158-6-9 © IEC:2010(E)
Table 18 – BNU ARPM states .76
Table 19 – BNU ARPM state table – sender transactions.77
Table 20 – BNU ARPM state table – receiver transactions .78
Table 21 – Primitives issued from ARPM to DMPM .81
Table 22 – Primitives issued by DMPM to ARPM .81
Table 23 – Parameters used with primitives exchanged between ARPM and DMPM .82
Table 24 – Function GetArepId().83
Table 25 – Function BuildFAS-PDU .83
Table 26 – Function FAS_Pdu_Type.83
Table 27 – Function AbortIdentifier .83
Table 28 – Function AbortReason.83
Table 29 – Function AbortDetail.84
Table 30 – DMPM state descriptions.84
Table 31 – DMPM state table –
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.