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: unable to read or write multi-state
#1
Hi all,
I want to read and write a value to a multi-state point in bacnet.
bit when I read the object I get a nil value. 
When I read it with yabe i get the value.
Here's my script:
-- object mapped to this event must have its data type set
Vloerkoeling = event.getvalue()

require('bacnet')
--write the value
bacnet.write(189073, 'multi-state output', 22829, Vloerkoeling, 15)
--read the actuale value
value = bacnet.readvalue(189073, 'multi-state input', 22829, 'present value')
log (value)


readind and writeing analog values an binary values works as a charm.
in attchment the yabe screenshot    

Kind regards,
David de Roo
Reply


Messages In This Thread
bacnet: unable to read or write multi-state - by davidderoo - 11.10.2023, 10:34

Forum Jump: