Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Tariff Profile

Tariff Profile

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By DenisMalakhov , 18 February, 2021
Forums
General discussion

Hello, firstly i want to apologize for my english skill. I am using .Net library for Read/Write actions to the meters. Could you explain how can i change tariff scheme for meter? For example, i have one tariff from 7:00 to 22:59 and second tariff from 23:00 to 6:59 as manufacturer preset. What objects should i use to change time ranges or add time range with new tariff scheme? It would be great if you write a simple example

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

The best way to handle this is if you download GXDLMSDirector and do this with it.

You will select called script and add execution times for the Action Schedule object.
Action Schedule object will call script table object (0.0.10.0.100.255) using selected script id.
In the script table object you will have a list of registers that you want to invoke.

In short: Add execution time (7:00) to Action Schedule where script name is a script that you want to call. Then find another Action Schedule where that you want to call and add execution time (23:00) to there.

BR,
Mikko

DenisMalakhov

5 years 3 months ago

Thanks for your answer, i

Thanks for your answer, i have read association view but i can`t read any value. I`m getting "Failed to receive reply from the device in given time." Maybe the reason of that is because i am using meter by russian manufacturer, so in "Manufacture" combobox i picked Gurux. On the other hand, I was able to read association view.

DenisMalakhov

5 years 3 months ago

Oh, i understand now. Firstly

Oh, i understand now. Firstly i should click on "Connect" in context menu of the specific object and after that it can be read.

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

There is an invalid timeout and I believe that the meter is closing the connection if you are not reading anything from the meter in the given time. This might be the reason for the "Failed to receive reply from the device in given time." error.

BR,
Mikko

DenisMalakhov

5 years 3 months ago

I think i have almost

I think i have almost understood what i need to do. I checked Script Table in Director (0.0.10.0.100.255). There is preset with 8 tariffs. After that i checked Activity Calendar passive section. There was a single day profile with two values: 7:00 and 23:00. Both of these values point on 0.0.10.0.100.255 script but with different selectors (1, 2). But if I add another schedule with the selector value 3 (tariff 3) 2 minutes later than the current time, display still shows tariff 1. I guess i missed some important detail.

Image
Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

You can try to execute scripts by yourself and verify that it's working. Find Script table object 0.1.10.0.100.255 and select the script that you want to call. Example script #3. Then press "Execute" button and the tariff should be changed.

For the activity calendar, you can define what script is called and when. You need to make sure that week profile is calling day id #1. You can check that if you read the week profile and check that day is selected. Then you need also to check that the current season is active.

The activity calendar is not quite easy to configure.

BR,
Mikko

DenisMalakhov

5 years 3 months ago

I can`t execute any script

I can`t execute any script because of disabled button(

Image
Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

OK. The meter doesn't allow direct execution. You must configure the activity calendar. Read season profiles and check what is active season. Then Check what week profile it will call. Then check what day profile week profile is calling. Then add a new execution time for that day profile.

BR,
Mikko

DenisMalakhov

5 years 3 months ago

Yes, i have checked it

Yes, i have checked it already. Like i said before there was preset by manufacturer in activity calendar. Am i understanding correctly that if "Activate passive calendar" attribute is "29.06.2017 *:*:*" then the passive mode has already been used for 3.5 years? If so, then I don`t understand why the new rules I added to the day profile don`t work? Or is the calendar still in active mode?
P.S. Active mode is read only for me.

DenisMalakhov

5 years 3 months ago

OMG, it really used Active

OMG, it really used Active Mode. The meter was released in 2019 and it could not physically go into passive calendar mode... It`s working for now. Thank you very much for your help. Now i need to program it with .Net library. If i will get stucked so i will start new topic.

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

I forget to say that after you have added date-time you need to activate the calendar. Press the Activate button. Then read the object again and change "Passive" tab to "Active". You should see the new values there. After you have activated the calendar the new values are in use.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin