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 4 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 4 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 4 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, 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