SpaceLogic for Niagara Forum
This forum is a place for technical users to share information and collaborate on the integration of SpaceLogic BMS controllers into Niagara BMS.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-23 08:57 AM
When using a multistate Value object Starts with Element 1, which equals the number 1, instead of starting with Element 0. I am wanting to use this to create:
0 = Off
1 = On
3 = Auto
Any suggestions?
Thanks,
Barry
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-23 11:41 AM . Last Modified: 2021-03-23 11:52 AM
The state text for BACnet Multistate object always start at index 1. They do not support being set to zero as the state-text is stored as a BACnetARRAY and index zero of every BACnetARRAY is reserved for storing the size of the array.
"
12.1.5.1 Array Properties
A "BACnetARRAY" datatype is a structured datatype consisting of an ordered sequence of data elements, each having the
same datatype. The components of an array property may be individually accessed (read or written) using an "array index,"
which is an unsigned integer value. An index of 0 (zero) shall specify the count of the number of data elements as datatype
Unsigned. ...
"
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-24 06:27 AM . Last Modified: 2021-03-24 06:28 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-24 06:27 AM . Last Modified: 2021-03-24 06:28 AM
If you are set on using 0 as off you can always use an analog value within your programming to allow any number you desire. When you discover your point into Niagara, add it as a multi-state value(even though it's an analog value) and set up the Niagara facets to limit the range to 0,1,3, and assign the appropriate text mapping.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-23 11:41 AM . Last Modified: 2021-03-23 11:52 AM
The state text for BACnet Multistate object always start at index 1. They do not support being set to zero as the state-text is stored as a BACnetARRAY and index zero of every BACnetARRAY is reserved for storing the size of the array.
"
12.1.5.1 Array Properties
A "BACnetARRAY" datatype is a structured datatype consisting of an ordered sequence of data elements, each having the
same datatype. The components of an array property may be individually accessed (read or written) using an "array index,"
which is an unsigned integer value. An index of 0 (zero) shall specify the count of the number of data elements as datatype
Unsigned. ...
"
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-24 06:27 AM . Last Modified: 2021-03-24 06:28 AM
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-24 06:27 AM . Last Modified: 2021-03-24 06:28 AM
If you are set on using 0 as off you can always use an analog value within your programming to allow any number you desire. When you discover your point into Niagara, add it as a multi-state value(even though it's an analog value) and set up the Niagara facets to limit the range to 0,1,3, and assign the appropriate text mapping.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-24 08:07 AM
@scheallerj Thank you for that information. That is what I was needing to make this work.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.