Industrial communication networks - Fieldbus specifications - Part 6-20: Application layer protocol specification - Type 20 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
06-Aug-2010
Ref Project

Relations

Buy Standard

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

Standards Content (Sample)


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

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XA
ICS 35.100.70; 25.040.40 ISBN 2-8318-9500-6

– 2 – 61158-6-20 © IEC:2007(E)

CONTENTS
FOREWORD.5

INTRODUCTION.7

1 Scope.8

1.1 General .8

1.2 Specifications .8

1.3 Conformance.8

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 .40
7 AP-context state machines .41
8 FAL service protocol machine (FSPM) .41
8.1 General .41
8.2 FSPM state tables .42
8.3 Functions used by FSPM.47
8.4 Parameters of FSPM/ARPM primitives.47
9 Application relationship protocol machines (ARPMs) .48
9.1 AREP mapping to data link layer .48
9.2 Application relationship protocol machines (ARPMs) .49
9.3 AREP state machine primitive definitions.51
9.4 AREP state machine functions.51

10 DLL mapping protocol machine (DMPM) .51
10.1 DMPM states.51
10.2 DMPM state machines.52
10.3 Primitives exchanged between data link layer and DMPM.52
10.4 Functions used by DMPM .53
Bibliography.54

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.35
Figure 6 – Coding of Integer type data .35

61158-6-20 © IEC:2007(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 .36

Figure 11 – Coding of double precision Floating Point type data .37

Figure 12 – Coding of Date type data.37

Figure 13 – Relationships among protocol machines and adjacent layers .41

Figure 14 – State transition diagram of FSPM .42

Figure 15 – State transition diagram of the client ARPM .49
Figure 16 – State transition diagram of the server ARPM .50
Figure 17 – State transition diagram of DMPM .52

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 command specific response codes.27
Table 24 – Read device variables with status value field.28
Table 25 – Variable status values .28
Table 26 – Read message response value field .29
Table 27 – Read message command specific response codes .29
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.30

– 4 – 61158-6-20 © IEC:2007(E)

Table 31 – Read primary variable transducer information command specific response

codes.31

Table 32 – Read device information response value field.31

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 .32

Table 36 – Write message value field.32

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 .33
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.34
Table 43 – Read long tag command-specific response 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.