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. ACE6000 Execute Script Action

ACE6000 Execute Script Action

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 keenangeorge , 30 October, 2016
Forums
Gurux.DLMS

Hi Gurux

My aim is to reset the loadprofile buffer using the gurux.

Obis Code 0.0.10.0.0.255

It is Data 4 according to logical device specification.

However what method do i call to execute the script to clear the load profile data.

Regards

keenangeorge

9 years 7 months ago

Hi Mikko

Hi Mikko

I did some research and found the comm.method function in the GXCommunication class.

Below is my code to use the method to clear the load profile buffer.

GXDLMSScriptTable ClearLoadProfileDataObject = new GXDLMSScriptTable("0.0.10.0.0.255");
comm.Method(ClearLoadProfileDataObject, 4, ClearLoadProfileDataObject.Scripts, ClearLoadProfileDataObject.GetDataType(2), msno, host);

However i get response.

Unable to cast object of type system.Collections.Generic.List 1[Gurux.DLMS.Objects.GXDLMSScript]

Could you please point me in the right direction.

Regards

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

ACE6000 Execute Script Action

Hi,

When you call method, you should not update value.
You just get response using getData- method and check error.

BR,
Mikko

keenangeorge

9 years 7 months ago

Hi Mikko

Hi Mikko

Thanks for your reply.

However im not sure i understand your response.

Could you please paste an example.

Regards

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

Example

Hi,
Try with this:

GXDLMSProfileGeneric it = new GXDLMSProfileGeneric ("0.0.10.0.0.255");
comm.Method(it, 1, null, DataType.None);

BR,

Mikko

keenangeorge

9 years 7 months ago

Hi Mikko

Hi Mikko

It gives me parseApplicationAssociationResponse failed. Invalid tag.

I dont understand why you making it a Profile Generic object if it is in the Script Table.

Regards

Profile picture for user Kurumi

Kurumi

9 years 7 months ago

ACE6000 Execute Script Action

Hi,

I forget that ACE 6000 is behavior differently. In other meters if you want to clear loadprofile you call reset method of Profile Generic object. Can you send trace bytes to me by email? I can check this today.

BR,

Mikko

keenangeorge

9 years 7 months ago

Hi Mikko

Hi Mikko

Any luck with the above.

Regards

keenangeorge

9 years 7 months ago

Hi Mikko

Hi Mikko

Could you get a change to look into the above request.

Regards

keenangeorge

9 years 6 months ago

Hi Mikko

Hi Mikko

Did you get a change to look into the above request.

Regards

keenangeorge

9 years 4 months ago

Hi Mikko

Hi Mikko

Happy new year did you perhaps had a chance to look at the above.

Regards
Keenan George

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

ACE6000 Execute Script Action

Hello Keenan,

Sorry for slow reply. We was little busy. I was checkin my email, but did not find it.
Can you resend it. I have little time tomorrow and I can check it.

BR,

Mikko

keenangeorge

9 years 4 months ago

Hi Mikko

Hi Mikko

As requested i have send you our communication.

Regards
Keenan George

Profile picture for user Kurumi

Kurumi

9 years 4 months ago

ACE6000 Execute Script Action

Hi Keenan George,

If you want to execute script you call script table object with script index you want to execute.
int index = 1; //Change this to script index you want to execute.
GXDLMSScriptTable it= new GXDLMSScriptTable("0.0.10.0.0.255");
comm.Method(it, 1, index, DataType.UInt16);

Trace what you sent to me meter is returning HW error.

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