Xentara v2.0.4
User Manual
|
Skill data points are a special type of skill element that is used to represent a single input, output, or input/output that a skill supplies. Skill data points are usually children of another skill element, that represents a device, a microservice, a control logic, or some other components that actually produces or consumes the data. Some skills, however, allow top-levent skill data points, that are not children of a skill element, but can be placed directly inside the model or inside an element group.
A skill data point can represent a physical I/O, like an input on an input clamp, an I/O on an I/O card, or a value from a smart sensor or smart device. A skill data point can also represent a software skill data point, like an input or output of a PDU controller or an FMU. Generally, any data that a skill or a skill element produces or consumes can be represented by a skill data point.
Skill data points can be used directly, but more commonly, they are used as inputs or outputs to regular Xentara data points.
The input values of skill data points will generally be acquired in one of two ways:
The output values of skill data points can generally be written in one of two ways:
A specific skill data point may support one or both of these methods.
A skill data point that supports the input direction has at least the following attributes:
A skill data point that supports the output direction has at least the following writable attributes:
A skill data point that supports both input and output directions will have all of the listed attributes, and the value attribute will be both readable and writable.
Different types of skill data points may have additional attributes. Many skill data points that supports the input direction also have one or more of the following attributes:
Many skill data points that supports the output direction also have one or more of the following attributes:
A skill data point may also have any number of other attributes not listed here.
skill data points have at least the following members:
key | The skill data point’s primary key. |
name | The skill data point’s name. The name is the last point of the primary key. |
UUID | The unique UUID of the skill data point. |
type | The skill data point’s element type. |
category | The skill data point’s category. For skill data points, this is always “data point”. |
value | The value of the skill data point. This will be readable for skill data points that support the input direction, and writable for skill data points that support the output direction. For skill data points that support both direction, this attribute will be readable and writable. |
updateTime | The last time the value was updated. This attribute is only available for skill data points that support the input direction. |
quality | The quality of the current value. This attribute is only available for skill data points that support the input direction. |
skill data points can optionally also have the following members:
sourceTime | The time stamp provided by the data source. This attribute is only available for skill data points that support the input direction. |
changeTime | The last time the value changed. This attribute is only available for skill data points that support the input direction. |
writeTime | The last time the value was written. This attribute is only available for skill data points that support the output direction. |
error | The last read error, as a protocol specific error code. This attribute is only available for skill data points that support the input direction. |
writeError | The last write error, as a protocol specific error code. This attribute is only available for skill data points that support the output direction. |
changed | Triggered when any of the input data has changed. This event is only available for skill data points that support the input direction. |
value | Triggered when the input value has changed. This event is only available for skill data points that support the input direction. |
quality | Triggered when the quality of the input value has changed. This event is only available for skill data points that support the input direction. |
Each individual type of skill data point can have additional members. Most skill data points will have an attribute containing the I/O address, for example. Please refer to the documentation of the specific skill data point for details.