jDLMS is a Java implementation of the DLMS/COSEM protocol. It can be used to develop individual DLMS/COSEM client/master and. based communication while DLMS is a binary protocol. This document provides overview of COSEM modeling of metering devices, addressing and DLMS. The open smart grid platform supports DLMS/COSEM (IEC ]. DLMS/ COSEM is a popular protocol to read smart meters. DLMS/COSEM is the de facto .

Author: Gardabei Meztinris
Country: Belize
Language: English (Spanish)
Genre: Health and Food
Published (Last): 5 January 2012
Pages: 163
PDF File Size: 18.53 Mb
ePub File Size: 11.66 Mb
ISBN: 686-3-37244-779-4
Downloads: 46469
Price: Free* [*Free Regsitration Required]
Uploader: Mikajas

Class ID Logical Name i. When changing the global encryption or authentication keys one has to wrap the new key before transmitting it.

The dependencies folder in the distribution contains more detailed license and copyright information about these dependencies. The Blue book describes the COSEM meter object model and the OBIS object identification system, the Green book describes the Architecture and Protocols, the Yellow book treats all the questions concerning conformance testing, the Coswm book contains the glossary of terms.

Thus a client can address each attribute or method using 2 bytes only. C Defines the abstract of physical data items, coem to the information source e.

Microstar Electric Company Limited

Used by authentication mechanisms such as HLS 5 protool well as optionally by encryption mechanisms such prorocol mechanism 0. Global unicast encryption key Used by authentication mechanisms such as HLS 5 as well as by encryption mechanisms such as mechanism 0. The dedicated key is then used instead of the global encryption key for the remaining communication of this connection.

Then both use cryptographic algorithms on these challenge strings and send the result back. E The value group E defines further processing or classification of quantities identified by value groups A to D e. These selective profocol parameters are defined as part of the attribute specification.


The algorithm takes both the global encryption key 16 bytes as well as the authentication key 16 bytes as inputs. The generated classes are part of jDLMS.

DLMS / COSEM | Open Smart Grid Platform Documentation

The physical media are usually either modulated light, sent with an LED and received with a photodiodeor a pair of wires, usually modulated by a 20mA current loop. The six bytes have the following meaning:.

By using this site, you agree to the Terms of Use and Privacy Policy. The referencing method needs is negotiated during connection build up. Just follow the instructions on our FAQ site. By now new security mechanisms have been defined. Only bytes C and D are mandatory. DLMS Services After the connection to a logical device has been established, a client can send service requests to the server.

It is the only mechanism currently supported by jDLMS. The six bytes have the following meaning: Many meters offer an optical interface at the front of the meter. Any real world thing mapped to an appropriate class type can be described by the attributes defined in the standard; and the methods defined therewith allow operations to be performed on the attributes.

The channel number allows to differentiate between different inputs e. A command line application is part of the library that can be used to connect, read, write and scan DLMS devices. The annotation processor can be applied using the following gradle build script. The cryptographic algorith used for authentication depends on the HLS level: Further attributes refer to actual data see section 4. First both client and server exchange challenge strings e. F Defines the storage of the data, identified by A to E e.

List of International Electrotechnical Commission standards. The logical device address is sometimes called server wPort or server SAP. It uses the global unicast encryption key and, if available, the authentication key.

DLMS/COSEM Protocol – Microstar Electric Company Limited

In this manual we will always use the terms client and server. The general protocol consists of a “sign on” sequence, in which a handheld unit identifies itself to the metering unit. The client ID also called client SAP or client wPort defines the access level with which the proyocol connects to the logical device.


Thus if you changed code and want to rebuild a library you can do it easily with Gradle. You must accept the license to download this software. The following exchange usually takes a second or two, and occurs when a person from the utility company presses a meter-reading gun against a transparent faceplate on the meter, or plugs into the metering bus at the mailbox of an apartment building.

The jDLMS server comes with an annotaion processor.

Server Address The server address consists of the physical address and the address of the logical device. The attributes and methods constitute an object. In addition each object has 2 byte short name that maps to the logical name.

When short name referencing is used the meter still holds a unique logical name i. For futher information, see the gradle plugin project page https: The cryptographic algorith used for authentication depends on the HLS level:.

The two mechanisms often use the same keys but they can be chosen independently of each other and can be used in any combination. Codem contact us for an individual license agreement if the license terms shown below are not suitable for you. Contains the list of all logical devices and their SAP addresses within the physical device.