VALUE Item Attributes
From STX Wiki
< Programmer Guide | Shell Items | Value
Jump to navigationJump to search
Value Item | |||
---|---|---|---|
NEW | SET | ATTRIBUTES | MESSAGES |
Attribute-Id | Sub-Id | Value(s) and Description |
!INPUT | - | Mode of the input section of the value item:(0=notconnected, 1=connected, 2=connected & synchronized) |
!OUTPUT | - | Mode of the output section of the value item:(0=notconnected, 1=connected, 2=connected & synchronized) |
!TYPE | - | STRING |NUMBER |VECTOR |ARRAY
|
!DATA | - | Get data. The result is a string (!TYPE = STRING ), a number (!TYPE = NUMBER ), the vector length (!TYPE = VECTOR ) or the length and the count (!TYPE = ARRAY ). Note that there is no longer an !ODATA or !IDATA
|
!DATA | index | Get value of vector element index (>= 0). Only available if !TYPE = VECTOR .
|
!TIMER | - | 0 if timer is disabled and 1 if it is enabled |
!TIMEOUT | - | Value of timer increment (step) in milliseconds. |
!ELAPSED | - | Time difference between timer start and last timer message in milliseconds. |
!DIFFTIME | - | Time difference between time start and current time in milliseconds. |
!DATAONLY | - | 1 if the value object is in dataonly mode, otherwise 0 |
NROW | - | The number of rows |
NCOL | - | The number of columns |