Re: [Bacnet-developers] BACNet WriteProperty: Passing Boolean for ON/OFF?
Brought to you by:
skarg
|
From: Steve K. <st...@ka...> - 2013-10-28 21:17:56
|
Hi Andrew, > OFF Command: C:\bacnettools\bacwp xxxx 4 1537 85 16 -1 1 0 (and it works > fine) > ON Command: C:\bacnettools\bacwp xxxx 4 1537 85 16 -1 1 1 (no luck. I've > tried using real, integer, and character string with 1 and "ACTIVE") > > Any thoughts or recommendations? 4=Binary Output 85=Present_Value 16= priority 16 The datatype for Binary Output present-value property is Enumerated (9), not Boolean (1), so your WriteProperty request should have failed with an error message. The correct WriteProperty request at priority 16 should look like: OFF Command: C:\bacnettools\bacwp xxxx 4 1537 85 16 -1 9 0 ON Command: C:\bacnettools\bacwp xxxx 4 1537 85 16 -1 9 1 You can relinquish your control of priority 16 by the following: ON Command: C:\bacnettools\bacwp xxxx 4 1537 85 16 -1 0 0 Note that priority 16 may or may not control the thermostat, if other network devices control the thermostat at a higher priority (i.e. 1 is the highest priority). You can read the priority-array property by the following: C:\bacnettools\bacrp xxxx 4 1537 87 Best Regards, Steve |