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

IEC 61158-6-20:2010(E) 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). It defines the protocol provided to define the wire-representation of the service primitives defined in IEC 61158-5-20: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: revised Identify FAL PDU, see 5.3.2 and revised Read device variables with status FAL PDU, see 5.3.9.

General Information

Status
Published
Publication Date
05-Aug-2010
Technical Committee
Drafting Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
19-Aug-2014
Ref Project

Relations

Buy Standard

Standard
IEC 61158-6-20:2010 - Industrial communication networks - Fieldbus specifications - Part 6-20: Application layer protocol specification - Type 20 elements Released:8/6/2010 Isbn:9782889121342
English language
55 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC 61158-6-20 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-20: Application layer protocol specification – Type 20 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-20 ®
Edition 2.0 2010-08
INTERNATIONAL
STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-20: Application layer protocol specification – Type 20 elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XA
ICS 25.04.40; 35.100.70; 35.110 ISBN 978-2-88912-134-2
– 2 – 61158-6-20 © 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 .10
3.1 Terms and definitions from other ISO/IEC standards .10
3.2 IEC/TR 61158-1 terms.10
3.3 Type 20 fieldbus application-layer specific definitions.13
3.4 Abbreviations and symbols.15
3.5 Conventions .16
3.6 Conventions used in state machines .16
4 Abstract syntax.17
5 Transfer syntax .17
5.1 General .17
5.2 Common APDU structure .18
5.3 Service-specific APDU structures .20
5.4 Data coding rules .35
6 Structure of FAL protocol state machines .41
7 AP-context state machines .42
8 FAL service protocol machine (FSPM).42
8.1 General .42
8.2 FSPM state tables .43
8.3 Functions used by FSPM.48
8.4 Parameters of FSPM/ARPM primitives .48
9 Application relationship protocol machines (ARPMs) .49
9.1 AREP mapping to data link layer .49
9.2 Application relationship protocol machines (ARPMs) .50
9.3 AREP state machine primitive definitions .52
9.4 AREP state machine functions .52
10 DLL mapping protocol machine (DMPM).52
10.1 DMPM states.52
10.2 DMPM state machines.53
10.3 Primitives exchanged between data link layer and DMPM .53
10.4 Functions used by DMPM.54
Bibliography.55

Figure 1 – APDU format.18
Figure 2 – Normal response from slave to master .18
Figure 3 – Command error response from slave to master .19
Figure 4 – Communication error response from slave to master.20
Figure 5 – Coding without identification .36
Figure 6 – Coding of Integer type data .36

61158-6-20 © IEC:2010(E) – 3 –
Figure 7 – Coding of Integer16 type data .36
Figure 8 – Coding of Unsigned type data .36
Figure 9 – Coding of Unsigned16 type data .36
Figure 10 – Coding of single precision Floating Point type data .37
Figure 11 – Coding of double precision Floating Point type data .38
Figure 12 – Coding of Date type data.38
Figure 13 – Relationships among protocol machines and adjacent layers .42
Figure 14 – State transition diagram of FSPM.43
Figure 15 – State transition diagram of the client ARPM .50
Figure 16 – State transition diagram of the server ARPM .51
Figure 17 – State transition diagram of DMPM .53

Table 1 – Conventions used for state machines .16
Table 2 – Response code values .19
Table 3 – Device status values .19
Table 4 – Response code values .20
Table 5 – Communication error codes.20
Table 6 – Identify request APDU.21
Table 7 – Identify response value field.22
Table 8 – Identify command specific response codes.22
Table 9 – Read primary variable response value field .23
Table 10 – Read primary variable command specific response codes .23
Table 11 – Read loop current and percent of range value field.23
Table 12 – Read loop current and percent of range command specific response codes .24
Table 13 – Read dynamic variables and loop current value field .24
Table 14 – Read dynamic variables and loop current command specific response
codes.24
Table 15 – Write polling address value field.25
Table 16 – Loop current mode codes .25
Table 17 – Write polling address command specific response codes.25
Table 18 – Read loop configuration value field.26
Table 19 – Read loop configuration command specific response codes .26
Table 20 – Read dynamic variable families classifications value field.26
Table 21 – Read dynamic variable families classifications command specific response
codes.27
Table 22 – Read device variables with status request value field .27
Table 23 – Read device variables with status value field.27
Table 24 – Variable status values .29
Table 25 – Read device variables with status command specific response codes .29
Table 26 – Read message response value field .30
Table 27 – Read message command specific response codes .30
Table 28 – Read tag, descriptor, date response value field .30
Table 29 – Read tag, descriptor, date command specific response codes .30
Table 30 – Read primary variable transducer information response value field.31

– 4 – 61158-6-20 © IEC:2010(E)
Table 31 – Read primary variable transducer information command specific response
codes.31
Table 32 – Read device information response value field.32
Table 33 – Read device information command specific response codes.32
Table 34 – Read final assembly number response value field .32
Table 35 – Read final assembly number command specific response codes .33
Table 36 – Write message value field .33
Table 37 – Write message command specific response codes .33
Table 38 – Write tag, descriptor, date value field .33
Table 39 – Write tag, descriptor, date command specific response codes .34
Table 40 – Write final assembly number value field.34
Table 41 – Write final assembly number command specific response codes .34
Table 42 – Read long tag response value field.35
Table 43 – Read long tag command-specific response codes .35
Table 44 – Writ
...

Questions, Comments and Discussion

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