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 that you accept these cookies being set.

Bacnet server and Client
#24
Hi,
After a lot of testing, it seems like we have discovered the maximum BACnet objects that can be sent at the same time from an LM5lp as an Client. 250 BACnet objects seems to be the number.
But we discovered something strange, when trying to send 250 objects to an Wago plc (Server), and 250 objects to another LM (server) at the same time. Our LM (Client) only sent some objects, then some of our script and many of our objects in object list disappeared. We could not find them and had to start all over again. This happed 3 times.
 
Is there a failsafe of some sort that that resets the LM if overload, because all of these objects and script where made just before the test?
 
Some info regarding LM (Client)
HW: LM5 Lite (i.MX6)
SW: 20170927


Code for communication between LM (Client) and LM (Server)
Code:
require('sem')
require('bacnet')

value = event.getvalue()
sem.runlocked('bacnetlock', 10, function()
bacnet.write(863939, 'analog value', event.dstraw, value)
end)

Code for communication between LM (Client) and Wago (Server)
Code:
require('sem')
require('bacnet')

int = event.dstraw
ga = 65793
id = int - ga

value = event.getvalue()
sem.runlocked('bacnetlock', 30, function()
bacnet.write(863939, 'analog value', id, value)
end)


Do you have any idea why this happen? Is there something wrong with the LM?

BR Even Sundgot.
Reply


Messages In This Thread
Bacnet server and Client - by Evens - 06.07.2018, 12:33
RE: Bacnet server and Client - by edgars - 06.07.2018, 13:29
RE: Bacnet server and Client - by Evens - 06.07.2018, 17:32
RE: Bacnet server and Client - by Evens - 09.07.2018, 19:37
RE: Bacnet server and Client - by Evens - 10.07.2018, 18:11
RE: Bacnet server and Client - by Evens - 10.07.2018, 21:57
RE: Bacnet server and Client - by Daniel - 11.07.2018, 07:18
RE: Bacnet server and Client - by Evens - 11.07.2018, 08:21
RE: Bacnet server and Client - by Evens - 07.08.2018, 06:10
RE: Bacnet server and Client - by admin - 07.08.2018, 06:18
RE: Bacnet server and Client - by Evens - 07.08.2018, 06:23
RE: Bacnet server and Client - by admin - 07.08.2018, 09:18
RE: Bacnet server and Client - by Evens - 07.08.2018, 10:26
RE: Bacnet server and Client - by admin - 07.08.2018, 10:36
RE: Bacnet server and Client - by Daniel - 07.08.2018, 10:39
RE: Bacnet server and Client - by Evens - 07.08.2018, 13:01
RE: Bacnet server and Client - by Daniel - 07.08.2018, 14:01
RE: Bacnet server and Client - by Evens - 08.08.2018, 06:56
RE: Bacnet server and Client - by Evens - 13.08.2018, 06:32
RE: Bacnet server and Client - by admin - 13.08.2018, 06:53
RE: Bacnet server and Client - by Evens - 13.08.2018, 07:00
RE: Bacnet server and Client - by admin - 13.08.2018, 07:31
RE: Bacnet server and Client - by Evens - 13.08.2018, 08:48

Forum Jump: