Skip to content

Get Present Value

Get the present value property for different object types.

Functions

bacnet.getAnalogInputPresentValue(object_instance)

Gets the present value property of an Analog Input object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Analog Input present value

bacnet.getAnalogOutputPresentValue(object_instance)

Gets the present value property of an Analog Output object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Analog Output present value

bacnet.getAnalogValuePresentValue(object_instance)

Gets the present value property of an Analog Value object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Analog Value present value

bacnet.getBinaryInputPresentValue(object_instance)

Gets the present value property of a Binary Input object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Binary Input present value

  • BINARY_INACTIVE = 0
  • BINARY_ACTIVE = 1
  • BINARY_NULL = 255

bacnet.getBinaryOutputPresentValue(object_instance)

Gets the present value property of a Binary Output object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Binary Output present value

  • BINARY_INACTIVE = 0
  • BINARY_ACTIVE = 1
  • BINARY_NULL = 255

bacnet.getBinaryValuePresentValue(object_instance)

Gets the present value property of a Binary Value object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Binary Value present value

  • BINARY_INACTIVE = 0
  • BINARY_ACTIVE = 1
  • BINARY_NULL = 255

bacnet.getIntegerValuePresentValue(object_instance)

Gets the present value property of an Integer Value object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Integer Value present value

bacnet.getPositiveIntegerValuePresentValue(object_instance)

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

Params

  • object_instance
    • number
    • Object instance number

Returns: number Positive Integer Value present value

bacnet.getAccumulatorPresentValue(object_instance)

Gets the present value property of an Accumulator object instance

Params

  • object_instance
    • number
    • Object instance number

Returns: number Accumulator present value