SIST EN 61158-6-20:2015
(Main)Industrial communication networks - Fieldbus specifications - Part 6-20: Application layer protocol specification - Type 20 elements (IEC 61158-6-20:2014)
Industrial communication networks - Fieldbus specifications - Part 6-20: Application layer protocol specification - Type 20 elements (IEC 61158-6-20:2014)
IEC 61158-6-20:2014 defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-20, and define the externally visible behavior associated with their transfer. This standard specifies the protocol of the Type 20 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545). This third edition cancels and replaces the second edition published in 2010 and constitutes a technical revision. The main changes are:
- added protocol for new services that are added to IEC 61158-5-20;
- added normative annexes;
- updated then references, terms, definitions, symbols, abbreviations;
- corrected the editorial errors and the text.
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-20: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 20-Elemente (IEC 61158-6-20:2014)
Réseaux de communication industriels - Spécifications des bus de terrain - Partie 6-20: Spécification du protocole de la couche application - Eléments de type 20 (CEI 61158-6-20:2014)
L'IEC 61158-6-20:2014 décrit le protocole mis en place pour définir la représentation filaire des primitives de service définies dans la CEI 61158-5-20 et définir le comportement visible de l'extérieur associé à leur transfert. La présente norme spécifie le protocole de la couche application de bus de terrain de Type 20, en conformité avec le modèle de référence de base OSI (ISO/CEI 7498-1) et la structure de la couche application OSI (ISO/CEI 9545). Cette troisième édition annule et remplace la deuxième édition parue en 2010. Elle constitue une révision technique. Les principales modifications sont:
- ajout d'un protocole pour les nouveaux services ajoutés à la CEI 61158-5-20;
- ajout d'annexes normatives;
- mise à jour des références normatives, termes, définitions, symboles, abréviations;
- correction des erreurs rédactionnelles et syntaxiques.
Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-20. del: Specifikacija protokola na aplikacijski ravni - Elementi tipa 20 (IEC 61158-6-20:2014)
Namen standarda IEC 61158-6-20:2014 je opredeliti protokol za določitev žične predstavitve primitivov opravil iz standarda IEC 61158-5-20 in določitev zunanje vidnega vedenja, povezanega z njihovim prenosom. Ta standard določa protokol aplikacijskega nivoja procesnih vodil tipa 20 v skladu z osnovnim referenčnim modelom OSI (ISO/IEC 7498-1) in strukturo aplikacijskega nivoja OSI (ISO/IEC 9545). Ta tretja izdaja razveljavlja in nadomešča drugo izdajo, objavljeno leta 2010, in predstavlja tehnično popravljeno izdajo. Glavne spremembe so:
– dodan protokol za nova opravila, dodana v IEC 61158-5-20;
– dodane normativne priloge;
– posodobljene reference, izrazi, definicije, simboli, kratice;
– popravljene redakcijske napake in besedilo.
General Information
Relations
Standards Content (Sample)
2003-01.Slovenski inštitut za standardizacijo. Razmnoževanje celote ali delov tega standarda ni dovoljeno.Industrijska komunikacijska omrežja - Specifikacije za procesna vodila - 6-20. del: Specifikacija protokola na aplikacijski ravni - Elementi tipa 20 (IEC 61158-6-20:2014)Industrielle Kommunikationsnetze - Feldbusse - Teil 6-20: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 20-Elemente (IEC 61158-6-20:2014)Réseaux de communication industriels -
Spécifications des bus de terrain - Partie 6-20: Spécification du protocole de la couche application - Eléments de type 20 (CEI 61158-6-20:2014)Industrial communication networks - Fieldbus specifications - Part 6-20: Application layer protocol specification - Type 20 elements (IEC 61158-6-20:2014)35.110OmreževanjeNetworking35.100.70Uporabniški slojApplication layer25.040.40Merjenje in krmiljenje industrijskih postopkovIndustrial process measurement and controlICS:Ta slovenski standard je istoveten z:EN 61158-6-20:2014SIST EN 61158-6-20:2015en,fr,de01-marec-2015SIST EN 61158-6-20:2015SLOVENSKI
STANDARDSIST EN 61158-6-20:20121DGRPHãþD
SIST EN 61158-6-20:2015
EUROPEAN STANDARD NORME EUROPÉENNE EUROPÄISCHE NORM
EN 61158-6-20
October 2014 ICS 25.040.40; 35.100.70; 35.110
Supersedes
EN 61158-6-20:2012
English Version
Industrial communication networks - Fieldbus specifications - Part 6-20: Application layer protocol specification - Type 20 elements (IEC 61158-6-20:2014)
Réseaux de communication industriels -
Spécifications des bus de terrain - Partie 6-20: Spécification du protocole de la couche application - Eléments de type 20 (CEI 61158-6-20:2014)
Industrielle Kommunikationsnetze - Feldbusse - Teil 6-20: Protokollspezifikation des Application Layer (Anwendungsschicht) - Typ 20-Elemente (IEC 61158-6-20:2014) This European Standard was approved by CENELEC on 2014-09-23. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the CEN-CENELEC Management Centre or to any CENELEC member.
This European Standard exists in three official versions (English, French, German). A version in any other language made by translation under the responsibility of a CENELEC member into its own language and notified to the CEN-CENELEC Management Centre has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, Bulgaria, Croatia, Cyprus, the Czech Republic, Denmark, Estonia, Finland, Former Yugoslav Republic of Macedonia, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, the Netherlands, Norway, Poland, Portugal, Romania, Slovakia, Slovenia, Spain, Sweden, Switzerland, Turkey and the United Kingdom. European Committee for Electrotechnical Standardization
Comité Européen de Normalisation Electrotechnique Europäisches Komitee für Elektrotechnische Normung CEN-CENELEC Management Centre: Avenue Marnix 17,
B-1000 Brussels © 2014 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC Members.
Ref. No. EN 61158-6-20:2014 E SIST EN 61158-6-20:2015
EN 61158-6-20:2014 - 2 - Foreword The text of document 65C/764/FDIS, future edition 3 of IEC 61158-6-20, prepared by SC 65C "Industrial networks" of IEC/TC 65 "Industrial-process measurement, control and automation" was submitted to the IEC-CENELEC parallel vote and approved by CENELEC as EN 61158-6-20:2014. The following dates are fixed: • latest date by which the document has to be implemented at national level by publication of an identical national standard or by endorsement (dop) 2015-06-23 • latest date by which the national standards conflicting with the document have to be withdrawn (dow) 2017-09-23
This document supersedes EN 61158-6-20:2012.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CENELEC [and/or CEN] shall not be held responsible for identifying any or all such patent rights. This document has been prepared under a mandate given to CENELEC by the European Commission and the European Free Trade Association. Endorsement notice The text of the International Standard IEC 61158-6-20:2014 was approved by CENELEC as a European Standard without any modification. In the official version, for Bibliography, the following notes have to be added for the standards indicated: IEC 61784-1 NOTE Harmonized as EN 61784-1. IEC 61784-2 NOTE Harmonized as EN 61784-2. SIST EN 61158-6-20:2015
- 3 - EN 61158-6-20:2014 Annex ZA (normative)
Normative references to international publications with their corresponding European publications The following documents, in whole or in part, are normatively referenced in this document and are indispensable for its application. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. NOTE 1 When an International Publication has been modified by common modifications, indicated by (mod), the relevant EN/HD applies. NOTE 2 Up-to-date information on the latest versions of the European Standards listed in this annex is available here: www.cenelec.eu.
Publication Year Title EN/HD Year IEC 61158-1 2014
Industrial communication networks - Fieldbus specifications - Part 1: Overview and guidance for the IEC 61158 and IEC 61784 series EN 61158-1 2014
IEC 61158-5-20 2014
Industrial communication networks - Fieldbus specifications - Part 5-20: Application layer service definition - Type 20 elements EN 61158-5-20 2014 IEC 62591 2010
Industrial communication networks - Wireless communication network and communication profiles - WirelessHART™ EN 62591 2010
ISO/IEC 7498-1 -
Information technology - Open Systems Interconnection - Basic reference model: The basic model - -
ISO/IEC 8824-1 -
Information technology - Abstract Syntax Notation One (ASN.1): Specification of basic notation - -
ISO/IEC 8859-1 -
Information technology - 8-bit single-byte coded graphic character sets - Part-1: Latin alphabet No. 1 - -
ISO/IEC 9545 -
Information technology - Open Systems Interconnection - Application layer structure - -
ISO/IEC/IEEE 60559 -
Information technology - Microprocessor Systems - Floating-Point arithmetic - -
IEEE 802.15.4 -
IEEE Standard for Local and metropolitan area networks - Part 15.4: Low-Rate Wireless Personal Area Networks (LR-WPANs) - -
SIST EN 61158-6-20:2015
SIST EN 61158-6-20:2015
IEC 61158-6-20 Edition 3.0 2014-08 INTERNATIONAL STANDARD NORME INTERNATIONALE Industrial communication networks – Fieldbus specifications –
Part 6-20: Application layer protocol specification – Type 20 elements
Réseaux de communication industriels – Spécifications des bus de terrain –
Partie 6-20: Spécification du protocole de la couche application – Eléments
de type 20
INTERNATIONAL ELECTROTECHNICAL COMMISSION COMMISSION ELECTROTECHNIQUE INTERNATIONALE XC ICS 25.040.40; 35.100.70; 35.110 PRICE CODE CODE PRIX ISBN 978-2-8322-1766-5
® Registered trademark of the International Electrotechnical Commission
Marque déposée de la Commission Electrotechnique Internationale ®
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éé. SIST EN 61158-6-20:2015 colourinside
– 2 – IEC 61158-6-20:2014 © IEC 2014 CONTENTS FOREWORD . 7 INTRODUCTION . 9 1 Scope . 10 2 Normative references . 10 3 Terms, definitions, symbols, abbreviations and conventions . 11 3.1 Terms and definitions from other ISO/IEC standards . 11 3.2 IEC 61158-1 terms . 12 3.3 Type 20 fieldbus application-layer specific definitions . 14 3.4 Abbreviations and symbols . 17 3.5 Conventions . 18 3.6 Conventions used in state machines . 18 4 Abstract syntax . 20 5 Transfer syntax . 20 5.1 Common APDU fields . 20 5.2 Common APDU structure . 22 5.3 Device application service-specific APDU structures . 24 5.4 Data coding rules . 51 6 Common procedures . 56 6.1 Delayed response . 56 6.2 Publish mode procedure . 56 7 FAL protocol state machines . 56 7.1 General . 56 7.2 AREP mapping to data link layer . 57 7.3 Client ARPM . 58 7.4 Server ARPM . 60 7.5 Functions used by FAL state machines . 61 Annex A (normative)
Application process status . 63 A.1 General . 63 A.2 Device malfunction . 63 A.3 Configuration changed . 63 A.4 Cold start . 64 A.5 More status available . 64 A.6 Loop current fixed . 64 A.7 Loop current saturated . 64 A.8 Non-primary variable out of limits . 65 A.9 Primary variable out of limits . 65 Annex B (normative)
Device and dynamic variable . 66 B.1 Device variable . 66 B.2 Dynamic variable . 66 B.3 Primary variable . 67 B.4 Device variable classification . 68 B.5 Device families . 68 B.6 Device variable status . 68 Annex C (normative)
Common tables . 70 C.1 Overview . 70 SIST EN 61158-6-20:2015
IEC 61158-6-20:2014 © IEC 2014 – 3 – C.1.1 General . 70 C.1.2 Enumeration . 70 C.1.3 Bit Field . 70 C.2 Table definitions . 70 C.2.1 Publish mode control codes . 70 C.2.2 Write device variable codes . 70 C.2.3 Device variable family codes . 70 C.2.4 Device variable classification codes . 70 C.2.5 Analog channel saturated codes . 70 C.2.6 Analog channel fixed codes . 70 C.2.7 Standardized status 0 codes . 71 C.2.8 Standardized status 1 codes . 71 C.2.9 Standardized status 2 codes . 71 C.2.10 Standardized status 3 codes . 71 C.2.11 Publish trigger mode codes . 71 C.2.12 Transfer function codes . 71 C.2.13 Alarm Selection Codes . 71 C.2.14 Write Protect Codes. 72 C.2.15 Physical layer signalling codes . 72 C.2.16 Flag Assignment codes . 72 C.2.17 Loop current mode codes . 73 C.2.18 Trim point codes . 73 C.2.19 Analog channel flag codes . 73 C.2.20 Device variable codes . 73 C.2.21 Device profile codes . 74 Annex D (normative)
Command requirements . 75 D.1 General . 75 D.2 Stateless request and response. 75 D.3 Read command . 75 D.4 Write command . 75 D.5 Action command . 75 D.6 Indexed command . 76 D.7 Multi-transaction command . 76 Bibliography . 77
Figure 1 – Request APDU . 22 Figure 2 – Normal response APDU . 22 Figure 3 – Command error response from slave to master . 23 Figure 4 – Aggregated command APDU . 24 Figure 5 – Coding without identification. 51 Figure 6 – Coding of Integer type data . 51 Figure 7 – Coding of Integer16 type data . 52 Figure 8 – Coding of Unsigned type data . 52 Figure 9 – Coding of Unsigned16 type data . 52 Figure 10 – Coding of single precision Floating Point type data . 52 Figure 11 – Coding of double precision Floating Point type data . 53 Figure 12 – Coding of Date type data . 53 SIST EN 61158-6-20:2015
– 4 – IEC 61158-6-20:2014 © IEC 2014 Figure 13 – Client state machine . 58 Figure 14 – Server state machine . 60 Figure A.1 – Loop current saturation and alarm levels . 65 Figure B.1 – Device and Dynamic variables . 66 Figure B.2 – Primary variable domains . 67 Figure B.3 – Device variable status . 69
Table 1 – Conventions used for state machines . 19 Table 2 – Response code values . 20 Table 3 – Application process status values . 21 Table 4 – Extended status values . 21 Table 5 – Identify request APDU . 24 Table 6 – Identify response value field . 25 Table 7 – Identify command specific response codes . 25 Table 8 – Read primary variable response value field . 26 Table 9 – Read primary variable command specific response codes . 26 Table 10 – Read loop current and percent of range value field . 26 Table 11 – Read loop current and percent of range command specific response codes . 27 Table 12 – Read dynamic variables and loop current value field . 27 Table 13 – Read dynamic variables and loop current command specific response codes . 27 Table 14 – Write loop configuration value field . 28 Table 15 – Write loop configuration command specific response codes . 28 Table 16 – Read loop configuration value field . 29 Table 17 – Read loop configuration command specific response codes . 29 Table 18 – Read dynamic variable families classifications value field . 29 Table 19 – Read dynamic variable families classifications command specific response codes . 29 Table 20 – Read device variables with status request value field . 30 Table 21 – Read device variables with status value field . 30 Table 22 – Read device variables with status command specific response codes. 31 Table 23 – Read message response value field . 32 Table 24 – Read message command specific response codes . 32 Table 25 – Read tag, descriptor, date response value field . 33 Table 26 – Read tag, descriptor, date command specific response codes . 33 Table 27 – Read primary variable transducer information response value field . 33 Table 28 – Read primary variable transducer information command specific response codes . 34 Table 29 – Read device information response value field . 34 Table 30 – Read device information command specific response codes . 35 Table 31 – Read final assembly number response value field . 35 Table 32 – Read final assembly number command specific response codes . 35 Table 33 – Write message value field . 35 Table 34 – Write message command specific response codes . 36 SIST EN 61158-6-20:2015
IEC 61158-6-20:2014 © IEC 2014 – 5 – Table 35 – Write tag, descriptor, date value field . 36 Table 36 – Write tag, descriptor, date command specific response codes . 36 Table 37 – Write final assembly number value field . 37 Table 38 – Write final assembly number command specific response codes . 37 Table 39 – Read long tag response value field . 37 Table 40 – Read long tag command-specific response codes . 37 Table 41 – Write long tag value field . 38 Table 42 – Write long tag command specific Response codes . 38 Table 43 – Write primary variable range value field . 39 Table 44 – Write primary variable range command specific response codes . 39 Table 45 – Enter-exit fixed current mode request value field . 40 Table 46 – Enter-exit fixed current mode response value field. 40 Table 47 – Enter-exit fixed current mode command specific response codes . 40 Table 48 – Write primary variable unit value field . 41 Table 49 – Write primary variable unit command specific response codes . 41 Table 50 – Trim loop current zero request value field . 41 Table 51 – Trim loop current zero command specific response codes . 41 Table 52 – Trim loop current gain request value field . 42 Table 53 – Trim loop current gain command specific response codes . 42 Table 54 – Read dynamic variable assignment response value field . 43 Table 55 – Read dynamic variable assignment command specific response codes . 43 Table 56 – Write dynamic variable assignment value field . 44 Table 57 – Write dynamic variable assignment command specific response codes . 44 Table 58 – Write number of response preambles value field. 45 Table 59 – Write number of response preambles command specific response codes . 45 Table 60 – Read device variable trim points request value field . 45 Table 61 – Read device variable trim points response value field . 46 Table 62 – Read device variable trim points command specific response codes . 46 Table 63 – Read device variable trim guidelines request value field . 46 Table 64 – Read device variable trim guidelines response value field . 46 Table 65 – Read device variable trim points command specific response codes . 47 Table 66 – Write device variable trim point value field . 47 Table 67 – Write device variable trim point command specific response codes . 48 Table 68 – Reset device variable trim value field . 48 Table 69 – Reset device variable trim command specific response codes . 49 Table 70 – Aggregated command specific response codes . 50 Table 71 – Coding for Date type . 53 Table 72 – Coding for one octet Enumerated Type . 54 Table 73 – One octet bit field . 54 Table 74 – Packed ASCII character set . 55 Table 75 – Acceptable subset of ISO Latin-1 characters . 56 Table 76 – Client machine state transitions . 59 Table 77 – Server machine state transitions . 61 SIST EN 61158-6-20:2015
– 6 – IEC 61158-6-20:2014 © IEC 2014 Table 78 – Function FormReqApdu . 61 Table 79 – Function Command . 61 Table 80 – Function CommErr. 61 Table 81 – Function RespCode . 62 Table 82 – Function Commcode . 62 Table 83 – Function ApStatus . 62 Table 84 – Function Value . 62 Table A.1 – Commands that cause configuration change . 63 Table C.1 – Transfer function codes . 71 Table C.2 – Alarm Selection codes . 72 Table C.3 – Write Protect codes . 72 Table C.4 – Physical layer signalling codes . 72 Table C.5 – Flag Assignment codes .
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.