Вы находитесь на странице: 1из 7

PROTOCOL DOCUMENT

70022-0123-00 05/2007

DLMS/COSEM and IONTechnology


ThistechnicalnoteprovidessetupandconfigurationinstructionsforusingION technologywithDLMS/COSEMandassumesthatyouhavesomefamiliaritywith DLMS/COSEM.Formoreinformation,seetheAdditionalInformationreferences listedbelow. Currently,onlyPowerLogicION8800meterssupportDLMS/COSEM.

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

DLMS/COSEM and ION Technology

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

2007 Schneider Electric. All rights reserved.

DLMS/COSEM and ION Technology

Specific Implementation of DLMS

Specific Implementation of DLMS


DetailsofthisimplementationoftheDLMSprotocolareoutlinedbelow.

Physical Layer
Onlyserialportcommunicationsaresupportedinthisimplementationofthe protocol.DLMSisavailableonthefollowingserialcommunicationsports:Optical, RS232,RS485andModem.

Data Link Layer


ThefollowingoperationselectionsforHDLC(ISO/IEC13239)werechosenforuse withDLMS: unbalancedconnectionmodedatalinkoperation twowayalternatedatatransfer theselectedHDLCclassofprocedureisUNC,extendedwithUIframes nonbasicframeformattransparency(HDLCFrameformattype3)
DLMS/COSEM Specification
Maximum Info Field Transmit Maximum Info Field Receive Maximum Window Size Transmit Maximum Window Size Receive Transparent transfer of long MSDUs Inactivity time out Inter-frame time out Device Addressing Length Physical Device Address Logical Device(s)

Supported by ION Implementation


128 128 1 1 Not supported 120 seconds Configured RxTimeout register value 4 bytes Configured in meters UnitID register value Management Logical Device only at specified address 0x0001

2007 Schneider Electric. All rights reserved.

Page 3

Application Layer

DLMS/COSEM and ION Technology

Application Layer
DLMS/COSEM Specification
Supported application context

Supported Implementation
LN referencing attribute0-supported-with-GET block-transfer-with-get

Available services

get set (supported for time synchronization only) selective-access

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

COSEM/OBIS Representation of Capture Objects

Page 4

2007 Schneider Electric. All rights reserved.

DLMS/COSEM and ION Technology

COSEM Layer

Supported COSEM Objects

Capture Objects
Record Timestamp Status (see below) kWh del kWh rec kWh del-rec kVARh del

COSEM/OBIS Representation of Capture Objects


Clock attribute 2 - 0-0:1.0.0*255 Data attribute 2 - 0-0:97.97.0*255 Register attribute 2 - 1-1:1.8.0*255 Register attribute 2 - 1-1:2.8.0*255 Register attribute 2 - 1-1:16.8.0*255 Register attribute 2 - 1-1:3.8.0*255 Register attribute 2 - 1-1:4.8.0*255 Register attribute 2 - 1-1:128.8.0*255 Register attribute 2 - 1-1:9.8.0*255 Register attribute 2 - 1-1:16.4.0*255 Register attribute 2 - 1-1:128.4.0*255 Register attribute 2 - 1-1:9.4.0*255 Register attribute 2 - 1-1:13.0.0*255

Profile Generic 1-0:98.1.0*255 (Billing Data)

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

2007 Schneider Electric. All rights reserved.

Page 5

Time Synchronization

DLMS/COSEM and ION Technology

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

2007 Schneider Electric. All rights reserved.

DLMS/COSEM and ION Technology

Using ION Meters with DLMS

Using ION Meters with DLMS


DLMSenabledIONmeterscomepreconfiguredwithframeworksthatallowthe metertoprovidevaluestoaDLMSmaster.ThemodulesinvolvedaretheFactory module,theClockmodule,theEventLogControllermodule,andDataRecorders 1and10andtheirinputs.

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.

Configuring Meter Communications


Usersneedtoconfigurethemeterscommunicationsettingsbeforetheycanaccess valuesusingDLMSmastersoftware. DLMSisavailableonallserialports,includingthefrontopticalport.Usethefront panelorIONsoftwaretoselectthecommunicationportyouwanttouseforDLMS. SeeyourmetersUserGuide(Communicationschapter)forinstructions.

2007 Schneider Electric. All rights reserved.

Page 7

Вам также может понравиться