Kaifa DLMS Meter Setup

Avatar

sdg.lesego
2026-03-25 16:06

1. Overview

This document outlines the configuration of kaifa meters on PNPSCADA for RS-485 multidrop communication using the DLMS/COSEM protocol. It focuses on the calculation of unique server addresses for each meter on RS-485 network and the configuration of communication settings, including the selection between encrypted and unencrypted communication.


2. Multidrop calculations

To configure multidrop communication on RS-485, calculate Unique server addresses for each meter to be used on PNPSCADA:

2.1 Setup the Sap ID/upper address and Lower address on the manufacturer software (SmartSet):

2.1.1 Login to the desktop manufacture software (SmartSet), try using the following credentials:

Username/Role:Admin

Password:123


2.1.2 After gaining access to the SmartSet application, right-click on New Meter, click on Edit to open the configuration dialog. Then under the Information tab, you can set the upper and lower address parameters which will be needed to calculate the server address to be used on PNPSCADA.

2.2 Using the above upper address and Lower address, calculate the server address to be used on PNPSCADA as follows:

Server Address Calculation

Server address is a 16-bit value calculated from High Address and Low Address:

Server Address = (High Address * 16384) + Low Address

Calculation Examples

Example1: When meters low address is set to = 17 and the Sap ID/Upper address of 1

Low Address = 17

High Address = 1 (Standard)

Server Address = (1 * 16384) + 17

Server Address = 16384 + 17

Server Address = 16401

Example 2: If you have set the meter to be on low address of 64 and a Sap ID/Upper address of 2

Low Address = 64

High Address =2


Server Address = (2 * 16384) + 64

Server Address = 32768 + 64

Server Address = 32832

3. Configuration of Encrypted and Unencrypted RS-485 DLMS Communication

To configure the communication type on PNPSCADA:

1. Select the meter.

2. From the top menu, click Edit.

3. Select Attributes

4. When using encrypted communication, ensure the following:

-Enter the default DLMS keys in the respective input fields:

-Authentication Key (AKey): D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF

-Encryption Key (EKey): 000102030405060708090A0B0C0D0E0F

-The default keys must be correctly configured for successful secure session establishment.

5 Configure the glo-encrypt settings as follows:

-Set glo-encrypt = false for unencrypted communication.

-Set glo-encrypt = true for encrypted communication.

5. Click Submit

Project status update

The development of meter communication through DCU is currently in progress and not yet finalized.

At this stage, successful communication and data retrieval have been achieved using the 4G modem and RS-485 serial communication. Work is ongoing to extend this functionality to support reading meters through the DCU as per project requirement.


Avatar

sdg.lesego
2026-03-25 16:12
Last Edited 2026-03-25 16:18

1. Overview

This document describes the configuration required to enable secure communication between the Kaifa meter and PNPSCADA system over a 4G modem. It outlines how to program the meter with destination IP address and port of the head-end system, allowing the meter to automatically establish communication.

2. Programming the meter with the target server address

2.1 Login to the desktop manufacture software (SmartSet) as we did in section 2 of the above post.

2.2 Configuring Communication Settings

After gaining access to the SmartSet application, right-click on ?New Meter? to open the configuration dialog.

Navigate to the Communication tab and configure the Serial Port settings. Select the appropriate port connected to your device (e.g via optical probe or RS-485 interface).

Once the configuration is complete, click Save. After saving, proceed to establish the connection with the application.


2.3 Configuring Auto Connect Settings

Within the SmartSet application, navigate to Remote Communication → Auto Connect.

Enable the Auto Connect option and configure the following parameters:

-Mode: Select the appropriate mode (e.g., (105) Device permanently connected to the communication network).

-Destination List: Enter the IP address and port of the head-end system (e.g., 209.203.18.205:2254).

After completing the configuration, click Write to apply the settings to the meter. Confirm that all operations return a Success status




3. Set the keys and glo-encrypt values

Before start reading the meter over 4G modem, you have to set the keys, to do refer to the section 3 of the above post, use the same authentication key (Akey) and Encryption key (Ekey) and set the glo-encrypt to true.


4. Set the multidrop, follow this steps:

To Configure multidrop communication on PNPSCADA:

4.1 Select the meter entity

4.2 From the top menu, click Edit

4.3. Select meter Details

You will be navigated to the configuration page.

-Set the multidrop to 1

-Set the password to:0000000000000000

4.4. Click submit to save the configuration.



Tags: kaifa
Please log in to post a comment