HDLC parameters settings in DLMS protocol

11 posts / 0 new
Last post
KhushbuBadheka
HDLC parameters settings in DLMS protocol

Hi Mikko,

As per the information related to HDLC frame settings, it shows that parameters like :
Max frame size in transmit
Max frame size in receive
Window size in transmit
Window size in receive

are only supported to IEC protocol.
However, I want to use them for DLMS meters to make frame size lesser. Or you can say
whether those parameters are applicable for DLMS frames that we need to send and receive?

Thanks and Regards,

Kurumi
Kurumi's picture

Hi,

You can set those values selecting Advanced-tab in GXDLMSDirector and modify HDLC settings.

OR:

GXDLMSClient cl = new GXDLMSClient();
cl.Limits.MaxInfoTX = cl.Limits.MaxInfoRX= 256;
BR,
Mikko

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

KhushbuBadheka

Thanks Mikko,

As you suggested we already set HDLC settings using Advanced-tab in GXDLMSDirector. However, when we read IEC HDLC settings we got different values.
Please check the attached screen shots.

Regards,

Image: 
KhushbuBadheka

HDLC frame settiings.

Image: 
Kurumi
Kurumi's picture

Hi,

HDLC setup shows default values. In the Advanced page, you set proposed values that the client proposes when making the connection. Note! All the meters don't support this.

Try to change max payload from 128 to 250 in Advanced page.

BR,
Mikko

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

KhushbuBadheka

Thanks Mikko,

I tried to set required length and yes as per your suggestion it was set. However, when I tried to read Profile Generic, I received data more than set values.
Set Max length in TX/RX = 200
Received data length = 208

Regards.

Kurumi
Kurumi's picture

Hi,

TX/RX size is the size of payload, not size of the frame.

BR,
Mikko

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

KhushbuBadheka

Noted.

Mikko, Can you please help me to set the PDU size with which frame size will not be exceeded more than 200 bytes?

Regards.

Kurumi
Kurumi's picture

Hi,

Change max payload from 200 to 192 in Advanced page.

BR,
Mikko

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

KhushbuBadheka

Thanks Mikko.

Will check and let you know.

Regards.

KhushbuBadheka

Thanks Mikko.

It Worked.

Stay safe.