13.08.2018, 06:32
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 for communication between LM (Client) and Wago (Server)
Do you have any idea why this happen? Is there something wrong with the LM?
BR Even Sundgot.
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.