[R_B] Read binary
Function block R_B reads the present value and additional properties of a binary data point.
R_B reads the present value and additional properties of a binary data point.
Compatible data points:
- Binary input [BI]
- Binary output [BO]
- Binary, calculated value [BCalcVal]
- Binary configuration value [BCnfVal]
- Binary process value [BPrcVal]
- Third-party objects with the required properties
Required properties:
- Present value
- Status flag
Optional properties:
- Reliability
- Update count
- Extension by event configuration
- Event state
- Acknowledged transitions
- Extension by data aggregation
- Maintenance state
- Operating hours
- Suppress event notification
- Suppress event detection
- Enable aggregation
- Enable substitution value
Input | Description | Data type | Default value |
|---|---|---|---|
|
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 unless the property 'Enable substitution value' is available for the BACnet object and indicates that the substitution value should be used. Note | Boolean | 0 |
UpdInd | Update indication | Boolean | 0 |
Indicates if the property 'Present value' has been updated. Upon updating, [UpdInd] goes from 0 to 1 and returns to 0 in the next cycle (immediately). Changeover cannot be detected without additional function block connected to [UpdInd] (e.g. counter function block). [UpdInd] is only set to 1 if the BACnet object is not in fault. [UpdInd] uses property Update count, if available. This allows for detecting if a value was updated when the new value equals the previous value. In objects without update count, [UpdInd] changes over to property Present value in case of a change. | |||
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 |
OffNrml | Offnormal [OffNrml] indicates whether the last event on the reference BACnet object was Offnormal. When the BACnet object returns to state Normal, [OffNrml] retains its value until the transition to normal is acknowledged. [OffNrml] = 0, if the above condition is not fulfilled OR 'Event state' = Normal AND 'Acknowledged transitions' = x, x, 1. 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 | |||