Field guide Read and control

Command and relinquish a setpoint

On this page

A commandable Analog Value keeps 16 priority slots. Its effective setpoint comes from the highest-priority occupied slot. Run the loopback demonstration to set and release two slots and read back the effective value after each write.

bacnet-kit command-demo
ActionPrioritySlot after writeEffective setpoint
Set 19 °C1619 °C19 °C
Set 22 °C822 °C22 °C
Set 18 °C1618 °C22 °C
Relinquish8NULL18 °C
Relinquish16NULL20 °C

A smaller priority number takes precedence. At the third step the fixture accepts 18 °C, but priority 8 still holds 22 °C. Releasing priority 8 exposes the stored 18 °C. When all 16 slots are empty, Present_Value comes from Relinquish_Default. OPC Foundation BACnet command prioritization

Connect an independent workstation

Run the fixture and direct the workstation to Device 123 at 127.0.0.1:47808. Command mode adds Analog Value 1 to the object list. Its application policy accepts priorities 8 and 16 from the local host. Restarting the process clears both slots.

bacnet-kit serve --commands

Read Priority_Array at index 0 for its length, or at indices 1–16 for individual slots. Write a finite REAL to Present_Value to set a slot, or BACnet NULL to relinquish it. Omitting priority selects 16. Priority 6 is reserved in this fixture. Writes to the array itself are denied. The kit also serves Units, Status_Flags and Relinquish_Default. ASHRAE commandable value-object properties

If the acknowledgement is lost

Try bacnet-kit command-demo --lose-ack. The simulator commits the third command and drops its UDP acknowledgement. The demo prints the readback and records the missing ACK.

When a real acknowledgement times out, the write outcome is unknown. Read the requested priority slot and Present_Value before deciding what to do next. These reads describe the state at observation time. Another writer may have changed it since the original request. Plant feedback requires a separate measured point. The demonstration operates entirely on simulator memory.