BS EN IEC 61158-6-12:2019
$215.11
Industrial communication networks. Fieldbus specifications – Application layer protocol specification. Type 12 elements
Published By | Publication Date | Number of Pages |
BSI | 2019 | 148 |
1.1 General
The Fieldbus Application Layer (FAL) 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 part of IEC 61158 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 12 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.
This International Standard 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 defining the application layer protocol data units conveyed between communicating application entities,
-
the transfer syntax defining the application layer protocol data units conveyed between communicating application entities,
-
the application context state machine defining the application service behavior visible between communicating application entities; and
-
the application relationship state machines defining the communication behavior visible between communicating application entities; and.
The purpose of this document is to define the protocol provided to
-
define the wire-representation of the service primitives defined in IEC 61158-5-12, and
-
define the externally visible behavior associated with their transfer.
This document specifies the protocol of the IEC fieldbus Application Layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498) and the OSI Application Layer Structure (ISO/IEC 9545).
FAL services and protocols are provided by FAL application-entities (AE) contained within the application processes. The FAL AE is composed of a set of object-oriented Application Service Elements (ASEs) and a Layer Management Entity (LME) that manages the AE. The ASEs provide communication services that operate on a set of related application process object (APO) classes. One of the FAL ASEs is a management ASE that provides a common set of services for the management of the instances of FAL classes.
Although these services specify, from the perspective of applications, how request and responses are issued and delivered, they do not include a specification of what the requesting and responding applications are to do with them. That is, the behavioral aspects of the applications are not specified; only a definition of what requests and responses they can send/receive is specified. This permits greater flexibility to the FAL users in standardizing such object behavior. In addition to these services, some supporting services are also defined in this document to provide access to the FAL to control certain aspects of its operation.
PDF Catalog
PDF Pages | PDF Title |
---|---|
2 | undefined |
5 | Annex ZA(normative)Normative references to international publicationswith their corresponding European publications |
7 | CONTENTS |
13 | FOREWORD |
15 | INTRODUCTION |
16 | 1 Scope 1.1 General |
17 | 1.2 Specifications 1.3 Conformance 2 Normative references |
18 | 3 Terms, definitions, symbols, abbreviations and conventions 3.1 Reference model terms and definitions |
19 | 3.2 Service convention terms and definitions 3.3 Application layer definitions |
24 | 3.4 Common symbols and abbreviations |
25 | 3.5 Additional symbols and abbreviations 3.6 Conventions 3.6.1 General concept |
26 | 3.6.2 Convention for the encoding of reserved bits and octets 3.6.3 Conventions for the common codings of specific field octets Figures Figure 1 – Common structure of specific fields |
27 | 3.6.4 Abstract syntax conventions Figure 2 – Type description example Tables Table 1 – PDU element description example |
28 | 3.6.5 State machine conventions Table 2 – Example attribute description |
29 | Table 3 – State machine description elements Table 4 – Description of state machine elements Table 5 – Conventions used in state machines |
30 | 4 Application layer protocol specification 4.1 Operating principle 4.2 Node reference model 4.2.1 Mapping onto OSI basic reference model |
31 | 4.2.2 Data Link Layer features 4.2.3 Application Layer structure Figure 3 – Slave Node Reference Model |
32 | 5 FAL syntax description 5.1 Coding principles 5.2 Data types and encoding rules 5.2.1 General description of data types and encoding rules 5.2.2 Encoding of a Boolean value 5.2.3 Encoding of a Time Of Day with and without date indication value Figure 4 – Encoding of Time of Day value |
33 | 5.2.4 Encoding of a Time Difference with and without date indication value 5.2.5 Transfer syntax for bit sequences 5.2.6 Encoding of a Unsigned Integer value Figure 5 – Encoding of Time Difference value Table 6 – Transfer Syntax for bit sequences |
34 | 5.2.7 Encoding of a Signed Integer value Table 7 – Transfer syntax for data type Unsignedn |
35 | 5.2.8 Encoding of a Floating Point value 5.2.9 Encoding of a Visible String value 5.2.10 Encoding of a Unicode String value 5.2.11 Encoding of an Octet String value 5.2.12 Encoding of GUID 5.3 AR coding 5.3.1 AL Control Request (Indication) Figure 6 – AL Control Request structure Table 8 – Transfer syntax for data type Integern |
36 | 5.3.2 AL Control Response (Confirmation) Figure 7 – AL Control Response structure Table 9 – AL Control Description |
37 | Table 10 – AL Control Response Table 11 – AL Status Codes |
38 | 5.3.3 AL State Changed |
39 | 5.3.4 AL AR Attributes Figure 8 – AL State Changed structure Figure 9 – PDI Control type description Table 12 – AL State Changed |
40 | Figure 10 – Sync Configuration type description Table 13 – PDI Control Table 14 – PDI Configuration Table 15 – Sync Configuration |
41 | 5.4 SII coding Table 16 – Slave Information Interface Area |
42 | Table 17 – Slave Information Interface Categories Table 18 – Mailbox Protocols Supported Types Table 19 – Categories Types |
43 | Table 20 – Structure Category String Table 21 – Structure Category General |
44 | Table 22 – Identification Methods Table 23 – Structure Category FMMU |
45 | Table 24 – Structure Category SyncM for each Element Table 25 – Structure Category TXPDO and RXPDO for each PDO |
46 | 5.5 Isochronous PDI coding Figure 11 – Distributed Clock sync and latch type description Table 26 – Structure PDO Entry |
47 | Table 27 – Distributed Clock sync parameter |
48 | 5.6 CoE coding 5.6.1 PDU structure Figure 12 – CoE general structure Table 28 – Distributed Clock latch data |
49 | 5.6.2 SDO Figure 13 – SDO Download Expedited Request structure Table 29 – CoE elements |
50 | Figure 14 – SDO Download Expedited Response structure Table 30 – SDO Download Expedited Request |
51 | Figure 15 – SDO Download Normal Request structure Table 31 – SDO Download Expedited Response |
52 | Table 32 – SDO Download Normal Request |
53 | Figure 16 – Download SDO Segment Request structure Table 33 – Download SDO Segment Request |
54 | Figure 17 – Download SDO Segment Response structure Figure 18 – SDO Upload Expedited Request structure Table 34 – Download SDO Segment Response |
55 | Figure 19 – SDO Upload Expedited Response structure Table 35 – SDO Upload Expedited Request |
56 | Table 36 – SDO Upload Expedited Response |
57 | Figure 20 – SDO Upload Normal Response structure Table 37 – SDO Upload Normal Response |
58 | Figure 21 – Upload SDO Segment Request structure Figure 22 – Upload SDO Segment Response structure Table 38 – Upload SDO Segment Request |
59 | Figure 23 – Abort SDO Transfer Request structure Table 39 – Upload SDO Segment Response |
60 | Table 40 – Abort SDO Transfer Request |
61 | 5.6.3 SDO Information Table 41 – SDO Abort Codes |
62 | Figure 24 – SDO Information Service structure Table 42 – SDO Information Service |
63 | Figure 25 – Get OD List Request structure Table 43 – Get OD List Request |
64 | Figure 26 – Get OD List Response structure Table 44 – Get OD List Response |
65 | Figure 27 – Get Object Description Request structure Table 45 – Get Object Description Request |
66 | Figure 28 – Get Object Description Response structure Table 46 – Get Object Description Response |
67 | Figure 29 – Get Entry Description Request structure Table 47 – Get Entry Description Request |
68 | Figure 30 – Get Entry Description Response structure Table 48 – Get Entry Description Response |
69 | Figure 31 – SDO Info Error Request structure |
70 | 5.6.4 Emergency Table 49 – SDO Info Error Request |
71 | Table 50 – Emergency Request |
72 | Table 51 – Emergency Error Codes Table 52 – Error Code |
73 | Table 53 – Diagnostic Data Table 54 – Sync Manager Length Error Table 55 – Sync Manager Address Error Table 56 – Sync Manager Settings Error |
74 | 5.6.5 Process Data Table 57 – RxPDO Transmission via mailbox Table 58 – TxPDO Transmission via mailbox |
75 | 5.6.6 Command Table 59 – RxPDO Remote Transmission Request Table 60 – TxPDO Remote Transmission Request |
76 | 5.6.7 Object Dictionary Table 61 – Command object structure Table 62 – Object Dictionary Structure Table 63 – Object Code Definitions |
77 | Table 64 – Basic Data Type Area |
78 | Table 65 – Extended Data Type Area |
79 | Table 66 – Enumeration Definition Table 67 – CoE Communication Area |
80 | Table 68 – Device Type |
81 | Table 69 – Error Register Table 70 – Manufacturer Device Name |
82 | Table 71 – Manufacturer Hardware Version Table 72 – Manufacturer Software Version Table 73 – Identity Object |
83 | Table 74 – Receive PDO Mapping Table 75 – Transmit PDO Mapping |
84 | Table 76 – Sync Manager Communication Type |
85 | Table 77 – Sync Manager Channel 0-31 |
86 | 5.7 EoE coding 5.7.1 Initiate EoE Figure 32 – EoE general structure Table 78 – Sync Manager Synchronization |
87 | Figure 33 – EoE Timestamp structure Table 79 – Initiate EoE Request |
88 | 5.7.2 EoE Fragment Data Figure 34 – EoE Fragment Data structure Table 80 – Initiate EoE Response |
89 | 5.7.3 Data element for EoE Table 81 – EoE Fragment Data |
90 | 5.7.4 Set IP Parameter Figure 35 – Set IP Parameter Request structure Table 82 – EoE Data |
91 | Table 83 – Set IP Parameter Request |
92 | Figure 36 – Set IP Parameter Response structure Table 84 – Set IP Parameter Response |
93 | 5.7.5 Set Address Filter Figure 37 – Set MAC Filter Request structure Table 85 – EoE Result Parameter Table 86 – Set MAC Filter Request |
94 | Figure 38 – Set MAC Filter Response structure |
95 | 5.8 FoE Coding 5.8.1 Read Request Figure 39 – Read Request structure Table 87 – Set MAC Filter Response |
96 | 5.8.2 Write Request Figure 40 – Write Request structure Table 88 – Read Request |
97 | 5.8.3 Data Request Figure 41 – Data Request structure Table 89 – Write Request |
98 | 5.8.4 Ack Request Figure 42 – Ack Request structure Table 90 – Data Request |
99 | 5.8.5 Error Request Figure 43 – Error Request structure Table 91 – Ack Request |
100 | 5.8.6 Busy Request Table 92 – Error Request Table 93 – Error codes of FoE |
101 | 6 FAL protocol state machines 6.1 Overall structure 6.1.1 Overview Figure 44 – Busy Request structure Table 94 – Busy Request |
102 | 6.1.2 Fieldbus Service Protocol Machines (FSPM) 6.1.3 Application Relationship Protocol Machines (ARPM) Figure 45 – Relationship among Protocol Machines |
103 | 6.1.4 DLL Mapping Protocol Machines (DMPM) 6.2 AP-Context state machine 6.3 FAL service protocol machine (FSPM) 6.4 Application Relationship Protocol Machines (ARPMs) 6.4.1 AL state machine Figure 46 – AR Protocol machines |
105 | Figure 47 – ESM Diagramm Table 95 – State transitions and local management services |
106 | Table 96 – Primitives issued by ESM to DL |
107 | Table 97 – Primitives issued by DL to ESM Table 98 – Primitives issued by Application to ESM Table 99 – Primitives issued by ESM to Application |
108 | Table 100 – ESM Variables |
109 | Table 101 – ESM macros Table 102 – ESM functions |
110 | Table 103 – ESM state table |
122 | 6.4.2 Mailbox handler state machine Table 104 – Primitives issued by Mailbox handler to DL |
123 | 6.4.3 CoE state machine Table 105 – Primitives issued by DL to Mailbox handler Table 106 – Primitives issued by Protocol handler to Mailbox handler Table 107 – Primitives issued by Mailbox handler to Protocol handler |
124 | Table 108 – Primitives issued by Application to CoESM |
125 | Table 109 – Primitives issued by CoESM to Application |
126 | Table 110 – CoESM state table |
134 | 6.4.4 EoE state machine |
135 | Table 111 – Primitives issued by Application to EoESM |
136 | Table 112 – Primitives issued by EoESM to Application |
137 | Table 113 – EoESM state table |
141 | 6.4.5 FoE state machine Table 114 – Primitives issued by Application to FoESM |
142 | Table 115 – Primitives issued by FoESM to Application |
143 | Table 116 – FoESM state table |
146 | 6.5 DLL mapping protocol machine (DMPM) |
147 | Bibliography |