Shopping Cart

No products in the cart.

BS EN IEC 61158-6-2:2019

$215.11

Industrial communication networks. Fieldbus specifications – Application layer protocol specification. Type 2 elements

Published By Publication Date Number of Pages
BSI 2019 278
Guaranteed Safe Checkout
Category:

If you have any questions, feel free to reach out to our online customer service team by clicking on the bottom right corner. Weā€™re here to assist you 24/7.
Email:[email protected]

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 2 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 specifies interactions between remote applications and defines the externally visible behavior provided by the Type 2 fieldbus application layer in terms of

  1. the formal abstract syntax defining the application layer protocol data units conveyed between communicating application entities;

  2. the transfer syntax defining encoding rules that are applied to the application layer protocol data units;

  3. the application context state machine defining the application service behavior visible between communicating application entities;

  4. the application relationship state machines defining the communication behavior visible between communicating application entities.

The purpose of this document is to define the protocol provided to

  1. define the wire-representation of the service primitives defined in IEC 61158-5-2, and

  2. define the externally visible behavior associated with their transfer.

This document specifies the protocol of the Type 2 fieldbus application layer, in conformance with the OSI Basic Reference Model (ISO/IEC 7498-1) and the OSI application layer structure (ISO/IEC 9545).

1.2 Specifications

The principal objective of this document is to specify the syntax and behavior of the application layer protocol that conveys the application layer services defined in IEC 61158-5-2.

A secondary objective is to provide migration paths from previously-existing industrial communications protocols.

1.3 Conformance

This document does not specify individual implementations or products, nor does it constrain the implementations of application layer entities within industrial automation systems. Conformance is achieved through implementation of this application layer protocol specification.

PDF Catalog

