Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

  • For example, by default in FIN if you have the bacnetWrite tag as bacnetWrite:AV1, what we do is send this on the wire. If they are unique and proprietary, then the below would help with this.

bacnetWriteObjectProperty

bacnetWriteObjectProperty(conn, obj, prop, value, priority: Number. <ctor>(16))

...

  1. $self->bacnetConnRef = the point's own bacnetConnRef ID

  2. $self->bacnetWrite = the point's own bacnetWrite tag value (aka the point ID i.e.. "AV1")

  3. $val = the value the user will set once the "Set" action is selected

    • Note: Instead of hardcoding the bacnetConnRef & the bacnetWrite, you want it to be the values of whichever point you're commanding so that's where you utilizing the $self-> or > or $val as you see above makes it dynamic.

...

If the user wants to be able to modify the Cov_Increment object property on a point, they can do so using the bacnetWriteObjectPropertythe bacnetWriteObjectProperty() func. Use case would be if a customer doesn't want to flood the network on every value change and only see change of value if it exceeds a certain threshold. That is where Cov_Increment property comes into play. This is a property that needs to be configured on the device, not FIN. The device would also need to be able to support COV. However, below is example of how to modify and read this property from FIN in the event the user would want to modify.

Read Cov_Increment property to see current configuration:

  1. Go to folio and run query below with connector id and either point instance or point id.

    1. bacnetReadObjectProperty(@conn_id, "point_instance", "Cov_Increment")

    2. example 1: bacnetReadObjectProperty bacnetReadObjectProperty(@236b97c6-88cdae62, "AV52", "Cov_Increment")

    3. example 2: bacnetReadObjectProperty bacnetReadObjectProperty(@236b97c6-88cdae62, @236b9811-6943ab2a, "Cov_Increment")

Write to Cov_Increment property:

  1. Go to folio and run query below with connector id, either point instance or point id, and value for Cov_Increment.

    1. bacnetWriteObjectProperty(@conn_id, "point_instance", "Cov_Increment", 0.5)

    2. example 1: bacnetWriteObjectProperty bacnetWriteObjectProperty(@236b97c6-88cdae62, "AV52", "Cov_Increment", 0.5)

    3. example 2: bacnetWriteObjectProperty bacnetWriteObjectProperty(@236b97c6-88cdae62, @236b9811-6943ab2a, "Cov_Increment", 0.5)

To batch apply, the user can use a query below with their point tags of the points they want to modify:

  • readAll(point and temp and kind=="Number").toRecList().map (x=> bacnetWriteObjectProperty(x->bacnetConnRef,x->bacnetCur,"Cov_Increment", 1.1)) 

If this doesn't work consider the below:

...