Pre-established application association - Invalid Command

4 posts / 0 new
Last post
Bhaumik
Pre-established application association - Invalid Command

Hi Mikko,

Initially, I have connected meter using high-level authentication. After performing some basic read operation disconnected the meter.

Now I enable the pre-established application association from GXDLMSDirector and connecting the meter. Meter is connected successfully, but when I send a read command it gives an invalid command.

Following are the logs of GXDLMSDirector:

14:52:48 Initializing serial connection.
14:52:49 Send SNRM request.
7E A0 07 03 61 93 69 47 7E
14:52:49
7E A0 20 61 03 73 05 9E 81 80 14 05 02 00 FA 06 02 00 FA 07 04 00 00 00 01 08 04 00 00 00 01 1C 5A 7E
14:52:49 Parsing UA reply succeeded.

14:52:52 Read object type Clock index: 1
7E A0 2C 03 61 10 BC BE E6 E6 00 C8 1E 30 00 00 03 E9 9A 3C 49 C2 54 A2 A7 67 8C E8 BA 0B 8B 63 E8 88 66 FB 80 B6 90 E7 05 94 EB D6 6F 7E
Encryption is applied.
Encrypted: 9A3C49C254A2A7678CE8BA0B8B63E88866FB80B690E70594EB
14:52:52
7E A0 23 61 03 30 57 CB E6 E7 00 2E 15 30 00 00 19 B0 80 90 7D AB 67 D0 B4 E4 1D EA 1E 77 8B C7 8A 67 7A 91 7E
System.ArgumentException: Invalid Command.
at GXDLMSDirector.GXDLMSCommunicator.Read(Object sender, GXDLMSObject obj, Boolean forceRead) in E:\design\SLS\HES\Document\DLMS_KB\DLMS\GXDLMSDirector-master\Development\GXDLMSCommunicator.cs:line 1532
at GXDLMSDirector.MainForm.Read(Object sender, GXAsyncWork work, Object[] parameters) in E:\design\SLS\HES\Document\DLMS_KB\DLMS\GXDLMSDirector-master\Development\MainForm.cs:line 2151

Can you please check and provide an update ?

Kurumi
Kurumi's picture

Hi,

Can you check is meter supporting pre-established connections.
Then try to select "Supported Services" tab and select "General Protection".
Then select "Secured connections" tab and set "Frame Counter LN".
It's a logican name of the Frame counter object.

Not try a new connection.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

Bhaumik

Hi Mikko,

I have tried with the configuration as you suggested. Now I am getting Access ScopeOfAccessViolated exception.

Is Pre-established application assocation is supported in IS15959-2 and IS16444 ?

Kurumi
Kurumi's picture

Hi,

You should ask from the meter manufacturer is meter supporting pre-established connections. Pre-established connections are not supported in IS15959-2.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi