|
IEC 61158-6-3
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-3: Application layer protocol specification – Type 3 elements
your local IEC member National Committee for further information.
IEC Central Office Tel.: +41 22 919 02 11
3, rue de
CH-1211 Geneva 20
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
.
IEC 61158-6-3
Edition 4.0 2019-06
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-3: Application layer protocol specification – Type 3 elements
INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
ICS 25.040.40; 35.100.70; 35.110 ISBN 978-2-8322-7008-0
– 2 – IEC 61158-6-3:2019 © IEC 2019
CONTENTS
FOREWORD . 14
INTRODUCTION . 16
1 Scope . 17
1.1 General . 17
1.2 Specifications . 18
1.3 Conformance . 18
2 Normative references . 18
3 Terms, definitions, abbreviations, symbols and conventions . 19
3.1 Referenced terms and definitions . 19
3.1.1 ISO/IEC 7498-1 terms . 19
3.1.2 ISO/IEC 8822 terms . 19
3.1.3 ISO/IEC 9545 terms . 19
3.1.4 ISO/IEC 8824-1 terms . 20
3.1.5 Fieldbus Data Link Layer terms . 20
3.2 Additional definitions . 20
3.3 Abbreviations and symbols . 23
3.4 Conventions . 25
3.4.1 General concept . 25
3.4.2 Abstract syntax conventions . 25
3.4.3 Convention for the encoding of reserved bits and octets . 26
3.4.4 Conventions for the common coding s of specific field octets . 26
3.5 Conventions used in state machines . 27
3.5.1 State machine conventions . 27
4 FAL syntax description . 29
4.1 APDU abstract syntax . 29
4.2 Data types . 34
4.2.1 Notation for the Boolean type . 34
4.2.2 Notation for the Integer type . 34
4.2.3 Notation for the Unsigned type . 34
4.2.4 Notation for the Floating Point type . 35
4.2.5 Notation for the OctetString type . 35
4.2.6 Notation for VisibleString type . 35
4.2.7 Notation for BinaryDate type . 35
4.2.8 Notation for TimeOfDay type . 35
4.2.9 Notation for TimeDifference type . 35
4.2.10 Notation for Network Time type . 35
4.2.11 Notation for Network Time Difference type . 35
5 Transfer syntax . 35
5.1 Coding of basic data types . 35
5.1.1 Encoding of a Boolean value . 35
5.1.2 Encoding of an Integer value . 36
5.1.3 Encoding of an Unsigned value . 36
5.1.4 Encoding of a Floating-Point value . 36
5.1.5 Encoding of a Visible String value. 36
5.1.6 Encoding of an Octet String value . 36
5.1.7 Encoding of a BinaryDate value . 36
5.1.8 Encoding of a TimeOfDay with and without date indication value . 36
5.1.9 Encoding of a Time Difference with and without date indication value . 37
5.1.10 Encoding of a Network Time value . 37
5.1.11 Encoding of a Network Time Difference value . 37
5.1.12 Encoding of a Null value . 37
5.2 Coding section related to data exchange PDUs . 37
5.2.1 General . 37
5.2.2 Coding of the field Outp_Data . 37
5.2.3 Coding of the field Inp_Data . 37
5.3 Coding section related to slave diagnosis PDUs . 37
5.3.1 Coding of the field Station_status_1 . 37
5.3.2 Coding of the field Station_status_2 . 38
5.3.3 Coding of the field Station_status_3 . 39
5.3.4 Coding of the field Diag_Master_Add . 39
5.3.5 Coding of the field Ident_Number. 39
5.3.6 Coding of the field Header_Octet . 39
5.3.7 Coding of the field Alarm_Type . 40
5.3.8 Coding of the field Status_Type . 41
5.3.9 Coding of the field Slot_Number . 41
5.3.10 Coding of the field Alarm_Specifier . 41
5.3.11 Coding of the field Status_Specifier . 42
5.3.12 Coding of the field Diagnosis_User_Data . 43
5.3.13 Coding of the field Modul_Status_Array . 43
5.3.14 Coding of the field Identifier_Diagnosis_Data_Array . 44
5.3.15 Coding of the field Identifier_Number . 45
5.3.16 Coding of the field Channel_Number . 45
5.3.17 Coding of the field Type_of_Diagnosis . 46
5.3.18 Coding of the field Revision_Number . 46
5.3.19 Coding of the field Publisher_Address . 47
5.3.20 Coding of the field Publisher_Status . 47
5.3.21 Coding of the field RedSpecifier . 47
5.3.22 Coding of the field Function . 47
5.3.23 Coding of the field Red_Status1 . 48
5.3.24 Coding of the field Red_Status2 . 48
5.3.25 Coding of the field Red_Status3 . 49
5.4 Coding section related to parameterization PDU . 49
5.4.1 Coding of the field Station_status . 49
5.4.2 Coding of the field WD_Fact_1 . 50
5.4.3 Coding of the field WD_Fact_2 . 50
5.4.4 Coding of the field min_T . 50
SDR
5.4.5 Coding of the field Group_Ident . 50
5.4.6 Coding of the field User_Prm_Data_Element . 51
5.4.7 Coding of the field DPV1_Status_1 . 51
5.4.8 Coding of the field DPV1_Status_2 . 52
5.4.9 Coding of the field DPV1_Status_3 . 52
5.4.10 Coding of the field Structure_Length . 53
5.4.11 Coding of the field Structure_Type . 53
5.4.12 Coding of the field Version . 53
5.4.13 Coding of the field Publisher_Addr . 54
– 4 – IEC 61158-6-3:2019 © IEC 2019
5.4.14 Coding of the field Publisher_Length . 54
5.4.15 Coding of the field Sample_Offset . 54
5.4.16 Coding of the field Sample_Length . 54
5.4.17 Coding of the Dest_Slot_Number . 54
5.4.18 Coding of the Offset_Data_Area . 54
5.4.19 Coding of the field T . 54
BASE_DP
5.4.20 Coding of the fie
...