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. Script Table Method

script table method

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 teddy Jim , 17 December, 2020
Forums
Gurux DLMS for Java
Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

You can call Execute. It will do what you want to.

CXDLMSScript script = new GXDLMSScript();
GXDLMSScriptTable it = new GXDLMSScriptTable ("0.0.10.0.1.255");
int i = 0x0002;
it.Execute(client, script);

BR,
Mikko

teddy Jim

5 years 10 months ago

Thank you Mikko

Thank you Mikko

I ran this method but the following result is me.

GXDLMSScript script = new GXDLMSScript();
GXDLMSScriptTable it = new GXDLMSScriptTable ("0.0.10.0.1.255");
readDLMSPacket(it.execute(clients, script));

UnMatched type error.

TX: 09:54:30.456 7E A0 1D 02 B7 23 76 A2 9F E6 E6 00 C3 01 C1 00 09 00 00 0A 00 01 FF 01 01 12 00 00 56 B3 7E
RX: 09:54:30.565 7E A0 12 23 02 B7 96 7A 4C E6 E7 00 C7 01 C1 0C 00 5C 1D 7E

and When I added this argument, I got an error.

Is there any other way to running the 'Execute' method?
Can you see why I am getting 'Unmatched type error'?

also, Can I send packets in 'none' type?

Here is an example of the packet I want to send.

7e a0 1c 02 ff 23 32 72 50 e6 e6 00 c3 01 81 00 09 00 00 0a 00 01 ff 01 12 00 03 4b bf 7e

Please answer the above questions.

Thanks Mikko.
I'll wait for your reply.

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

ID is now zero. Add this.
script.setId(2);

You must define data type in java because java doesn't support unsigned numbers.

BR,
Mikko

teddy Jim

5 years 10 months ago

Thank you for your reply.

Thank you for your reply.

Does it mean there is no way to send none in the method parameter in Java,
and I must put data type in it?

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

All DLMS actions are sending data. There are no empty parameters at the moment. For this reason, you can't send action requests without data.

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

  • 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
  • HDLC Frames sequencing
More

Who's new

  • Eric@li
  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin