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. LG E650 B31 - Invalid Tag

LG E650 B31 - Invalid Tag

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 thiesens , 2 March, 2021
Forums
DLMSDirector

Hi Gurux

I am trying to connect to a meter (L&G E650 B31), but i get "Invalid Tag".

Trace:

08:52:54
<HDLC len="9" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="93" />
<Snrm>
</Snrm>
</HDLC>

08:52:54
<HDLC len="1D" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="128" />
<MaxInfoRX Value="62" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>

08:52:54
<HDLC len="2A" >
<TargetAddress Value="1" />
<SourceAddress Value="10" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="SN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="Read" />
<ConformanceBit Name="Write" />
<ConformanceBit Name="UnconfirmedWrite" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="InformationReport" />
<ConformanceBit Name="ParameterizedAccess" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>

08:52:54
<HDLC len="1D" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="128" />
<MaxInfoRX Value="62" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>

08:52:54
<HDLC len="36" >
<TargetAddress Value="10" />
<SourceAddress Value="1" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="SN" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="Read" />
<ConformanceBit Name="Write" />
<ConformanceBit Name="MultipleReferences" />
<ConformanceBit Name="ParameterizedAccess" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="0960" />
<VaaName Value="FA00" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>

Log:
GXDLMSDirector 8.2.2102.2602
Log created 08:50:27
08:50:41 Initializing Network connection.
08:50:43 Send SNRM request.
7E A0 07 03 21 93 0F 01 7E
08:50:43
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
08:50:43 Parsing UA reply succeeded.
08:50:43 Send AARQ request.
7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 80 AB 7E
08:50:43
7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
08:50:43 Disconnect request
08:50:43
7E A0 37 21 03 30 6C 7C E6 E7 00 61 28 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 0F 04 0D 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 0A A8 7E
System.Exception: Invalid tag.
at GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
at GXDLMSDirector.GXDLMSDevice.InitializeConnection()
at GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

Your meter is sending UA reply twite.
http://www.gurux.fi/GuruxDLMSTranslator?translate=7EA01E210373C37A81801…

This looks strange. Can you read the meter with GXDLMSDirector? Have you modified the source code?

BR,
Mikko

thiesens

5 years 3 months ago

Hi Mikko

Hi Mikko

I cannot read the meter. I get the error when i try to connect the meter.
The source is not modified.

There is a sub-meter via RS485, could that be a reason?

/Henrik

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

That other meter might be the reason. Try to connect using the serial number of the meter.
Change "Address Type" from Default to SerianNumber and set the serial number.

BR,
Mikko

thiesens

5 years 3 months ago

Hi Again.

Hi Again.

That worked perfectly, thanks.

The trace is nice. can I view it somewhere for the Gurux.AMI?

Profile picture for user Kurumi

Kurumi

5 years 3 months ago

Hi,

Hi,

You should see traces as a default.
You can check this. Find "TraceLevel" from appsettings.json.
It should be "Verbose". You can see send and received data in the command prompt.

BR,
Mikko

thiesens

5 years 3 months ago

Thanks for your help.

Thanks for your help.

  • 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