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 9 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 9 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 9 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

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Association refresh related issue
  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
More

Who's new

  • Anand Raj
  • amir.jradi
  • JOEBID€N123
  • yogibear
  • Eric@li
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin