BS EN 61158-6-12:2012
$215.11
Industrial communication networks. Fieldbus specifications – Application layer protocol specification. Type 12 elements
Published By | Publication Date | Number of Pages |
BSI | 2012 | 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 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 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 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 standard 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 standard 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 standard to provide access to the FAL to control certain aspects of its operation.
1.2 Specifications
The principal objective of this standard is to specify the syntax and behavior of the application layer protocol that conveys the application layer services defined in IEC 61158-5-12.
A secondary objective is to provide migration paths from previously-existing industrial communications protocols. It is this latter objective which gives rise to the diversity of protocols standardized in subparts of IEC 61158-6.
1.3 Conformance
This standard does not specify individual implementations or products, nor does it constrain the implementations of application layer entities within industrial automation systems.
There is no conformance of equipment to the application layer service definition standard. Instead, conformance is achieved through implementation of this application layer protocol specification.
PDF Catalog
PDF Pages | PDF Title |
---|---|
6 | CONTENTS |
11 | INTRODUCTION |
12 | 1 Scope 1.1 General |
13 | 1.2 Specifications 1.3 Conformance 2 Normative references |
14 | 3 Terms, definitions, symbols, abbreviations and conventions 3.1 Reference model terms and definitions 3.2 Service convention terms and definitions |
15 | 3.3 Application layer definitions |
20 | 3.4 Common symbols and abbreviations 3.5 Additional symbols and abbreviations |
22 | 3.6 Conventions Figures FigureĀ 1 ā Common structure of specific fields |
24 | FigureĀ 2 ā Type description example Tables TableĀ 1 ā PDU element description example |
25 | TableĀ 2 ā Example attribute description TableĀ 3 ā State machine description elements |
26 | TableĀ 4 ā Description of state machine elements TableĀ 5 ā Conventions used in state machines |
27 | 4 Application layer protocol specification 4.1 Operating principle 4.2 Node reference model |
28 | FigureĀ 3 ā Slave Node Reference Model |
29 | 5 FAL syntax description 5.1 Coding principles 5.2 Data types and encoding rules FigureĀ 4 ā Encoding of Time Of Day value |
30 | FigureĀ 5 ā Encoding of Time Difference value TableĀ 6 ā Transfer Syntax for bit sequences |
31 | TableĀ 7 ā Transfer syntax for data type Unsignedn |
32 | 5.3 AR coding FigureĀ 6 ā AL Control Request structure TableĀ 8 ā Transfer syntax for data type Integern |
33 | FigureĀ 7 ā AL Control Response structure TableĀ 9 ā AL Control Description TableĀ 10 ā AL Control Response |
34 | TableĀ 11 ā AL Status Codes |
35 | FigureĀ 8 ā AL State Changed structure TableĀ 12 ā AL State Changed |
36 | FigureĀ 9 ā PDI Control type description FigureĀ 10 ā Sync Configuration type description TableĀ 13 ā PDI Control TableĀ 14 ā PDI Configuration |
37 | 5.4 SII coding TableĀ 15 ā Sync Configuration TableĀ 16 ā Slave Information Interface Area |
38 | TableĀ 17 ā Slave Information Interface Categories TableĀ 18 ā Mailbox Protocols Supported Types |
39 | TableĀ 19 ā Categories Types TableĀ 20 ā Structure Category String |
40 | TableĀ 21 ā Structure Category General |
41 | TableĀ 22 ā Structure Category FMMU TableĀ 23 ā Structure Category SyncM for each Element |
42 | 5.5 Isochronous PDI coding TableĀ 24 ā Structure Category TXPDO and RXPDO for each PDO TableĀ 25 ā Structure PDO Entry |
43 | FigureĀ 11 ā Distributed Clock sync and latch type description |
44 | TableĀ 26 ā Distributed Clock sync parameter |
45 | TableĀ 27 ā Distributed Clock latch data |
46 | 5.6 CoE coding FigureĀ 12 ā CoE general structure TableĀ 28 ā CoE elements |
47 | FigureĀ 13 ā SDO Download Expedited Request structure |
48 | FigureĀ 14 ā SDO Download Expedited Response structure TableĀ 29 ā SDO Download Expedited Request |
49 | FigureĀ 15 ā SDO Download Normal Request structure TableĀ 30 ā SDO Download Expedited Response |
50 | TableĀ 31 ā SDO Download Normal Request |
51 | FigureĀ 16 ā Download SDO Segment Request structure TableĀ 32 ā Download SDO Segment Request |
52 | FigureĀ 17 ā Download SDO Segment Response structure FigureĀ 18 ā SDO Upload Expedited Request structure TableĀ 33 ā Download SDO Segment Response |
53 | FigureĀ 19 ā SDO Upload Expedited Response structure TableĀ 34 ā SDO Upload Expedited Request |
54 | TableĀ 35 ā SDO Upload Expedited Response |
55 | FigureĀ 20 ā SDO Upload Normal Response structure TableĀ 36 ā SDO Upload Normal Response |
56 | FigureĀ 21 ā Upload SDO Segment Request structure FigureĀ 22 ā Upload SDO Segment Response structure TableĀ 37 ā Upload SDO Segment Request |
57 | FigureĀ 23 ā Abort SDO Transfer Request structure TableĀ 38 ā Upload SDO Segment Response |
58 | TableĀ 39 ā Abort SDO Transfer Request |
59 | TableĀ 40 ā SDO Abort Codes |
60 | FigureĀ 24 ā SDO Information Service structure FigureĀ 25 ā Get OD List Request structure TableĀ 41 ā SDO Information Service |
61 | FigureĀ 26 ā Get OD List Response structure TableĀ 42 ā Get OD List Request |
62 | TableĀ 43 ā Get OD List Response |
63 | FigureĀ 27 ā Get Object Description Request structure FigureĀ 28 ā Get Object Description Response structure TableĀ 44 ā Get Object Description Request |
64 | FigureĀ 29 ā Get Entry Description Request structure TableĀ 45 ā Get Object Description Response |
65 | FigureĀ 30 ā Get Entry Description Response structure TableĀ 46 ā Get Entry Description Request |
66 | TableĀ 47 ā Get Entry Description Response |
67 | FigureĀ 31 ā SDO Info Error Request structure |
68 | TableĀ 48 ā SDO Info Error Request |
69 | TableĀ 49 ā Emergency Request |
70 | TableĀ 50 ā Emergency Error Codes TableĀ 51 ā Error Code |
71 | TableĀ 52 ā Diagnostic Data TableĀ 53 ā Sync Manager Length Error TableĀ 54 ā Sync Manager Address Error TableĀ 55 ā Sync Manager Settings Error |
72 | TableĀ 56 ā RxPDO Transmission via mailbox TableĀ 57 ā TxPDO Transmission via mailbox |
73 | TableĀ 58 ā RxPDO Remote Transmission Request TableĀ 59 ā TxPDO Remote Transmission Request |
74 | TableĀ 60 ā Command object structure TableĀ 61 ā Object Dictionary Structure TableĀ 62 ā Object Code Definitions |
75 | TableĀ 63 ā Basic Data Type Area |
76 | TableĀ 64 ā Extended Data Type Area |
77 | TableĀ 65 ā Enumeration Definition TableĀ 66 ā CoE Communication Area |
78 | TableĀ 67 ā Device Type |
79 | TableĀ 68 ā Error Register TableĀ 69 ā Manufacturer Device Name |
80 | TableĀ 70 ā Manufacturer Hardware Version TableĀ 71 ā Manufacturer Software Version TableĀ 72 ā Identity Object |
81 | TableĀ 73 ā Receive PDO Mapping TableĀ 74 ā Transmit PDO Mapping |
82 | TableĀ 75 ā Sync Manager Communication Type |
83 | TableĀ 76 ā Sync Manager Channel 0-31 |
84 | 5.7 EoE coding FigureĀ 32 ā EoE general structure TableĀ 77 ā Sync Manager Synchronization |
85 | FigureĀ 33 ā EoE Timestamp structure TableĀ 78 ā Initiate EoE Request |
86 | FigureĀ 34 ā EoE Fragment Request structure TableĀ 79 ā Initiate EoE Response |
87 | TableĀ 80 ā EoE Fragment Request |
88 | FigureĀ 35 ā Set IP Parameter Request structure TableĀ 81 ā EoE Data |
89 | TableĀ 82 ā Set IP Parameter Request |
90 | FigureĀ 36 ā Set IP Parameter Response structure TableĀ 83 ā Set IP Parameter Response |
91 | FigureĀ 37 ā Set Address Filter Request structure TableĀ 84 ā EoE Result Parameter |
92 | TableĀ 85 ā Set Address Filter Request |
93 | 5.8 FoE Coding FigureĀ 38 ā Set Address Filter Response structure TableĀ 86 ā Set Address Filter Response |
94 | FigureĀ 39 ā Read Request structure FigureĀ 40 ā Write Request structure TableĀ 87 ā Read Request |
95 | FigureĀ 41 ā Data Request structure TableĀ 88 ā Write Request |
96 | FigureĀ 42 ā Ack Request structure TableĀ 89 ā Data Request |
97 | FigureĀ 43 ā Error Request structure TableĀ 90 ā Ack Request |
98 | TableĀ 91 ā Error Request TableĀ 92 ā Error codes of FoE |
99 | 6 FAL protocol state machines 6.1 Overall structure FigureĀ 44 ā Busy Request structure TableĀ 93 ā Busy Request |
100 | FigureĀ 45 ā Relationship among Protocol Machines |
101 | 6.2 AP-Context state machine 6.3 FAL service protocol machine (FSPM) 6.4 Application Relationship Protocol Machines (ARPMs) FigureĀ 46 ā AR Protocol machines |
103 | FigureĀ 47 ā ESM Diagramm TableĀ 94 ā State transitions and local management services |
104 | TableĀ 95 ā Primitives issued by ESM to DL TableĀ 96 ā Primitives issued by DL to ESM |
105 | TableĀ 97 ā Primitives issued by Application to ESM TableĀ 98 ā Primitives issued by ESM to Application TableĀ 99 ā ESM Variables |
106 | TableĀ 100 ā ESM macros |
107 | TableĀ 101 ā ESM functions |
108 | Table 102 ā ESM state table |
120 | TableĀ 103 ā ESM Functions TableĀ 104 ā Primitives issued by Mailbox handler to DL TableĀ 105 ā Primitives issued by DL to Mailbox handler |
121 | TableĀ 106 ā Primitives issued by Protocol handler to Mailbox handler TableĀ 107 ā Primitives issued by Mailbox handler to Protocol handler |
122 | TableĀ 108 ā Primitives issued by Application to CoESM |
123 | TableĀ 109 ā Primitives issued by CoESM to Application TableĀ 110 ā CoESM state table |
133 | TableĀ 111 ā Primitives issued by Application to EoESM |
134 | TableĀ 112 ā Primitives issued by EoESM to Application |
135 | TableĀ 113 ā EoESM state table |
139 | TableĀ 114 ā Primitives issued by Application to FoESM |
140 | TableĀ 115 ā Primitives issued by FoESM to Application TableĀ 116 ā FoESM state table |
144 | 6.5 DLL mapping protocol machine (DMPM) |
145 | Bibliography |