I am trying to read an OMNIA eMeter (new model) with GuruX. I have got GPK35 and GPK36 key from Kamstrup but I am not really sure how to get GuruX to connect to the meter through the optical eye. There is a lot of settings that I am not sure of. Any Ideas that could help me? :)
Older Kamstrup meters use HDLC and not HdlcWithModeE for optical connections. I don't know if your meter is using HdlcWithModeE, but it's easy to test. If the meter doesn't reply to anything when Kamstrup is selected it's using HDLC.
Change manufacturer to Kamstrup and try to connect with default settings. Is the meter replying anything? Try to change the baud rate. Usually, it is 9600, but it also might be something else, ex. 115200.
I got a reply from the meter using HLDC, Authentication: none and changing Max payload size transmit/receive. AssociationLogicalName, Data, Clock, SapAssignment, lecHldSetup and SecuritySetup values are read from the meter. To read more information from the meter I need the to get the Secured Connections settings. I think I figured out the System title under Secured connections but I will see if I can squeeze some more information out of Kamstrup. :)
If you can read the meter without authentication, usually you need to change the password, authentication level, and client address to read the meter with other authentication levels.
Now I am able to connect to the OMNIA e-meter using maintenance keys and able to connect to the meter. When select Read it starts reading but I get an error. See attatched file.
When I changed to suite 1 I got an service error, see picture. I once again tried suite 0 and saw that the error Invalid security policy value ... happened while reading OBIS 0.2.43.1.1.255 though I have set Frame counter to 0.2.43.1.8.255 as instructed by Kamstrup. I can see that the Security suite option is not available in the settings picture I got from Kamstrup.
I can read the information in the Data but I am missing Register, Extended Register, ProfilGeneric, ImageTransfer, SpecialDaysTable, Script Table, DisconnectControl, GSMDiagnostic, Action Schedule. See attached picture.
It is like it is not connected with keys. Kamstrup told me it should be security suite 0.
Do you know why the GuruX ask ask for the Frame counter LN 0.2.43.1.1.255 instead of 0.2.43.1.8.255 that I have configured in Secured Connections? 0.2.43.1.1.255
Now I'm confused. At the beginning of this thread, you told that you are receiving the error "Invalid security policy value...". Are you still receiving this error or is the problem that you can't see objects that you want to see?
Security suite defines that connection is secured. The authentication level defines what objects you can see. You need to check client address and authentication level.
Have you set 0.2.43.1.8.255 to the "Frame Counter LN" in the "Secured Connections" tab? I did try to set 0.2.43.1.8.255 and it was asked.
My bad for confusing you. I have tried every setting possible and I can connect with suite 0 that Kamstrup said but it must be wrong because I have problem reading data. The instructions I have does not contain any option to change Security suite. Otherwise I have changed all the settings according to the information from Kamstrup.
It is when I use Suite 1 I get the message "Service Error Initiate Error exception. Entitiate other." trying to connect to the meter. This is the last input in the log:
I can connect with Suite 0 but I get errors reading a values and I am missing information that the encryption keys give access to. This is what happend with I connected to the meter with suite 0:
This is what happened when I tried to read an OBIS:code:
13:04:46 Send Keep Alive
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
Data send failed. Try to resend 1/3
13:04:51 Data send failed. Try to resend 1/3
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
Data send failed. Try to resend 2/3
13:04:56 Data send failed. Try to resend 2/3
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
Data send failed. Try to resend 3/3
13:05:02 Data send failed. Try to resend 3/3
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
13:05:07 Failed to receive reply from the device in given time.
13:05:07 Release request
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
13:05:07 Release request
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
Data send failed. Try to resend 1/3
13:05:12 Data send failed. Try to resend 1/3
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
Data send failed. Try to resend 2/3
13:05:17 Data send failed. Try to resend 2/3
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
Data send failed. Try to resend 3/3
13:05:22 Data send failed. Try to resend 3/3
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
13:05:27 Failed to receive reply from the device in given time.
13:05:27 Disconnect request
13:05:27 Disconnect request
7E A0 08 20 41 2D 53 C1 0D 7E
13:05:27
7E A0 08 2D 20 41 1F 42 9D 7E
System.TimeoutException: Failed to receive reply from the device in given time.
vid GXDLMSDirector.GXDLMSCommunicator.ReadDLMSPacket(Byte[] data, Int32 tryCount, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, Int32 tryCount, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.KeepAlive()
vid GXDLMSDirector.GXDLMSDevice.KeepAlive_Elapsed(Object sender, ElapsedEventArgs e)
If I use OMNIPOWER metertool I can access the meters register that is the same as their old OMNIPOWER meter (previus generation). The one I am using OMINA eMeter is the next generation.
I found something, command line says Verbose mode even if the box in the settings is not checked. I have tried both with or without, command line always say Verbose mode. Could this setting cause a problem? My instruction from Kamstrup doesn't say that I should use Verbose mode.
Hi,
Hi,
Older Kamstrup meters use HDLC and not HdlcWithModeE for optical connections. I don't know if your meter is using HdlcWithModeE, but it's easy to test. If the meter doesn't reply to anything when Kamstrup is selected it's using HDLC.
Change manufacturer to Kamstrup and try to connect with default settings. Is the meter replying anything? Try to change the baud rate. Usually, it is 9600, but it also might be something else, ex. 115200.
BR,
Mikko
I got a reply from the meter
I got a reply from the meter using HLDC, Authentication: none and changing Max payload size transmit/receive. AssociationLogicalName, Data, Clock, SapAssignment, lecHldSetup and SecuritySetup values are read from the meter. To read more information from the meter I need the to get the Secured Connections settings. I think I figured out the System title under Secured connections but I will see if I can squeeze some more information out of Kamstrup. :)
Hi,
Hi,
Some Kamstrup meters might expect that example max payload must be exact correct or meter doesn't reply.
https://www.gurux.fi/GXDLMSDirectorExample
If you can read the meter without authentication, usually you need to change the password, authentication level, and client address to read the meter with other authentication levels.
BR,
Mikko
Now I am able to connect to
Now I am able to connect to the OMNIA e-meter using maintenance keys and able to connect to the meter. When select Read it starts reading but I get an error. See attatched file.
Hi,
Hi,
Select "Secured Connections" and Change Security Suite from Suite 0 to Suite 1.
If you are still receiving this error after that can you add a trace from the bytes so I can check this from the bytes?
BR,
Mikko
When I changed to suite 1 I
When I changed to suite 1 I got an service error, see picture. I once again tried suite 0 and saw that the error Invalid security policy value ... happened while reading OBIS 0.2.43.1.1.255 though I have set Frame counter to 0.2.43.1.8.255 as instructed by Kamstrup. I can see that the Security suite option is not available in the settings picture I got from Kamstrup.
12:51:47
<HDLC len="20" >
<TargetAddress Value="820" />
<SourceAddress Value="10" />
<FrameType Value="93" />
<PDU>
<Snrm>
<MaxInfoTX Value="1010" />
<MaxInfoRX Value="1010" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Snrm>
</PDU>
</HDLC>
12:51:47
<HDLC len="20" >
<TargetAddress Value="10" />
<SourceAddress Value="820" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="1010" />
<MaxInfoRX Value="1010" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
12:51:47
<HDLC len="2B" >
<TargetAddress Value="820" />
<SourceAddress Value="10" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN" />
<InitiateRequest>
<ProposedDlmsVersionNumber Value="06" />
<ProposedConformance>
<ConformanceBit Name="GeneralProtection" />
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Action" />
</ProposedConformance>
<ProposedMaxPduSize Value="FFFF" />
</InitiateRequest>
</AssociationRequest>
</PDU>
</HDLC>
12:51:47
<HDLC len="39" >
<TargetAddress Value="10" />
<SourceAddress Value="820" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN" />
<AssociationResult Value="00" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="00" />
</ResultSourceDiagnostic>
<InitiateResponse>
<NegotiatedDlmsVersionNumber Value="06" />
<NegotiatedConformance>
<ConformanceBit Name="BlockTransferWithGetOrRead" />
<ConformanceBit Name="Get" />
<ConformanceBit Name="Set" />
<ConformanceBit Name="SelectiveAccess" />
<ConformanceBit Name="Action" />
</NegotiatedConformance>
<NegotiatedMaxPduSize Value="03EF" />
<VaaName Value="0007" />
</InitiateResponse>
</AssociationResponse>
</PDU>
</HDLC>
12:51:47
<HDLC len="15" >
<TargetAddress Value="10" />
<SourceAddress Value="820" />
<FrameType Value="52" />
<PDU>
<GetResponse>
<GetResponseNormal>
<InvokeIdAndPriority Value="C1" />
<Result>
<Data>
<UInt32 Value="00000000" />
</Data>
</Result>
</GetResponseNormal>
</GetResponse>
</PDU>
</HDLC>
12:51:47
<HDLC len="A" >
<TargetAddress Value="820" />
<SourceAddress Value="10" />
<FrameType Value="53" />
<DisconnectRequest>
</DisconnectRequest>
</HDLC>
12:51:47
<HDLC len="A" >
<TargetAddress Value="10" />
<SourceAddress Value="820" />
<FrameType Value="73" />
<Ua>
</Ua>
</HDLC>
12:51:47
<HDLC len="20" >
<TargetAddress Value="820" />
<SourceAddress Value="16" />
<FrameType Value="93" />
<PDU>
<Snrm>
<MaxInfoTX Value="1010" />
<MaxInfoRX Value="1010" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Snrm>
</PDU>
</HDLC>
12:51:47
<HDLC len="20" >
<TargetAddress Value="16" />
<SourceAddress Value="820" />
<FrameType Value="73" />
<PDU>
<Ua>
<MaxInfoTX Value="1010" />
<MaxInfoRX Value="1010" />
<WindowSizeTX Value="1" />
<WindowSizeRX Value="1" />
</Ua>
</PDU>
</HDLC>
12:51:47
<HDLC len="6B" >
<TargetAddress Value="820" />
<SourceAddress Value="16" />
<FrameType Value="10" />
<PDU>
<AssociationRequest>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<CallingAPTitle Value="3333343839313438" />
<SenderACSERequirements Value="1" />
<MechanismName Value="HighGMAC" />
<CallingAuthentication Value="4B606A51105C6854461B2376012A6418" />
<glo_InitiateRequest Value="30000000016CB396BCB75135E1117CA75FEE2095B9D888C241FF6C512FD982" />
</AssociationRequest>
</PDU>
</HDLC>
12:51:47
<HDLC len="2F" >
<TargetAddress Value="16" />
<SourceAddress Value="820" />
<FrameType Value="30" />
<PDU>
<AssociationResponse>
<ApplicationContextName Value="LN_WITH_CIPHERING" />
<AssociationResult Value="01" />
<ResultSourceDiagnostic>
<ACSEServiceUser Value="0D" />
</ResultSourceDiagnostic>
<ConfirmedServiceError>
<Service Value="01" />
<ServiceError>
<Initiate Value="Other" />
</ServiceError>
</ConfirmedServiceError>
</AssociationResponse>
</PDU>
</HDLC>
12:51:47
<HDLC len="A" >
<TargetAddress Value="16" />
<SourceAddress Value="820" />
<FrameType Value="73" />
<Ua>
</Ua>
</HDLC>
Logfile:
12:51:15 Initializing serial connection.
12:51:16 Send SNRM request.
7E A0 21 20 41 21 93 98 53 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:16
7E A0 21 21 20 41 73 E9 92 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:16 Parsing UA reply succeeded.
12:51:16 Send AARQ request.
7E A0 2C 20 41 21 10 7F 99 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 40 10 1D FF FF A5 8B 7E
12:51:17
7E A0 3A 21 20 41 30 DA 11 E6 E7 00 61 82 00 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 10 1D 03 EF 00 07 44 36 7E
12:51:17 Parsing AARE reply succeeded.
12:51:17 Reading object 0.2.43.1.1.255, interface Data
7E A0 1A 20 41 21 32 26 74 E6 E6 00 C0 01 C1 00 01 00 02 2B 01 01 FF 02 00 7D A4 7E
12:51:17
7E A0 16 21 20 41 52 6F 46 E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
12:51:17 Disconnect request
12:51:17 Disconnect request
7E A0 08 20 41 21 53 61 A4 7E
12:51:17
7E A0 08 21 20 41 73 1C A3 7E
12:51:17 Send SNRM request.
7E A0 21 20 41 2D 93 38 FA 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:17
7E A0 21 2D 20 41 73 DD 05 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:17 Parsing UA reply succeeded.
12:51:17 Send AARQ request.
7E A0 6C 20 41 2D 10 FD F1 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 33 33 34 38 39 31 34 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 4A 45 51 34 70 28 25 5D 0F 31 77 67 4A 74 6A 35 BE 23 04 21 21 1F 30 00 00 00 01 6C B3 96 BC B7 51 35 E1 11 7C A7 5F EE 20 95 B9 D8 88 C2 41 FF 6C 51 2F D9 82 EF 51 7E
12:51:17
7E A0 30 2D 20 41 30 46 CA E6 E7 00 61 82 00 1F A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 06 04 04 0E 01 06 00 CF B8 7E
12:51:17 Disconnect request
12:51:17
7E A0 08 2D 20 41 73 28 34 7E
Gurux.DLMS.GXDLMSConfirmedServiceError: ServiceError Initiate Error exception. Initiate Other
vid GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
vid GXDLMSDirector.GXDLMSDevice.InitializeConnection()
vid GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
12:51:46 Initializing serial connection.
12:51:47 Send SNRM request.
7E A0 21 20 41 21 93 98 53 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:47
7E A0 21 21 20 41 73 E9 92 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:47 Parsing UA reply succeeded.
12:51:47 Send AARQ request.
7E A0 2C 20 41 21 10 7F 99 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 40 10 1D FF FF A5 8B 7E
12:51:47
7E A0 3A 21 20 41 30 DA 11 E6 E7 00 61 82 00 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 10 1D 03 EF 00 07 44 36 7E
12:51:47 Parsing AARE reply succeeded.
12:51:47 Reading object 0.2.43.1.1.255, interface Data
7E A0 1A 20 41 21 32 26 74 E6 E6 00 C0 01 C1 00 01 00 02 2B 01 01 FF 02 00 7D A4 7E
12:51:47
7E A0 16 21 20 41 52 6F 46 E6 E7 00 C4 01 C1 00 06 00 00 00 00 7D 18 7E
12:51:47 Disconnect request
12:51:47 Disconnect request
7E A0 08 20 41 21 53 61 A4 7E
12:51:47
7E A0 08 21 20 41 73 1C A3 7E
12:51:47 Send SNRM request.
7E A0 21 20 41 2D 93 38 FA 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:47
7E A0 21 2D 20 41 73 DD 05 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
12:51:47 Parsing UA reply succeeded.
12:51:47 Send AARQ request.
7E A0 6C 20 41 2D 10 FD F1 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 33 33 34 38 39 31 34 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 4B 60 6A 51 10 5C 68 54 46 1B 23 76 01 2A 64 18 BE 23 04 21 21 1F 30 00 00 00 01 6C B3 96 BC B7 51 35 E1 11 7C A7 5F EE 20 95 B9 D8 88 C2 41 FF 6C 51 2F D9 82 1D 36 7E
12:51:47
7E A0 30 2D 20 41 30 46 CA E6 E7 00 61 82 00 1F A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 06 04 04 0E 01 06 00 CF B8 7E
12:51:47 Disconnect request
12:51:47
7E A0 08 2D 20 41 73 28 34 7E
Gurux.DLMS.GXDLMSConfirmedServiceError: ServiceError Initiate Error exception. Initiate Other
vid GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
vid GXDLMSDirector.GXDLMSDevice.InitializeConnection()
vid GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
Are you receiving this error when you are reading the Security Setup object?
https://www.gurux.fi/comment/22208#comment-22208
Can you read everything else?
BR,
Mikko
I can read the information in
I can read the information in the Data but I am missing Register, Extended Register, ProfilGeneric, ImageTransfer, SpecialDaysTable, Script Table, DisconnectControl, GSMDiagnostic, Action Schedule. See attached picture.
It is like it is not connected with keys. Kamstrup told me it should be security suite 0.
Do you know why the GuruX ask
Do you know why the GuruX ask ask for the Frame counter LN 0.2.43.1.1.255 instead of 0.2.43.1.8.255 that I have configured in Secured Connections? 0.2.43.1.1.255
Hi,
Hi,
Now I'm confused. At the beginning of this thread, you told that you are receiving the error "Invalid security policy value...". Are you still receiving this error or is the problem that you can't see objects that you want to see?
Security suite defines that connection is secured. The authentication level defines what objects you can see. You need to check client address and authentication level.
Have you set 0.2.43.1.8.255 to the "Frame Counter LN" in the "Secured Connections" tab? I did try to set 0.2.43.1.8.255 and it was asked.
My bad for confusing you. I
My bad for confusing you. I have tried every setting possible and I can connect with suite 0 that Kamstrup said but it must be wrong because I have problem reading data. The instructions I have does not contain any option to change Security suite. Otherwise I have changed all the settings according to the information from Kamstrup.
It is when I use Suite 1 I get the message "Service Error Initiate Error exception. Entitiate other." trying to connect to the meter. This is the last input in the log:
11:19:18 Initializing serial connection.
11:19:19 Send SNRM request.
7E A0 21 20 41 21 93 98 53 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
11:19:19
7E A0 21 21 20 41 73 E9 92 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
11:19:19 Parsing UA reply succeeded.
11:19:19 Send AARQ request.
7E A0 2C 20 41 21 10 7F 99 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 40 10 1D FF FF A5 8B 7E
11:19:20
7E A0 3A 21 20 41 30 DA 11 E6 E7 00 61 82 00 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 10 1D 03 EF 00 07 44 36 7E
11:19:20 Parsing AARE reply succeeded.
11:19:20 Reading object 0.2.43.1.8.255, interface Data
7E A0 1A 20 41 21 32 26 74 E6 E6 00 C0 01 C1 00 01 00 02 2B 01 08 FF 02 00 1E 5D 7E
11:19:20
7E A0 16 21 20 41 52 6F 46 E6 E7 00 C4 01 C1 00 06 00 00 01 6C CF A8 7E
11:19:20 Disconnect request
11:19:20 Disconnect request
7E A0 08 20 41 21 53 61 A4 7E
11:19:20
7E A0 08 21 20 41 73 1C A3 7E
11:19:20 Send SNRM request.
7E A0 21 20 41 2D 93 38 FA 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
11:19:20
7E A0 21 2D 20 41 73 DD 05 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
11:19:20 Parsing UA reply succeeded.
11:19:20 Send AARQ request.
7E A0 6C 20 41 2D 10 FD F1 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 33 33 34 38 39 31 34 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 2E 6A 25 44 04 00 21 61 08 46 1E 13 48 26 23 44 BE 23 04 21 21 1F 31 00 00 01 6D 03 78 2F 0A 39 CE 5B 1F 7A 9A 36 70 5F 0E 8F 49 B7 FB 27 FE 52 A0 10 D0 90 39 EB 9D 7E
11:19:20
7E A0 30 2D 20 41 30 46 CA E6 E7 00 61 82 00 1F A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 06 04 04 0E 01 06 00 CF B8 7E
11:19:20 Disconnect request
11:19:20
7E A0 08 2D 20 41 73 28 34 7E
Gurux.DLMS.GXDLMSConfirmedServiceError: ServiceError Initiate Error exception. Initiate Other
vid GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
vid GXDLMSDirector.GXDLMSDevice.InitializeConnection()
vid GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
Hi,
Hi,
Can you connect with Suite 0? Suite 1 is new functionality and only a few meters are supporting it.
BR,
Mikko
I can connect with Suite 0
I can connect with Suite 0 but I get errors reading a values and I am missing information that the encryption keys give access to. This is what happend with I connected to the meter with suite 0:
GXDLMSDirector 8.2.2109.2901
Log created 13:01:23
13:02:09 Initializing serial connection.
13:02:10 Send SNRM request.
7E A0 21 20 41 21 93 98 53 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:10
7E A0 21 21 20 41 73 E9 92 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:10 Parsing UA reply succeeded.
13:02:10 Send AARQ request.
7E A0 2C 20 41 21 10 7F 99 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 40 10 1D FF FF A5 8B 7E
13:02:10
7E A0 3A 21 20 41 30 DA 11 E6 E7 00 61 82 00 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 10 1D 03 EF 00 07 44 36 7E
13:02:10 Parsing AARE reply succeeded.
13:02:10 Reading object 0.2.43.1.8.255, interface Data
7E A0 1A 20 41 21 32 26 74 E6 E6 00 C0 01 C1 00 01 00 02 2B 01 08 FF 02 00 1E 5D 7E
13:02:10
7E A0 16 21 20 41 52 6F 46 E6 E7 00 C4 01 C1 00 06 00 00 01 6C CF A8 7E
13:02:10 Disconnect request
13:02:10 Disconnect request
7E A0 08 20 41 21 53 61 A4 7E
13:02:10
7E A0 08 21 20 41 73 1C A3 7E
13:02:10 Send SNRM request.
7E A0 21 20 41 2D 93 38 FA 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:11
7E A0 21 2D 20 41 73 DD 05 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:11 Parsing UA reply succeeded.
13:02:11 Send AARQ request.
7E A0 6C 20 41 2D 10 FD F1 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 33 33 34 38 39 31 34 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 34 39 5C 71 78 70 43 39 5B 51 60 44 02 61 69 1A BE 23 04 21 21 1F 31 00 00 01 6D 03 78 2F 0A 39 CE 5B 1F 7A 9A 36 70 5F 0E 8F 49 B7 FB 27 FE 52 A0 10 D0 90 39 47 62 7E
13:02:11
7E A0 30 2D 20 41 30 46 CA E6 E7 00 61 82 00 1F A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 06 04 04 0E 01 06 00 CF B8 7E
13:02:11 Disconnect request
13:02:11
7E A0 08 2D 20 41 73 28 34 7E
Gurux.DLMS.GXDLMSConfirmedServiceError: ServiceError Initiate Error exception. Initiate Other
vid GXDLMSDirector.GXDLMSCommunicator.InitializeConnection(Boolean force)
vid GXDLMSDirector.GXDLMSDevice.InitializeConnection()
vid GXDLMSDirector.MainForm.Connect(Object sender, GXAsyncWork work, Object[] parameters)
13:02:44 Initializing serial connection.
13:02:45 Send SNRM request.
7E A0 21 20 41 21 93 98 53 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:45
7E A0 21 21 20 41 73 E9 92 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:45 Parsing UA reply succeeded.
13:02:45 Send AARQ request.
7E A0 2C 20 41 21 10 7F 99 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 40 10 1D FF FF A5 8B 7E
13:02:46
7E A0 3A 21 20 41 30 DA 11 E6 E7 00 61 82 00 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 10 1D 03 EF 00 07 44 36 7E
13:02:46 Parsing AARE reply succeeded.
13:02:46 Reading object 0.2.43.1.8.255, interface Data
7E A0 1A 20 41 21 32 26 74 E6 E6 00 C0 01 C1 00 01 00 02 2B 01 08 FF 02 00 1E 5D 7E
13:02:46
7E A0 16 21 20 41 52 6F 46 E6 E7 00 C4 01 C1 00 06 00 00 01 6C CF A8 7E
13:02:46 Disconnect request
13:02:46 Disconnect request
7E A0 08 20 41 21 53 61 A4 7E
13:02:46
7E A0 08 21 20 41 73 1C A3 7E
13:02:46 Send SNRM request.
7E A0 21 20 41 2D 93 38 FA 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:46
7E A0 21 2D 20 41 73 DD 05 81 80 14 05 02 03 F2 06 02 03 F2 07 04 00 00 00 01 08 04 00 00 00 01 0A 75 7E
13:02:46 Parsing UA reply succeeded.
13:02:46 Send AARQ request.
7E A0 6C 20 41 2D 10 FD F1 E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 33 33 34 38 39 31 34 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 39 20 72 64 09 6D 4A 33 46 3A 14 35 77 1E 5E 71 BE 23 04 21 21 1F 30 00 00 01 6D 03 78 2F 0A 39 CE 5B 1F 7A 9A 36 70 5F 0E 1B 94 62 2A F9 DE E3 E9 69 BC 27 B5 CB 02 7E
13:02:46
7E A0 8A 2D 20 41 30 6A D8 E6 E7 00 61 82 00 79 A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 4B 41 4D 45 01 FF 00 FC 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 22 80 20 87 30 1F 9D 42 C6 AF A0 8F 5D FD E2 E6 24 78 DB C6 1E 18 61 A6 A8 EB 54 9C 53 FA 97 0A 9A 16 F6 BE 23 04 21 28 1F 30 00 00 01 6C A8 B3 97 29 D8 0E BC BE DE 4E 7D E2 18 43 8B 87 C9 DF 84 F8 1A 61 15 02 14 AA 4B 35 7E
13:02:46 Parsing AARE reply succeeded.
13:02:46 Authenticating.
7E A0 40 20 41 2D 32 4C E4 E6 E6 00 CB 31 30 00 00 01 6E 09 F8 E5 61 3E 39 66 DB FA 66 6F 2E 92 FB 7A E9 E7 B5 18 AC F9 FC E1 9A 24 57 8E 80 19 65 F3 0A 6B AF 6E 53 01 54 D9 50 A4 3F 08 F5 8A F0 7E
13:02:46 7E A0 39 2D 20 41 52 36 DB E6 E7 00 CF 2A 30 00 00 01 6E 57 8D E0 9B 4E 4D 4B AD FA C8 6F 54 72 39 60 93 C5 D2 F8 7F BE 94 85 26 2A B6 44 61 52 48 30 C9 5C 3C 97 95 59 4A 19 7E
This is what happened when I tried to read an OBIS:code:
13:04:46 Send Keep Alive
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
Data send failed. Try to resend 1/3
13:04:51 Data send failed. Try to resend 1/3
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
Data send failed. Try to resend 2/3
13:04:56 Data send failed. Try to resend 2/3
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
Data send failed. Try to resend 3/3
13:05:02 Data send failed. Try to resend 3/3
7E A0 36 20 41 2D 54 17 CC E6 E6 00 DB 08 33 33 34 38 39 31 34 38 1E 30 00 00 01 6F 9B A5 83 ED 29 25 2F 89 06 63 BB BE 4B 8A F2 08 35 E2 EA A3 69 90 CC E0 9B 88 FB 7E
13:05:07 Failed to receive reply from the device in given time.
13:05:07 Release request
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
13:05:07 Release request
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
Data send failed. Try to resend 1/3
13:05:12 Data send failed. Try to resend 1/3
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
Data send failed. Try to resend 2/3
13:05:17 Data send failed. Try to resend 2/3
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
Data send failed. Try to resend 3/3
13:05:22 Data send failed. Try to resend 3/3
7E A0 12 20 41 2D 76 86 83 E6 E6 00 62 03 80 01 00 BD 9B 7E
13:05:27 Failed to receive reply from the device in given time.
13:05:27 Disconnect request
13:05:27 Disconnect request
7E A0 08 20 41 2D 53 C1 0D 7E
13:05:27
7E A0 08 2D 20 41 1F 42 9D 7E
System.TimeoutException: Failed to receive reply from the device in given time.
vid GXDLMSDirector.GXDLMSCommunicator.ReadDLMSPacket(Byte[] data, Int32 tryCount, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, Int32 tryCount, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, Int32 multiplier, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.ReadDataBlock(Byte[] data, String text, GXReplyData reply)
vid GXDLMSDirector.GXDLMSCommunicator.KeepAlive()
vid GXDLMSDirector.GXDLMSDevice.KeepAlive_Elapsed(Object sender, ElapsedEventArgs e)
If I use OMNIPOWER metertool I can access the meters register that is the same as their old OMNIPOWER meter (previus generation). The one I am using OMINA eMeter is the next generation.
I found something, command
I found something, command line says Verbose mode even if the box in the settings is not checked. I have tried both with or without, command line always say Verbose mode. Could this setting cause a problem? My instruction from Kamstrup doesn't say that I should use Verbose mode.
Hi,
Hi,
Verbose mode print the trace. It doesn't affect communication.
BR,
Mikko
Problem solved! :) It was a
Problem solved! :) It was a company security policy that must have been causing my problems.
I used my macbook pro and started a virtual Windows 10 in Vitrutalbox. Works like a charm, thanks for your help.