BS EN 61158-4-12:2014
$215.11
Industrial communication networks. Fieldbus specifications – Data-link layer protocol specification. Type 12 elements
Published By | Publication Date | Number of Pages |
BSI | 2014 | 144 |
1.1 General
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
-
in a synchronously-starting cyclic manner, and
-
in a cyclic or acyclic asynchronous manner, as requested each cycle by each of those data-link entities.
Thus this protocol can be characterized as one which provides cyclic and acyclic access asynchronously but with a synchronous restart of each cycle.
1.2 Specifications
This standard specifies
-
procedures for the transfer of data and control information from one data-link user entity to one or more user entity;
-
the structure of the DLPDUs used for the transfer of data and control information by the protocol of this standard, and their representation as physical interface data units.
1.3 Procedures
The procedures are defined in terms of
-
the interactions between DL-entities (DLEs) through the exchange of DLPDUs;
-
the interactions between a DL-service (DLS) provider and a DLS-user in the same system through the exchange of DLS primitives;
-
the interactions between a DLS-provider and the MAC services of ISO/IEC 8802-3.
1.4 Applicability
These procedures are applicable to instances of communication between systems which support time-critical communications services within the data-link layer of the OSI reference model, and which require the ability to interconnect in an open systems interconnection environment.
Profiles provide a simple multi-attribute means of summarizing an implementation’s capabilities, and thus its applicability to various time-critical communications needs.
1.5 Conformance
This standard also specifies conformance requirements for systems implementing these procedures. This part of this standard does not contain tests to demonstrate compliance with such requirements.
PDF Catalog
PDF Pages | PDF Title |
---|---|
11 | NTRODUCTION |
12 | 1 Scope 1.1 General 1.2 Specifications 1.3 Procedures 1.4 Applicability 1.5 Conformance |
13 | 2 Normative references 3 Terms, definitions, symbols, abbreviations and conventions 3.1 Reference model terms and definitions |
14 | 3.2 Service convention terms and definitions |
15 | 3.3 Common terms and definitions 3.4 Additional Type 12 definitions |
18 | 3.5 Common symbols and abbreviations |
19 | 3.6 Additional Type 12 symbols and abbreviations |
20 | 3.7 Conventions |
21 | Figures Figure 1 – Type description example Tables Table 1 – PDU element description example |
22 | Figure 2 – Common structure of specific fields Table 2 – Example attribute description |
24 | Table 3 – State machine description elements Table 4 – Description of state machine elements Table 5 – Conventions used in state machines |
25 | 4 Overview of the DLprotocol 4.1 Operating principle 4.2 Topology 4.3 Frame processing principles |
26 | 4.4 Data-link layer overview Figure 3 – Frame structure |
27 | 4.5 Error detection overview 4.6 Node reference model Figure 4 – Mapping of data in a frame |
28 | 4.7 Operation overview Figure 5 – Slave node reference model |
29 | 5 Frame structure 5.1 Frame coding principles 5.2 Data types and encoding rules Figure 6 – Type 12 PDUs embedded in Ethernet frame Figure 7 – Type 12 PDUs embedded in UDP/IP |
30 | Table 6 – Transfer Syntax for bit sequences Table 7 – Transfer syntax for data type Unsignedn |
31 | 5.3 DLPDU structure Table 8 – Transfer syntax for data type Integern |
32 | Table 9 – Type 12 frame inside an Ethernet frame Table 10 – Type 12 frame inside an UDP PDU |
33 | Table 11 – Type 12 frame structure containing Type 12 PDUs Table 12 – Type 12 frame structure containing network variables |
34 | 5.4 Type 12 DLPDU structure Table 13 – Type 12 frame structure containing mailbox Table 14 – Auto increment physical read (APRD) |
35 | Table 15 – Configured address physical read (FPRD) |
37 | Table 16 – Broadcast read (BRD) |
38 | Table 17 – Logical read (LRD) |
39 | Table 18 – Auto Increment physical write (APWR) |
40 | Table 19 – Configured address physical write (FPWR) |
41 | Table 20 – Broadcast write (BWR) |
42 | Table 21 – Logical write (LWR) |
43 | Table 22 – Auto increment physical read write (APRW) |
44 | Table 23 – Configured address physical read write (FPRW) |
46 | Table 24 – Broadcast read write (BRW) |
47 | Table 25 – Logical read write (LRW) |
48 | Table 26 – Auto increment physical read multiple write (ARMW) |
49 | Table 27 – Configured address physical read multiple write (FRMW) |
50 | 5.5 Network variable structure 5.6 Type 12 mailbox structure Table 28 – Network variable |
51 | Table 29 – Mailbox Table 30 – Error Reply Service Data |
52 | 6 Attributes 6.1 Management |
54 | Figure 8 – DL information type description Table 31 – DL information |
56 | Figure 9 – Address type description Table 32 – Configured station address |
57 | Figure 10 – DL control type description Table 33 – DL control |
60 | Figure 11 – DL status type description Table 34 – DL status |
61 | Figure 12 – Successful write sequence to DL-user control register |
62 | Figure 13 – Successful read sequence to the DL-user status register Table 35 – DLSuser specific registers |
64 | Table 36 – DLSuser event |
65 | Table 37 – DLSuser event mask |
66 | Table 38 – External event |
67 | 6.2 Statistics Table 39 – External event mask |
68 | Figure 14 – RX error counter type description Table 40 – RX error counter |
69 | Figure 15 – Lost link counter type description Table 41 – Lost link counter |
70 | 6.3 Watchdogs Figure 16 – Additional counter type description Figure 17 – Watchdog divider type description Table 42 – Additional counter |
71 | Figure 18 – DLS-user Watchdog divider type description Figure 19 – Sync manager watchdog type description Table 43 – Watchdog divider Table 44 – DLSuser watchdog |
72 | Figure 20 – Sync manager watchdog status type description Table 45 – Sync manager channel watchdog Table 46 – Sync manager watchdog Status |
73 | 6.4 Slave information interface Figure 21 – Watchdog counter type description Figure 22 – Slave information interface access type description Table 47 – Watchdog counter Table 48 – Slave information interface access |
75 | Figure 23 – Slave information interface control/status type description Table 49 – Slave information interface control/status |
76 | Figure 24 – Slave information interface address type description |
77 | 6.5 Media independent interface (MII) Figure 25 – Slave information interface data type description Table 50 – Actual slave information interface address Table 51 – Actual slave information interface data |
78 | Figure 26 – MII control/status type description Table 52 – MII control/status |
80 | Figure 27 – MII address type description Figure 28 – MII data type description Table 53 – Actual MII address Table 54 – Actual MII data |
81 | 6.6 Fieldbus memory management unit (FMMU) Figure 29 – MII access type description Table 55 – MII access |
82 | Figure 30 – FMMU mapping example |
83 | Figure 31 – FMMU entity type description Table 56 – Fieldbus memory management unit (FMMU) entity |
84 | 6.7 Sync manager Table 57 – Fieldbus memory management unit (FMMU) |
85 | Figure 32 – SyncM mailbox interaction Figure 33 – SyncM buffer allocation |
86 | Figure 34 – SyncM buffer interaction |
87 | Figure 35 – Handling of write/read toggle with read mailbox |
89 | Figure 36 – Sync manager channel type description Table 58 – Sync manager channel |
91 | 6.8 Distributed clock Table 59 – Sync manager Structure |
93 | Figure 37 – Distributed clock local time parameter type description Table 60 – Distributed clock local time parameter |
95 | 7 DL-user memory 7.1 Overview Table 61 – Distributed clock DLSuser parameter |
96 | 7.2 Mailbox access type Figure 38 – Successful write sequence to mailbox |
97 | Figure 39 – Bad write sequence to mailbox Figure 40 – Successful read sequence to mailbox |
98 | 7.3 Buffered access type Figure 41 – Bad read sequence to mailbox Figure 42 – Successful write sequence to buffer |
99 | 8 Type 12: FDL protocol state machines 8.1 Overview of slave DL state machines Figure 43 – Successful read sequence to buffer |
100 | 8.2 State machine description Figure 44 – Structuring of the protocol machines of an slave |
102 | Figure 45 – Slave information interface read operation |
103 | Figure 46 – Slave information interface write operation |
104 | Figure 47 – Slave information interface reload operation |
106 | Figure 48 – Distributed clock |
107 | Figure 49 – Delay measurement sequence |
108 | Annex A (informative) Type 12: Additional specifications on DL-Protocol state machines A.1 DHSM Table A.1 – Primitives issued by DHSM to PSM Table A.2 – Primitives issued by PSM to DHSM Table A.3 – Parameters used with primitives exchanged between DHSM and PSM |
109 | Table A.4 – Identifier for the octets of a Ethernet frame |
111 | Table A.5 – DHSM state table |
126 | A.2 SYSM Table A.6 – DHSM function table Table A.7 – Primitives issued by SYSM to DHSM |
127 | Table A.8 – Primitives issued by DHSM to SYSM Table A.9 – Primitives issued by DL-User to SYSM Table A.10 – Primitives issued by SYSM to DL-User Table A.11 – Parameters used with primitives exchanged between SYSM and DHSM |
129 | Table A.12 – SYSM state table |
138 | A.3 RMSM Table A.13 – SYSM function table Table A.14 – Primitives issued by RMSM to SYSM |
139 | Table A.15 – Primitives issued by SYSM to RMSM Table A.16 – Parameters used with primitives exchanged between RMSM and SYSM |
140 | Table A.17 – RMSM state table |
141 | Table A.18 – RMSM function table |
142 | Bibliography |