Shopping Cart

No products in the cart.

BS EN 61158-4-12:2012

$215.11

Industrial communication networks. Fieldbus specifications – Data-link layer protocol specification. Type 12 elements

Published By Publication Date Number of Pages
BSI 2012 146
Guaranteed Safe Checkout
Categories: ,

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 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

  1. in a synchronously-starting cyclic manner, and

  2. 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

  1. procedures for the transfer of data and control information from one data-link user entity to one or more user entity;

  2. 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

  1. the interactions between DL-entities (DLEs) through the exchange of DLPDUs;

  2. the interactions between a DL-service (DLS) provider and a DLS-user in the same system through the exchange of DLS primitives;

  3. 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
6 CONTENTS
11 INTRODUCTION
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 and abbreviations
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
23 Table 3 – State machine description elements
24 Table 4 – Description of state machine elements
Table 5 – Conventions used in state machines
25 4 Overview of the DL protocol
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)
36 Table 16 – Broadcast read (BRD)
37 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)
45 Table 24 – Broadcast read write (BRW)
46 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 6 Attributes
6.1 Management
Table 29 – Mailbox
Table 30 – Error Reply Service Data
53 Figure 8 – DL information type description
54 Table 31 – DL information
55 Figure 9 – Address type description
56 Table 32 – Configured station address
57 Figure 10 – DL control type description
Table 33 – DL control
59 Figure 11 – DL status type description
60 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 – DLS user specific registers
64 Table 36 – DLS user event
66 Table 37 – DLS user event mask
67 Table 38 – External event
68 6.2 Statistics
Table 39 – External event mask
69 Figure 14 – RX error counter type description
Table 40 – RX error counter
70 Figure 15 – Lost link counter type description
Table 41 – Lost link counter
71 6.3 Watchdogs
Figure 16 – Additional counter type description
Table 42 – Additional counter
72 Figure 17 – Sync configuration type description
Figure 18 – Watchdog divider type description
Table 43 – Watchdog divider
Table 44 – DLS user watchdog
73 Figure 19 – Sync manager watchdog type description
Figure 20 – Sync manager watchdog status type description
Table 45 – Sync manager channel watchdog
Table 46 – Sync manager watchdog Status
74 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
76 Figure 23 – Slave information interface control/status type description
77 Table 49 – Slave information interface control/status
78 Figure 24 – Slave information interface address type description
Table 50 – Actual slave information interface address
79 6.5 Media independent interface (MII)
Figure 25 – Slave information interface data type description
Table 51 – Actual slave information interface data
80 Figure 26 – MII control/status type description
Table 52 – MII control/status
81 Figure 27 – MII address type description
Table 53 – Actual MII address
82 6.6 Fieldbus memory management unit (FMMU)
Figure 28 – MII data type description
Figure 29 – FMMU mapping example
Table 54 – Actual MII data
83 Figure 30 – FMMU entity type description
84 Table 55 – Fieldbus memory management unit (FMMU) entity
85 6.7 Sync manager
Table 56 – Fieldbus memory management unit (FMMU)
86 Figure 31 – SyncM mailbox interaction
Figure 32 – SyncM buffer allocation
87 Figure 33 – SyncM buffer interaction
Figure 34 – Handling of write/read toggle with read mailbox
89 Figure 35 – Sync manager channel type description
Table 57 – Sync manager channel
91 6.8 Distributed clock
Table 58 – Sync manager Structure
93 Figure 36 – Distributed clock local time parameter type description
94 Table 59 – Distributed clock local time parameter
95 7 DL-user memory
7.1 Overview
Table 60 – Distributed clock DLS user parameter
96 7.2 Mailbox access type
Figure 37 – Successful write sequence to mailbox
97 Figure 38 – Bad write sequence to mailbox
Figure 39 – Successful read sequence to mailbox
98 Figure 40 – Bad read sequence to mailbox
99 7.3 Buffered access type
Figure 41 – Successful write sequence to buffer
100 Figure 42 – Successful read sequence to buffer
101 8 Type 12: FDL protocol state machines
8.1 Overview of slave DL state machines
8.2 State machine description
Figure 43 – Structuring of the protocol machines of an slave
103 Figure 44 – Slave information interface read operation
104 Figure 45 – Slave information interface write operation
105 Figure 46 – Slave information interface reload operation
107 Figure 47 – Distributed clock
108 Figure 48 – Delay measurement sequence
109 Annex A (informative) Type 12: Additional specifications on DL Protocol state machines
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
110 Table A.4 – Identifier for the octets of a Ethernet frame
112 Table A.5 – DHSM state table
127 Table A.6 – DHSM function table
Table A.7 – Primitives issued by SYSM to DHSM
128 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
130 Table A.12 – SYSM state table
139 Table A.13 – SYSM function table
Table A.14 – Primitives issued by RMSM to SYSM
140 Table A.15 – Primitives issued by SYSM to RMSM
Table A.16 – Parameters used with primitives exchanged between RMSM and SYSM
141 Table A.17 – RMSM state table
142 Table A.18 – RMSM function table
143 Bibliography
BS EN 61158-4-12:2012
$215.11