dlms

Embed Size (px)

DESCRIPTION

j

Citation preview

  • 70022-0123-00PROTOCOL DOCUMENT 05/2007

    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

    DLMS/COSEM and IONTechnologyThistechnicalnoteprovidessetupandconfigurationinstructionsforusingIONtechnologywithDLMS/COSEMandassumesthatyouhavesomefamiliaritywithDLMS/COSEM.Formoreinformation,seetheAdditionalInformationreferenceslistedbelow.

    Currently,onlyPowerLogicION8800meterssupportDLMS/COSEM.

    In This Document

    Introduction to DLMS/COSEM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

    Specific Implementation of DLMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3PhysicalLayer......................................................... 3DataLinkLayer....................................................... 3ApplicationLayer ..................................................... 4COSEMLayer ......................................................... 4TimeSynchronization .................................................. 6

    Using ION Meters with DLMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7ConfiguringMeterCommunications..................................... 7

    Additional Information

    DLMSUserAssociationwebsitehttp://dlms.com

    GreenBook5thEditionCOSEMArchitectureandProtocols

    BlueBook7thEditionCOSEMIdentificationSystemandInterfaceClasses

    YellowBook2ndEditionCOSEMConformanceTestProcess

    WhiteBook1stEditionCOSEMGlossaryofTerms

    ION8800InstallationGuide

    IONReference

  • Introduction to DLMS/COSEM DLMS/COSEM and ION Technology

    Page 2 2007 Schneider Electric. All rights reserved.

    Introduction to DLMS/COSEMDLMSbeganasDistributionLineMessageSpecification,anapplicationlayerspecificationdesignedtosupportmessagingtoandfrom(energy)distributiondevicesinacomputerintegratedenvironment.ItisaninternationalstandardestablishedbyIECTC57andpublishedasIEC61334441.

    TheconceptlaterbecameDeviceLanguageMessageSpecificationwiththeobjectiveofprovidinganinteroperableenvironmentforstructuredmodelingandmeterdataexchange.Applicationslikeremotemeterreading,remotecontrolandvalueaddedservicesformeteringanykindofenergy,likeelectricity,water,gasorheat,aresupported.

    COSEMstandsforCOmpanionSpecificationforEnergyMetering.Itisaninterfacemodelofcommunicatingwithenergymeteringequipment,providingaviewofthefunctionalityavailablethroughthecommunicationinterfaces.Themodelingusesanobjectorientedapproach.

    TheCOSEMmodelallowsforamanufacturerindependent,controlledandsecurewaytoindentify,retrieveandinterprettheinformationheldinanymeter.

    NOTEAs 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,datacollectionsystemsandmeteringequipmentfromdifferentvendorscanexchangedatainaninteroperableway.

    Thisinteroperabilityisaccomplishedthroughobjectmodeling.Anobjectisacollectionofattributesandmethods.

    Theinformationofanobjectisorganizedinattributes.Theyrepresentthecharacteristicsofanobjectbymeansofattributevalues.Thevalueofanattributemayaffectthebehaviorofanobject.Anobjectmayofferanumberofmethodstoeitherexamineormodifythevaluesoftheattributes.

    Objectsthatsharecommoncharacteristicsaregeneralizedasaninterfaceclasswithaclass_id.Withinaspecificclass,thecommoncharacteristics(attributesandmethods)aredescribedonceforallobjects.EachinstanceofaninterfaceclassiscalledaCOSEMobject.

  • DLMS/COSEM and ION Technology Specific Implementation of DLMS

    2007 Schneider Electric. All rights reserved. Page 3

    Specific Implementation of DLMSDetailsofthisimplementationoftheDLMSprotocolareoutlinedbelow.

    Physical LayerOnlyserialportcommunicationsaresupportedinthisimplementationoftheprotocol.DLMSisavailableonthefollowingserialcommunicationsports:Optical,RS232,RS485andModem.

    Data Link LayerThefollowingoperationselectionsforHDLC(ISO/IEC13239)werechosenforusewithDLMS:

    unbalancedconnectionmodedatalinkoperation

    twowayalternatedatatransfer

    theselectedHDLCclassofprocedureisUNC,extendedwithUIframes

    nonbasicframeformattransparency(HDLCFrameformattype3)

    DLMS/COSEM Specification Supported by ION Implementation

    Maximum Info Field Transmit 128

    Maximum Info Field Receive 128

    Maximum Window Size Transmit 1

    Maximum Window Size Receive 1

    Transparent transfer of long MSDUs Not supported

    Inactivity time out 120 seconds

    Inter-frame time out Configured RxTimeout register value

    Device Addressing Length 4 bytes

    Physical Device Address Configured in meters UnitID register value

    Logical Device(s) Management Logical Device only at specified address 0x0001

  • Application Layer DLMS/COSEM and ION Technology

    Page 4 2007 Schneider Electric. All rights reserved.

    Application Layer

    COSEM LayerTheregisterattributeslistedinthetablebelowarescaledby1000toprovideresolutiontothreedecimalpoints.

    DLMS/COSEM Specification Supported Implementation

    Supported application context LN referencing

    Available services

    attribute0-supported-with-GET

    block-transfer-with-get

    get

    set (supported for time synchronization only)

    selective-access

    Supported COSEM Objects Capture Objects COSEM/OBIS Representation of Capture 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

    Profile Generic 1-0:99.1.0*255 (Load Profile)

    Record Timestamp Clock attribute 2 - 0-0:1.0.0*255

    Status Data attribute 2 - 0-0:97.97.0*255

    kWh del int Register attribute 2 - 1-1:1.29.0*255

    kVARh del int Register attribute 2 - 1-1:3.29.0*255

    kWh rec int Register attribute 2 - 1-1:2.29.0*255

    kVARh rec int Register attribute 2 - 1-1:4.29.0*255

  • DLMS/COSEM and ION Technology COSEM Layer

    2007 Schneider Electric. All rights reserved. Page 5

    Whenallbitsareset,thestatusisconsideredinvalid.

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

    Record Timestamp Clock attribute 2 - 0-0:1.0.0*255

    Status (see below) Data attribute 2 - 0-0:97.97.0*255

    kWh del Register attribute 2 - 1-1:1.8.0*255

    kWh rec Register attribute 2 - 1-1:2.8.0*255

    kWh del-rec Register attribute 2 - 1-1:16.8.0*255

    kVARh del Register attribute 2 - 1-1:3.8.0*255

    kVARh rec Register attribute 2 - 1-1:4.8.0*255

    kVARh del-rec Register attribute 2 - 1-1:128.8.0*255

    kVAh del+rec Register attribute 2 - 1-1:9.8.0*255

    kW sd del-rec Register attribute 2 - 1-1:16.4.0*255

    kVAR sd del-rec Register attribute 2 - 1-1:128.4.0*255

    kVA sd del+rec Register attribute 2 - 1-1:9.4.0*255

    PF sign mean Register attribute 2 - 1-1:13.0.0*255

    Supported COSEM Objects Capture Objects COSEM/OBIS Representation of Capture Objects

    Status (unsigned 16 bit) Value

    bit 15 Reserved

    bit 14 Reserved

    bit 13 Reserved

    bit 12 Reserved

    bit 11 Reserved

    bit 10 Reserved

    bit 9 DST Ended

    bit 8 DST Started

    bit 7 Power Down

    bit 6 Power Up

    bit 5 Time Changed

    bit 4 Reserved

    bit 3 Master Reset

    bit 2 Reserved

    bit 1 Reserved

    bit 0 Reserved

  • Time Synchronization DLMS/COSEM and ION Technology

    Page 6 2007 Schneider Electric. All rights reserved.

    Time SynchronizationThisimplementationofDLMStimesynchronizationusestheSETservicetowriteanewvalueforattribute2(time)ontheClockobject.

    Toworkcorrectly,theClockmoduleonyourIONmetermustbesetuptoreceivetimesyncsonthecommunicationsportusedforDLMS.SettheTimeSyncSourcesetupregisterontheClockmoduletotheportusedforDLMS.SeetheIONReferenceforadetaileddescriptionoftheClockmodule.

    Tosetthetimeonthemeter,anApplicationAssociation(AA)thatsupportstheSETservicemustfirstbeestablished.TheclientsoftwarecanthenissueatimesyncbysendingaSETrequestforattribute2ontheClockobject.

    Thetypeofattributeisdate_time.Thisattributedefinesanumberofvaluesforeachfield.Thisimplementationsupportsallofthenotspecifiedvalues.Afieldwillnotchangeifavalueisnotspecified.

    Thefollowingarenotsupported:

    ThedayOfWeekfieldisignored

    Thefollowingspecialvaluesareinterpretedasinvalid

    monthfieldsettingsof0xFD(DSTendmonth)and0xFE(DSTbeginmonth) dayOfMonthfieldsettingsof0xFD(2ndlastday)and0xFE(lastday)

    Thisimplementationperformsacheckofrangesoneachfieldandthetimesyncwillfailifanyfieldisoutsideofthevalidrange.

  • DLMS/COSEM and ION Technology Using ION Meters with DLMS

    2007 Schneider Electric. All rights reserved. Page 7

    Using ION Meters with DLMSDLMSenabledIONmeterscomepreconfiguredwithframeworksthatallowthemetertoprovidevaluestoaDLMSmaster.ThemodulesinvolvedaretheFactorymodule,theClockmodule,theEventLogControllermodule,andDataRecorders1and10andtheirinputs.

    NOTEChanging these modules and any of their inputs from the default template is an advanced setupprocedure that requires an understanding of the protocol, as well as an understanding of the metersinternal operation.

    Configuring Meter CommunicationsUsersneedtoconfigurethemeterscommunicationsettingsbeforetheycanaccessvaluesusingDLMSmastersoftware.

    DLMSisavailableonallserialports,includingthefrontopticalport.UsethefrontpanelorIONsoftwaretoselectthecommunicationportyouwanttouseforDLMS.

    SeeyourmetersUserGuide(Communicationschapter)forinstructions.

    Introduction to DLMS/COSEMSpecific Implementation of DLMSPhysical LayerData Link LayerApplication LayerCOSEM LayerTime Synchronization

    Using ION Meters with DLMSConfiguring Meter Communications

    /ColorImageDict > /JPEG2000ColorACSImageDict > /JPEG2000ColorImageDict > /AntiAliasGrayImages false /CropGrayImages true /GrayImageMinResolution 300 /GrayImageMinResolutionPolicy /OK /DownsampleGrayImages true /GrayImageDownsampleType /Bicubic /GrayImageResolution 300 /GrayImageDepth -1 /GrayImageMinDownsampleDepth 2 /GrayImageDownsampleThreshold 1.50000 /EncodeGrayImages true /GrayImageFilter /DCTEncode /AutoFilterGrayImages true /GrayImageAutoFilterStrategy /JPEG /GrayACSImageDict > /GrayImageDict > /JPEG2000GrayACSImageDict > /JPEG2000GrayImageDict > /AntiAliasMonoImages false /CropMonoImages true /MonoImageMinResolution 1200 /MonoImageMinResolutionPolicy /OK /DownsampleMonoImages true /MonoImageDownsampleType /Bicubic /MonoImageResolution 1200 /MonoImageDepth -1 /MonoImageDownsampleThreshold 1.50000 /EncodeMonoImages true /MonoImageFilter /CCITTFaxEncode /MonoImageDict > /AllowPSXObjects false /CheckCompliance [ /None ] /PDFX1aCheck false /PDFX3Check false /PDFXCompliantPDFOnly false /PDFXNoTrimBoxError true /PDFXTrimBoxToMediaBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXSetBleedBoxToMediaBox true /PDFXBleedBoxToTrimBoxOffset [ 0.00000 0.00000 0.00000 0.00000 ] /PDFXOutputIntentProfile () /PDFXOutputConditionIdentifier () /PDFXOutputCondition () /PDFXRegistryName () /PDFXTrapped /False

    /Description > /Namespace [ (Adobe) (Common) (1.0) ] /OtherNamespaces [ > /FormElements false /GenerateStructure false /IncludeBookmarks false /IncludeHyperlinks false /IncludeInteractive false /IncludeLayers false /IncludeProfiles false /MultimediaHandling /UseObjectSettings /Namespace [ (Adobe) (CreativeSuite) (2.0) ] /PDFXOutputIntentProfileSelector /DocumentCMYK /PreserveEditing true /UntaggedCMYKHandling /LeaveUntagged /UntaggedRGBHandling /UseDocumentProfile /UseDocumentBleed false >> ]>> setdistillerparams> setpagedevice