BS EN 61158-4-2:2012
$215.11
Industrial communication networks. Fieldbus specifications – Data-link layer protocol specification. Type 2 elements
Published By | Publication Date | Number of Pages |
BSI | 2012 | 286 |
The data-link layer provides basic time-critical messaging communications between devices in an automation environment.
This protocol provides communication opportunities to all participating data-link entities, sequentially and in a cyclic synchronous manner. Foreground scheduled access is available for time-critical activities together with background unscheduled access for less critical activities.
Deterministic and synchronized transfers can be provided at cyclic intervals up to 1 ms and device separations of 25 km. This performance is adjustable dynamically and on-line by re- configuring the parameters of the local link whilst normal operation continues. By similar means, DL connections and new devices may be added or removed during normal operation.
This protocol provides means to maintain clock synchronization across an extended link with a precision better than 10 ฮผs.
This protocol optimizes each access opportunity by concatenating multiple DLSDUs and associated DLPCI into a single DLPDU, thereby improving data transfer efficiency for data-link entities that actively source multiple streams of data.
The maximum system size is an unlimited number of links of 99 nodes, each with 255 DLSAP-addresses. Each link has a maximum of 224 related peer and publisher DLCEPs.
PDF Catalog
PDF Pages | PDF Title |
---|---|
7 | CONTENTS |
14 | INTRODUCTION |
16 | 1 Scope 1.1 General 1.2 Specifications 1.3 Procedures |
17 | 1.4 Applicability 1.5 Conformance 2 Normative references |
18 | 3 Terms, definitions, symbols and abbreviations 3.1 Reference model terms and definitions |
20 | 3.2 Service convention terms and definitions |
21 | 3.3 Common terms and definitions |
22 | Figures Figure 1 โ Relationships of DLSAPs, DLSAP-addresses and group DL addresses |
23 | 3.4 Additional Type 2 definitions |
30 | 3.5 Type 2 symbols and abbreviations |
31 | 4 Overview of the data-link protocol 4.1 General |
32 | Figure 2 โ Data-link layer internal architecture Tables Table 1 โ Data-link layer components |
33 | 4.2 Services provided by the DL |
34 | 4.3 Structure and definition of DL addresses Figure 3 โ Basic structure of a MAC ID address |
35 | Figure 4 โ Basic structure of a generic tag address Figure 5 โ Basic structure of a fixed tag address Table 2 โ MAC ID addresses allocation |
36 | 4.4 Services assumed from the PhL Table 3 โ Fixed tag service definitions |
37 | Figureย 6 โ M_symbols and Manchester encoding at 5 MHz Table 4 โ Data encoding rules |
38 | Table 5 โ M Data symbols Table 6 โ Truth table for ph_status_indication |
39 | 4.5 Functional classes 5 General structure and encoding of PhIDUs and DLPDUs and related elements of procedure 5.1 Overview 5.2 Media access procedure |
40 | Figure 7 โ NUT structure |
41 | Figure 8 โ Media access during scheduled time |
42 | Figure 9 โ Media access during unscheduled time |
43 | 5.3 DLPDU structure and encoding Figure 10 โ DLPDU format |
44 | Table 7 โ FCS length, polynomials and constants |
46 | Figure 11 โ Aborting a DLPDU during transmission |
47 | 5.4 Lpacket components Figure 12 โ Lpacket format |
48 | Figure 13 โ Generic tag Lpacket format |
49 | 5.5 DLPDU procedures Figure 14 โ Fixed tag Lpacket format |
50 | 5.6 Summary of DLL support services and objects |
51 | Tableย 8 โ DLL support services and objects |
52 | 6 Specific DLPDU structure, encoding and procedures 6.1 Modeling language |
54 | 6.2 DLS user services Table 9 โ Elementary data types |
58 | Table 10 โ DLL events |
60 | 6.3 Generic tag Lpacket |
61 | 6.4 Moderator Lpacket |
62 | 6.5 Time distribution Lpacket |
63 | Figure 15 โ Goodness parameter of TimeDist_Lpacket Table 11 โ Time distribution priority |
64 | 6.6 UCMM Lpacket |
65 | 6.7 Keeper UCMM Lpacket 6.8 TUI Lpacket |
66 | 6.9 Link parameters Lpacket and tMinus Lpacket Table 12 โ Format of the TUI Lpacket |
68 | 6.10 Iโm-alive Lpacket |
69 | 6.11 Ping Lpackets Figure 16 โ Example Iโm alive processing algorithm |
71 | 6.12 WAMI Lpacket 6.13 Debug Lpacket |
72 | 6.14 IP Lpacket 6.15 Ethernet Lpacket 7 Objects for station management 7.1 General |
73 | 7.2 ControlNet object |
74 | Table 13 โ ControlNet object class attributes Table 14 โ ControlNet object instance attributes |
78 | Table 15 โ TUI status flag bits |
79 | Table 16 โ Channel state bits |
81 | Table 17 โ ControlNet object common services |
82 | Table 18 โ ControlNet object class specific services |
83 | 7.3 Keeper object |
84 | Table 19 โ Keeper object revision history Table 20 โ Keeper object class attributes |
85 | Table 21 โ Keeper object instance attributes |
87 | Table 22 โ Keeper operating state definitions |
88 | Table 23 โ Port status flag bit definitions |
89 | Table 24 โ TUI status flag bits |
90 | Figure 17 โ Keeper CRC algorithm |
91 | Table 25 โ Keeper attributes |
92 | Table 26 โ Memory requirements (in octets) for the Keeper attributes Table 27 โ Keeper object common services |
93 | Table 28 โ Keeper object class specific services |
94 | Tableย 29 โ Service error codes |
98 | Table 30 โ Wire order format of the TUI Lpacket |
99 | Table 31 โ Service error codes Table 32 โ Keeper object operating states |
101 | Figure 18 โ Keeper object power-up state diagram |
102 | Figureย 19 โ Keeper object operating state diagram |
103 | Table 33 โ Keeper object state event matrix |
105 | 7.4 Scheduling object Figure 20 โ Synchronized network change processing |
106 | Tableย 34 โ Scheduling object class attributes |
107 | Table 35 โ Scheduling object instance attributes Table 36 โ Scheduling object common services |
108 | Table 37 โ Status error descriptions for Create |
109 | Table 38 โ Status error descriptions for Delete and Kick_Timer Tableย 39 โ Scheduling object class specific services |
111 | Table 40 โ Status error descriptions for Read |
112 | Table 41 โ Status error descriptions for Conditional_Write Table 42 โ Status error descriptions for Forced_Write |
113 | Table 43 โ Status error descriptions for Change_Start Tableย 44 โ Status error descriptions for Break_Connections |
114 | Table 45 โ Status error descriptions for Change_Complete |
115 | Table 46 โ Status error descriptions for Restart_Connections |
116 | 7.5 TCP/IP Interface object Table 47 โ TCP/IP Interface object class attributes |
117 | Table 48 โ TCP/IP Interface object instance attributes |
119 | Table 49 โ Status bits Table 50 โ Configuration capability bits |
120 | Table 51 โ Configuration control bits Table 52 โ Example path |
121 | Table 53 โ Interface configuration components |
122 | Table 54 โ Alloc control values |
123 | Table 55 โ TCP/IP Interface object common services Table 56 โ Get_Attribute_All reply format |
125 | 7.6 Ethernet link object Figure 21 โ State transition diagram for TCP/IP Interface object Table 57 โ Ethernet link object revision history |
126 | Table 58 โ Ethernet link object class attributes |
127 | Table 59 โ Ethernet link object instance attributes |
130 | Table 60 โ Interface flags bits |
131 | Table 61 โ Control bits Table 62 โ Interface type |
132 | Table 63 โ Interface state Table 64 โ Admin state Table 65 โ Ethernet Link object common services |
133 | 7.7 DeviceNet object Table 66 โ Ethernet Link object class specific services |
134 | Table 67 โ DeviceNet object revision history Table 68 โ DeviceNet object class attributes |
135 | Table 69 โ DeviceNet object instance attributes |
137 | Table 70 โ Bit rate attribute values |
138 | Table 71 โ BOI attribute values |
139 | Table 72 โ Diagnostic counters bit description |
140 | Table 73 โ DeviceNet object common services |
141 | Table 74 โ Reset service parameter Table 75 โ Reset service parameter values |
142 | 7.8 Connection configuration object (CCO) Table 76 โ DeviceNet object class specific services |
143 | Table 77 โ Connection configuration object revision history |
144 | Tableย 78 โ Connection configuration object class attributes |
145 | Table 79 โ Format number values |
146 | Table 80 โ Connection configuration object instance attributes |
148 | Table 81 โ Originator connection status values |
149 | Table 82 โ Target connection status values Table 83 โ Connection flags |
151 | Table 84 โ I/O mapping formats |
152 | Tableย 85 โ Connection configuration object common services Table 86 โ Get_Attribute_All error codes |
153 | Table 87 โ Get_Attribute_All response |
154 | Table 88 โ Set_Attribute_All error codes |
155 | Table 89 โ Set_Attribute_All request |
156 | Table 90 โ Create request parameters |
157 | Table 91 โ Create error codes Table 92 โ Delete error codes Table 93 โ Restore error codes |
158 | Table 94 โ Connection configuration object class specific services Table 95 โ Kick_Timer error codes |
159 | Table 96 โ Open_Connection error codes Table 97 โ Close_Connection error codes Table 98 โ Stop_Connection error codes |
160 | Table 99 โ Change_Start error codes Table 100 โ Get_Status service parameter Table 101 โ Get_Status service response |
161 | Table 102 โ Get_Status service error codes Table 103 โ Change_Complete service parameter Table 104 โ Change_Complete service error codes |
162 | Table 105 โ Audit_Changes service parameter Table 106 โ Audit_Changes service error codes |
163 | 7.9 DLR object Figure 22 โ Connection configuration object edit flowchart |
164 | Table 107 โ Class attributes Table 108 โInstance attributes |
166 | Table 109 โ Network Status values |
167 | Table 110 โ Ring Supervisor Status values |
170 | Table 111 โ DLR object common services Table 112 โ Get_Attributes_All Response โ non supervisor device Table 113 โ Get_Attributes_All Response โ supervisor-capable device |
171 | Table 114 โ DLR object class specific services |
172 | 7.10 QoS object Table 115 โ QoS object revision history Table 116 โ QoS object class attributes |
173 | Table 117 โ QoS object instance attributes |
174 | 8 Other DLE elements of procedure 8.1 Network attachment monitor (NAM) Table 118 โ Default DCSP values and usages Table 119 โ Common services |
175 | Figure 23 โ NAM state machine Table 120 โ NAM states |
176 | Table 121 โ Default link parameters |
181 | 8.2 Calculating link parameters |
182 | Table 122 โ PhL timing characteristics |
189 | 9 Detailed specification of DL components 9.1 General 9.2 Access control machine (ACM) |
206 | 9.3 TxLLC |
210 | 9.4 RxLLC |
213 | 9.5 Transmit machine (TxM) |
216 | 9.6 Receive machine (RxM) |
222 | 9.7 Serializer |
223 | 9.8 Deserializer |
224 | 9.9 DLL management |
226 | 10 Device Level Ring (DLR) protocol 10.1 General 10.2 Supported topologies |
227 | Figure 24 โ DLR rings connected to switches |
228 | 10.3 Overview of DLR operation Figure 25 โ Normal operation of a DLR network Figure 26 โ Beacon and Announce frames |
229 | Figure 27 โ Link failure |
230 | 10.4 Classes of DLR implementation Figure 28 โ Network reconfiguration after link failure |
231 | 10.5 DLR behavior Table 123 โ DLR variables |
236 | 10.6 Implementation requirements Figure 29 โ Neighbor Check process |
238 | 10.7 Using non-DLR nodes in the ring network |
240 | Figure 30 โ Unsupported topology โ example 1 Figure 31 โ Unsupported topology โ example 2 |
241 | 10.8 DLR messages |
242 | Table 124 โ MAC addresses for DLR messages Table 125 โ IEEEย 802.1Q frame format Table 126 โ Common fields in DLR messages |
243 | Table 127 โ Format of the Beacon frame Table 128 โ Ring State values |
244 | Table 129 โ Format of the Neighbor_Check request Table 130 โ Format of the Neighbor_Check response Table 131 โ Format of the Link_Status/Neighbor_Status frame |
245 | Table 132 โ Link/Neighbor status values Table 133 โ Format of the Announce frame Table 134 โ Format of the Sign_On frame |
246 | 10.9 State diagrams and state-event-action matrices Figure 32 โ State transition diagram for Beacon frame based non-supervisor ring node Table 135 โ Parameter values for Beacon frame based non-supervisor ring node |
247 | Table 136 โ State-event-action matrix for Beacon frame based non-supervisor ring node |
251 | Figure 33 โ State transition diagram for Announce frame based non-supervisor ring node Table 137 โ Parameter values for Announce frame based non-supervisor ring node |
252 | Table 138 โ State-event-action matrix for Announce frame based non-supervisor ring node |
254 | Figure 34 โ State transition diagram for ring supervisor |
255 | Table 139 โ Parameter values for ring supervisor node |
256 | Table 140 โ State-event-action matrix for ring supervisor node |
267 | 10.10 Performance analysis Table 141 โ Parameters/assumptions for example performance calculations |
270 | Table 142 โ Example ring configuration parameters and performance |
271 | Annex A (normative) Indicators and switches |
272 | Table A.1 โ Module status indicator |
273 | Table A.2 โ Network status indicators |
275 | Figure A.1 โ Non redundant network status indicator labeling |
276 | Figure A.2 โ Redundant network status indicator labeling |
277 | Table A.3 โ Network status indicator |
279 | Table A.4 โ Network status indicator |
280 | Table A.5 โ Combined module/network status indicator |
281 | Table A.6 โ I/O status indicator |
283 | Table A.7 โ Bit rate switch encoding |
284 | Bibliography |