Hi, I had a C# app for reading meters ACE 6000/7000 with GURUX.DLSM Version 7.0.8.1 and it works perfectly.
I use the Class GXCommunicatation you provide on .NET Sample and I can read all data i need, even ProfileGeneric rows (ReadRowsByRange), where these meters keep End Of Billing info.
But now, I'm trying to migrate to new version of Gurux (version 7.3.31.1, I downloaded it with Nuget).
I modified my code becouse it no longer compiled, there was some changes on the interfaces.
Now i can read almost anything. RMS instantaneus data, Date and Time, some config info... But I can't read ProfileGeneric rows and End Of Billing info. As I saw with other users on the forum, It says "Access Error : Device reports scope of access violated"
As I readed in the forum, it may be becouse ACE 6000/7000 doesnt full support DLMS/COSEM, but with previous version of the GURUX library it worked perfectly! So, I think this issue can be fixed!
I can send you, if you want, my previous code (working, with old library) and the new tries.
If anything cant be done, I ll keep using old version library, but I'd really like to use the new one.
We have updated new API. It's faster and uses less memory. You can get working example from GitHub.
github.com/gurux/Gurux.DLMS.Net
It might be possible that there are problems with Actaris ACE 6000.
If you have, please read your meter with Gurux.DLMS.Client.Example.Net.
send your log file to me and we will check this.
Hi, a new problem with new version: Now it fails on initialization.
This is log after reading it with your .NET sample:
Initializing Network connection.
Send SNRM request.7E A0 08 02 23 03 93 3E 74 7E
<- 13:13:39 7E A0 08 02 23 03 93 3E 74 7E
Disconnecting from the meter.
<- 13:13:42 7E A0 08 02 23 03 53 32 B2 7E
Source addresses do not match. It is 16401. It should be 145.
Ended. Press any key to continue.
And theese are the params I provided:
/m=ACE /h=XXXX /p=XX /s=DLMS /a=Low /pw=ABCDEFGH /t
(I can give you the IP and Port in private if you want)
Hi, I need to read a Itron SL7000 and i think to use Gurux components.Reading these posts I ask if it is possible and if there is a good road to start.I need to use RS232 com port.Thanks for any suggestions.
Hi, seeing previous error (Source addresses do not match. It is 16401. It should be 145) I commented out the function "UpdateManufactureSettings" where you set Client and Server address, and forced like this:
But actual problem. Do you have latest version from Gurux,DLMS component (8.0.0.4)?
We try with log you send using Gurux.DLMS.Client.Example and it works as it should.
Please, start own thread if you have questions.
You should get Gurux.DLMS.Client.Example from github. It's sub Project of: https://github.com/gurux/Gurux.DLMS.Net
Hi, problem was I commented out some important lines in UpdateManufactureSettings function.
Now UA request sucedes but again, I have error "Access Error : Device reports scope of access violated" when calling ReadRowsByRange in order to read End of Billing data.
I making a readout with your .NET sample and email you the trace.
Problem is that SL 7000 do not support Profile Generic object's Attribute index 7 (Entries In Use).
When you read profile generic just read CaptureObjects (attribute ID 3) and Buffer (attribute ID 2)
Update
Hi, I see you've made a new update on the library. I Hope the issue I told you is fixed.
But, there are some changes on the interfaces and the .NET example you provide no longer compile. Are you planning to publish a new .NET example?
Thanks!
More problems with ACE6000/7000
Hi,
We have updated new API. It's faster and uses less memory. You can get working example from GitHub.
github.com/gurux/Gurux.DLMS.Net
It might be possible that there are problems with Actaris ACE 6000.
If you have, please read your meter with Gurux.DLMS.Client.Example.Net.
send your log file to me and we will check this.
You will find my contact information from here:
http://gurux.fi/AboutUs
BR,
Mikko
Thanks for your answer!!! But a new problem with last version
Hi, a new problem with new version: Now it fails on initialization.
This is log after reading it with your .NET sample:
Initializing Network connection.
Send SNRM request.7E A0 08 02 23 03 93 3E 74 7E
<- 13:13:39 7E A0 08 02 23 03 93 3E 74 7E
Disconnecting from the meter.
<- 13:13:42 7E A0 08 02 23 03 53 32 B2 7E
Source addresses do not match. It is 16401. It should be 145.
Ended. Press any key to continue.
And theese are the params I provided:
/m=ACE /h=XXXX /p=XX /s=DLMS /a=Low /pw=ABCDEFGH /t
(I can give you the IP and Port in private if you want)
Thanks!
Itron SL7000
Hi, I need to read a Itron SL7000 and i think to use Gurux components.Reading these posts I ask if it is possible and if there is a good road to start.I need to use RS232 com port.Thanks for any suggestions.
Another try, changing a few things
Hi, seeing previous error (Source addresses do not match. It is 16401. It should be 145) I commented out the function "UpdateManufactureSettings" where you set Client and Server address, and forced like this:
Client.ClientAddress = 1;
Client.ServerAddress = 16401;
This way, we advance a little, but there's another error. This is the log:
Initializing Network connection.
Send SNRM request.7E A0 0A 00 02 00 23 03 93 9B 61 7E
<- 8:25:58 7E A0 0A 00 02 00 23 03 93 9B 61 7E
<- 8:26:08 7E A0 0A 00 02 00 23 03 93 9B 61 7E
-> 8:26:09 78 F8 00 78 78 F8 00 7E A0 23 03 00 02 00 23 73 C0 48 81 80 14 05 02 00 80 06 02 00 80 07 04 00 00 00 01 08 04 00 00 00 01 CE 6A 7E
Parsing UA reply.
Parsing UA reply succeeded.
Send AARQ request
<- 8:26:09 7E A0 47 00 02 00 23 03 10 41 3E E6 E6 00 60 36 A1 09 06 07 60 85 74 05 08 01 02 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 41 42 43 44 45 46 47 48 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 4E 78 7E
-> 8:26:10 7E A0 53 03 00 02 00 23 30 13 29 E6 E7 00 61 42 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 01 A3 05 A1 03 02 01 02 88 02 07 80 89 07 60 85 74 05 08 02 01 AA 0A 80 08 00 00 00 00 00 00 00 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 30 1D 21 34 00 07 7C 78 7E
Parsing AARE reply
Disconnecting from the meter.
<- 8:26:10 7E A0 0A 00 02 00 23 03 53 97 A7 7E
-> 8:26:11 7E A0 0A 03 00 02 00 23 73 7A 6A 7E
Connection is permanently rejected. The application context name is not supported.
Ended. Press any key to continue.
More problems with ACE6000/7000
Hi,
You can set server address like this:
Client.ClientAddress = 1;
Client.ServerAddress = GXDLMSClient.GetServerAddress(server.LogicalAddress, server.PhysicalAddress, 4);
But actual problem. Do you have latest version from Gurux,DLMS component (8.0.0.4)?
We try with log you send using Gurux.DLMS.Client.Example and it works as it should.
BR,
Mikko
Itron SL7000
Hi,
Please, start own thread if you have questions.
You should get Gurux.DLMS.Client.Example from github. It's sub Project of:
https://github.com/gurux/Gurux.DLMS.Net
and start with that.
Default serial port parameters are:
Gurux.DLMS.Client.Example /m=ACE /sp=COM1 /a=Low /pw=ABCDEFGH /t
BR,
Mikko
Yes, GURUX.DLMS version is the last one
Hi, problem was I commented out some important lines in UpdateManufactureSettings function.
Now UA request sucedes but again, I have error "Access Error : Device reports scope of access violated" when calling ReadRowsByRange in order to read End of Billing data.
I making a readout with your .NET sample and email you the trace.
Thanks!
More problems with ACE6000/7000
Hi,
Problem is that SL 7000 do not support Profile Generic object's Attribute index 7 (Entries In Use).
When you read profile generic just read CaptureObjects (attribute ID 3) and Buffer (attribute ID 2)
BR,
Mikko
We are getting closer
Hi,
I just use:
var rows = comm.ReadRowsByRange(
obisObj,
DateTime.MinValue, DateTime.MaxValue);
How can I tell to read just attr 3 and 2?
I tryed this before calling ReadRowsByRange:
comm.Read(obisObj, 3);
obisObj.CaptureObjects =
obisObj.CaptureObjects.Where(x => x.Value.AttributeIndex == 2
|| x.Value.AttributeIndex == 3).ToList();
But it doesnt work. Same Error
Thanks!
More problems with ACE6000/7000
Hi,
Can you send trace from sent message. Last message only.
BR,
Mikko
Just sent you the trace by Email
Hi, I'v just send you the trace by mail, my name is Martín Ochoa
Thanks!
More problems with ACE6000/7000
Hi,
We have fixed this and new version is available on GitHub and nuget.org.
We also added support to generate Push and Data Notification messages.
BR,
Mikko