Skip to content

Set Present Value

Set the present value property for different object types.

Functions

bacnet.setAnalogInputPresentValue(object_instance, value)

Sets the present value property of an Analog Input object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Analog Input present value

bacnet.setAnalogOutputPresentValue(object_instance, value, priority)

Sets the present value property of an Analog Output object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Analog Output present value
  • priority
    • number
    • Priority level

bacnet.setAnalogValuePresentValue(object_instance, value, priority)

Sets the present value property of an Analog Value object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Analog Value present value
  • priority
    • number
    • Priority level

      Note

      The simulator currently does not support a priority array for this object type and so any value can be used for this argument

bacnet.setBinaryInputPresentValue(object_instance, value)

Sets the present value property of a Binary Input object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Binary Input present value
      • BINARY_INACTIVE = 0
      • BINARY_ACTIVE = 1
      • BINARY_NULL = 255

bacnet.setBinaryOutputPresentValue(object_instance, value, priority)

Sets the present value property of a Binary Output object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Binary Output present value
      • BINARY_INACTIVE = 0
      • BINARY_ACTIVE = 1
      • BINARY_NULL = 255
  • priority
    • number
    • Priority level

bacnet.setBinaryValuePresentValue(object_instance, value, priority)

Sets the present value property of a Binary Value object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Binary Value present value
      • BINARY_INACTIVE = 0
      • BINARY_ACTIVE = 1
      • BINARY_NULL = 255
  • priority
    • number
    • Priority level

bacnet.setIntegerValuePresentValue(object_instance, value, priority)

Sets the present value property of an Integer Value object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Integer Value present value
  • priority
    • number
    • Priority level

      Note

      The simulator currently does not support a priority array for this object type and so any value can be used for this argument

bacnet.setPositiveIntegerValuePresentValue(object_instance, value, priority)

Sets the present value property of a Positive Integer Value object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Positive Integer value present value
  • priority
    • number
    • Priority level

      Note

      The simulator currently does not support a priority array for this object type and so any value can be used for this argument

bacnet.setAccumulatorPresentValue(object_instance, value)

Sets the present value property of an Accumulator object instance

Params

  • object_instance
    • number
    • Object instance number
  • value
    • number
    • Accumulator present value