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

IEC/PAS 61158-6-22:2009(E) 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 SNpTYPE fieldbus. It defines in an abstract way the externally visible behavior provided by the different Types of the fieldbus Application Layer in terms of:
- the abstract syntax;
- the transfer syntax;
- the application context state machine and the application relationship state machines.
The purpose of this PAS is to define the protocol provided to:
- define the wire-representation of the service primitives defined in IEC/PAS 61158 5 22;
- and define the externally visible behavior associated with their transfer. It contains an additional profile - SNpTYPE - which may be integrated into a future new edition of the IEC 61158-6 series.

General Information

Status
Replaced
Publication Date
11-Aug-2009
Technical Committee
Current Stage
DELPUB - Deleted Publication
Completion Date
06-Aug-2010
Ref Project

Relations

Buy Standard

Technical specification
IEC PAS 61158-6-22:2009 - Industrial communication networks - Fieldbus specifications - Part 6-22: Application layer protocol specification - Type SNpTYPE elements Released:8/12/2009 Isbn:9782889107971
English language
91 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


IEC/PAS 61158-6-22 ®
Edition 1.0 2009-08
PUBLICLY AVAILABLE
SPECIFICATION
PRE-STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-22: Application layer protocol specification – Type SNpTYPE elements

IEC/PAS 61158-6-22:2009(E)
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/PAS 61158-6-22 ®
Edition 1.0 2009-08
PUBLICLY AVAILABLE
SPECIFICATION
PRE-STANDARD
Industrial communication networks – Fieldbus specifications –
Part 6-22: Application layer protocol specification – Type SNpTYPE elements

INTERNATIONAL
ELECTROTECHNICAL
COMMISSION
PRICE CODE
XD
ICS 25.040.40; 35.100.70 ISBN 978-2-88910-797-1
– 2 – PAS 61158-6-22 © IEC:2009(E)

CONTENTS
FOREWORD.6

INTRODUCTION.8

1 Scope.9

1.1 General .9

1.2 Specifications.10

1.3 Conformance.10

2 Normative references .10

3 Terms, definitions, abbreviations, symbols and conventions .11
3.1 Referenced terms and definitions .11
3.1.1 ISO/IEC 7498-1 terms .11
3.1.2 ISO/IEC 8822 terms.11
3.1.3 ISO/IEC 9545 terms.11
3.1.4 ISO/IEC 8824 terms.11
3.2 Fieldbus application-layer specific definitions .11
3.3 Abbreviations and symbols.14
3.4 Conventions .17
3.4.1 General concept .17
3.4.2 Abstract syntax conventions .17
4 Application layer protocol specification .18
4.1 Operating principle .18
4.2 Device reference models .19
4.2.1 RTFL device reference model.19
4.2.2 RTFN device reference model .19
4.3 Application Layer structure .20
5 FAL syntax description .20
5.1 Introduction and coding principles .20
5.2 Data type encoding .20
5.2.1 Overview .20
5.2.2 Transfer syntax for bit sequences .21
5.2.3 Encoding of a Boolean value .21
5.2.4 TimeOfDay .21
5.2.5 TimeDifference .22

5.2.6 Encoding of floating point values .22
5.2.7 Encoding of Integer values .22
5.2.8 Encoding of Unsigned Integer values.23
5.2.9 Encoding of an OctetString value.24
5.2.10 Encoding of a VisibleString value .24
5.2.11 Encoding of an UnicodeString value .24
5.3 CeS encoding.24
5.3.1 Object dictionary .24
5.3.2 SDO .67
5.3.3 Process data write.72
5.3.4 Emergency .72
5.3.5 Heartbeat .74
5.4 Standard Ethernet frame communication .74
5.4.1 Overview .74

PAS 61158-6-22 © IEC:2009(E) – 3 –

5.4.2 Send frame request .74

5.5 Management encoding .75

5.5.1 DLL management services .75

5.5.2 Application layer management.75

6 FAL protocol state machines .75

6.1 Overview .75

6.2 Fieldbus service protocol machine (FSPM).77

6.3 Application relationship protocol machine (ARPM).77

6.4 DLL mapping protocol machine .77

7 AP-context state machine.77
8 FAL service protocol machine (FSPM).77
9 Application layer state machine (ALSM) .78
9.1 Description.78
9.2 States .80
9.2.1 Initialization (INIT) .80
9.2.2 ResetApplication (ResAP) .80
9.2.3 ResetCommunication (ResCO) .80
9.2.4 PreOperational (PreOP) .80
9.2.5 Operational (OP) .81
9.2.6 Stopped (ST) .81
9.3 Primitive definitions .81
9.3.1 FAL primitives .81
9.3.2 Primitives exchanged between DLL and ALSM .81
9.3.3 Primitives exchanged between FSPM and ALSM .81
9.4 State table.83
9.5 AL-service forwarding depending on AL-state.84
10 DLL mapping protocol machine (DMPM).84
10.1 Overview .84
10.2 Primitives exchanged between ALSM and DMPM .84
10.3 Primitives exchanged between DLL and DMPM .89
10.4 ALSM to DLL mapping.91

Figure 1 – RTFL device reference model .19
Figure 2 – RTFN device reference model.20

Figure 3 – Encoding of TimeOfDay value .21
Figure 4 – Encoding of TimeDifference value.22
Figure 5 – Object dictionary addressing schema .25
Figure 6 – Relationships among protocol machines and adjacent layers .76
Figure 7 – ALSM protocol machine .77
Figure 8 – ALSM diagram .79

Table 1 – PDU element definition.17
Table 2 – Object definition .18
Table 3 – Transfer syntax for bit sequences.21
Table 4 – Transfer syntax for Integer data type.23
Table 5 – Transfer syntax for Unsigned data type .23

– 4 – PAS 61158-6-22 © IEC:2009(E)

Table 6 – Object dictionary structure.24

Table 7 – Object dictionary object type definitions .25

Table 8 – Basic data type definitions.26

Table 9 – Complex data type definition .27

Table 10 – Communication section .28

Table 11 – Device type .30

Table 12 – Error register encoding.30

Table 13 – Error register.30

Table 14 – Object d
...

Questions, Comments and Discussion

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