PDF Pages PDF Title
2 National foreword
5 Annex ZA(normative)Normative references to international publicationswith their corresponding European publications
7 CONTENTS
19 FOREWORD
21 INTRODUCTION
22 1 Scope
1.1 General
1.2 Specifications
23 1.3 Conformance
2 Normative references
25 3 Terms, definitions, symbols, abbreviated terms and conventions
3.1 Terms and definitions from other ISO/IEC standards
3.1.1 Terms and definitions from ISO/IECĀ 74981
26 3.1.2 Terms and definitions from ISO/IECĀ 9545
3.1.3 Terms and definitions from ISO/IECĀ 88241
27 3.1.4 Terms and definitions from ISO/IECĀ 88251
3.2 Terms and definitions from IECĀ 6115852
3.3 Additional terms and definitions
34 3.4 Abbreviated terms and symbols
3.5 Conventions
3.5.1 General concept
35 3.5.2 Attribute specification
3.5.3 Common services
Figures
FigureĀ 1 ā€“ Attribute table format and terms
FigureĀ 2 ā€“ Service request/response parameter
36 Tables
TableĀ 1 ā€“ Get_Attributes_All response service rules
TableĀ 2 ā€“ Example class level object/service specific response data of Get_Attributes_All
37 TableĀ 3 ā€“ Example Get_Attributes_All data array method
38 TableĀ 4 ā€“ Set_Attributes_All request service rules
TableĀ 5 ā€“ Example Set_Attributes_All attribute ordering method
TableĀ 6 ā€“ Example Set_Attributes_All data array method
39 3.5.4 State machine conventions
FigureĀ 3 ā€“ Example of an STD
40 4 Abstract syntax
4.1 FAL PDU abstract syntax
4.1.1 General
TableĀ 7 ā€“ State event matrix format
TableĀ 8 ā€“ Example state event matrix
41 4.1.2 PDU structure
43 4.1.3 UCMM_PDUs
44 TableĀ 9 ā€“ UCMM_PDU header format
TableĀ 10 ā€“ UCMM command codes
45 4.1.4 Transport_Headers
TableĀ 11 ā€“ Transport class 0 header
TableĀ 12 ā€“ Transport class 1 header
TableĀ 13 ā€“ Transport class 2 header
TableĀ 14 ā€“ Transport class 3 header
46 TableĀ 15 ā€“ Real-time data header ā€“ exclusive owner
TableĀ 16 ā€“ Real-time data headerā€“ redundant owner
48 4.1.5 CM_PDUs
51 TableĀ 17 ā€“ Forward_Open request format
TableĀ 18 ā€“ Forward_Open_Good response format
52 TableĀ 19 ā€“ Forward_Open_Bad response format
53 TableĀ 20 ā€“ Large_Forward_Open request format
TableĀ 21 ā€“ Large_Forward_Open_Good response format
54 TableĀ 22 ā€“ Large_Forward_Open_Bad response format
55 TableĀ 23 ā€“ Forward_Close request format
TableĀ 24 ā€“ Forward_Close_Good response format
56 TableĀ 25 ā€“ Forward_Close_Bad response format
TableĀ 26 ā€“ Unconnected_Send request format
57 TableĀ 27 ā€“ Unconnected_Send_Good response format
58 TableĀ 28 ā€“ Unconnected_Send_Bad response format
59 TableĀ 29 ā€“ Unconnected_Send request format (modified)
TableĀ 30 ā€“ Unconnected_Send_Good response format (modified)
60 TableĀ 31 ā€“ Unconnected_Send_Bad response format (modified)
TableĀ 32 ā€“ Get_Connection_Data request format
TableĀ 33 ā€“ Get_Connection_Data response format
61 TableĀ 34 ā€“ Search_Connection_Data request format
62 4.1.6 CM PDU components
TableĀ 35 ā€“ Get_Connection_Owner request format
TableĀ 36 ā€“ Get_Connection_Owner response format
63 FigureĀ 4 ā€“ Network connection parameters
65 TableĀ 37 ā€“ Time-out multiplier
66 FigureĀ 5 ā€“ Priority/Tick_time bit definition
TableĀ 38 ā€“ Tick time units
70 TableĀ 39 ā€“ Encoded application path ordering
71 4.1.7 MR headers
TableĀ 40 ā€“ Transport class, trigger and Is_Server format
TableĀ 41 ā€“ MR_Request_Header format
72 4.1.8 OM_Service_PDU
TableĀ 42 ā€“ MR_Response_Header format
TableĀ 43 ā€“ Structure of Get_Attributes_All_ResponsePDU body
73 TableĀ 44 ā€“ Structure of Set_Attributes_All_RequestPDU body
TableĀ 45 ā€“ Structure of Get_Attribute_List_RequestPDU body
TableĀ 46 ā€“ Structure of Get_Attribute_List_ResponsePDU body
TableĀ 47 ā€“ Structure of Set_Attribute_List_RequestPDU body
74 TableĀ 48 ā€“ Structure of Set_Attribute_List_ResponsePDU body
TableĀ 49 ā€“ Structure of Reset_RequestPDU body
TableĀ 50 ā€“ Structure of Reset_ResponsePDU body
TableĀ 51 ā€“ Structure of Start_RequestPDU body
TableĀ 52 ā€“ Structure of Start_ResponsePDU body
75 TableĀ 53 ā€“ Structure of Stop_RequestPDU body
TableĀ 54 ā€“ Structure of Stop_ResponsePDU body
TableĀ 55 ā€“ Structure of Create_RequestPDU body
TableĀ 56 ā€“ Structure of Create_ResponsePDU body
TableĀ 57 ā€“ Structure of Delete_RequestPDU body
TableĀ 58 ā€“ Structure of Delete_ResponsePDU body
76 TableĀ 59 ā€“ Structure of Get_Attribute_Single_ResponsePDU body
TableĀ 60 ā€“ Structure of Set_Attribute_Single_RequestPDU body
TableĀ 61 ā€“ Structure of Set_Attribute_Single_ResponsePDU body
TableĀ 62 ā€“ Structure of Find_Next_Object_Instance_RequestPDU body
77 TableĀ 63 ā€“ Structure of Find_Next_Object_Instance_ResponsePDU body
TableĀ 64 ā€“ Structure of Apply_Attributes_RequestPDU body
TableĀ 65 ā€“ Structure of Apply_Attributes_ResponsePDU body
TableĀ 66 ā€“ Structure of Save_RequestPDU body
TableĀ 67 ā€“ Structure of Save_ResponsePDU body
78 TableĀ 68 ā€“ Structure of Restore_RequestPDU body
TableĀ 69 ā€“ Structure of Restore_ResponsePDU body
TableĀ 70 ā€“ Structure of Get_Member_ResponsePDU body
TableĀ 71 ā€“ Structure of Set_Member_RequestPDU body
TableĀ 72 ā€“ Structure of Set_Member_ResponsePDU body
79 TableĀ 73 ā€“ Structure of Insert_Member_RequestPDU body
TableĀ 74 ā€“ Structure of Insert_Member_ResponsePDU body
TableĀ 75 ā€“ Structure of Remove_Member_ResponsePDU body
80 FigureĀ 6 ā€“ Member ID/EX description (WORD)
TableĀ 76 ā€“ Common structure of _Member_RequestPDU body (basic format)
TableĀ 77 ā€“ Common structure of _Member_ResponsePDU body (basic format)
81 TableĀ 78 ā€“ Common structure of _Member_RequestPDU body (extended format)
TableĀ 79 ā€“ Common structure of _Member_ResponsePDU body (extended format)
TableĀ 80 ā€“ Extended Protocol ID
82 TableĀ 81 ā€“ Structure of _Member_RequestPDU body (Multiple Sequential Members)
TableĀ 82 ā€“ Structure of _Member_ResponsePDU body (Multiple Sequential Members)
83 TableĀ 83 ā€“ Structure of _Member_RequestPDU body (International String Selection)
TableĀ 84 ā€“ Structure of _Member_ResponsePDU body (International String Selection)
TableĀ 85 ā€“ Structure of Group_Sync_RequestPDU body
TableĀ 86 ā€“ Structure of Group_Sync_ResponsePDU body
84 TableĀ 87 ā€“ Structure of Multiple_Service_Packet_RequestPDU body
TableĀ 88 ā€“ Structure of Multiple_Service_Packet_ResponsePDU body
85 TableĀ 89 ā€“ Identity object class attributes
TableĀ 90 ā€“ Identity object instance attributes
86 TableĀ 91 ā€“ Identity object bit definitions for status instance attribute
87 TableĀ 92 ā€“ Default values for extended device status field (bits 4 to 7)of status instance attribute
TableĀ 93 ā€“ Identity object bit definitions for protection mode instance attribute
TableĀ 94 ā€“ Class level object/service specific response data of Get_Attributes_All
88 TableĀ 95 ā€“ Instance level object/service specific response data of Get_Attributes_All
TableĀ 96 ā€“ Object-specific request parameter for Reset
89 TableĀ 97 ā€“ Reset service parameter values
TableĀ 98 ā€“ Communication link attributes that shall be preserved
TableĀ 99 ā€“ Structure of Flash_LEDs_RequestPDU body
90 TableĀ 100 ā€“ Message Router object class attributes
TableĀ 101 ā€“ Message Router object instance attributes
TableĀ 102 ā€“ Class level object/service specific response data of Get_Attributes_All
91 TableĀ 103 ā€“ Instance level object/service specific response data of Get_Attributes_All
TableĀ 104 ā€“ Structure of Symbolic_Translation_RequestPDU body
TableĀ 105 ā€“ Structure of Symbolic_Translation_ResponsePDU body
TableĀ 106 ā€“ Object specific status for Symbolic_Translation service
92 TableĀ 107 ā€“ Assembly object class attributes
TableĀ 108 ā€“ Assembly object instance attributes
93 TableĀ 109 ā€“ Assembly Instance ID ranges
TableĀ 110 ā€“ Acknowledge Handler object class attributes
94 TableĀ 111 ā€“ Acknowledge Handler object instance attributes
TableĀ 112 ā€“ Structure of Add_AckData_Path_RequestPDU body
TableĀ 113 ā€“ Structure of Remove_AckData_Path_RequestPDU body
95 TableĀ 114 ā€“ Time Sync object class attributes
TableĀ 115 ā€“ Time Sync object instance attributes
99 TableĀ 116 ā€“ ClockIdentity encoding for different network implementations
TableĀ 117 ā€“ ClockClass values
TableĀ 118 ā€“ TimeAccuracy values
100 TableĀ 119 ā€“ TimePropertyFlags bit values
TableĀ 120 ā€“ TimeSource values
101 TableĀ 121 ā€“ Types of Clock
TableĀ 122 ā€“ Network protocol to PortPhysicalAddressInfo mapping
102 TableĀ 123 ā€“ Parameter object class attributes
TableĀ 124 ā€“ Parameter Class Descriptor bit values
103 TableĀ 125 ā€“ Parameter object instance attributes
104 TableĀ 126 ā€“ Semantics of Descriptor Instance attribute
TableĀ 127 ā€“ Descriptor Scaling bits usage
105 TableĀ 128 ā€“ Minimum and Maximum Value semantics
106 TableĀ 129 ā€“ Scaling Formula attributes
TableĀ 130 ā€“ Scaling links
107 TableĀ 131 ā€“ Class level object/service specific response data of Get_Attributes_All
TableĀ 132 ā€“ Instance level object/service specific response dataof Get_Attributes_All (Parameter object stub)
108 TableĀ 133 ā€“ Instance level object/service specific response dataof Get_Attributes_All (full Parameter object)
109 TableĀ 134 ā€“ Structure of Get_Enum_String_RequestPDU body
TableĀ 135 ā€“ Structure of Get_Enum_String_ResponsePDU body
TableĀ 136 ā€“ Enumerated strings Type versus Parameter data type
110 TableĀ 137 ā€“ Connection Manager object class attributes
TableĀ 138 ā€“ Connection Manager object instance attributes
111 TableĀ 139 ā€“ Class level object/service specific response data of Get_Attributes_All
TableĀ 140 ā€“ Instance level object/service specific response data of Get_Attributes_All
112 TableĀ 141 ā€“ Instance level object/service specific request data of Set_Attributes_All
TableĀ 142 ā€“ Connection object class attributes
113 TableĀ 143 ā€“ Connection object instance attributes
114 TableĀ 144 ā€“ Values assigned to the state attribute
115 FigureĀ 7 ā€“ Transport Class Trigger attribute
TableĀ 145 ā€“ Values assigned to the instance_type attribute
116 TableĀ 146 ā€“ Possible values within Direction Bit
TableĀ 147 ā€“ Possible values within Production Trigger Bits
117 TableĀ 148 ā€“ Possible values within Transport Class Bits
TableĀ 149 ā€“ TransportClass_Trigger attribute values summary
118 TableĀ 150 ā€“ Transport Class 0 client behavior summary
TableĀ 151 ā€“ Transport Class 1, 2 and 3 client behavior summary
119 FigureĀ 8 ā€“ CP2/3_initial_comm_characteristics attribute format
TableĀ 152 ā€“ Values defined for the CP2/3_produced_connection_id attribute
TableĀ 153 ā€“ Values defined for the CP2/3_consumed_connection_id attribute
120 TableĀ 154 ā€“ Values for the Initial Production Characteristics nibble
121 TableĀ 155 ā€“ Values for the Initial Consumption Characteristics nibble
124 TableĀ 156 ā€“ Values for the watchdog_timeout_action
126 TableĀ 157 ā€“ Structure of Connection_Bind_RequestPDU body
TableĀ 158 ā€“ Object specific status for Connection_Bind service
TableĀ 159 ā€“ Structure of Producing_Application_Lookup_RequestPDU body
127 4.1.9 Message and connection paths
TableĀ 160 ā€“ Structure of Producing_Application_Lookup_ResponsePDU body
TableĀ 161 ā€“ Producing_Application_Lookup Service status codes
128 FigureĀ 9 ā€“ Segment type
129 FigureĀ 10 ā€“ Port segment
TableĀ 162 ā€“ Possible port segment examples
130 TableĀ 163 ā€“ TCP/IP link address examples
131 FigureĀ 11 ā€“ Logical segment encoding
TableĀ 164 ā€“ Extended Logical Type
133 TableĀ 165 ā€“ Electronic key segment format
134 TableĀ 166 ā€“ Logical segments examples
135 TableĀ 167 ā€“ Network segments
137 FigureĀ 12 ā€“ Extended network segment
TableĀ 168 ā€“ Extended subtype definitions
138 FigureĀ 13 ā€“ Symbolic segment encoding
TableĀ 169 ā€“ Symbolic segment examples
139 TableĀ 170 ā€“ Data segment
TableĀ 171 ā€“ ANSI_Extended_Symbol segment
142 4.1.10 Class, attribute and service codes
TableĀ 172 ā€“ Addressing categories
TableĀ 173 ā€“ Class code ID ranges
143 TableĀ 174 ā€“ Attribute ID ranges
TableĀ 175 ā€“ Service code ranges
144 TableĀ 176 ā€“ Class codes
145 TableĀ 177 ā€“ Reserved class attributes for all object class definitions
TableĀ 178 ā€“ Common services list
146 TableĀ 179 ā€“ Identity object specific services list
TableĀ 180 ā€“ Message Router object specific services list
TableĀ 181 ā€“ Acknowledge Handler object specific services list
TableĀ 182 ā€“ Parameter object specific services list
147 TableĀ 183 ā€“ Services specific to Connection Manager
TableĀ 184 ā€“ Services specific to Connection object
148 4.1.11 Error codes
TableĀ 185 ā€“ Device type numbering
149 TableĀ 186 ā€“ Connection Manager service request error codes
158 TableĀ 187 ā€“ General status codes
160 TableĀ 188 ā€“ Extended status code for a general status of "Key Failure in path
161 TableĀ 189 ā€“ Identity object status codes
162 4.2 Data abstract syntax specification
4.2.1 Transport format specification
4.2.2 Abstract syntax notation
163 4.2.3 Control network data specification
165 4.2.4 Data type specification / dictionaries
167 4.3 Encapsulation abstract syntax
4.3.1 Encapsulation protocol
FigureĀ 14 ā€“ Encapsulation message
168 TableĀ 190 ā€“ Encapsulation header
TableĀ 191 ā€“ Encapsulation command codes
170 4.3.2 Command descriptions
TableĀ 192 ā€“ Encapsulation status codes
171 TableĀ 193 ā€“ Nop request encapsulation header
TableĀ 194 ā€“ RegisterSession request encapsulation header
172 TableĀ 195 ā€“ RegisterSession request data portion
TableĀ 196 ā€“ RegisterSession reply encapsulation header
173 TableĀ 197 ā€“ RegisterSession reply data portion (successful)
TableĀ 198 ā€“ UnRegisterSession request encapsulation header
174 TableĀ 199 ā€“ ListServices request encapsulation header
TableĀ 200 ā€“ ListServices reply encapsulation header
175 TableĀ 201 ā€“ ListServices reply data portion (successful)
TableĀ 202 ā€“ Communications capability flags
176 TableĀ 203 ā€“ ListIdentity request encapsulation header
177 TableĀ 204 ā€“ ListIdentity reply encapsulation header
TableĀ 205 ā€“ ListIdentity reply data portion (successful)
178 TableĀ 206 ā€“ CPFĀ 2 identity item
179 TableĀ 207 ā€“ ListInterfaces request encapsulation header
TableĀ 208 ā€“ ListInterfaces reply encapsulation header
180 TableĀ 209 ā€“ SendRRData request encapsulation header
TableĀ 210 ā€“ SendRRData request data portion
181 TableĀ 211 ā€“ SendRRData reply encapsulation header
TableĀ 212 ā€“ SendUnitData request encapsulation header
TableĀ 213 ā€“ SendUnitData request data portion
182 4.3.3 Common packet format
TableĀ 214 ā€“ Common packet format
TableĀ 215 ā€“ CPF item format
TableĀ 216 ā€“ Item Type ID numbers
183 TableĀ 217 ā€“ Null address item
TableĀ 218 ā€“ Connected address item
184 TableĀ 219 ā€“ Sequenced address item
TableĀ 220 ā€“ Unconnected data item
TableĀ 221 ā€“ Connected data item
185 TableĀ 222 ā€“ Sockaddr info items
186 5 Transfer syntax
5.1 Compact encoding
5.1.1 Encoding rules
TableĀ 223 ā€“ Usage of CPF items
187 5.1.2 Encoding constraints
5.1.3 Examples
TableĀ 224 ā€“ BOOLEAN encoding
TableĀ 225 ā€“ Example compact encoding of a BOOL value
TableĀ 226 ā€“ Encoding of SignedInteger values
TableĀ 227 ā€“ Example compact encoding of a SignedInteger value
188 TableĀ 228 ā€“ UnsignedInteger values
TableĀ 229 ā€“ Example compact encoding of an UnsignedInteger
TableĀ 230 ā€“ FixedLengthReal values
TableĀ 231 ā€“ Example compact encoding of a REAL value
TableĀ 232 ā€“ Example compact encoding of a LREAL value
189 TableĀ 233 ā€“ FixedLengthReal values
TableĀ 234 ā€“ STRING value
TableĀ 235 ā€“ STRING2 value
TableĀ 236 ā€“ STRINGN value
190 FigureĀ 15 ā€“ FixedLengthBitString compact encoding bit placement rules
TableĀ 237 ā€“ SHORT_STRING value
TableĀ 238 ā€“ Example compact encoding of a STRING value
TableĀ 239 ā€“ Example compact encoding of STRING2 value
TableĀ 240 ā€“ SHORT_STRING type
191 FigureĀ 16 ā€“ Example compact encoding of a SWORD FixedLengthBitString
FigureĀ 17 ā€“ Example compact encoding of a WORD FixedLengthBitString
FigureĀ 18 ā€“ Example compact encoding of a DWORD FixedLengthBitString
FigureĀ 19 ā€“ Example compact encoding of a LWORD FixedLengthBitString
192 TableĀ 241 ā€“ Example compact encoding of a single dimensional ARRAY
TableĀ 242 ā€“ Example compact encoding of a multiĀ­dimensional ARRAY
193 5.2 Data type reporting
5.2.1 Object data representation
TableĀ 243 ā€“ Example compact encoding of a STRUCTURE
194 5.2.2 Elementary data type reporting
TableĀ 244 ā€“ Identification codes and descriptions of elementary data types
195 5.2.3 Constructed data type reporting
TableĀ 245 ā€“ Identification codes and descriptions of constructed data types
TableĀ 246 ā€“ Formal structure encoding definition
196 FigureĀ 20 ā€“ Example 1 of formal encoding of a structure type specification
FigureĀ 21 ā€“ Example 2 of formal encoding of a structure type specification
TableĀ 247 ā€“ Formal structure with handles encoding definition
197 FigureĀ 22 ā€“ Example 3 of formal encoding of a handle structure type specification
FigureĀ 23 ā€“ Example 4 of formal encoding of a handle structure type specification
TableĀ 248 ā€“ Abbreviated structure encoding definition
198 FigureĀ 24 ā€“ Example 5 of abbreviated encoding of a structure type specification
TableĀ 249 ā€“ Formal array encoding definition
199 FigureĀ 25 ā€“ Example 1 of formal encoding of an array type specification
FigureĀ 26 ā€“ Example 2 of formal encoding of an array type specification
200 FigureĀ 27 ā€“ Example 1 of abbreviated encoding of an array type specification
FigureĀ 28 ā€“ Example 2 of abbreviated encoding of an array type specification
TableĀ 250 ā€“ Abbreviated array encoding definition
201 6 Structure of FAL protocol state machines
7 AP-Context state machine
7.1 Overview
7.2 Connection object state machine
7.2.1 I/O Connection instance behavior
FigureĀ 29 ā€“ I/O Connection object state transition diagram
202 TableĀ 251 ā€“ I/O Connection state event matrix
205 7.2.2 Bridged Connection instance behavior
FigureĀ 30 ā€“ Bridged Connection object state transition diagram
TableĀ 252 ā€“ Bridged Connection state event matrix
206 7.2.3 Explicit Messaging Connection instance behavior
207 FigureĀ 31 ā€“ Explicit Messaging Connection object state transition diagram
TableĀ 253 ā€“ Explicit Messaging Connection state event matrix
209 8 FAL service protocol machine (FSPM)
8.1 General
8.2 Primitive definitions
210 TableĀ 254 ā€“ Primitives issued by FAL user to FSPM
TableĀ 255 ā€“ Primitives issued by FAL user to FSPM
213 TableĀ 256 ā€“ Primitives issued by FSPM to FAL user
214 8.3 Parameters of primitives
8.4 FSPM state machines
TableĀ 257 ā€“ Parameters used with primitives exchanged between FAL user and FSPM
215 9 Application relationship protocol machines (ARPMs)
9.1 General
9.2 Connection-less ARPM (UCMM)
9.2.1 General
9.2.2 Primitive definitions
216 9.2.3 Parameters of primitives
TableĀ 258 ā€“ Primitives issued by FSPM to ARPM
TableĀ 259 ā€“ Primitives issued by ARPM to FSPM
TableĀ 260 ā€“ Parameters used with primitives exchanged between FSPM and ARPM
217 9.2.4 UCMM state machines
FigureĀ 32 ā€“ State transition diagram of UCMM client9
TableĀ 261 ā€“ UCMM client states
218 TableĀ 262 ā€“ State event matrix of UCMM client
219 FigureĀ 33 ā€“ State transition diagram of highā€“end UCMM server
TableĀ 263 ā€“ High-end UCMM server states
220 TableĀ 264 ā€“ State event matrix of high-end UCMM server
221 FigureĀ 34 ā€“ State transition diagram of lowā€“end UCMM server
TableĀ 265 ā€“ Low-end UCMM server states
222 9.2.5 Examples of UCMM sequences
TableĀ 266 ā€“ State event matrix of lowā€“end UCMM server
223 FigureĀ 35 ā€“ Sequence diagram for a UCMM with one outstanding message
224 9.2.6 Management UCMM
FigureĀ 36 ā€“ Sequence diagram for a UCMM with multiple outstanding messages
225 9.3 Connection-oriented ARPMs (transports)
9.3.1 Transport PDU buffer
9.3.2 Transport classes
FigureĀ 37 ā€“ TPDU buffer
TableĀ 267 ā€“ Notification
226 9.3.3 Common primitive definitions
TableĀ 268 ā€“ Transport classes
TableĀ 269 ā€“ Primitives issued by FSPM to ARPM
227 9.3.4 Parameters of common primitives
9.3.5 Transport state machines ā€“ class 0
TableĀ 270 ā€“ Primitives issued by ARPM to FSPM
TableĀ 271 ā€“ Parameters used with primitives exchanged between FSPM and ARPM
228 FigureĀ 38 ā€“ Data flow diagram using a client transport class 0 and server transport class 0
FigureĀ 39 ā€“ Sequence diagram of data transfer using transport class 0
229 FigureĀ 40 ā€“ Class 0 client STD
TableĀ 272 ā€“ Class 0 transport client states
TableĀ 273 ā€“ Class 0 client SEM
230 FigureĀ 41 ā€“ Class 0 server STD
TableĀ 274 ā€“ Class 0 transport server states
TableĀ 275 ā€“ Class 0 server SEM
231 9.3.6 Transport state machines ā€“ class 1
FigureĀ 42 ā€“ Data flow diagram using client transport class 1and server transport classĀ 1
232 FigureĀ 43 ā€“ Sequence diagram of data transferusing client transport class 1 and server transport class 1
233 TableĀ 276 ā€“ Class 1 transport client states
234 FigureĀ 44 ā€“ Class 1 client STD
TableĀ 277 ā€“ Class 1 client SEM
235 FigureĀ 45 ā€“ Class 1 server STD
TableĀ 278 ā€“ Class 1 transport server states
236 9.3.7 Transport state machines ā€“ class 2
TableĀ 279 ā€“ Class 1 server SEM
237 FigureĀ 46 ā€“ Data flow diagram using client transport class 2and server transport classĀ 2
238 FigureĀ 47 ā€“ Diagram of data transfer using client transport class 2and server transport class 2 without returned data
239 FigureĀ 48 ā€“ Sequence diagram of data transfer using client transport class 2and server transport class 2 with returned data
240 FigureĀ 49 ā€“ Class 2 client STD
TableĀ 280 ā€“ Class 2 transport client states
241 TableĀ 281 ā€“ Class 2 client SEM
242 FigureĀ 50 ā€“ Class 2 server STD
TableĀ 282 ā€“ Class 2 transport server states
243 TableĀ 283 ā€“ Class 2 server SEM
244 9.3.8 Transport state machines ā€“ class 3
245 FigureĀ 51 ā€“ Data flow diagram using client transport classĀ 3and server transport classĀ 3
246 FigureĀ 52 ā€“ Sequence diagram of data transfer using client transport class 3 and server transport class 3 without returned data
247 FigureĀ 53 ā€“ Sequence diagram of data transfer using client transportclass 3 and server transport class 3 with returned data
248 TableĀ 284 ā€“ Class 3 transport client states
249 FigureĀ 54 ā€“ ClassĀ 3 client STD
TableĀ 285 ā€“ ClassĀ 3 client SEM
251 TableĀ 286 ā€“ Class 3 transport server states
252 FigureĀ 55 ā€“ ClassĀ 3 server STD
253 TableĀ 287 ā€“ ClassĀ 3 server SEM
254 9.3.9 Transport state machines ā€“ classes 4, 5, 6
9.3.10 Transport state machines ā€“ class 4
9.3.11 Transport state machines ā€“ class 5
9.3.12 Transport state machines ā€“ class 6
10 DLL mapping protocol machine 1 (DMPM 1)
10.1 General
FigureĀ 56 ā€“ Data flow diagram for a link producer and consumer
255 10.2 Link producer
10.3 Link consumer
10.4 Primitive definitions
10.4.1 Primitives exchanged between DMPM and ARPM
10.4.2 Parameters of ARPM/DMPM primitives
TableĀ 288 ā€“ Primitives issued by ARPM to DMPM
TableĀ 289 ā€“ Primitives issued by DMPM to ARPM
256 10.4.3 Primitives exchanged between data-link layer and DMPM
10.4.4 Parameters of DMPM/Data-link Layer primitives
TableĀ 290 ā€“ Parameters used with primitives exchanged between ARPM and DMPM
TableĀ 291 ā€“ Primitives exchanged between data-link layer and DMPM
TableĀ 292 ā€“ Parameters used with primitives exchanged between DMPM and Data-link
257 10.4.5 Network connection ID
TableĀ 293 ā€“ Selection of connection ID
258 10.5 DMPM state machine
10.5.1 DMPM states
FigureĀ 57 ā€“ State transition diagram for a link producer
TableĀ 294 ā€“ Link producer states
TableĀ 295 ā€“ State event matrix of link producer
259 10.5.2 Functions used by DMPM
10.6 Data-link Layer service selection
11 DLL mapping protocol machine 2 (DMPM 2)
11.1 General
FigureĀ 58 ā€“ State transition diagram for a link consumer
TableĀ 296 ā€“ Link consumer states
TableĀ 297 ā€“ State event matrix of link consumer
260 11.2 Mapping of UCMM PDUs
11.2.1 General
TableĀ 298 ā€“ UCMM request
261 11.2.2 Common requirements for Connection Manager PDUā€™s
TableĀ 299 ā€“ UCMM reply
262 TableĀ 300 ā€“ Network Connection ID selection
263 11.2.3 Forward_open PDU for class 2 and class 3 connections
11.2.4 Forward_open for class 0 and class 1 connections
264 TableĀ 301 ā€“ Sockaddr Info usage
267 11.2.5 Forward_close
TableĀ 302 ā€“ Example multicast assignments
268 11.3 Mapping of transport class 0 and class 1 PDUs
11.3.1 Class 0 and class 1 PDUs
11.3.2 No dependency on TCP connections
11.3.3 Class 0 and class 1 packet ordering
TableĀ 303 ā€“ UDP data format for class 0 and class 1
269 11.3.4 Screening incoming connected data
11.4 Mapping of transport class 2 and class 3 PDUā€™s
270 11.5 Mapping of transport classes 4 to 6
11.6 IGMP Usage
11.6.1 Background (informative)
TableĀ 304 ā€“ Transport class 2 and class 3 connected data
271 11.6.2 IGMP Membership Report messages
11.6.3 IGMP Leave Group messages
272 11.7 Quality of Service (QoS) for CPĀ 2/2 messages
11.7.1 Overview
11.7.2 DSCP format
273 11.7.3 IEEEĀ 802.1D/IEEEĀ 802.Q format
11.7.4 Mapping CPFĀ 2 traffic to DSCP and IEEEĀ 802.1D
FigureĀ 59 ā€“ DS field in the IP header
FigureĀ 60 ā€“ IEEEĀ 802.1Q tagged frame
TableĀ 305 ā€“ Default DSCP and IEEEĀ 802.1D mapping
274 11.7.5 CPĀ 2/2 usage of DSCP
11.7.6 CPĀ 2/2 usage of IEEEĀ 802.1D/IEEEĀ 802.1Q
11.7.7 User considerations with IEEEĀ 802.1D/IEEEĀ 802.1Q
275 11.8 Management of an encapsulation session
11.8.1 Phases of an encapsulation session
11.8.2 Establishing a session
11.8.3 Terminating a session
11.8.4 Maintaining a session
276 11.8.5 TCP connection management
12 DLL mapping protocol machine 3 (DMPM 3)
277 Bibliography
BS EN IEC 61158-6-2:2019
$215.11