1、= 31104583 009LlL5 O88 EUROPEAN STANDARD EN 60870-5-4 NORME EUROPENNE EUROPISCHE NORM November 1993 UDC 621.398 : 681.3.04 Descriptors: Teleprocessing, telecontrol, data transmission, data processing, protocol, data, codifications English version Telecontrol equipment and systems Part 5: Transmissio
2、n protocols Section 4: Definition and coding of application information elements (IEC 870-5-4 : 1993) Matriels et systmes de tlconduite Partie 5: Protocoles de transmissions Section 4: Dfinition et codages des lments dinformation d application (CE1 870-5-4 : 1993) Anwendungsschicht Fernwirkeinrichtu
3、ngen und Fernwirksysteme Eil 5: Ubertragungsprotokolle Hauptabschnitt 4: Definition und Codierung von Informationselementen der (IEC 870-5-4 : 1993) This European Standard was approved by CENELEC on 1993-09-22. CENELEC members are bound to comply with the CENKENELEC Internal Regulations which stipul
4、ate the conditions for giving this European Standard 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
5、 exists in three official versions (English, French, German). A version 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 versions. CENELEC members are the national
6、electrotechnical committees of Austria, Belgium, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and United Kingdom. CENELEC European Committee for Electrotechnical Standardization Comit Europen de Normalisatio
7、n Electrotechnique Europisches Komitee fr Elektrotechnische Normung Central Secretariat: rue de Stassart 35, B-1050 Brussels O 1993 Copyright reserved to CENELEC members Ref. No. EN 60870-5-4 : 1993 E 3404583 009111b T14 Page 2 EN 60870-54 : 1993 Foreword The text of document 57(C0)62, as prepared b
8、y IEC Technical Committee No. 57 Telecontrol, teleprotection and associated telecommunications for electric power systems, was submitted to the IEC-CENELEC parallel vote in June 1992. The reference document was approved by CENELEC as EN 60870-5-4 on 22 September 1993. The following dates were fixed:
9、 - latest date of publication of an identical national standard (dop) 1994-08-01 - latest date of withdrawal of conflicting national standards (dow) 1994-08-01 Annexes designated normative are part of the body of the standard. In this standard, annex ZA is normative. W 3404583 009LLLi 950 Page 3 EN
10、60870-54 : 1993 CONTENTS INTRODUCTION . clause Scope and object Normative references . Definit ions . Declaration rules for information elements 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 Data types . Dam size Bit position Values and codes Assignment of function symbols and functions Identifiers of da
11、m field sequences Variable field size . Repetitive data fields Logical combinations of data fields Packing and order of transport of data field . Standard information elements 5.1 5.2 5.3 5.4 5.5 5.6 Type 1: UNSIGNED INTEGER (VI) . Type 2 INTEGER (I) . Type 3 : UNSIGNED FIXED POINT NUMBER (UF) . Typ
12、e 4: FIXED POINT NUMBER (F) Type 5: REAL (R) Type 6 BITSTRING (BS) 4 4 5 5 6 6 6 6 7 8 8 8 9 9 9 10 10 10 10 11 11 11 5.7 Type 7: OCTETSTRING (OS) . 11 Set of information elements . 12 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 Type 1: UNSIGNED INTEGER (UI) . 12 Type 3: UNSIGNED FIXED POINT NUMBER (UF) 14 Type
13、 4: FIXED POINT NUMBER (F) . 14 Type 5: REAL (R) . 15 Type 6: BIT!X”G (BS) 16 Type 7: OCTETSTRING (OS) . 16 17 Type 2: INTEGER (I) . 13 COMPOUND INFORMATION ELEMENTS (CP) . Annex ZA (normative) Other international publications quoted in this standard with the references of the relevant European publ
14、ications 24 = 3404583 0091118 897 = Page 4 EN 60870-5-4 : 1993 TELECONTROL EQUIPMENT AND SYSTEMS Part 5: Transmission protocols Section 4: Definition and coding of application information elements INTRODUCTION This section of IEC 870-5 defines standard declaration rules for application data in tele-
15、 control systems. 1 Scope and object This section of IEC 870-5 applies to telecontrol equipment and systems with coded bit serial data transmission for monitoring and controlling geographically widespread processes. This section of IEC 870-5 gives rules for defining information elements and presents
16、 a set of information elements, in particular of digital and analog process variables, that are frequently used in telecontrol applications. Clause 4 presents syntactic rules for defining application specific information elements. These rules comprise methods for semantic declarations, that is assig
17、nments of the functional interpretation of the defined information fields. Clause 5 applies the declaration method to the basic data types defined in Clause 4 and introduces particular subtypes of data. Clause 6 presents a set of information elements that are frequently used in telecontrol applicati
18、ons. These elements and the mentioned recommended applications for these elements are recommendations only. Definitive declarations of information elements have to be fixed in application profiles. Single information elements, sequences or combinations of information elements may form an information
19、 object that is identified by an object address and by an object structures specification described in IEC 870-5-3. Page 5 EN 60870-5-4 : 1993 2 Normative references The following normative documents contain provisions which, through reference in this text, constitute provisions of this section of I
20、EC 870-5. At the time of publication, the editions indicated were valid. All nonnative documents are subject to revision, and parties to agreements based on this section of IEC 870-5 are encouraged to investigate the possibility of applying the most recent editions of the nonnative documents indicat
21、ed below. Members of EC and IS0 maintain registers of currently valid International Standards. IEC 50(371): 1984, International Electrotechnical Vocabulary (IEV) - Chapter 371 : Tele- control. IEC 870- 1 - 1 : 1988, Telecontrol equipment and systems - Part I : General considerations - Section One: G
22、eneral principles. IEC 870-1-3: 1990, Telecontrol equipment and systems - Part 1: General considerations - Section Three: Glossary. IEC 870-5-3: 1992, Telecontrol equipment and systems - Part 5: Transmission protocols - Section Three: General structure of application data. ISO/IEC 10000-1: 1990, Inf
23、ormation technology - Framework and taxonomy of inter- national standardized profiles - Part 1 : Framework. IEEE Standard 754, 1985. CCITT Recommendation V.3: 1972, International Alphabet No. 5. 3 Definitions For the purpose of this section of EC 870-5, the following definitions apply: 3.1 For examp
24、le: data type INTEGER for whole numbers or data type OCTETSTRING for an assembly of octets data type: Defined method of data presentation. 3.2 data size: Field length of a specified data type in bits. 3.3 For example: measured value or double-point information. information element: A well defined va
25、riable quantity which is indivisible. 3.4 profile: A set of one or more base standards, and, where applicable, the identifica- tion of chosen classes, subsets, options and parameters of those base standards, necessary for accomplishing a particular function (see 3.1.2 of ISO/IEC 10000-1). 3404583 OO
26、LL20 445 W Name of information element := Page 6 EN 60870-54 : 1993 Values Data type Data size Bit position and code Function TYPE i pi pi+ i-i :=Function 4 Declaration rules for information elements Information elements are defined by the following syntactic and semantic declaration method: The ass
27、ignment symbol “:=“ is used to associate information field declarations to the name of information elements and to associate functions to field declarations. 4.1 Data types Table 1 - Data types Type number 1 Data types UNSIGNED INTEGER INTEGER UNSIGNED FIXED POINT FIXED POINT REAL BITSTRING OCTETSTR
28、ING Symbol u1 I UF F R BS os The data ypc BOOLEAN is a BITSTRING of size 1. Meaning Positive whole number Positive or negative whole number Positive fixed point number Positive or negative fixed point number Positive or negative floating-point number Assembly of independent bits ) Assembly of octets
29、 4.2 Data size The datu size i, noted directly after the symbol of the duro rype notation, is a cardinal number that specifies the length of a data field in bits. 4.3 Bit position The bit position of a specified field of data size i is denoted in square brackets p, where pi and pn denote the first a
30、nd the last bits of the field. The order of bits is shown in the following scheme: 3404583 009LL21 3L Page 7 EN 60870-5-4 : 1993 Octets I Table 2 - Bit positions Bits I For example, if a BITSTRING of size 6 occupies the field surrounded with thick lines in table 2, then it is denoted as BS6712. The
31、last bit of a field of size i that begins in bit position pi is given by pn = pi + i - 1. If the field size is 1, then the position is denoted by a single notation pi in the brackets. 4.4 Values and codes If applicable, a selected range and a selected code of values of the declared data field is den
32、oted within angle brackets: . In general this is declared by the range of admitted values and by a term that identifies the used code. Terms that identify codes are: binary code (BIN), binary coded decimal (BCD), Gray-code, k-of-n code, ASCII-code, etc. The default code declaration is the binary cod
33、e, that is, if no terms are used to characterize the code, then given values of the data field are interpreted as binary values. If the data type is a number (INTEGER, FIXED POINT or REAL), then the code is un- ambiguously defined by the notation of the range of numbers and by the used code : . For
34、example, a counter that enumerates the days of the week uses an UNSIGNED INTE- GER declaration with size 3 (UI3) followed by the declaration of code and range of values: , or shorter: . Individual values are declared as (e.$. e3 BIN or for Wednesday in this example). In case of the data type OCTETST
35、RING, a defined 8 bit character code such as e.g. the 8 bit ASCII character set is selected by the code declaration: . In this case the set of values is defined by the International Alphabet No. 5 of CCITT recommendation V.3, so that this code declaration suffices. m 3404583 O093322 218 m Symbol Fie
36、ld sequence Page 8 EN 60870-5-4 : 1993 Meaning 45 Assignment offunction symbols andfunctons The functional purpose of a specified data field is declared by using the assignment symbol “:=“ data type i pIpi := function Acronyms have to be introduced by full text descriptions and by using the equivale
37、nce symbol “=“* function = FCT For example: error = ER := BSI8 means that an error bit with the acronym ER is located in a BITSTRING of size 1 in bit position 8 of a data field. COMPOUND SEQUENCE 4.6 identifiers of dura Feld sequences If an information element is composed of different data fields, t
38、hen it is either declared as a COMPOUND or as a SEQUENCE data field. CP SQ Sequence of data fields with successive bit allocations Sequence of data fields with bit allocations beginning with 1 per data field NOTE - Sequences are used in data fields with repeated information elements. COMPOUND data f
39、ields are declared by listing individual data fields separated by com- mas or listed in a column, within curly brackets. A following list declares the data types, the sizes, the bit allocations and the functional purposes of the individual data fields. The first declared data field begins with bit p
40、osition 1. the other fields use successive bit allocations: Information ekmnt := CPI data field I, data field 2. . . . data field I := data type I size il I il data field 2 := data type 2 size i2 il +lail +i2 J etc. := funcrion I :=fiwtion 2 SEQUENCE data fields are declared as compound data fields,
41、 however each data field begins with bit allocation 1: Information element := SQi data field i, data field 2, . . , data field I := data type 1 size il I il J data field 2 := data rype 2 size i2 I i2 etc. := funciion I := function 2 4.7 Variable field size Information elements defined in a general w
42、ay for variable sizes i (i = integer O) are declared by noting bit positions and code specifications as a function of size i: datu type i Z., . see definitions of standard inforination elements in Clause 5. 3404583 0091123 154 H Page 9 EN 60870-5-4 : 1993 4.8 Repetitive data fields If a data field i
43、s composed of a subfield of size i that is repeated in n loops, then it can be declared by two alternative methods, namely: a) Declaration of subfield i that is repeated in n loops: b) Declaration of the whole field ni: Information element of size ni := n data type i i c values and code of subfield
44、i Information element of size ni := data type ni 11 ni c values and code of field ni The two declaration methods in case of BCD integers are given in 5.1.2. Whenever a number (or a place holder for a number n) precedes the declaration of the data type, then the declaration of bit positions begins wi
45、th 1 and the declared values and codes refer to the repeated subfield, see for example definition of the field element “8 bit Status+Transient Detection“ in 6.6. 4.9 Logical combinations of data fields In some applications functions result from logical combinations between fields. Typical examples a
46、re the data type REAL (see clause 6.5). where resulting values are defined as logical “and“ combinations between values of the data fields “Fraction“ and “Exponent“, or certain Control fields in which the function of one field depends on values of another field. In these Applications the terms “and“
47、 and “or“ in combination with specified values or ranges of values of the involved data fields are used to express the resulting functions: data type 1 and (or: or) data type 2 c value range 2 :=function 4.10 The way of presenting data elements usually follows the requirements of intended functional
48、 applications of the data contents. Thus numbers are usually presented as we are used to write and read them, namely from left to right with decreasing powers of their bases. Packing and order of transport of data field Sizes of Information elements that are not multiples of 8 bits allow condensed p
49、acking of sequences of information elements to achieve octet structures of the information field. For information elements longer than one octet, the octet noted at the top is delivered first for transportation in mode 1 or is delivered last in mode 2. The choice of modes is specified in the application profile used. m 3404583 009LL24 O90 m S and Uli-l := -21-1 S and UIi-l := -2-+1 . . -1 Page 10 EN 60870-5-4 : 1993 i i-1 i-2 - -21 s 21-2 21-3 - - 2 20 5 Standard information elements I4n+lBCD := 14n+114n+l := CP4n+l nBCDdigit.