[CMN_STA] Common state

Function block Common state reads the state related properties from a view node object.

CMN_STA reads the state related properties from a view node object.

Functioning

Compatible data points

  • System view [SysView]

Required properties

  • Last event notification propagation
  • Aggregation flags
  • Last event timestamp
  • Suppress event notification command
  • Acknowledged transitions
Pins

Input

Description

Data type

Default value
Value range

Ack

Acknowledge

Acknowledges all BACnet objects in the scope of the referenced view node object.

Boolean

0

Reset

Reset

Resets all BACnet objects in the scope of the referenced view node object.

Boolean

0

SupEvtNtf

Suppress event notification

Suppresses event notification for BACnet objects in the scope of the referenced view node object.

Note
If the same view node object is accessed by multiple function blocks in a control program, only one of these function blocks is allowed to have the pin interconnected.
The function is not available for BACnet third-party objects in the scope of the referenced view node object.

Boolean

0

BaObjRef

BA-Object reference
Link between function block and BACnet object.

Structure

---

BaObjRef
> DeviceID

Device identifier
[DeviceID] includes object type and object instance in one ID.
Identifies the device object: local or remote. A local device object can also be identified by value 16#3FFFFF.

Double Word

16#3FFFFF

BaObjRef
> ObjectID

Object identifier
[ObjectID] includes object type and object instance in one ID.
Identifies the object on a device.

Double Word

16#3FFFFF

BaObjRef
> ItemID

Item identifier
[ItemID] represents an index in a view node object that references the BACnet object.
[ObjectID] and [ItemID] together define an indirect reference to the BACnet object.
Value -1 indicates a direct interface.

Integer

-1

 

Output

Description

Data type

Default value
Value range

HiNewEvt

High priority, new event

Indicates if a transition to state Fault or to state OffNormal is detected for a BACnet object with high priority alarm within the scope of the referenced view node object.

The output is set to 1 for one cycle.

Note
The output is not set to 1 if BACnet objects with high priority alarm in state Fault or OffNormal exist at startup.

Boolean

0

HiEvtSta

High priority, event state

Indicates if BACnet objects with high priority alarm in state Fault or OffNormal exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with high priority alarm in state Fault or OffNormal exist in the scope.
1 - BACnet objects with high priority alarm in state Fault or OffNormal exist in the scope.

HiAckSta

High priority, acknowledge state

Indicates if BACnet objects with high priority alarm expecting an acknowledgement exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with high priority alarm expecting an acknowledgement exist in the scope.
1 - BACnet objects with high priority alarm expecting an acknowledgement exist in the scope.

HiRstSta

High priority, reset state

Indicates if BACnet objects with high priority alarm expecting a reset exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with high priority alarm expecting a reset exist in the scope.
1 - BACnet objects with high priority alarm expecting a reset exist in the scope.

MeNewEvt

Medium priority, new event

Indicates if a transition to state Fault or to state OffNormal is detected for a BACnet object with medium priority alarm within the scope of the referenced view node object.

The output is set to 1 for one cycle.

Note
The output is not set to 1 if BACnet objects with medium priority alarm in state Fault or OffNormal exist at startup.

Boolean

0

MeEvtSta

Medium priority, event state

Indicates if BACnet objects with medium priority alarm in state Fault or OffNormal exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with medium priority alarm in state Fault or OffNormal exist in the scope.
1 - BACnet objects with medium priority alarm in state Fault or OffNormal exist in the scope.

MeAckSta

Medium priority, acknowledge state

Indicates if BACnet objects with medium priority alarm expecting an acknowledgement exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with medium priority alarm expecting an acknowledgement exist in the scope.
1 - BACnet objects with medium priority alarm expecting an acknowledgement exist in the scope.

MeRstSta

Medium priority, reset state

Indicates if BACnet objects with medium priority alarm expecting a reset exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with medium priority alarm expecting a reset exist in the scope.
1 - BACnet objects with medium priority alarm expecting a reset exist in the scope.

LoNewEvt

Low priority, new event

Indicates if a transition to state Fault or to state OffNormal is detected for a BACnet object with low priority alarm within the scope of the referenced view node object.

The output is set to 1 for one cycle.

Note
The output is not set to 1 if BACnet objects with low priority alarm in state Fault or OffNormal exist at startup.

Boolean

0

LoEvtSta

Low priority, event state

Indicates if BACnet objects with low priority alarm in state Fault or OffNormal exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with low priority alarm in state Fault or OffNormal exist in the scope.
1 - BACnet objects with low priority alarm in state Fault or OffNormal exist in the scope.

LoAckSta

Low priority, acknowledge state

Indicates if BACnet objects with low priority alarm expecting an acknowledgement exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with low priority alarm expecting an acknowledgement exist in the scope.
1 - BACnet objects with low priority alarm expecting an acknowledgement exist in the scope.

LoRstSta

Low priority, reset state

Indicates if BACnet objects with low priority alarm expecting a reset exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with low priority alarm expecting a reset exist in the scope.
1 - BACnet objects with low priority alarm expecting a reset exist in the scope.

FltNewEvt

Fault only, new event

Indicates if a transition to state Fault is detected for a BACnet object without alarm within the scope of the referenced view node object.

The output is set to 1 for one cycle.

Note
The output is not set to 1 if BACnet objects without alarm in state Fault exist at startup.

Boolean

0

FltEvtSta

Fault only, event state

Indicates if BACnet objects without alarm in state Fault exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects without alarm in state Fault exist in the scope.
1 - BACnet objects without alarm in state Fault exist in the scope.

SupNtfSta

Suppress notification state

Indicates if BACnet objects with suppressed event notification exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects with suppressed event notification exist in the scope.
1 - BACnet objects with suppressed event notification exist in the scope.

OoSrvSta

Out of service state

Indicates if BACnet objects in state out of service exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects in state out of service exist in the scope.
1 - BACnet objects in state out of service exist in the scope.

OvrrSta

Overridden state

Indicates if BACnet objects in state overridden exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects in state overridden exist in the scope.
1 - BACnet objects in state overridden exist in the scope.

CmdSta

Command state

Indicates if BACnet objects in state commanded exist within the scope of the referenced view node object.

Boolean

0

0 - No BACnet objects in state commanded exist in the scope.
1 - BACnet objects in state commanded exist in the scope.

Dstb

Disturbed

[Dstb] indicates whether the referenced view node object is successfully accessed.
[Dstb] = 0, if:
View node object = Access successful
[Dstb] = 1, if:
View node object = Error during access

Boolean

0

ErrCode

Error code indication

Integer

0: No error

= 0 - No error
> 0 - XFB error codes