BacnetEnumOutput Function Block
The BacnetEnumOutput converts input value(s) (Public Variable(s)) into a raw network variable output that is published onto the BACnet network.
Figure 1: BacnetEnumOutput Function Block |
Figure 2: BacnetEnumOutput Property Sheet |
Input
Input Name |
Description |
In15 |
It is a 32-Bit unsigned input point. |
Table 1: Inputs of BacnetEnumOutput Function
Output
Output Name |
Description |
Preset Value |
Displays the highest priority valid value from Priority Array. BacnetEnumOutput maintains a Priority Array of size 16, exposed over BACnet. Index 1 being the highest and index 16 being the lowest. In15 value shows up at Priority Array Index 15. The Rest of the Index/Priority values can be updated over BACnet. Present Value always reflects the first highest priority (from 1 to 16) valid value (not NULL). |
Out |
When Out of Service is false - Out is same as Present Value. When Out of Service is true - Out retains the last value, it had before Out Of Service was set to true. |
Status Flags |
Displays the status of this function block. It can be any one or a 'OR' combination of the following values: 8 - Out of Service Example: A value of 8 means the function block is in Out of Service state. A value of 3 means the function block is not in Out of Service state. |
Event State |
Displays the present event state of this function block. It will always be in the following state - 0 - Normal |
Out of Service |
It shows the whether the function block is in out of service state or not. Out of Service is modifiable over BACnet. Setting Out of Service to true, decouples Present Value from Out, i.e. Present Value value no longer shows up on Out. When Out of Service is true, Out will retain its last value that it had before Out Of Service was set to true. |
Table 2: Outputs of BacnetEnumOutput Function
Parameter
Parameter Name |
Description |
Number of States |
Define the total number of discreet states starting from 1, that Out can have. |
Relinquish Default |
Define the value that shows up on Out when In15 is not connected and priority array doesn't have any valid value. |
State text |
Facets define enumeration values and the associated texts for BACnet data points. The enumeration values can be defined in the range 1 - 16 |
Bacnet Object Instance |
It shows the instance number of this BACnet object function block. |
Out Save |
Master Sync Enabled: If you set it to "true" the last output will be set as output for one cycle after the controller restarts. The application can use it to return to the same state before the controller restart. Present Value: To enable or disable the Present Value feature. Out: To enable or disable the Out feature. Note: The Out Save feature is only configurable via tools for Present Value and Out slot. As a result, after a power cycle, BACnet Output loses its priority array values, but the most recent OUT/Present Value is retained and appears on Priority Slot 16. This value, which belonged to which priority index prior to the power cycle event, will be lost |
Table 3: Parameters of BacnetEnumOutput Function
Examples
|
|
Figure 3: Example - BacnetEnumOutput Function Block and Property Sheet
Refer to General Description for general information about IRMN4 Function Blocks.