Bases para la programación de series de fuorier en matlabDescripción completa
rru
deskripsi pekerjaan untuk tambangDeskripsi lengkap
This document is very helpful for BSS description.
Hardware Description
Huawei GRFU
filipino subjects 2018Full description
bravehart guitar
MRFU
FUEL DISCRIPTIONFull description
DRFU-Description-
operations management
An amusing way to read about animals.Descripción completa
Huawei MRFUd
Full description
mrfu
Mengembangkan media dan membina hubungan kerja secara rutin dengan seluruh Dinas/Instansi/BUMN/BUMD/Badan/Lembaga dsb, guna mencapai target yang telah ditentukan melalui monitoring program d…Deskripsi lengkap
Class Description Firmware: Revision Date:
Landis+Gyr AG
Compiled for P05.H 09.09.2009
Revision Date: 09.09.2009
Page 1 / 190
Class Description
Compiled for P05.H
Table of Contents 1 Introduction 4 1.1 Purpose of this Document................................................................................................................4 1.2 Validity Scope....................................................................................................................................4 1.3 Referenced Documents.....................................................................................................................4 1.4 Terms, Definitions and Abbreviations.............................................................................................4 2 Direct Memory Access 5 2.1 Used Rose Model...............................................................................................................................5 2.2 Common Common Descriptio Description......... n...................... ......................... ........................ ........................ ......................... ......................... .................................................5 .....................................5 2.3 How to Navigate Through the Data Structure.................................................................................6
2.3.1 Building the Meter Model..................................................................................................................6 2.3.2 Property Property Description. Description............. ........................ ......................... ......................... ........................ ........................ ......................... ......................... ..................................6 ......................6 2.3.3 Physical Physical Model of Base............ Base......................... ......................... ........................ ........................ ......................... ......................... ......................................... ............................. .7 2.4 Files Needed to Generate the Physical Address Table................................................................13 2.5 What Else can be Read?.................................................................................................................13 2.6 Special Things to Take Care...........................................................................................................13 2.6.1 Dependencies as Described Above................................................................................................13 2.6.2 Permanently Storing of RAM Data in EEPROM..............................................................................14 3 Classes 15 3.1 Protocol Selector [1-0-80-10122]....................................................................................................15 3.2 Data [1-0-1-20013]............................................................................................................................16 3.3 Diagnostic Register [3-0-81-20009]................................................................................................16 3.4 Energy Register [3-0-81-20010] .....................................................................................................20 3.5 Error Register [3-0-81-20011]..........................................................................................................22 3.6 General Value Register [3-0-0-20013].............................................................................................25 3.7 General Count Register [3-0-81-20015]..........................................................................................26 3.8 Meter State Register [3-0-80-20016]...............................................................................................27 3.9 Event Register [3-0-81-20018].........................................................................................................28 3.10 Energy Pulse Register [3-0-80-20020]..........................................................................................34 3.11 PF-Register [3-0-0-20053]..............................................................................................................36 3.12 Coincidental Demand Register[4-0-0-20049]...............................................................................37 3.13 Demand Pmax Register [4-0-0-20051]..........................................................................................39 3.14 PF-min Register [4-0-0-20054]......................................................................................................41 3.15 Extrema Register [4-0-0-20080]....................................................................................................43 3.16 Extrema Extended Register [4-0-1-20081]...................................................................................44 3.17 Demand Register [5-0-1-20050]............. [5-0-1-20050]......................... ....................... ....................... ........................ ....................... ................ .......... .......... .......... .......... .......46 ..46 3.18 Event Log [7-1-5-20030]................................................................................................................48 3.19 Load Profile [7-1-5-20031].............................................................................................................51 3.20 Intermediate Value [7-1-5-20032]..................................................................................................54 3.21 Clock [8-0-80-0]..............................................................................................................................58 3.22 Script Table Class [9-0-1-10800]...................................................................................................63 3.23 Special Days Table [11-0-80-0].....................................................................................................64 3.24 DLMS Association View [12-0-1-0]...............................................................................................65 3.25 Association View LN [15-0-1-0].....................................................................................................66 3.26 SAP Assignment [17-0-0-0]...........................................................................................................67 3.27 IEC Set Up [19-0-80-0]...................................................................................................................67 3.28 Activity Calendar [20-0-81-0]........................................................................................................70 3.29 Monitor Register [21-0-81-0].........................................................................................................74 3.30 Single Action Schedule [22-0-81-0]..............................................................................................77 3.31 HDLC Setup [23-0-1-0]...................................................................................................................80 3.32 Modem configuration [27-0-81-0].................................................................................................82 3.33 PSTN auto answer [28-0-0-0]........................................................................................................87 3.34 Tariff Application [10002-0-81-0]..................................................................................................88 3.35 Measurement System MMI3 [10009-0-80-0].................................................................................95 Landis+Gyr AG
Revision Date: 09.09.2009
Page 2 / 190
Class Description
Compiled for P05.H
Table of Contents 1 Introduction 4 1.1 Purpose of this Document................................................................................................................4 1.2 Validity Scope....................................................................................................................................4 1.3 Referenced Documents.....................................................................................................................4 1.4 Terms, Definitions and Abbreviations.............................................................................................4 2 Direct Memory Access 5 2.1 Used Rose Model...............................................................................................................................5 2.2 Common Common Descriptio Description......... n...................... ......................... ........................ ........................ ......................... ......................... .................................................5 .....................................5 2.3 How to Navigate Through the Data Structure.................................................................................6
2.3.1 Building the Meter Model..................................................................................................................6 2.3.2 Property Property Description. Description............. ........................ ......................... ......................... ........................ ........................ ......................... ......................... ..................................6 ......................6 2.3.3 Physical Physical Model of Base............ Base......................... ......................... ........................ ........................ ......................... ......................... ......................................... ............................. .7 2.4 Files Needed to Generate the Physical Address Table................................................................13 2.5 What Else can be Read?.................................................................................................................13 2.6 Special Things to Take Care...........................................................................................................13 2.6.1 Dependencies as Described Above................................................................................................13 2.6.2 Permanently Storing of RAM Data in EEPROM..............................................................................14 3 Classes 15 3.1 Protocol Selector [1-0-80-10122]....................................................................................................15 3.2 Data [1-0-1-20013]............................................................................................................................16 3.3 Diagnostic Register [3-0-81-20009]................................................................................................16 3.4 Energy Register [3-0-81-20010] .....................................................................................................20 3.5 Error Register [3-0-81-20011]..........................................................................................................22 3.6 General Value Register [3-0-0-20013].............................................................................................25 3.7 General Count Register [3-0-81-20015]..........................................................................................26 3.8 Meter State Register [3-0-80-20016]...............................................................................................27 3.9 Event Register [3-0-81-20018].........................................................................................................28 3.10 Energy Pulse Register [3-0-80-20020]..........................................................................................34 3.11 PF-Register [3-0-0-20053]..............................................................................................................36 3.12 Coincidental Demand Register[4-0-0-20049]...............................................................................37 3.13 Demand Pmax Register [4-0-0-20051]..........................................................................................39 3.14 PF-min Register [4-0-0-20054]......................................................................................................41 3.15 Extrema Register [4-0-0-20080]....................................................................................................43 3.16 Extrema Extended Register [4-0-1-20081]...................................................................................44 3.17 Demand Register [5-0-1-20050]............. [5-0-1-20050]......................... ....................... ....................... ........................ ....................... ................ .......... .......... .......... .......... .......46 ..46 3.18 Event Log [7-1-5-20030]................................................................................................................48 3.19 Load Profile [7-1-5-20031].............................................................................................................51 3.20 Intermediate Value [7-1-5-20032]..................................................................................................54 3.21 Clock [8-0-80-0]..............................................................................................................................58 3.22 Script Table Class [9-0-1-10800]...................................................................................................63 3.23 Special Days Table [11-0-80-0].....................................................................................................64 3.24 DLMS Association View [12-0-1-0]...............................................................................................65 3.25 Association View LN [15-0-1-0].....................................................................................................66 3.26 SAP Assignment [17-0-0-0]...........................................................................................................67 3.27 IEC Set Up [19-0-80-0]...................................................................................................................67 3.28 Activity Calendar [20-0-81-0]........................................................................................................70 3.29 Monitor Register [21-0-81-0].........................................................................................................74 3.30 Single Action Schedule [22-0-81-0]..............................................................................................77 3.31 HDLC Setup [23-0-1-0]...................................................................................................................80 3.32 Modem configuration [27-0-81-0].................................................................................................82 3.33 PSTN auto answer [28-0-0-0]........................................................................................................87 3.34 Tariff Application [10002-0-81-0]..................................................................................................88 3.35 Measurement System MMI3 [10009-0-80-0].................................................................................95 Landis+Gyr AG
Revision Date: 09.09.2009
Page 2 / 190
Class Description
Compiled for P05.H
3.35.1 Measurement Measurement System Calibration Calibration Data ......................... ..................................... ......................... ................................................105 ...................................105 3.36 Object List [10010-0-1-0].............................................................................................................108 3.37 Set Mode List [10011-0-1-0].........................................................................................................112 3.38 Battery [10014-0-80-0].................................................................................................................115 3.39 End List [10016-0-1-0]..................................................................................................................116 3.40 Object of Rubbish [10017-0-82-0]...............................................................................................119 3.41 Temperature Calibration [10018-0-80-0].....................................................................................124 3.42 Exception Handler [10020-0-81-0]..............................................................................................124 3.43 VAA Definition [10022-0-80-0].....................................................................................................126 3.44 Control Status [10025-0-80-0].....................................................................................................128 3.45 Pulse Input [10026-0-80-0]..........................................................................................................129 3.46 Battery Mode [10035-0-0-0].........................................................................................................130 3.47 Reset Control System [10040-0-81-0].........................................................................................131 3.48 Service Mode List [10051-0-0-0].................................................................................................132 3.49 BatteryMonitoringActivate [10056-0-0-20040]...........................................................................135 3.50 CalibrationModeActivate [10056-0-0-20041]..............................................................................135 3.51 AlertIndicatorActivate [10056-0-0-20047]...................................................................................135 3.52 SignalStrengthActivate [10056-0-0-20048].................................................................................136 3.53 Demand Configuration Register [10080-0-2-0]..........................................................................136 3.54 Meter Function [10100-0-81-0]....................................................................................................141 3.55 Readable items [10110-0-0-0]......................................................................................................144 3.56 GPRS CSD Modem Setup [10133-0-80-0]...................................................................................144 3.57 Security Access light [10166-0-80-0]..........................................................................................146 3.58 ASW Specific Attribute [10610-0-1-0].........................................................................................148 3.59 ESW Specific Attribute [10611-0-80-0].......................................................................................148 3.60 Instantaneous Pulse Output [10630-0-81-0]..............................................................................149 3.61 SmsController [10660-0-80-0].....................................................................................................155 3.62 Dedicated Event Log Config Class [10900-0-0-0]......................................................................156 3.63 Dedicated Event Log Normal [10910-0-0-0]...............................................................................158 3.64 Dedicated Event Log Simple [10920-0-0-0]................................................................................162 3.65 Dedicated Event Log Extended [10930-0-0-0]............................................................................167 3.66 Dedicated Event Log HighestMaximumDemand [10940-0-0-0]................................................172 3.67 Dedicated Event Log VoltageQuality [10950-0-0-0]...................................................................175 3.68 Dedicated Event Log Parameter Change [10960-0-1-0]............................................................179 3.69 Object GSM-Information [20052-0-80-0].....................................................................................182 4 Description of special Objects 184 4.1 Hardware Identification.................................................................................................................184 4.2 Storage of Dates............................................................................................................................185 4.3 Identification Numbers..................................................................................................................185 4.4 Measurement Constants...............................................................................................................186 4.5 Counter Counter Register Registers........ s.................... ......................... ......................... ........................ ......................... ......................... ...................................................187 .......................................187
1 Introduction 1.1 Purpose of this Document This paper contains two main parts used by the tool software developers to implement their parametrisation software accessing the meter either by COSEM defined methods or by an internal used direct memory access to the meter data.
1.2 Validity Scope This paper may only be used by the development group of SIERRA. It's written by the meter software developers.
1.3 Referenced Documents Ref.
Doc-Number
Title
Author
Ref. 1,2,6
DLMS UA 1000-1:2007, Eighth Edition H SIERRA 0078 DKE AK 461.0.8 H SIERRA 0132 DLMS UA 1000-2:2007, Sixth Edition
COSEM Identification System and Interface Classes (Blue Book)
DLMS User Association
Sierra Technical Specification EDIS (Energie Daten Identifikations System) Version 1.6 1996 Hardware Identification Dialog Meters DLMS/COSEM Architecture and Protocols (Green Book)
C. Loder
Ref. 3 Ref. 4 Ref. 5 Ref. 7
T. Lindauer DLMS User Association
1.4 Terms, Definitions and Abbreviations Some names defined by COSEM were changed to fulfil the coding rules established. Underlines “_” are generally replaced by starting the next word with a capital letter. To build a logical model use the internal terms. COSEM
Internal term
logical_name
LogicalName
value
CurrentValue
scaler_unit
UnitScale
Landis+Gyr AG
Revision Date: 09.09.2009
Page 4 / 190
Class Description
Compiled for P05.H
2 Direct Memory Access 2.1 Used Rose Model Here we see the rose model of our base classes and as an example the classes used for an energy register. Next
Rose model of meter application objects
The name in the link map is: Mab_ApplicationBase_First
First Mab_Application EnumType
S
Mab_MeterApplicationBase IsA
Mab_Virtual NameEnumType
VirtualName
DLMSidentifier : Unsigned16 RamDataSize : U nsigned16 EepromInitDataSize : Unsigned16 IsA : Mab_ApplicationEnumType VirtualName : Mab_VirtualNameEnumType RamData : Mab_RamData EepromData : Mab_EepromData FirstPropDesc FirstPropDesc : Mab_PropertyDescr EepromInitData : Mab_EepromData Next : Mab_MeterApplicationBase First : Mab_MeterApplicationBase All this data are in ROM
Mer_RamData CurrentValue : Signed48 Active : BOOLEAN MValueNumber : Unsigned8
2.2 Common Description This is an access method that may only be used for L&G internal stuff like development tests, parametrisation at operations or special handling of our test group. This access method is dependent on the following items: • Used microprocessor • Used compiler • Compiled meter version • Used C data type definitions To see how to get the physical addresses of the different data we have to know the data model and where the different data are stored.
Landis+Gyr AG
Revision Date: 09.09.2009
Page 5 / 190
Class Description
Compiled for P05.H
2.3 How to Navigate Through the Data Structure The entry point is the static First pointer of the class Mab_ApplicationBase. It's named Mab_ApplicationBase_First and stored in ROM (as every instance of Mab_ApplicationBase). This pointer points to the first data structure. The next object can be accessed by the Next pointer of the current structure. A NULL pointer indicates the end of the list. All these pointers point to a data structure allocated in ROM. So you are not able to modify them. For EOS meters we have to declare all pointers to a constant with the keyword "const". The modifiable data can be accessed with the help of the pointers to the RamData and EepromData. The pointer to RamData is a real pointer used by the micro to address the data. The pointer to EepromData is a virtual pointer into the serial EEPROM array. RamDataSize is used for generic backup and restore functions. EepromInitData and EepromInitDataSize is used to make the first initialisation of the meter with a predefined and not modifiable configuration.
2.3.1 Building the Meter Model All objects of the Mab_ApplicationBase together build the meter model (configuration) there are three main attributes that identify the currently used class (real COSEM or proprietary COSEM style class with a possible "subclass") and DLMS addressing structure: • DLMSidentifier This is the DLMS variable address of the LogicalName (please refer to the COSEM class t o DLMS mapping) of the current object. Objects which are not accessable by communication have a value of ZERO in this attribute. • IsA This is the identification of the class type of the current object. It corresponds with the class_id of the COSEM specification. Subclasses (e.g. energy register within the register class) are additionally marked with a subtype attribute as the first proprietary attribute. • FirstPropDescr This points to the description of the first attribute accessible by DLMS. Intern we also use a virtual addressing (attribute VirtualName) to identify a specific Object within a group of the same class. This is an enumeration and (contrary to the LogicalName and IdString) not modifiable.
2.3.2 Property Description The property description is used for every attribute you like to read out or write via DLMS. The functions that use this property description are Mab_ApplicationBase_readProperty() and Mab_ApplicationBase_writeProperty(). The property description describes the attribute type. All property descriptions of a class are organised in a simple list. Every class has its own list.
Data structure for a property description typedef struct Mab_PropertyDescrDataTypeTag { struct Mab_PropertyDescrDataTypeTag* Next; Unsigned16 MemoryOffset;
Pointer to property description of the next attribute Memory offset in bytes. The offset is counted from RamData (if RAM variable), from EepromData (if EEPROM variable) or from this pointer (if ROM variable). Number of attributes. Increments with 8, is also the DLMS address offset to the DLMSidentifier (DLMS base address of the object) Defines the DLMS data type. If the internal data type differs from the DLMS data type we are using a own data type. This type defines the data conversion from the internal to the external data type. defines where the variable is located: RAM, ROM, EEPROM defines the size of the variable in bytes
Revision Date: 09.09.2009
Page 6 / 190
Class Description
Compiled for P05.H
2.3.3 Physical Model of Base Each of the following classes is derived from this base class. typedef struct Mab_ApplicationBaseDataTypeTag{ Mab_ApplicationBaseVFTType const* struct Mab_ApplicationBaseDataTypeTag const* Mab_PropertyDescrDataType* Unsigned16 void* Emd_DataMemoryPointerType Unsigned16 Emd_DataMemoryPointerType void const* void const* Unsigned16 Mab_ApplicationEnumType Mab_VirtualNameEnumType Unsigned8 } Mab_ApplicationBaseDataType;
No first initialization for production; these attributes do not exist in code for production. This is not true for the EOS meter because there is always an initialisation for the production typedef struct { Mab_IdStringDataType Mab_LogicalNameType Mab_UnitScaleType Array of Unsigned8 Mab_UnitScaleType } Mab_EepromDataDataType;
The basic attributes have the following meaning and structure. The first two attributes are defined by COSEM and the following three are proprietary. LogicalName
Type: octetstring [6]
Contains an identification the data contained in CurrentValue . Identifiers are specified based on the OBIS identification system. (Ref. 1). A list of the LogicalName values is give in Logical names of CIMA Objects . Type: UnitScaleType:
UnitScale
Provides information on the unit and the scaler of the value used for DLMS communications. structure { scaler, unit } scaler: integer8 This is the exponent (to the base of 10)of the multiplication factor. Remark: if the value is not unit:
enum
Landis+Gyr AG
numerical then the scaler = 0 shall be used. enumeration defining the physical unit as shown below: