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. Script Table Write Sends PDU With Wrong Data Type

Script Table write sends PDU with wrong data type

By nine , 20 March, 2019
Project
GXDLMSDirector
Status
Closed (fixed)

Hi,

I would like to report issue with Script Table object Tariffication Script Table write that sends PDU with wrong data type (Sends UInt8 instead of Enum).
Reproduction steps:
1. Tariffication Script Table after read.png, Tariffication Script Table Read Log.txt and Tariffication Script Table Read PDU Translated shows user interface and PDU of this object after read, everything is ok up to now.
2. Select last script with id 265 and click Remove button (Tariffication Script Table Removed Last Script.png).
3. Execute write and meter responds with error unmatched data type (Tariffication Script Table after write.png and Tariffication Script Table Write Log.txt)
4. By translating PDU (Tariffication Script Table Write PDU Tranlated.txt) sent by GXDLMSDirector in SET with block services i can see that instead sending what was received:
2: Data[2] {** Structure **}
SequenceOf 5 Element(s)
0: [22] Enumerated = 1
1: [18] Unsigned16 = 70 (0x0046)
2: [9] OctetString[6] = 000160030AFF
3: [15] Integer8 = 3 (0x03)
4: [22] Enumerated = 2
application sends:
2: Data[2] {** Structure **}
SequenceOf 5 Element(s)
0: [22] Enumerated = 1
1: [18] Unsigned16 = 70 (0x0046)
2: [9] OctetString[6] = 000160030AFF
3: [15] Integer8 = 3 (0x03)
4: [17] Unsigned8 = 2 (0x02)
Script Table Script Action Parameter instead of Enum it is now been sent as Uint8, and this is the cause of response unmatched data type. This is then repeated wrong in all other elements of array wich have Enum for Parameter and changed to Uint8 parameter with same value.

if you need more info please let me know.

Best regards,
Vanja

Priority
Normal
Category
Bug report
Files
Tariffication Script Table after read.PNG (121.13 KB)
Tariffication Script Table Read Log.txt (2.66 KB)
Tariffication Script Table Read PDU Translated.txt (12 KB)
Tariffication Script Table Removed Last Script.PNG (120.24 KB)
Tariffication Script Table error after write.PNG (141.66 KB)
Tariffication Script Table Write Log.txt (2.55 KB)
Tariffication Script Table Write PDU Translated.txt (11.27 KB)
Profile picture for user Kurumi

Kurumi

7 years 2 months ago

Script Table write sends PDU with wrong data type

Hi Vanja,

You are right on this. Thanks from this info. We'll fix this.

BR,

Mikko

Profile picture for user Kurumi

Kurumi

7 years 2 months ago

  • 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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin