Object value attributes
Mathematical expressions may contain references to individual attributes of complex object value. These attributes are placed after the object name, and they are separated from the name by back slash "\". The list of the attributes is shown in the following table.
Attribute name | Attribute value type | Meaning |
---|---|---|
TIM | Absolute time | Time of the last object value change. |
LIM | Integer | Value limit state [0-InLimit, 1-VL_Limit, 2-L_Limit, 3-H_Limit, 4-VH_Limit, 5-LimitsProblem]. Depending on the object value in relation to the defined limits, the attribute gains these values:
|
VLD | Boolean | Value validity (TRUE - valid value, FALSE - invalid value). |
ALF | Boolean | Indication of an active process alarm of the given object (the object has an active process alarm - TRUE, if not - FALSE). |
ALQ | Boolean | Acknowledgement indication of the active process alarm of the given object (the active alarm is not acknowledged, i.e. it is not acknowledged by an operator - TRUE or it is acknowledged, i.e. it is acknowledged by an operator - FALSE). |
ALT | Absolute time | Time of process alarm value assignment. |
ALV | Integer | Process alarm type. Depending on the evaluation of process alarms defined for the given object, the attribute gains the following values:
|
WEA | Boolean | Indication of a weak (suspicious) object value. Weak value is an value, that is not valid in the system, because all conditions of its validity are not still met. Object value is a weak one - TRUE, or object value is not a weak one - FALSE. |
NAK | Boolean | Acknowledgement indication of the last object value change. Object value change is not acknowledged - TRUE, if it is - FALSE. |
TRA | Boolean | Transient state indication of the object value. Transient state occurs, when the command to set a value was executed, but the backward reading did not verify the value setting. Object value is in Transient state - TRUE, if not - FALSE. |
DEF | Boolean | Default state indication of the object value. Default state occurs, when an I/O tag value gained by the communication process D2000 KOM is replaced by other value - a control object value, or it is set manually by an operator in process D2000 HI. Object value is in Default state - TRUE, if not - FALSE. |
MAN | Boolean | Manual state indication of the object value. Manual state is active if the object value can be controlled (i.e. providing that a user has sufficient access rights, or ESL script). Manual attribute may be set only for values of objects Remote tag, I/O tag, User variable, Structure variable item. |
FLX | Integer | All attributes. Integer number, individual flags in the order FLA FLB FLC ... FLP are assigned to its binary representation. For example, the value of 1 is corresponding the situation, when the value of the flag A is TRUE and values of all another flags are FALSE. |
FLA .. FLP | Boolean | Particular flag value of an object value [FLFlagName]. |
DIM | Integer | It returns the structure size. It is usable only for values of Structure type. |
HBJ | Integer | It returns the unique identifier of an object in D2000 system. Value is HBJ type, free convertible to Int type. |
CNX | Integer | It returns the index of a structure column. The attribute is applicable to the reference to a structure item: SV.Structure^Int\CNX returns the value 2. |
CNM | Text | It returns the name of a structure column. The attribute is applicable to the reference to a structure item: SV.Structure^Text\CNM returns the value "Text". |
CNR | Integer | It returns the count of structure columns. It is usable only for values of Structured variable type and Structure definition type. |
ALC | Boolean | Indication of an active critical alarm of the given object (the object has an active critical alarm - TRUE, if not - FALSE). |
0 komentárov