MTConnect 2.8 class

DataSet

Representation for an Observation composed of value(s) represented as a set of key-value pairs.

Description

DataSet for an Observation is defined by the associated representation as DATA_SET.

representation as DATA_SET MUST have category as SAMPLE or EVENT.

VariableDataSet shows the model for Variable (Event type) with a Representation type of DataSet.

VariableDataSet

Note: See DataSet Schema for XML schema.

DataSet reports multiple values as a set of key-value pair where each key MUST be unique. The representation of the key-value pair is an Entry. The value of each Entry MUST have the same constraints and format as the Observation defined for representation as VALUE for the DataItem type. (See Value).

The meaning of each Entry MAY be provided as the DataItem EntryDefinition.

DataSet Example shows Event Observation type Variable with a Representation type of DataSet.

DataSet Example

Note: See dataset-example for the XML representation of the same example.

Management of Data Set Observations

An agent MUST maintain the current state of the DataSet as described in Fundamentals.

One or more key-value pairs MAY be added, removed, or changed in an Observation. An agent MUST publish the changes to one or more key-value pairs as a single Observation. An agent MUST indicate the removal of a key-value pair from a DataSet using the removed as true.

When the discrete is false or is not present, an agent in response to a sample request MUST only publish the changed key-value pair since the previous state of the DataSet.

When the discrete attribute is true, an agent, in response to a sample request, MUST report all key-value pairs ignoring the state of the DataSet.

When an agent responds to a current request, the response document MUST include the full set of key-value pairs. If the current request includes an at query parameter, the agent MUST provide the set of key-value pairs at the sequence number.

When an Observation reset occurs, the DataSet MUST remove all key-value pairs making the set empty. The Observation MAY simultaneously populate the DataSet with new key-value pairs. The previous entries MUST NOT be included and MUST NOT have removed as true.

When the Observation is UNAVAILABLE the DataSet MUST remove all key-value pairs making the set empty.

Introduced in MTConnect 1.5.

Inheritance

Base classes, from the immediate parent to the root:

  1. Representation

Subclasses

AlarmLimitResult

Review the MTConnect definition and model details for AlarmLimitResult, an MTConnect class.

AxisDataSet

axis along or around which the Component moves relative to a coordinate system represented as a dataset.

ControlLimitResult

Review the MTConnect definition and model details for ControlLimitResult, an MTConnect class.

LocationAddressResult

Review the MTConnect definition and model details for LocationAddressResult, an MTConnect class.

LocationSpatialGeographicResult

Review the MTConnect definition and model details for LocationSpatialGeographicResult, an MTConnect class.

OriginDataSet

coordinates of the origin position of a coordinate system represented as a dataset.

RotationDataSet

rotations about X, Y, and Z axes are expressed in A, B, and C respectively within a 3-dimensional vector represented as a dataset.

ScaleDataSet

either a single multiplier applied to all three dimensions or a three space multiplier given in the X, Y, and Z dimensions in the coordinate system used for the SolidModel represented as a dataset.

SensorAttachmentResult
SpecificationLimitResult

Review the MTConnect definition and model details for SpecificationLimitResult, an MTConnect class.

TranslationDataSet

translations along X, Y, and Z axes are expressed as x,y, and z respectively within a 3-dimensional vector represented as a dataset.

Properties

Includes inherited members. Defined by identifies the class that declares each member.

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
countinteger11.5DataSet

number of Entry elements for the Observation.

Access: public

Parts

Includes inherited members. Defined by identifies the class that declares each member.

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
resultEntry0..*1.5DataSet

Association: Entry

Access: public

Aggregation: composite

Source: MTConnect Institute model documentation, version 2.8.

MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser

An unhandled error has occurred. Reload ๐Ÿ—™