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 functionality
#5
(21.12.2023, 13:19)Daniel Wrote: W4K does not support what LM has, stick to default solutions what SE provides.

OK, I will investigate.

Hope my script still will work with this device Angel

This is the basics of the script in the LM:
value = bacnet.readvalue(2457601, 'analog input',12)
value = float2hex(value)
mb1Confusedetregisters(24, lmcore.hextoint(string.sub(value,1,4)))
mb1Confusedetregisters(25, lmcore.hextoint(string.sub(value,-4)))

Now I need to find an equivalent of the bacnet.readvalue function
Reply


Messages In This Thread
BACNET functionality - by Lumite - 21.12.2023, 12:36
RE: BACNET functionality - by Daniel - 21.12.2023, 12:58
RE: BACNET functionality - by Lumite - 21.12.2023, 13:16
RE: BACNET functionality - by Daniel - 21.12.2023, 13:19
RE: BACNET functionality - by Lumite - 21.12.2023, 13:21
RE: BACNET functionality - by Daniel - 21.12.2023, 13:35
RE: BACNET functionality - by Lumite - 21.12.2023, 13:37

Forum Jump: