[R_MSCHED] Read multistate scheduler
Function block R_MSCHED reads the present value and additional properties of a multistate scheduler object.
R_MSCHED reads the present value and additional properties of a multistate scheduler object.
Compatible data points:
- Multistate schedule [MSchedule].
Required properties:
- Present value
- Status flag
- Next value
- Time to next value
Optional properties:
- Reliability
Input | Description | Data type | Default value |
|---|---|---|---|
|
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 | Integer | 1 |
PrValSta | Present value state Indicates whether scheduling for the current period is enabled. Scheduling is enabled when the property 'Present value' has not the value Null. | Boolean | 0 |
0 - Scheduling for the current period is disabled. | |||
NxVal | Next value Value of property 'Next value' for the referenced BACnet object. | Integer | 1 |
NxValSta | Next value state Indicates whether scheduling for the next period is enabled. Scheduling is enabled when the property 'Next value' has not the value Null. | Boolean | 0 |
0 – Scheduling for the next period is disabled. | |||
TiNxVal | Time to next value The value for property 'Time' to the next value of the referenced BACnet object. | Time | 0 ms |
Dstb | Disturbed [Dstb] indicates whether the referenced BACnet object is in fault. [Dstb] = 1 if: Otherwise [Dstb] = 0 | Boolean | 0 |
Rlb | Reliability | Integer | 0: No fault detected |
ErrCode | Error code indication | Integer | 0: No error |
= 0 - No error | |||