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. How To Use GXDLMSActionSchedule To Open Valve

How to use GXDLMSActionSchedule to open valve

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 lukeV , 29 January, 2020
Forums
General discussion

Hello,

I'm trying to use your libraries in a small tool. My aim is open valve with GXDLMSActionSchedule but I don't understand how to use this class.

I need to use obis 0.0.15.0.1.255, attribute 2 "ExecutedScript", with this structure
<Structure>
<OctetString>
<SpecifiedLength>6</SpecifiedLength>
<Contents>00000A006AFF</Contents>
</OctetString>
<LongUnsigned>0</LongUnsigned>
</Structure>

Anyone can help me?
Thanks

Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi,

Hi,

You set action time to action schedule. Action schedule calls wanted Script table object.
You can use GXDLMSDirector to check this. I believe it's easier to implement after that.

Are you sure of the data structure? It's not what standard says.

BR,
Mikko

SgmUsr

6 years 6 months ago

Hi,

Thanks for the response. (sorry but I had to create new account because I had a problem with my old company mail)

I'm sure about structure (BlueBook)
script ::= structure
{
script_logical_name: octet-string,
script_selector: long-unsigned
}

Thanks

Profile picture for user Kurumi

Kurumi

6 years 6 months ago

Hi,

Hi,

Sorry, I misunderstood what you want to do.
You just want to add an executed script and not invoke it. If this is correct do the following.

GXDLMSScriptTable s = new GXDLMSScriptTable("0.0.15.0.1.255");

GXDLMSActionSchedule act = new GXDLMSActionSchedule ();
act.Target = s;
act.ExecutedScriptSelector = 0;
Write(act, 2);

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • CTKNhZElptjSlOrpkXl
  • YCbccqfLGRMnlCWoJhXP
  • Malcolmactig
  • mhliang
  • Kevinmug
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin