Thank you for your quick reply. After adding the ServiceClass.UN_CONFIRMED my program sending the same bytes but my service unable to read the instantaneous profile. Again the service throws the same exception Unknown Version.
Can you read the association view? Is profile generic 1.0.99.2.0.255 there?
Make sure that you are using the right authentication level and client address (0x11) is correct.
Exception Occurred Unknown Version When Reading Instantaneous Pr
Hi Ahsen Saeed,
Set this after you create new client.
gxdlmsClient.setServiceClass(ServiceClass.UN_CONFIRMED);
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
Thank you for your quick reply. After adding the ServiceClass.UN_CONFIRMED my program sending the same bytes but my service unable to read the instantaneous profile. Again the service throws the same exception Unknown Version.
Best Regards,
Ahsen Saeed
Exception Occurred Unknown Version When Reading Instantaneous
Hi,
I just verify this.
Before
00 01 00 10 00 01 00 0D C0 01 C1 00 73 00 00 13 28 00 FF 05 00
//after
cl.setServiceClass(ServiceClass.UN_CONFIRMED);
00 01 00 10 00 01 00 0D C0 01 81 00 73 00 00 13 28 00 FF 05 00
Can you read the association view? Is profile generic 1.0.99.2.0.255 there?
Make sure that you are using the right authentication level and client address (0x11) is correct.
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
I verify that the meter has the Profile Generic via Gurux Director with Optical Probe. And below is the settings for how I create GxDLMSClient.
private static GXDLMSClient getGxdmlsClient() {
GXDLMSClient dLMSClient = new GXDLMSClient(true);
dLMSClient.setInterfaceType(InterfaceType.WRAPPER);
dLMSClient.setServerAddress(1);
dLMSClient.setClientAddress(17);
dLMSClient.setAuthentication(Authentication.LOW);
dLMSClient.setPassword("000000");
dLMSClient.setServiceClass(ServiceClass.UN_CONFIRMED);
return dLMSClient;
}
Best Regards,
Ahsen Saeed
Exception Occurred Unknown Version When Reading Instantaneous
Hi Ahsen Saeed,
Did you call aarqRequest() before calling read? In your first example that is missing.
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
Yes, I'm calling aarqRequest() before reading the instantaneous profile.
Best Regards,
Ahsen Saeed.
Exception Occurred Unknown Version When Reading Instantaneous
Hi,
Can you send GXDLMSDirector log and java log to me by email?
I need to see what meter replies for AARQ.
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
Below are the bytes what meter send me in the response of aarqRequest().
68 01 C3 00 3A 00 33 21 56 D9 D7 A7 09 74 92 92 46 E0 B8 8F DF 6C 58 34 2C 61 7E F2 A4 48 FF 04 0B AD A9 D1 C6 6E F4 96 05 63 9D 88 46 1B 29 9E 98 37 72 73 1E C2 CB BC FE 17 BD 18 2E FD 21 2E 16
Best Regards,
Ahsen Saeed.
Exception Occurred Unknown Version When Reading Instantaneous Pr
Hi,
This reply is not correct. Are you using Moxa or some other TCP/IP to serial port converter or are you connect directly to the meter?
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
No, I'm trying to connect directly to the meter via TCP/IP protocol.
Best Regards,
Ahsen Saeed.
Exception Occurred Unknown Version When Reading Instantaneous
Hi,
Can you send GXDLMSDirector reply to AARQ? This is not DLMS reply.
Ask from the manufacturer if DLMS is not the default protocol.
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
Below are the bytes which my service sent to meter for aarqRequest().
00 01 00 11 00 01 00 36 60 34 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 08 80 06 30 30 30 30 30 30 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 1D FF FF
Also I ask the manufacturer they says that it is customer specific. It is not pure DLMS protocol.
Best Regards,
Ahsen Saeed
Exception Occurred Unknown Version When Reading Instantaneous
Hi,
In that case, it's a proprietary protocol, not DLMS. Because of this I can't help you.
You need to contact your meter manufacturer.
BR,
Mikko
Exception Occurred Unknown Version When Reading Instantaneous
Hey Mikko,
Thank you for your response. I'll ask the manufacturer for further more.
Best Regards,
Ahsen Saeed