[R_DINT] Read double integer value
Function block R_DINT reads the present value and additional properties of a data point for data type Double Integer.
R_DINT reads the present value and additional properties of a data point for data type Double Integer.
Compatible data points:
- Integer calculated value [ICalcVal]
- Integer configuration value [ICnfVal]
- Third-party object with compatible 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
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. Note | Double integer | 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 |
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 | |||