Object value attributes
Mathematical expressions may contain references to individual attributes of a complex object value. These attributes are placed after the object name, and they are separated from the name by backslash "\". 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 | Acknowledgment indication of the active process alarm of the given object (the active alarm is not acknowledged, i.e. it hasn't been acknowledged by an operator - TRUE or it is acknowledged, i.e. it was 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. A weak value is a value, that is not valid in the system, because all conditions of its validity are not still met. The object value is a weak one - TRUE, or the object value is not a weak one - FALSE. |
NAK | Boolean | Acknowledgment 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. A transient state occurs, when the command to set a value was executed, but the backward reading did not verify the setting of value. The 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 another value - a control object value, or it is set manually by an operator in process D2000 HI. The object value is in Default state - TRUE, if not - FALSE. |
MAN | Boolean | Manual state indication of the object value. The manual state is active if the object value can be controlled (i.e. providing that a user has sufficient access rights or ESL script). A 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 the values of all other flags are FALSE. |
FLA .. FLP | Boolean | A 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 the D2000 system. Value is HBJ type, free convertible to Int type. |
CNX | Integer | It returns the index of a structural 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 structural 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 structural 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