Beruflich Dokumente
Kultur Dokumente
70022-0123-00 05/2007
In This Document
Introduction to DLMS/COSEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Specific Implementation of DLMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 PhysicalLayer......................................................... 3 DataLinkLayer....................................................... 3 ApplicationLayer ..................................................... 4 COSEMLayer ......................................................... 4 TimeSynchronization .................................................. 6 Using ION Meters with DLMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 ConfiguringMeterCommunications..................................... 7 Additional Information DLMSUserAssociationwebsitehttp://dlms.com GreenBook5thEditionCOSEMArchitectureandProtocols BlueBook7thEditionCOSEMIdentificationSystemandInterfaceClasses YellowBook2ndEditionCOSEMConformanceTestProcess WhiteBook1stEditionCOSEMGlossaryofTerms ION8800InstallationGuide IONReference
Electrical equipment should be installed, operated, serviced, and maintained only by qualified personnel. No responsibility is assumed by Schneider Electric for any consequences arising out of the use of this material. 2007 Schneider Electric. All rights reserved. www.powerlogic.com
Introduction to DLMS/COSEM
Introduction to DLMS/COSEM
DLMSbeganasDistributionLineMessageSpecification,anapplicationlayer specificationdesignedtosupportmessagingtoandfrom(energy)distribution devicesinacomputerintegratedenvironment.Itisaninternationalstandard establishedbyIECTC57andpublishedasIEC61334441. TheconceptlaterbecameDeviceLanguageMessageSpecificationwiththe objectiveofprovidinganinteroperableenvironmentforstructuredmodelingand meterdataexchange.Applicationslikeremotemeterreading,remotecontroland valueaddedservicesformeteringanykindofenergy,likeelectricity,water,gasor heat,aresupported. COSEMstandsforCOmpanionSpecificationforEnergyMetering.Itisan interfacemodelofcommunicatingwithenergymeteringequipment,providinga viewofthefunctionalityavailablethroughthecommunicationinterfaces.The modelingusesanobjectorientedapproach. TheCOSEMmodelallowsforamanufacturerindependent,controlledandsecure waytoindentify,retrieveandinterprettheinformationheldinanymeter.
NOTE
As currently implemented, each ION meter running the DLMS protocol will contain a single logical device.
Terminology Client(master)istheworkstationrunningsoftware Server(slave)isthemeter OnlytheClientcaninitiaterequests. COSEM Interface ByusingtheCOSEMinterfacespecifications,datacollectionsystemsandmetering equipmentfromdifferentvendorscanexchangedatainaninteroperableway. Thisinteroperabilityisaccomplishedthroughobjectmodeling.Anobjectisa collectionofattributesandmethods. Theinformationofanobjectisorganizedinattributes.Theyrepresentthe characteristicsofanobjectbymeansofattributevalues.Thevalueofanattribute mayaffectthebehaviorofanobject.Anobjectmayofferanumberofmethodsto eitherexamineormodifythevaluesoftheattributes. Objectsthatsharecommoncharacteristicsaregeneralizedasaninterfaceclass withaclass_id.Withinaspecificclass,thecommoncharacteristics(attributesand methods)aredescribedonceforallobjects.Eachinstanceofaninterfaceclassis calledaCOSEMobject.
Page 2
Physical Layer
Onlyserialportcommunicationsaresupportedinthisimplementationofthe protocol.DLMSisavailableonthefollowingserialcommunicationsports:Optical, RS232,RS485andModem.
Page 3
Application Layer
Application Layer
DLMS/COSEM Specification
Supported application context
Supported Implementation
LN referencing attribute0-supported-with-GET block-transfer-with-get
Available services
COSEM Layer
Theregisterattributeslistedinthetablebelowarescaledby1000toprovide resolutiontothreedecimalpoints.
Supported COSEM Objects
Association LN - 0-0:40.0.0*255 SAP Assignment - 0-0:41.0.0*255 Logical Device Name - 0-0:42.0.0*255 Clock - 0-0:1.0.0*255 Record Timestamp Status Profile Generic 1-0:99.1.0*255 (Load Profile) kWh del int kVARh del int kWh rec int kVARh rec int Clock attribute 2 - 0-0:1.0.0*255 Data attribute 2 - 0-0:97.97.0*255 Register attribute 2 - 1-1:1.29.0*255 Register attribute 2 - 1-1:3.29.0*255 Register attribute 2 - 1-1:2.29.0*255 Register attribute 2 - 1-1:4.29.0*255
Capture Objects
Page 4
COSEM Layer
Capture Objects
Record Timestamp Status (see below) kWh del kWh rec kWh del-rec kVARh del
kVARh rec kVARh del-rec kVAh del+rec kW sd del-rec kVAR sd del-rec kVA sd del+rec PF sign mean
Whenallbitsareset,thestatusisconsideredinvalid.
Status (unsigned 16 bit)
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8 bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
Value
Reserved Reserved Reserved Reserved Reserved Reserved DST Ended DST Started Power Down Power Up Time Changed Reserved Master Reset Reserved Reserved Reserved
Page 5
Time Synchronization
Time Synchronization
ThisimplementationofDLMStimesynchronizationusestheSETservicetowrite anewvalueforattribute2(time)ontheClockobject. Toworkcorrectly,theClockmoduleonyourIONmetermustbesetuptoreceive timesyncsonthecommunicationsportusedforDLMS.SettheTimeSync SourcesetupregisterontheClockmoduletotheportusedforDLMS.SeetheION ReferenceforadetaileddescriptionoftheClockmodule. Tosetthetimeonthemeter,anApplicationAssociation(AA)thatsupportsthe SETservicemustfirstbeestablished.Theclientsoftwarecanthenissueatimesync bysendingaSETrequestforattribute2ontheClockobject. Thetypeofattributeisdate_time.Thisattributedefinesanumberofvaluesfor eachfield.Thisimplementationsupportsallofthenotspecifiedvalues.Afield willnotchangeifavalueisnotspecified. Thefollowingarenotsupported: ThedayOfWeekfieldisignored Thefollowingspecialvaluesareinterpretedasinvalid monthfieldsettingsof0xFD(DSTendmonth)and0xFE(DSTbeginmonth) dayOfMonthfieldsettingsof0xFD(2ndlastday)and0xFE(lastday) Thisimplementationperformsacheckofrangesoneachfieldandthetimesync willfailifanyfieldisoutsideofthevalidrange.
Page 6
NOTE
Changing these modules and any of their inputs from the default template is an advanced setup procedure that requires an understanding of the protocol, as well as an understanding of the meters internal operation.
Page 7