This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

Modbus and Nibe Modbus40
#20
(11.11.2019, 09:32)Daniel. Wrote: Pooling interval is per device, you can set them differently but not individual registers.  You can add read_delay parameter to your profile to delay the read between registers.

Nibe Modbus unfortunately limits to 2.1 sec between each request (parameters not in Log.set). I am trying to understand how to best handle this on the LM5. I have now tried to set read_delay to 2.2 sec in the modbus profile. I have also increased timeout to 15 sec, which seemed to solve my problem.

I have a list of 31 parameters. Polling time is set to 180 sec. so even with a 5 sec read_delay it should be able to get through all parameters before next request. On the server end it also looks good. I can see the timestamps for requests vary with 1 sec to 3 sec between them. Between open and close there is about 72 sec. which corresponds to an average time 2.4 sec between each of the 31 parameters (which seems to correspond well with the read_delay = 2.2).

To sum up:
Modbus TCP/IP
Params/registers 31
Modbus profile read_delay = 2.2
Poll interval = 180 sec
Timeout = 15 sec

Is this a good design? Is there any reason to "tune" the timeout to be as small as possible?

I may later split my profiles in two such that I can poll faster to some parameters (e.g. those set in Log.set) and very rarely on the rest, but for now, if this is stable, I leave it like this.
Reply


Messages In This Thread
Modbus and Nibe Modbus40 - by eirik - 14.07.2017, 10:34
RE: Modbus and Nibe Modbus40 - by admin - 14.07.2017, 10:42
RE: Modbus and Nibe Modbus40 - by eirik - 14.07.2017, 10:51
RE: Modbus and Nibe Modbus40 - by admin - 14.07.2017, 10:56
RE: Modbus and Nibe Modbus40 - by eirik - 14.07.2017, 11:28
RE: Modbus and Nibe Modbus40 - by admin - 14.07.2017, 11:38
RE: Modbus and Nibe Modbus40 - by merel - 17.07.2017, 15:42
RE: Modbus and Nibe Modbus40 - by eirik - 21.07.2017, 09:14
RE: Modbus and Nibe Modbus40 - by Mrinj - 15.03.2019, 17:42
RE: Modbus and Nibe Modbus40 - by merel - 16.04.2019, 07:28
RE: Modbus and Nibe Modbus40 - by RagingBull - 14.06.2019, 14:52
RE: Modbus and Nibe Modbus40 - by eirik - 15.06.2019, 14:04
RE: Modbus and Nibe Modbus40 - by RagingBull - 20.06.2019, 07:17
RE: Modbus and Nibe Modbus40 - by merel - 21.06.2019, 07:10
RE: Modbus and Nibe Modbus40 - by PassivPluss - 27.06.2019, 17:15
RE: Modbus and Nibe Modbus40 - by merel - 01.07.2019, 06:47
RE: Modbus and Nibe Modbus40 - by PassivPluss - 09.11.2019, 06:43
RE: Modbus and Nibe Modbus40 - by Daniel. - 11.11.2019, 09:32
RE: Modbus and Nibe Modbus40 - by dreamcatcher - 08.12.2019, 06:28
RE: Modbus and Nibe Modbus40 - by admin - 11.11.2019, 09:59

Forum Jump: