1、BRITISH STANDARD BS EN 61334-4-33:1998 IEC 61334-4-33:1998 Distribution automation using distribution line carrier systems Part 4-33: Data communication protocols Data link layer Connection oriented protocol The European StandardEN61334-4-33:1998 has the status of a British Standard ICS 29.240.99; 3
2、3.040.40; 35.100.20BSEN 61334-4-33:1998 This British Standard, having been prepared under the directionof the Electrotechnical Sector Committee, was publishedunder the authorityofthe Standards Committee andcomes into effect on 15December1998 BSI 05-1999 ISBN 0 580 30959 2 National foreword This Brit
3、ish Standard is the English language version ofEN61334-4-33:1998. It is identical withIEC61334-4-33:1998. The UK participation in its preparation was entrusted to Technical Committee PEL/57, Power system control and associated communications, which has the responsibility to: aid enquirers to underst
4、and the text; present to the responsible international/European committee any enquiries on the interpretation, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the UK. A list of organizations represented on th
5、is committee can be obtained on request to its secretary. From1January1997, allIEC publications have the number60000 added to the old number. For instance, IEC27-1 has been renumbered asIEC60027-1. For a period of time during the change over from one numbering system to the other, publications may c
6、ontain identifiers from both systems. Cross-references Attention is drawn to the fact that CEN and CENELEC standards normally include an annex which lists normative references to international publications with their corresponding or European publications. The British Standards which implement inter
7、national or European publications referred to in this document may be found in the BSI Standards Catalogue under the section entitled “International Standards Correspondence Index”, or using the “Find” facility of the BSI Standards Electronic Catalogue. A British Standard does not purport to include
8、 all the necessary provisions of a contract. Users of British Standards are responsible for their correct application. Compliance with a British Standard does not of itself confer immunity from legal obligations. Summary of pages This document comprises a front cover, an inside front cover, pages i
9、and ii, theEN title page, pages2 to20 and a back cover. This standard has been updated (see copyright date) and may have had amendments incorporated. This will be indicated in the amendment table on the inside front cover. Amendments issued since publication Amd. No. Date CommentsBSEN 61334-4-33:199
10、8 BSI 05-1999 i Contents Page National foreword Inside front cover Foreword 2 Text of EN 61334-4-33 5ii blankEUROPEAN STANDARD NORME EUROPENNE EUROPISCHE NORM EN 61334-4-33 October 1998 ICS 29.240.20; 33.200 Descriptors: Electrical power, distribution automation, distribution line carrier systems, d
11、ata communication protocols, data link layer, connection oriented protocol English version Distribution automation using distribution line carrier systems Part 4-33: Data communication protocols Data link layer Connection oriented protocol (IEC 61334-4-33:1998) Automatisation de la distribution laid
12、e de systmes de communication courants porteurs Partie 4-33: Protocoles de communication de donnes Couche liaison de donnes Protocole orient connexion (CEI61334-4-33:1998) Verteilungsautomatisierung mit Hilfe von Trgersystemen auf Verteilungsleitungen Teil4-33: Datenkommunikationsprotokolle Sicherun
13、gsschicht Verbindungsorientiertes Protokoll (IEC 61334-4-33:1998) This European Standard was approved by CENELEC on1998-10-01. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Standard the status of a national stand
14、ard without any alteration. Up-to-date lists and bibliographical references concerning such national standards may be obtained on application to the Central Secretariat or to any CENELEC member. This European Standard exists in three official versions (English, French, German). A version in any othe
15、r language made by translation under the responsibility of a CENELEC member into its own language and notified to the Central Secretariat has the same status as the official versions. CENELEC members are the national electrotechnical committees of Austria, Belgium, CzechRepublic, Denmark, Finland, F
16、rance, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and UnitedKingdom. CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung C
17、entral Secretariat: rue de Stassart 35, B-1050 Brussels 1998 CENELEC All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 61334-4-33:1998 EEN61334-4-33:1998 BSI 05-1999 2 Foreword The text of document57/355/FDIS, future edition1 ofIEC 61334-4-33
18、, prepared byIECTC57, Power system control and associated communications, was submitted to theIEC-CENELEC parallel vote and was approved by CENELEC asEN61334-4-33 on1998-10-01. The following dates were fixed: This standard is to be used in conjunction withEN61334-4-32:1996. Annexes designated “norma
19、tive” are part of the body of the standard. In this standard, Annex ZA is normative. Annex ZA has been added by CENELEC. Endorsement notice The text of the International Standard IEC61334-4-33:1998 was approved by CENELEC as a European Standard without any modification. latest date by which theEN ha
20、s to be implemented at national level by publication of an identical national standard or by endorsement (dop) 1999-07-01 latest date by which the national standards conflicting with theEN have to be withdrawn (dow) 2001-07-01EN61334-4-33:1998 BSI 05-1999 3 Contents Page Foreword 2 Introduction 5 1
21、General 5 1.1 Scope and object 5 1.2 Normative references 5 1.3 Acronyms and definitions 6 2 LLC service specification 6 2.1 Overview of interactions 6 2.1.1 Basic services 6 2.1.2 Unsolicited services 7 2.1.3 Management services 8 2.2 DL_Data.request 9 2.2.1 Function 9 2.2.2 Structure 9 2.2.3 Use 9
22、 2.3 DL_Data.confirm 9 2.3.1 Function 9 2.3.2 Structure 9 2.3.3 Use 9 2.4 DL_Data.indication 9 2.4.1 Function 9 2.4.2 Structure 9 2.4.3 Use 10 2.5 DL_Open.request 10 2.5.1 Function 10 2.5.2 Structure 10 2.5.3 Use 10 2.6 DL_Open.confirm 10 2.6.1 Function 10 2.6.2 Structure 10 2.6.3 Use 11 2.7 DL_Conn
23、ect.request 11 2.7.1 Function 11 2.7.2 Structure 11 2.7.3 Use 11 2.8 DL_Connect.confirm 11 2.8.1 Function 11 2.8.2 Structure 11 2.8.3 Use 11 2.9 DL_Disconnect.request 12 2.9.1 Function 12 2.9.2 Structure 12 2.9.3 Use 12 Page 2.10 DL_Disconnect.confirm 12 2.10.1 Function 12 2.10.2 Structure 12 2.10.3
24、 Use 12 2.11 DL_Disconnect.indication 13 2.11.1 Function 13 2.11.2 Structure 13 2.11.3 Use 13 2.12 DL_Close.request 13 2.12.1 Function 13 2.12.2 Structure 13 2.12.3 Use 13 2.13 DL_Close.confirm 13 2.13.1 Function 13 2.13.2 Structure 14 2.13.3 Use 14 2.14 DL_Test.request 14 2.14.1 Function 14 2.14.2
25、Structure 14 2.14.3 Use 14 2.15 DL_Test.confirm 14 2.15.1 Function 14 2.15.2 Structure 14 2.15.3 Use 15 3 LLC To MAC sublayer interface 15 3.1 Overview of interactions 15 3.2 MA_Data.request 15 3.2.1 Function 15 3.2.2 Structure 15 3.2.3 Use 15 3.3 MA_Data.confirm 15 3.3.1 Function 15 3.3.2 Structure
26、 15 3.3.3 Use 15 3.4 MA_Data.indication 16 3.4.1 Function 16 3.4.2 Structure 16 3.4.3 Use 16 4 LLC protocol data unit structure (LLC PDU) 16 4.1 General 16 4.2 LLC_PDU format 16 4.3 Address fields 16 4.3.1 Individual and group destination Lsap 16 4.3.2 Predefined addresses 16EN61334-4-33:1998 4 BSI
27、05-1999 Page 4.4 Control field 16 4.5 Invalid LLC_PDU 17 5 LLC procedures description 17 5.1 Overview of the procedures 17 5.1.1 Procedure for addressing 17 5.1.2 L_pdu transmission 17 5.1.3 Information transmission 18 5.1.4 Time-out recovery 18 5.1.5 Information reception 18 5.1.6 Connection set-up
28、 18 5.1.7 Connection close-down 19 5.1.8 Test sequence 19 5.1.9 Frame reject conditions 19 5.1.10 List of the LLC parameters 19 5.1.10.1 Length of a PDU 19 5.1.10.2 MAC available Service_Class 19 5.1.10.3 LLC station role 19 Annex ZA (normative) Normative references to international publications wit
29、h their corresponding European publications 20 Figure 1 Send Confirm 6 Figure 2 Send No Confirm 7 Figure 3 Request Response 7 Figure 4 Unsolicited response with confirm 8 Figure 5 Unsolicited response without confirm 8 Figure 6 LLC PDU format type 1 16 Figure 7 LLC PDU format type 2 16 Figure 8 DSAP
30、 and SSAP 16EN61334-4-33:1998 BSI 05-1999 5 Introduction This part ofIEC61334 is closely related toIEC61334-4-32 that refers to the connectionless mode LLC protocol as an example of the use of LLC services by the LLC user in the case of collapsed architecture (see1.1 ofIEC61334-4-32). This standard
31、shows how the basic LLC services are provided through a connection-oriented mode (CO) LLC protocol. The CO mode is mainly used for internode communications in networked implementations and for time-critical applications where the retry timer on transmission errors needs to be closely tied to each su
32、bnetwork link characteristics. The main addition, while using the CO mode instead of connectionless, is in the provided quality of LLC service, in terms of reliability in message flow-controlled delivery and automatic retries on transmission error. It should be noted that the LLC service primitives
33、allow a connectionless, unacknowledged data transfer at the LLC user interface, with use of specific quality of service parameter values, saving the semantics of the services described inIEC61334-4-32 so, in this standard, only the additional specifications or changes, needed when invoking the LLC C
34、O protocol, are provided and, for the sake of clearness, they are reported using or recalling the same text structure as inIEC61334-4-32. Protocol data units of this standard are specified with orthogonal formats in respect of those in IEC61334-4-32, so that both the sets of procedures can share the
35、 same link: the way to synchronize the use of the link by the two sets of procedures is outside the scope of this standard. The LLC CO procedure allows bidirectional, full duplex data transfer services between a primary station and a number of secondary stations: nevertheless, the primary station ro
36、le could be changed during the time and the way to manage that is outside the scope of this standard. To improve the efficiency of the protocol, at system configuration level, it is possible to define two types of LLC-CO PDU formats according to the number of users of LLC-CO as indicated below: LLC-
37、CO Type 1: the LLC PDU format presents DSAP and SSAP fields because there are more than one LLC-CO user (Figure 6). LLC-CO Type 2: the LLC PDU format does not present DSAP and SSAP fields because there is only one LLC-CO user (Figure 7). 1 General 1.1 Scope and object This part ofIEC61334 covers the
38、 services required of, or by, the data communication protocol (DCP) logical link control (LLC) sublayer entity at the logical interfaces with the LLC-user layer and the MAC sublayer, using the connection-oriented LLC procedures. Services are specified showing the information flow between the LLC use
39、r and the MAC service, by describing the service primitives and parameters which characterize each service: these service primitives are those specified inIEC61334-4-32 and in this standard, only the specific details and changes for connection-oriented procedures are given. The primitives in this st
40、andard are associated with the connection-oriented mode (CO) LLC protocol, providing connectionless services: a data transfer mode outside the connection context is also provided and harmonized with the CO procedures. The way to set up, close down and monitor the connection status is provided throug
41、h services primitives to the LLC sublayer management entity and these services are not made available to the LLC user interface. 1.2 Normative references The following normative documents contain provisions which, through reference in this text, constitute provisions of this part ofIEC61334. At the
42、time of publication, the editions indicated were valid. All normative documents are subject to revision, and parties to agreements based on this part ofIEC61334 are encouraged to investigate the possibility of applying the most recent editions of the normative documents indicated below. Members ofIE
43、C andISO maintain registers of currently valid International Standards. IEC 61334-4-32:1996, Distribution automation using distribution line carrier systems Part 4: Data communication protocols Section 32: Data link layer Logical link control (LLC). EN 61334-4-33:1998 6 BSI 05-1999 ISO/IEC 4335:1993
44、, Information technology Telecommunications and information exchange between systems High-level data link control (HDLC) procedures Elements of procedures. 1.3 Acronyms and definitions For the purpose of this part ofIEC61334, the acronyms and definitions ofIEC61334-4-32 along with the following appl
45、y. 2 LLC service specification This clause specifies the services required to the logical link control sublayer by its user to exchange packets with remote peer user entities using DCP LLC-CO operations at the logical link control sublayer. The services are described in an abstract way. 2.1 Overview
46、 of interactions 2.1.1 Basic services Subclause 2.1.1 ofIEC61334-4-32 applies with the following addition. These are the only services made available to the LLC user service interface and according to the type of LLC PDU, type1 or type2, the fields SSAP and DSAP will be present or not. CO Connection
47、-oriented mode of LLC protocol. HDLC High-level data link control procedures. Lcls Link class parameter in LLC service primitives. NRM Normal response mode, one of the operational data link mode of the HDLC. TWA Two-way alternate, a special case of NRM. NDM Normal disconnect mode, one of the non-ope
48、rational data link mode of the HDLC. Figure 1 Send ConfirmEN61334-4-33:1998 BSI 05-1999 7 2.1.2 Unsolicited services None of the unsolicited services listed in 2.1.2 ofIEC61334-4-32 are provided by the LLC-CO procedure. Unsolicited response coming from peripheral stations can be collected through an
49、 appropriate polling policy using the LLC-CO protocol procedures. Figure 2 Send No Confirm Figure 3 Request ResponseEN 61334-4-33:1998 8 BSI 05-1999 2.1.3 Management services The following services are provided for management purposes: DL_Open.request, DL_Open.confirm; DL_Connect.request, DL_Connect.confirm; DL_Disconnect.request,DL_Disconnect.confirm, DL_Disconnect.indication; DL_Close.request, DL_Close.confirm; DL_Test.request, DL_Test.confirm. Figure 4 Unsolicited response with