[W_A] Write analog
Function block W_A updates properties 'Present value' and 'Reliability' from the calculated value, simple process value and simple process value reference objects with a present value of data type Real.
W_A updates the following properties:
- 'Present value' and 'Reliability' of a calculated value object with a present value of data type Real.
- 'Present value' of a simple process value object with a present value of data type Real.
- 'Present value' of a simple process value reference object with a present value of data type Real.
Compatible data points:
- Analog calculated value [ACalcVal]
- Analog simple process value [ASmpPrcVal]
- Analog simple process value reference [ASmpPrcValR]
Required properties:
- Present value
- Tracking value (for calculated value objects only)
- Status flag
- Reliability
Optional properties:
- Extension by event configuration
- Event state
- Acknowledged transitions
- Extension by data aggregation
- Maintenance state
- Operating hours
- Suppress event notification
- Suppress event detection
- Enable aggregation
Input | Description | Data type | Default value |
|---|---|---|---|
EnWrit | Enable write If [EnWrit] = 1, writing values from inputs [Val] and [SetValid] to the BACnet object is enabled. | Boolean | 1 |
Val | Value Virtual value, calculated and assigned by the control program to update the present value. [Val] updates the following property:
[Val] is written if [EnWrit] = 1 and one of the following items appears:
| Real | 0.0 |
SetValid | Set valid value indication A value calculated and assigned by the control program that indicates whether [Val] is reliable. [SetValid] is mapped to an error code that updates 'Reliability' if [EnWrit] = 1 and one of the following items applies:
Note | Boolean | 1 |
0 - Reliability error code 7 (unreliable - other). | |||
RptWrit | Repeat write Forces writing of [Val] (and [SetValid]) to the data point. Writing is repeated in each programming cycle, if [RptWrit] = 1. Note: | Boolean | 0 |
0 - No action. | |||
TshVal | Threshold value Configured value to control function block write attempts. An attempt is only permitted if the change of value is greater than or equal to [TshVal]. Note | Real | 0.1 |
|
SupEvtDet | Suppress event detection Suppresses the detection of events. | Boolean | 0 |
SupEvtNtf | Suppress event notification Suppresses notification of events. | Boolean | 0 |
EnDataAgn | Enable data aggregation Permits activation or deactivation of data aggregation. | Boolean | 0 |
|
BaObjRef | BA-Object reference | Structure | --- |
BaObjRef | Device identifier | Double Word | 16#3FFFFF |
BaObjRef | Object identifier | Double Word | 16#3FFFFF |
BaObjRef | Item identifier | Integer | -1 |
Output | Description | Data type | Default value |
|---|---|---|---|
PrVal | Present value Value of property 'Present value' for the referenced BACnet object. [PrVal] supplies the last valid value in the event of a fault. | Real | 0.0 |
Dstb | Disturbed [Dstb] indicates whether the referenced BACnet object is in fault or in state OffNormal. When the BACnet object returns to state Normal, [Dstb] retains its value until the transition to normal is acknowledged. [Dstb] = 0, if the above condition is not fulfilled AND 'Acknowledged transitions' = x, x, 1. Note | Boolean | 0 |
Flty | Faulty [Flty] indicates whether the last event on the referenced BACnet object was in fault. If the BACnet object returns to the normal state, [Flty] retains its value until the transition to normal is acknowledged. [Flty] = 0, if the above condition is not fulfilled AND one of the following possibilities is valid:
Note | Boolean | 0 |
HiLmRd | High limit reached Indicates if the last event on the referenced BACnet object has state Offnormal based on reaching the upper limit. When the BACnet object returns to state Normal, [HiLmRd] retains its value until the transition to normal is acknowledged. [HiLmRd] = 0, if the above condition is not fulfilled OR one of the following possibilities is valid:
Note | Boolean | 0 |
LoLmRd | Low limit reached Indicates if the last event on the referenced BACnet object has state Offnormal based on reaching the lower limit. If the BACnet object returns to state Normal, [LoLmRd] retains its value until the transition to normal is acknowledged. [LoLmRd] = 0, if the above condition is not fulfilled OR one of the following possibilities is valid:
Note | Boolean | 0 |
Rlb | Reliability | Integer | 0: No fault detected |
Oph | Operating hours Displays the value of the property operating hours for the referenced BACnet object | Double Word | 0 |
MntnSta | Maintenance state Supplies the value for property 'Maintenance state' for the referenced BACnet object. | Integer | 1 |
1: None Note | |||
ErrCode | Error code indication | Integer | 0: No error |
= 0 - No error | |||
The write function is unavailable if a data point of type calculated value is located on another device.