Changes

no edit summary
Line 37: Line 37:  
----
 
----
 
Once we have configured the basic connection parameters, we can move onto configuring the DLMS physical devices. Back in the Main tab, we can create a new DLMS physical device interface with a recognizable name. Once the instance is created, and the configuration window opens up, there are a few parameters we need to specify:
 
Once we have configured the basic connection parameters, we can move onto configuring the DLMS physical devices. Back in the Main tab, we can create a new DLMS physical device interface with a recognizable name. Once the instance is created, and the configuration window opens up, there are a few parameters we need to specify:
 +
[[File:DLMS_client_configuration_example_physical_device_window_v1.png|border|class=tlt-border|700x700px]]<br>
 
* Select the '''connection instance''' created earlier;
 
* Select the '''connection instance''' created earlier;
 
====HDLC Addressing====
 
====HDLC Addressing====
Line 60: Line 61:     
Finally, once we have configured the physical DLMS device, we can test if our configuration up until this point was correct by enabling the DLMS Client package, the created physical device instance, saving the settings, and pressing the TEST button:
 
Finally, once we have configured the physical DLMS device, we can test if our configuration up until this point was correct by enabling the DLMS Client package, the created physical device instance, saving the settings, and pressing the TEST button:
[[File:DLMS_client_configuration_example_physical_device_v1.png|border|class=tlt-border|1100x1100px]]<br>
+
[[File:DLMS_client_configuration_example_physical_device_v1.png|border|class=tlt-border|800x800px]]<br>
 
If you're receiving an error, open physical device instance, and press the TEST button at the bottom. It will provide a more specific error message:
 
If you're receiving an error, open physical device instance, and press the TEST button at the bottom. It will provide a more specific error message:
 +
[[File:DLMS_client_configuration_example_physical_device_troubleshooting_v1.png|border|class=tlt-border|800x800px]]<br>
 +
===DLMS group configuration===
 +
----
 +
Now that the physical devices are configured and working, let's move onto COSEM group configuration. COSEM groups are a convenient way to organize the OBIS codes that you want to send to the remote data collection server. You can add OIDs from different physical devices to the same COSEM group.
 +
 +
The first thing to do is to choose how frequently you want to read the data from the devices. For TCP/IP devices, one second is a good interval. For serial devices, you may need to use a longer interval, depending on the baud rate. This is to avoid reading the data too fast and causing errors.
 +
[[File:DLMS_client_configuration_example_cosem_group_v1.png|border|class=tlt-border|800x800px]]<br>
 +
====COSEM value configuration====
 +
----
 +
Each COSEM value needs to be created for every OBIS code that needs to be read from the DLMS Server. In this window we will need to specify:
 +
* '''Physical device''' that we will be reading the value from;
 +
* '''OBIS code''' of the value that we would like to read;
 +
** OBIS codes specify the location of the data on the DLMS server, and they can be found in the user manual of your device.
 +
** It should be in the following format: '''A.B.C.D.E.F''' (''for example, 1.0.1.4.6.255''). OBIS codes are comprised of 6 groups, and each group represents a different piece of information about the OID in question. More information about it can be found in the sources linked at the end of the article.
 +
** The same OBIS code can be read from multiple devices/logical devices at the same time;
 +
* '''COSEM class ID''' (''also known as COSEM object'') specifies the format in which the data will be returned. The most commonly used ones are '''DATA (ID: 1)''' and '''REGISTER (ID: 3)''', however, this information can be found in the user manual of your DLMS server along with each OBIS code.<br>
 +
Here is an example of a configured COSEM value:
 +
[[File:DLMS_client_configuration_example_cosem_value_v1.png|border|class=tlt-border|800x800px]]<br>
 +
 +
==Testing the configuration==