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.
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.
Hello Mikko,
I'm testing our custom meter and need your support regarding "Activity Calendar Write Request".
I'm trying to write Passive Seasons, Passive Weeks and Passive Days. Up to 6 seasons, 8 Weeks and 2 Days with 8 day Action schedules are written perfectly. But when I'm trying to write 7th season (or 9th week or 3rd day ID with 1 Action schedule in it), I'm getting error with dialog box "unacceptable frame".
Our Meter has support of Total 10 seasons, 10 weeks, and 16 day Ids with 8 action schedules in it.
When I checked log of gurux with no security association I found that wrong frame data is sent while block transfer. I have added the log below. Please check that, and provide support regarding the same.
Thanks and Regards,
Anudeep Bhagwat
Please find the log below for write request of passive season.
GXDLMSDirector 8.2.2107.1801
Log created 14:59:25
14:59:27 Writing object 0.0.13.0.0.255, interface ActivityCalendar
7E A8 89 03 C9 32 D9 4B E6 E6 00 E0 01 00 01 00 00 81 F9 C1 01 C1 00 14 00 00 0D 00 00 FF 07 00 01 07 02 03 09 08 57 69 6E 74 65 72 00 00 09 0C FF FF 01 01 FF 00 00 00 00 80 00 00 09 08 57 45 45 4B 31 00 00 00 02 03 09 08 53 75 6D 6D 65 72 00 00 09 0C FF FF 06 01 FF 00 00 00 00 80 00 00 09 08 57 45 45 4B 31 00 00 00 02 03 09 08 53 75 6D 6D 65 72 31 00 09 0C FF FF 07 01 FF 00 00 00 FF 80 00 00 09 08 57 45 FA 50 7E
<HDLC len="88" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="32" />
<NextFrame Value="E0010001000081F9C101C1001400000D0000FF070001070203090857696E7465720000090CFFFF0101FF0000000080000009085745454B310000000203090853756D6D65720000090CFFFF0601FF0000000080000009085745454B310000000203090853756D6D65723100090CFFFF0701FF000000FF80000009085745" />
</HDLC>
14:59:27
7E A0 07 C9 03 51 72 8D 7E
<HDLC len="9" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="51" />
<Command Value="NextFrame" />
</HDLC>
14:59:27 Writing object 0.0.13.0.0.255, interface ActivityCalendar
7E A8 89 03 C9 34 EF 2E 45 4B 36 00 00 00 02 03 09 08 53 75 6D 6D 65 72 32 00 09 0C FF FF 08 01 FF 00 00 00 FF 80 00 00 09 08 57 45 45 4B 33 00 00 00 02 03 09 08 53 75 6D 6D 65 72 33 00 09 0C FF FF 09 01 FF 00 00 00 FF 80 00 00 09 08 57 45 45 4B 35 00 00 00 02 03 09 08 53 75 6D 6D 65 72 34 00 09 0C FF FF 0A 01 FF 00 00 00 FF 80 00 00 09 08 57 45 45 4B 34 00 00 00 02 03 09 08 53 75 6D 6D 65 72 35 00 09 0C 18 98 7E
<HDLC len="88" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="34" />
<NextFrame Value="454B360000000203090853756D6D65723200090CFFFF0801FF000000FF80000009085745454B330000000203090853756D6D65723300090CFFFF0901FF000000FF80000009085745454B350000000203090853756D6D65723400090CFFFF0A01FF000000FF80000009085745454B340000000203090853756D6D65723500090C" />
</HDLC>
14:59:27
7E A0 07 C9 03 71 70 AC 7E
<HDLC len="9" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="71" />
<Command Value="NextFrame" />
</HDLC>
14:59:27 Writing object 0.0.13.0.0.255, interface ActivityCalendar
7E A0 0D 03 C9 36 5F 08 FF FF 0C 01 87 4C 7E
<HDLC len="C" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="36" />
<NextFrame Value="FFFF0C01" />
</HDLC>
14:59:32 Data send failed. Try to resend 1/3
14:59:32
7E A0 07 C9 03 91 7E 4B 7E
<HDLC len="9" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="91" />
<Command Value="NextFrame" />
</HDLC>
14:59:32 Writing object 0.0.13.0.0.255, interface ActivityCalendar
7E A0 25 03 C9 58 AC E8 E6 E6 00 E0 81 00 02 00 01 12 FF 00 00 00 FF FE B6 00 09 08 57 45 45 4B 37 00 00 00 A1 37 7E
<HDLC len="24" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="58" />
<NextFrame Value="E0810002000112FF000000FFFEB60009085745454B37000000" />
</HDLC>
14:59:32
7E A0 0C C9 03 97 5D EE 58 82 08 62 B9 7E
<HDLC len="B" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="97" />
<PDU>
<Data="588208" />
</PDU>
</HDLC>
Gurux.DLMS.GXDLMSException: Unacceptable frame.
at GXDLMSDirector.GXDLMSCommunicator.Write(GXDLMSObject obj, Int32 index)
at GXDLMSDirector.MainForm.WriteMnu_Click(Object sender, EventArgs e)
Hi Anudeep Bhagwat,
Hi Anudeep Bhagwat,
What are your PDU and frame sizes?
BR,
Mikko
Hello Mikko,
Hello Mikko,
The PDU size for send and receive is 256 and frame size for send and receive is 1.
Thanks and Regards,
Anudeep Bhagwat
Hi,
Hi,
Can you add AARQ /AARE messages here? I need to check them.
BR,
Mikko
Hello Mikko,
Hello Mikko,
Please check the Log message mentioned below.
Thanks and Regards,
Anudeep Bhagwat
GXDLMSDirector 8.2.2107.1801
Log created 14:31:37
14:31:48 Initializing serial connection.
14:31:49 Send SNRM request.
7E A0 20 03 C9 93 24 FE 81 80 14 05 02 01 00 06 02 01 00 07 04 00 00 00 01 08 04 00 00 00 01 69 6D 7E
<HDLC len="1F" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="93" />
<PDU>
<Snrm>
<MaxInfoTX Value="256" />
<MaxInfoRX Value="256" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Snrm>
</PDU>
</HDLC>
14:31:49
7E A0 1E C9 03 73 A0 B5 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
<HDLC len="1D" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="128" />
<MaxInfoRX Value="128" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
14:31:49 Parsing UA reply succeeded.
14:31:49 Send AARQ request.
7E A0 2B 03 C9 10 A2 88 E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 FE DF FF FF 56 58 7E
<HDLC len="2A" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="GeneralProtection" />
<ConformanceBit Name="GeneralBlockTransfer" />
<ConformanceBit Name="DeltaValueEncoding" />
<ConformanceBit Name="Attribute0SupportedWithSet" />
<ConformanceBit Name="PriorityMgmtSupported" />
<ConformanceBit Name="Attribute0SupportedWithGet" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="BlockTransferWithAction" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="DataNotification" />
<ConformanceBit Name="Access" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="EventNotification" />
<ConformanceBit Name="Action" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>
14:31:49
7E A0 37 C9 03 30 0F B3 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 20 18 9F 01 00 00 07 13 2F 7E
<HDLC len="36" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="GeneralBlockTransfer" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="BlockTransferWithSetOrWrite" />
<ConformanceBit Name="DataNotification" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="EventNotification" />
<ConformanceBit Name="Action" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="0100" />
<VaaName Value="0007" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>
14:31:49 Parsing AARE reply succeeded.
14:32:09 Send Keep Alive
7E A0 19 03 C9 32 36 FF E6 E6 00 C0 01 C1 00 0F 00 00 28 00 00 FF 01 00 F9 79 7E
<HDLC len="18" >
<TargetAddress Value="1" />
<SourceAddress Value="64" />
<FrameType Value="32" />
<PDU>
<GetRequest>
<GetRequestNormal>
<InvokeIdAndPriority Value="C1" />
<AttributeDescriptor>
<ClassId Value="000F" />
<InstanceId Value="0000280000FF" />
<AttributeId Value="01" />
</AttributeDescriptor>
</GetRequestNormal>
</GetRequest>
</PDU>
</HDLC>
14:32:09
7E A0 18 C9 03 52 B1 CE E6 E7 00 C4 01 C1 00 09 06 00 00 28 00 00 FF B6 6E 7E
<HDLC len="17" >
<TargetAddress Value="64" />
<SourceAddress Value="1" />
<FrameType Value="52" />
<PDU>
<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<OctetString Value="0000280000FF" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>
Hello Mikko,
Hello Mikko,
Greetings of the day!!!
Have you got chance to check the AARQ/AARE request I posted which you have asked.
Can you please check that and support us with the same.
Thanks and Regards,
Anudeep Bhagwat
Hi Anudeep,
Hi Anudeep,
We are working on it. I'll let you know as soon as I have more info.
BR,
Mikko
Hello Mikko,
Hello Mikko,
Thank you for your response. Just let us know once you have the information.
Thanks and Regards,
Anudeep Bhagwat