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