1、BRITISH STANDARD BS EN 50090-3-2:2004 Home and Building Electronic Systems (HBES) Part 3-2: Aspects of application User process for HBES Class 1 The European Standard EN 50090-3-2:2004 has the status of a British Standard ICS 97.120 BS EN 50090-3-2:2004 This British Standard was published under the
2、authority of the Standards Policy and Strategy Committee on 31 March 2004 BSI 31 March 2004 ISBN 0 580 43601 2 National foreword This British Standard is the official English language version of EN 50090-3-2:2004. It supersedes BS EN 50090-3-2:1996 which is withdrawn. The UK participation in its pre
3、paration was entrusted to Technical Committee IST/6, Data communications, which has the responsibility to: A list of organizations represented on this committee can be obtained on request to its secretary. Cross-references The British Standards which implement international or European publications
4、referred to in this document may be found in the BSI Catalogue under the section entitled “International Standards Correspondence Index”, or by using the “Search” facility of the BSI Electronic Catalogue or of British Standards Online. This publication does not purport to include all the necessary p
5、rovisions of a contract. Users are responsible for its correct application. Compliance with a British Standard does not of itself confer immunity from legal obligations. aid enquirers to understand the text; present to the responsible international/European committee any enquiries on the interpretat
6、ion, or proposals for change, and keep the UK interests informed; monitor related international and European developments and promulgate them in the UK. Summary of pages This document comprises a front cover, an inside front cover, the EN title page, pages 2 to 15 and a back cover. The BSI copyright
7、 notice displayed in this document indicates when the document was last issued. Amendments issued since publication Amd. No. Date CommentsEUROPEAN STANDARD EN 50090-3-2 NORME EUROPENNE EUROPISCHE NORM February 2004 CENELEC European Committee for Electrotechnical Standardization Comit Europen de Norm
8、alisation Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B - 1050 Brussels 2004 CENELEC - All rights of exploitation in any form and by any means reserved worldwide for CENELEC members. Ref. No. EN 50090-3-2:2004 E ICS 97.120 Supersedes EN
9、50090-3-2:1995English version Home and Building Electronic Systems (HBES) Part 3-2: Aspects of application - User process for HBES Class 1 Systmes lectroniques pour les foyers domestiques et les btiments (HBES) Partie 3-2: Aspects de lapplication - Processus utilisateur HBES Classe 1 Elektrische Sys
10、temtechnik fr Heim und Gebude (ESHG) Teil 3-2: Anwendungsaspekte - Anwendungsprozess ESHG Klasse 1 This European Standard was approved by CENELEC on 2003-12-02. CENELEC members are bound to comply with the CEN/CENELEC Internal Regulations which stipulate the conditions for giving this European Stand
11、ard the status of a national standard 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 one official version (English). A vers
12、ion in any other 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 version. CENELEC members are the national electrotechnical committees of Austria, Belgium, Cyprus, Czech Republ
13、ic, Denmark, Estonia, Finland, France, Germany, Greece, Hungary, Iceland, Ireland, Italy, Latvia, Lithuania, Luxembourg, Malta, Netherlands, Norway, Poland, Portugal, Slovakia, Slovenia, Spain, Sweden, Switzerland and United Kingdom. EN 50090-3-2:2004 2 Contents Foreword 3 Introduction.4 1 Scope.4 2
14、 Normative references .5 3 Terms, definitions and abbreviations 5 3.1 Terms and definitions 5 3.2 Abbreviations 5 4 Object models 5 5 Group object server6 5.1 Overview.6 5.2 General data structure group objects.6 5.3 Group object value transfers .9 6 Interface object server11 6.1 Overview.11 6.2 Add
15、ress levels for interface objects .13 6.3 Interworking requirements for interface objects .13 6.4 System interface objects (management objects)13 6.5 Application interface objects13 Figure 1 User process model .6 Figure 2 Data structure of group objects 7 Figure 3 Reading a group object value.10 Fig
16、ure 4 Receiving a request to read the group object value 10 Figure 5 Writing a group object value.11 Figure 6 Receiving an update of the group object value .11 Figure 7 Structure of interface objects .12 Figure 8 Message flow for the A_PropertyValue_Read-service 14 Figure 9 - Message flow for the A_
17、PropertyValue_Write-service .14 Figure 10 - Message flow for the A_PropertyDescription_Read-service.15 Table 1 Group object types 7 3 EN 50090-3-2:2004 Foreword This European Standard was prepared by the Technical Committee CENELEC TC 205, Home and Building Electronic Systems (HBES), with the help o
18、f CENELEC co-operation partner Konnex Association (formerly EHBESA). The text of the draft was submitted to the Unique Acceptance Procedure and was approved by CENELEC as EN 50090-3-2 on 2003-12-02. This European Standard supersedes EN 50090-3-2:1995. CENELEC takes no position concerning the evidenc
19、e, validity and scope of patent rights. Konnex Association as Cooperating Partner to CENELEC confirms that to the extent that the standard contains patents and like rights, the Konnex Associations members are willing to negotiate licenses thereof with applicants throughout the world on fair, reasona
20、ble and non-discriminatory terms and conditions. Konnex Association Tel.: + 32 2 775 85 90 Neerveldstraat, 105 Fax.: + 32 2 675 50 28 Twin House e-mail: infokonnex.org B - 1200 Brussels www.konnex.org Attention is drawn to the possibility that some of the elements of this standard may be the subject
21、 of patent rights other than those identified above. CENELEC shall not be held responsible for identifying any or all such patent rights. The following dates were fixed: latest date by which the EN has to be implemented at national level by publication of an identical national standard or by endorse
22、ment (dop) 2004-12-01 latest date by which the national standards conflicting with the EN have to be withdrawn (dow) 2006-12-01 EN 50090-3-2 is part of the EN 50090 series of European Standards, which will comprise the following parts: Part 1: Standardization structure Part 2: System overview Part 3
23、: Aspects of application Part 4: Media independent layers Part 5: Media and media dependent layers Part 6: Interfaces Part 7: System management Part 8: Conformity assessment of products Part 9: Installation requirements EN 50090-3-2:2004 4 Introduction The application interface layer is the layer be
24、tween the application layer and the application. It contains the communication relevant tasks of the application. It eases the communication task of the application by offering a communication interface that abstracts from many application layer details. This European Standard allows single-processo
25、r and dual-processor device designs. A dual processor device uses additional services to communicate via a serial External Message Interface with the external user application running in the second processor. The following clauses specify the client and server functionality and the communication int
26、erface of the internal user application located in the Bus Access Unit (BAU). The application interface layer contains the following objects and the access routines to them: group objects: can be accessed via Transport layer Service Access Points (TSAPs) on multicast communication services, see the
27、corresponding clause in EN 50090-4-2. Group objects may also be references to interface objects; interface objects: can be accessed via application services on point-to-point connection- less and point-to-point connection-oriented communication modes. The interface objects are divided to system inte
28、rface objects and application interface objects. System interface objects are at this time: the device object; the group address table object; the association table object, and the application object. System interface objects are relevant for network management as specified in EN 50090-7-1. Applicat
29、ion interface objects are objects defined in the user application. They may be defined by the internal or external user application, based on interface object structure rules defined in this document. Application interface objects may also be referenced by a group object reference. The following cla
30、use specifies the data structures of each of the application interface layer objects. Additionally they define by which application services these objects are accessible. Both the object client and object server functionality may be implemented by the external or the internal application interface l
31、ayer. It is recommended to locate the group communication objects, the interface objects and the resource objects in the internal application interface layer. 1 Scope This part of EN 50090 specifies the structure and functioning of servers for the objects which form the interface between the applica
32、tion layer and the application and management. 5 EN 50090-3-2:2004 2 Normative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced docu
33、ment (including any amendments) applies. EN 50090-1 1)Home and Building Electronic Systems (HBES) Part 1: Standardization structure EN 50090-4-1:2004 Home and Building Electronic Systems (HBES) Part 4-1: Media independent layers Application layer for HBES Class 1 EN 50090-4-2:2004 Home and Building
34、Electronic Systems (HBES) Part 4-2: Media independent layers Transport layer, network layer and general parts of data link layer for HBES Class 1 EN 50090-7-1:2004 Home and Building Electronic Systems (HBES) Part 7-1: System management Management procedures 3 Terms, definitions and abbreviations 3.1
35、 Terms and definitions For the purposes of this part the terms and definitions given in EN 50090-1 and EN 50090-4-1 apply. 3.2 Abbreviations ASAP Application Layer Service Access Point BAU Bus Access Unit EMI External Message Interface HBES Class 1 refers to simple control and command HBES Class 2 r
36、efers to Class 1 plus simple voice and stable picture transmission HBES Class 3 refers to Class 2 plus complex video transfers TSAP Transport layer Service Access Point 4 Object models This European Standard specifies two different kinds of objects that shall be supported for operational exchanges:
37、a) group objects group objects shall be used to support the shared variable model; b) interface objects interface objects shall be used to support the client/server model and, if they are referenced by group objects, also the shared variable model of the group objects. An application may use each ki
38、nd of objects at any time. 1)At draft stage. EN 50090-3-2:2004 6 Application Interface Layer A-Group Object-Services Group-Objects Application Interface Objects A- Interface Object-Services Services Group-Object- Server Interface- Object-Server Reference Application Application Layer Figure 1 User p
39、rocess model 5 Group object server 5.1 Overview Group objects can be distributed to a number of devices. Each device may be transmitter and receiver for group object values. More than one group object can exist in an end device and a group object in a device may be assigned to one or more group addr
40、esses. Group objects of an end device may belong to the same or to different groups. Each group shall have a network wide unique group address. The group address shall be mapped to a local group-index (TSAP) by the transport layer; the group-index shall be unique for the communication services of th
41、e device. The application layer shall map the group-index by the association table to the group reference ID (Application Layer Service Access Point, ASAP) that shall be used to address the group objects. 5.2 General data structure group objects 5.2.1 Structure In the sense of the previous clause a
42、group object shall consist of three parts: a) the group object description; b) the object-value; c) the communication-flags. 7 EN 50090-3-2:2004 group object description communication flags group object value object type transmission priority configuration flags Figure 2 Data structure of group obje
43、cts 5.2.2 Group object description 5.2.2.1 Object type The following value-types shall be possible: Table 1 Group object types Value Length / Type Value-size Unsigned Integer (1) 1 bit Unsigned Integer (2) 2 bit Unsigned Integer (3) 3 bit Unsigned Integer (4) 4 bit Unsigned Integer (5) 5 bit Unsigne
44、d Integer (6) 6 bit Unsigned Integer (7) 7 bit Unsigned Integer (8) 1 octet Unsigned Integer (16) 2 octets Octet (3) 3 octets Octet (4) 4 octets Octet (6) 6 octets Octet (8) 8 octets Octet (10) 10 octets Octet (14) 14 octets Interface object reference 4 to 14 octetsOnly group objects of the same typ
45、e may be linked to one group and for interface objects references also the interface object type with the same instance number shall be the same. 5.2.2.2 Transmission priority The priority can only be “urgent”, “normal” or “low”. The transmission priority “system” shall not be allowed for communicat
46、ion using group objects. EN 50090-3-2:2004 8 5.2.2.3 Configuration flags The configuration flags shall include static configuration of the group object: a) read enable; b) write enable; c) transmit enable; d) update enable; e) communication enable. If the “read enable” flag is set, the user process
47、shall allow reading the group object value; the user process shall thus react to an A_GroupValue_Read.ind service from the application layer as specified in EN 50090-4-1. If the “read enable” flag is cleared, the user process shall neglect this service for this group object. If the “write enable” fl
48、ag is set, the user process shall allow setting the group object value; the user process shall thus react to an A_GroupValue_Write.ind service from the application layer as specified in EN 50090-4-1. If the “write enable” flag is cleared, the user process shall neglect this service for this group ob
49、ject. If the “transmit enable” flag is set, the user process shall allow transmitting the group object value; on request by the user application the user process shall thus pass an A_GroupValue_Write.req service to the application layer as specified in EN 50090-4-1. If the “transmit enable” flag is cleared, the user process shall neglect this request from the user application. If the “update enable” flag