Hello,
Currenlty, I am working with gurux for 2 months. and most of the time I got a solution for my questions. but for some reason my read out of profiles are not working.
When I use The Director I do an Access Request but I get a timeout.
14:06:28 Initializing Network connection.
14:06:29 Send AARQ request.
00 01 00 01 00 01 00 39 60 37 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0B 80 09 58 65 6D 65 78 32 54 4D 43 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 5D FF FF
14:06:29
00 01 00 01 00 01 00 2B 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 00 1A 5D 04 C8 00 07
14:06:29 Parsing AARE reply succeeded.
14:06:32 Access Request
00 01 00 01 00 01 00 55 D9 C0 00 00 03 00 07 01 00 07 00 00 63 01 00 FF 03 01 00 07 00 00 63 01 00 FF 04 01 00 07 00 00 63 01 00 FF 05 01 00 07 00 00 63 01 00 FF 06 01 00 07 00 00 63 01 00 FF 02 01 00 07 00 00 63 01 00 FF 07 01 00 07 00 00 63 01 00 FF 08 07 00 00 00 00 00 00 00
14:06:37 Data send failed. Try to resend 1/3
14:06:42 Data send failed. Try to resend 2/3
14:06:47 Failed to receive reply from the device in given time.
System.TimeoutException: Failed to receive reply from the device in given time.
at GXDLMSDirector.GXDLMSCommunicator.ReadDLMSPacket(Byte[] data, Int32 tryCount, GXReplyData reply)
at GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, Int32 tryCount, GXReplyData reply)
at GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, GXReplyData reply)
at GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, GXReplyData reply)
at GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[][] data, String text, GXReplyData reply)
at GXDLMSDirector.GXDLMSCommunicator.AccessRequest(DateTime time, List`1 list)
at GXDLMSDirector.MainForm.Read(Object sender, GXAsyncWork work, Object[] parameters)
Also on the side I am working on a program that uses the library and there I don't get an error but just no rows, and this uses a Get Request, while the director is using a Get Access Request.
This is what my own code does, It loads a associationview from file.
DEBUG root:dlms_managers.py:359 -- Reading 7 0.0.99.1.0.255 Ch. 0 Load profile with recording period 1 #1 --
DEBUG root:dlms_managers.py:501 TX: 14:04:22 00 01 00 01 00 01 00 0D C0 01 C1 00 07 00 00 63 01 00 FF 07 00
DEBUG root:dlms_managers.py:526 RX: 14:04:23 00 01 00 01 00 01 00 09 C4 01 C1 00 06 00 00 00 1B
DEBUG root:dlms_managers.py:501 TX: 14:04:23 00 01 00 01 00 01 00 0D C0 01 C1 00 07 00 00 63 01 00 FF 08 00
DEBUG root:dlms_managers.py:526 RX: 14:04:23 00 01 00 01 00 01 00 09 C4 01 C1 00 06 00 00 03 C0
DEBUG root:dlms_managers.py:362 -- Entries: 27/960 --
DEBUG root:dlms_managers.py:367 -- Read by Date --
DEBUG root:dlms_managers.py:501 TX: 14:04:23 00 01 00 01 00 01 00 40 C0 01 C1 00 07 00 00 63 01 00 FF 02 01 01 02 04 02 04 12 00 08 09 06 00 00 01 00 00 FF 0F 02 12 00 00 09 0C 07 E8 09 13 04 0E 04 16 00 FF 88 00 09 0C 07 E8 09 18 02 0E 04 16 00 FF 88 00 01 00
DEBUG root:dlms_managers.py:526 RX: 14:04:24 00 01 00 01 00 01 00 06 C4 01 C1 00 01 00
DEBUG root:dlms_managers.py:501 TX: 14:04:24 00 01 00 01 00 01 00 09 62 03 80 01 00 03 80 01 00
DEBUG root:dlms_managers.py:526 RX: 14:04:25 00 01 00 01 00 01 00 17 63 15 80 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 40 1A 5D 04 C8 00 07
What could be going wrong. because I can see that the profile is filled.
Kind regards,
Robin
Hi, You try to read all…
Hi,
You try to read all profile generic attributes with access. I believe that the biggest problem is buffer. The number of rows can be huge.
You are using read-by range when you are reading with Get. I believe that the meter can't handle this. There is too much data to return. Try to remove buffer and capture objects from the access read. I believe it will work after that.
Then read buffer and capture objects with normal reads.
BR,
Mikko
Hi MIkko, Thanks for your…
Hi MIkko,
Thanks for your fast response,
Will try it, but i believe it wil work.
kind regards,
Robin