{"id":425178,"date":"2024-10-20T06:55:27","date_gmt":"2024-10-20T06:55:27","guid":{"rendered":"https:\/\/pdfstandards.shop\/product\/uncategorized\/bs-en-iec-61158-6-122019-3\/"},"modified":"2024-10-26T13:02:43","modified_gmt":"2024-10-26T13:02:43","slug":"bs-en-iec-61158-6-122019-3","status":"publish","type":"product","link":"https:\/\/pdfstandards.shop\/product\/publishers\/bsi\/bs-en-iec-61158-6-122019-3\/","title":{"rendered":"BS EN IEC 61158-6-12:2019"},"content":{"rendered":"
1.1 General<\/b><\/p>\n
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 \u201cwindow between corresponding application programs.\u201d<\/p>\n
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 \u201ctime-critical\u201d 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.<\/p>\n
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<\/p>\n
the abstract syntax defining the application layer protocol data units conveyed between communicating application entities,<\/p>\n<\/li>\n
the transfer syntax defining the application layer protocol data units conveyed between communicating application entities,<\/p>\n<\/li>\n
the application context state machine defining the application service behavior visible between communicating application entities; and<\/p>\n<\/li>\n
the application relationship state machines defining the communication behavior visible between communicating application entities; and.<\/p>\n<\/li>\n<\/ol>\n
The purpose of this document is to define the protocol provided to<\/p>\n
define the wire-representation of the service primitives defined in IEC 61158-5-12, and<\/p>\n<\/li>\n
define the externally visible behavior associated with their transfer.<\/p>\n<\/li>\n<\/ol>\n
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).<\/p>\n
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.<\/p>\n
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.<\/p>\n
PDF Pages<\/th>\n | PDF Title<\/th>\n<\/tr>\n | ||||||
---|---|---|---|---|---|---|---|
2<\/td>\n | undefined <\/td>\n<\/tr>\n | ||||||
5<\/td>\n | Annex ZA(normative)Normative references to international publicationswith their corresponding European publications <\/td>\n<\/tr>\n | ||||||
7<\/td>\n | CONTENTS <\/td>\n<\/tr>\n | ||||||
13<\/td>\n | FOREWORD <\/td>\n<\/tr>\n | ||||||
15<\/td>\n | INTRODUCTION <\/td>\n<\/tr>\n | ||||||
16<\/td>\n | 1 Scope 1.1 General <\/td>\n<\/tr>\n | ||||||
17<\/td>\n | 1.2 Specifications 1.3 Conformance 2 Normative references <\/td>\n<\/tr>\n | ||||||
18<\/td>\n | 3 Terms, definitions, symbols, abbreviations and conventions 3.1 Reference model terms and definitions <\/td>\n<\/tr>\n | ||||||
19<\/td>\n | 3.2 Service convention terms and definitions 3.3 Application layer definitions <\/td>\n<\/tr>\n | ||||||
24<\/td>\n | 3.4 Common symbols and abbreviations <\/td>\n<\/tr>\n | ||||||
25<\/td>\n | 3.5 Additional symbols and abbreviations 3.6 Conventions 3.6.1 General concept <\/td>\n<\/tr>\n | ||||||
26<\/td>\n | 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 \u2013 Common structure of specific fields <\/td>\n<\/tr>\n | ||||||
27<\/td>\n | 3.6.4 Abstract syntax conventions Figure 2 \u2013 Type description example Tables Table 1 \u2013 PDU element description example <\/td>\n<\/tr>\n | ||||||
28<\/td>\n | 3.6.5 State machine conventions Table 2 \u2013 Example attribute description <\/td>\n<\/tr>\n | ||||||
29<\/td>\n | Table 3 \u2013 State machine description elements Table 4 \u2013 Description of state machine elements Table 5 \u2013 Conventions used in state machines <\/td>\n<\/tr>\n | ||||||
30<\/td>\n | 4 Application layer protocol specification 4.1 Operating principle 4.2 Node reference model 4.2.1 Mapping onto OSI basic reference model <\/td>\n<\/tr>\n | ||||||
31<\/td>\n | 4.2.2 Data Link Layer features 4.2.3 Application Layer structure Figure 3 \u2013 Slave Node Reference Model <\/td>\n<\/tr>\n | ||||||
32<\/td>\n | 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 \u2013 Encoding of Time of Day value <\/td>\n<\/tr>\n | ||||||
33<\/td>\n | 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 \u2013 Encoding of Time Difference value Table 6 \u2013 Transfer Syntax for bit sequences <\/td>\n<\/tr>\n | ||||||
34<\/td>\n | 5.2.7 Encoding of a Signed Integer value Table 7 \u2013 Transfer syntax for data type Unsignedn <\/td>\n<\/tr>\n | ||||||
35<\/td>\n | 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 \u2013 AL Control Request structure Table 8 \u2013 Transfer syntax for data type Integern <\/td>\n<\/tr>\n | ||||||
36<\/td>\n | 5.3.2 AL Control Response (Confirmation) Figure 7 \u2013 AL Control Response structure Table 9 \u2013 AL Control Description <\/td>\n<\/tr>\n | ||||||
37<\/td>\n | Table 10 \u2013 AL Control Response Table 11 \u2013 AL Status Codes <\/td>\n<\/tr>\n | ||||||
38<\/td>\n | 5.3.3 AL State Changed <\/td>\n<\/tr>\n | ||||||
39<\/td>\n | 5.3.4 AL AR Attributes Figure 8 \u2013 AL State Changed structure Figure 9 \u2013 PDI Control type description Table 12 \u2013 AL State Changed <\/td>\n<\/tr>\n | ||||||
40<\/td>\n | Figure 10 \u2013 Sync Configuration type description Table 13 \u2013 PDI Control Table 14 \u2013 PDI Configuration Table 15 \u2013 Sync Configuration <\/td>\n<\/tr>\n | ||||||
41<\/td>\n | 5.4 SII coding Table 16 \u2013 Slave Information Interface Area <\/td>\n<\/tr>\n | ||||||
42<\/td>\n | Table 17 \u2013 Slave Information Interface Categories Table 18 \u2013 Mailbox Protocols Supported Types Table 19 \u2013 Categories Types <\/td>\n<\/tr>\n | ||||||
43<\/td>\n | Table 20 \u2013 Structure Category String Table 21 \u2013 Structure Category General <\/td>\n<\/tr>\n | ||||||
44<\/td>\n | Table 22 \u2013 Identification Methods Table 23 \u2013 Structure Category FMMU <\/td>\n<\/tr>\n | ||||||
45<\/td>\n | Table 24 \u2013 Structure Category SyncM for each Element Table 25 \u2013 Structure Category TXPDO and RXPDO for each PDO <\/td>\n<\/tr>\n | ||||||
46<\/td>\n | 5.5 Isochronous PDI coding Figure 11 \u2013 Distributed Clock sync and latch type description Table 26 \u2013 Structure PDO Entry <\/td>\n<\/tr>\n | ||||||
47<\/td>\n | Table 27 \u2013 Distributed Clock sync parameter <\/td>\n<\/tr>\n | ||||||
48<\/td>\n | 5.6 CoE coding 5.6.1 PDU structure Figure 12 \u2013 CoE general structure Table 28 \u2013 Distributed Clock latch data <\/td>\n<\/tr>\n | ||||||
49<\/td>\n | 5.6.2 SDO Figure 13 \u2013 SDO Download Expedited Request structure Table 29 \u2013 CoE elements <\/td>\n<\/tr>\n | ||||||
50<\/td>\n | Figure 14 \u2013 SDO Download Expedited Response structure Table 30 \u2013 SDO Download Expedited Request <\/td>\n<\/tr>\n | ||||||
51<\/td>\n | Figure 15 \u2013 SDO Download Normal Request structure Table 31 \u2013 SDO Download Expedited Response <\/td>\n<\/tr>\n | ||||||
52<\/td>\n | Table 32 \u2013 SDO Download Normal Request <\/td>\n<\/tr>\n | ||||||
53<\/td>\n | Figure 16 \u2013 Download SDO Segment Request structure Table 33 \u2013 Download SDO Segment Request <\/td>\n<\/tr>\n | ||||||
54<\/td>\n | Figure 17 \u2013 Download SDO Segment Response structure Figure 18 \u2013 SDO Upload Expedited Request structure Table 34 \u2013 Download SDO Segment Response <\/td>\n<\/tr>\n | ||||||
55<\/td>\n | Figure 19 \u2013 SDO Upload Expedited Response structure Table 35 \u2013 SDO Upload Expedited Request <\/td>\n<\/tr>\n | ||||||
56<\/td>\n | Table 36 \u2013 SDO Upload Expedited Response <\/td>\n<\/tr>\n | ||||||
57<\/td>\n | Figure 20 \u2013 SDO Upload Normal Response structure Table 37 \u2013 SDO Upload Normal Response <\/td>\n<\/tr>\n | ||||||
58<\/td>\n | Figure 21 \u2013 Upload SDO Segment Request structure Figure 22 \u2013 Upload SDO Segment Response structure Table 38 \u2013 Upload SDO Segment Request <\/td>\n<\/tr>\n | ||||||
59<\/td>\n | Figure 23 \u2013 Abort SDO Transfer Request structure Table 39 \u2013 Upload SDO Segment Response <\/td>\n<\/tr>\n | ||||||
60<\/td>\n | Table 40 \u2013 Abort SDO Transfer Request <\/td>\n<\/tr>\n | ||||||
61<\/td>\n | 5.6.3 SDO Information Table 41 \u2013 SDO Abort Codes <\/td>\n<\/tr>\n | ||||||
62<\/td>\n | Figure 24 \u2013 SDO Information Service structure Table 42 \u2013 SDO Information Service <\/td>\n<\/tr>\n | ||||||
63<\/td>\n | Figure 25 \u2013 Get OD List Request structure Table 43 \u2013 Get OD List Request <\/td>\n<\/tr>\n | ||||||
64<\/td>\n | Figure 26 \u2013 Get OD List Response structure Table 44 \u2013 Get OD List Response <\/td>\n<\/tr>\n | ||||||
65<\/td>\n | Figure 27 \u2013 Get Object Description Request structure Table 45 \u2013 Get Object Description Request <\/td>\n<\/tr>\n | ||||||
66<\/td>\n | Figure 28 \u2013 Get Object Description Response structure Table 46 \u2013 Get Object Description Response <\/td>\n<\/tr>\n | ||||||
67<\/td>\n | Figure 29 \u2013 Get Entry Description Request structure Table 47 \u2013 Get Entry Description Request <\/td>\n<\/tr>\n | ||||||
68<\/td>\n | Figure 30 \u2013 Get Entry Description Response structure Table 48 \u2013 Get Entry Description Response <\/td>\n<\/tr>\n | ||||||
69<\/td>\n | Figure 31 \u2013 SDO Info Error Request structure <\/td>\n<\/tr>\n | ||||||
70<\/td>\n | 5.6.4 Emergency Table 49 \u2013 SDO Info Error Request <\/td>\n<\/tr>\n | ||||||
71<\/td>\n | Table 50 \u2013 Emergency Request <\/td>\n<\/tr>\n | ||||||
72<\/td>\n | Table 51 \u2013 Emergency Error Codes Table 52 \u2013 Error Code <\/td>\n<\/tr>\n | ||||||
73<\/td>\n | Table 53 \u2013 Diagnostic Data Table 54 \u2013 Sync Manager Length Error Table 55 \u2013 Sync Manager Address Error Table 56 \u2013 Sync Manager Settings Error <\/td>\n<\/tr>\n | ||||||
74<\/td>\n | 5.6.5 Process Data Table 57 \u2013 RxPDO Transmission via mailbox Table 58 \u2013 TxPDO Transmission via mailbox <\/td>\n<\/tr>\n | ||||||
75<\/td>\n | 5.6.6 Command Table 59 \u2013 RxPDO Remote Transmission Request Table 60 \u2013 TxPDO Remote Transmission Request <\/td>\n<\/tr>\n | ||||||
76<\/td>\n | 5.6.7 Object Dictionary Table 61 \u2013 Command object structure Table 62 \u2013 Object Dictionary Structure Table 63 \u2013 Object Code Definitions <\/td>\n<\/tr>\n | ||||||
77<\/td>\n | Table 64 \u2013 Basic Data Type Area <\/td>\n<\/tr>\n | ||||||
78<\/td>\n | Table 65 \u2013 Extended Data Type Area <\/td>\n<\/tr>\n | ||||||
79<\/td>\n | Table 66 \u2013 Enumeration Definition Table 67 \u2013 CoE Communication Area <\/td>\n<\/tr>\n | ||||||
80<\/td>\n | Table 68 \u2013 Device Type <\/td>\n<\/tr>\n | ||||||
81<\/td>\n | Table 69 \u2013 Error Register Table 70 \u2013 Manufacturer Device Name <\/td>\n<\/tr>\n | ||||||
82<\/td>\n | Table 71 \u2013 Manufacturer Hardware Version Table 72 \u2013 Manufacturer Software Version Table 73 \u2013 Identity Object <\/td>\n<\/tr>\n | ||||||
83<\/td>\n | Table 74 \u2013 Receive PDO Mapping Table 75 \u2013 Transmit PDO Mapping <\/td>\n<\/tr>\n | ||||||
84<\/td>\n | Table 76 \u2013 Sync Manager Communication Type <\/td>\n<\/tr>\n | ||||||
85<\/td>\n | Table 77 \u2013 Sync Manager Channel 0-31 <\/td>\n<\/tr>\n | ||||||
86<\/td>\n | 5.7 EoE coding 5.7.1 Initiate EoE Figure 32 \u2013 EoE general structure Table 78 \u2013 Sync Manager Synchronization <\/td>\n<\/tr>\n | ||||||
87<\/td>\n | Figure 33 \u2013 EoE Timestamp structure Table 79 \u2013 Initiate EoE Request <\/td>\n<\/tr>\n | ||||||
88<\/td>\n | 5.7.2 EoE Fragment Data Figure 34 \u2013 EoE Fragment Data structure Table 80 \u2013 Initiate EoE Response <\/td>\n<\/tr>\n | ||||||
89<\/td>\n | 5.7.3 Data element for EoE Table 81 \u2013 EoE Fragment Data <\/td>\n<\/tr>\n | ||||||
90<\/td>\n | 5.7.4 Set IP Parameter Figure 35 \u2013 Set IP Parameter Request structure Table 82 \u2013 EoE Data <\/td>\n<\/tr>\n | ||||||
91<\/td>\n | Table 83 \u2013 Set IP Parameter Request <\/td>\n<\/tr>\n | ||||||
92<\/td>\n | Figure 36 \u2013 Set IP Parameter Response structure Table 84 \u2013 Set IP Parameter Response <\/td>\n<\/tr>\n | ||||||
93<\/td>\n | 5.7.5 Set Address Filter Figure 37 \u2013 Set MAC Filter Request structure Table 85 \u2013 EoE Result Parameter Table 86 \u2013 Set MAC Filter Request <\/td>\n<\/tr>\n | ||||||
94<\/td>\n | Figure 38 \u2013 Set MAC Filter Response structure <\/td>\n<\/tr>\n | ||||||
95<\/td>\n | 5.8 FoE Coding 5.8.1 Read Request Figure 39 \u2013 Read Request structure Table 87 \u2013 Set MAC Filter Response <\/td>\n<\/tr>\n | ||||||
96<\/td>\n | 5.8.2 Write Request Figure 40 \u2013 Write Request structure Table 88 \u2013 Read Request <\/td>\n<\/tr>\n | ||||||
97<\/td>\n | 5.8.3 Data Request Figure 41 \u2013 Data Request structure Table 89 \u2013 Write Request <\/td>\n<\/tr>\n | ||||||
98<\/td>\n | 5.8.4 Ack Request Figure 42 \u2013 Ack Request structure Table 90 \u2013 Data Request <\/td>\n<\/tr>\n | ||||||
99<\/td>\n | 5.8.5 Error Request Figure 43 \u2013 Error Request structure Table 91 \u2013 Ack Request <\/td>\n<\/tr>\n | ||||||
100<\/td>\n | 5.8.6 Busy Request Table 92 \u2013 Error Request Table 93 \u2013 Error codes of FoE <\/td>\n<\/tr>\n | ||||||
101<\/td>\n | 6 FAL protocol state machines 6.1 Overall structure 6.1.1 Overview Figure 44 \u2013 Busy Request structure Table 94 \u2013 Busy Request <\/td>\n<\/tr>\n | ||||||
102<\/td>\n | 6.1.2 Fieldbus Service Protocol Machines (FSPM) 6.1.3 Application Relationship Protocol Machines (ARPM) Figure 45 \u2013 Relationship among Protocol Machines <\/td>\n<\/tr>\n | ||||||
103<\/td>\n | 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 \u2013 AR Protocol machines <\/td>\n<\/tr>\n | ||||||
105<\/td>\n | Figure 47 \u2013 ESM Diagramm Table 95 \u2013 State transitions and local management services <\/td>\n<\/tr>\n | ||||||
106<\/td>\n | Table 96 \u2013 Primitives issued by ESM to DL <\/td>\n<\/tr>\n | ||||||
107<\/td>\n | Table 97 \u2013 Primitives issued by DL to ESM Table 98 \u2013 Primitives issued by Application to ESM Table 99 \u2013 Primitives issued by ESM to Application <\/td>\n<\/tr>\n | ||||||
108<\/td>\n | Table 100 \u2013 ESM Variables <\/td>\n<\/tr>\n | ||||||
109<\/td>\n | Table 101 \u2013 ESM macros Table 102 \u2013 ESM functions <\/td>\n<\/tr>\n | ||||||
110<\/td>\n | Table 103 \u2013 ESM state table <\/td>\n<\/tr>\n | ||||||
122<\/td>\n | 6.4.2 Mailbox handler state machine Table 104 \u2013 Primitives issued by Mailbox handler to DL <\/td>\n<\/tr>\n | ||||||
123<\/td>\n | 6.4.3 CoE state machine Table 105 \u2013 Primitives issued by DL to Mailbox handler Table 106 \u2013 Primitives issued by Protocol handler to Mailbox handler Table 107 \u2013 Primitives issued by Mailbox handler to Protocol handler <\/td>\n<\/tr>\n | ||||||
124<\/td>\n | Table 108 \u2013 Primitives issued by Application to CoESM <\/td>\n<\/tr>\n | ||||||
125<\/td>\n | Table 109 \u2013 Primitives issued by CoESM to Application <\/td>\n<\/tr>\n | ||||||
126<\/td>\n | Table 110 \u2013 CoESM state table <\/td>\n<\/tr>\n | ||||||
134<\/td>\n | 6.4.4 EoE state machine <\/td>\n<\/tr>\n | ||||||
135<\/td>\n | Table 111 \u2013 Primitives issued by Application to EoESM <\/td>\n<\/tr>\n | ||||||
136<\/td>\n | Table 112 \u2013 Primitives issued by EoESM to Application <\/td>\n<\/tr>\n | ||||||
137<\/td>\n | Table 113 \u2013 EoESM state table <\/td>\n<\/tr>\n | ||||||
141<\/td>\n | 6.4.5 FoE state machine Table 114 \u2013 Primitives issued by Application to FoESM <\/td>\n<\/tr>\n | ||||||
142<\/td>\n | Table 115 \u2013 Primitives issued by FoESM to Application <\/td>\n<\/tr>\n | ||||||
143<\/td>\n | Table 116 \u2013 FoESM state table <\/td>\n<\/tr>\n | ||||||
146<\/td>\n | 6.5 DLL mapping protocol machine (DMPM) <\/td>\n<\/tr>\n | ||||||
147<\/td>\n | Bibliography <\/td>\n<\/tr>\n<\/table>\n","protected":false},"excerpt":{"rendered":" Industrial communication networks. Fieldbus specifications – Application layer protocol specification. Type 12 elements<\/b><\/p>\n |