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 | National foreword |
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 |