MTConnect 2.8 class

Observation

abstract entity that provides telemetry data for a DataItem at a point in time.

Description

Observations

Note: See Observations Schema Diagrams for XML schema. The XML schema also shows differences in XML representation of certain MTConnect entities.

DeviceStream Example shows a complete example of DeviceStream for the Device shown in Device Information Model.

DeviceStream Example

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

This section provides semantic information for the Observation model.

Note: See Observations Schema Diagrams for XML schema of Observation types.

Observations made for DataItem

Component observes DataItem entities and creates Observation entities for the DataItem entities. See Observations.

Observation entities made by a Component are organized by a ComponentStream which is specifically created for that Component.

Observations made for DataItem Example

Note: See Observations made for DataItem Example for how XML representation of the same example is separated into MTConnectDevices Response Document and MTConnectStreams Response Document.

Observations made for DataItem Example is a subset of DeviceStream Example. It shows an example of the association between a DataItem Event type (EMERGENCY_STOP) and an Observation Event type (EmergencyStop). See Naming Convention for Observation types.

Observations made for DataItem Example also shows example of the association between a Component type (Controller) and related ComponentStream.

Naming Convention for Observation types

The name of an Observation type MUST derive from the associated type converted to Pascal-Case by removing underscores (_ ) and capitalizing each word. The conversion MUST NOT apply to the following abbreviated words: PH, AC, DC and URI. MTCONNECT MUST be converted to MTConnect. See Observations made for DataItem Example for an example.

The name of an Observation type reported in the MTConnectStreams Response Document is extended when the representation is used to further describe that DataItem in the MTConnectDevices Response Document. See Representations for more details.

Introduced in MTConnect 1.0.

Abstract class.

Inheritance

Base classes, from the immediate parent to the root:

  1. Observation
  2. Thing

Subclasses

Condition

Observation that provides the condition of a piece of equipment or a Component.

Description

It provides the information and data reported from a piece of equipment with category as CONDITION in the MTConnectDevices Response Document.

Condition Example shows Condition type examples for various state: Normal (dataItemId = path_system) and Warning (dataItemId = logic_cond). It also shows an example for when the state is not available (dataItemId = cont_system).

Condition Example

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

The following Value Properties of Condition lists the additional and/or updated attributes for Condition.

Event

Observation that is a discrete piece of information from a piece of equipment.

Description

It provides the information and data reported from a piece of equipment for those DataItem entities defined with category as EVENT in the MTConnectDevices Response Document.

Event Example shows Event type examples. It also shows an example for when the result is not available (dataItemId=d1_asset_rem).

Event Example

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

The following Value Properties of Event lists the additional and/or updated attributes for Event.

Sample

Observation that is continuously changing or analog data value.

Description

It provides the information and data reported from a piece of equipment for those DataItem entities defined with category as SAMPLE in the MTConnectDevices Response Document.

Sample MUST always be reported in float.

Sample Example shows Sample type examples. It also shows an example for when the result is not available (dataItemId=cspeed).

Sample Example

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

The following Value Properties of Sample lists the additional and/or updated attributes for Sample.

Properties

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

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
compositionIdstring0..11.4Observation

identifier of the Composition entity defined in the MTConnectDevices Response Document associated with the data reported for the Observation.

Access: public

Modifier: static

dataItemIdstring11.0Observation

unique identifier of the DataItem associated with this Observation.

dataItemId MUST match the associated id defined in the MTConnectDevices Response Document.

Access: public

Modifier: static

deprecatedboolean0..12.5Observation

indicates if the Observation has any property or controlled vocabulary that has been deprecated in the MTConnect Standard.

Default: false

Access: private

Aggregation: composite

extendedboolean0..12.5Observation

indicates if the Observation has any property or controlled vocabulary that has been extended and cannot be validated.

Default: false

Access: private

Aggregation: composite

isUnavailableboolean11.0Observation

when true, result is indeterminate.

Note 1 to entry: In XML, when isUnavailable is true, the XML CDATA of the Observation MUST be UNAVAILABLE.

<Execution dataItemId="..." ...>UNAVAILABLE</Execution>

Note 2 to entry: In JSON, when isUnavailable is true, the JSON value of the Observation MUST be UNAVAILABLE.

  "Execution" : [ { "dataItemId": "..." ..., "value": "UNAVAILABLE" } ]

Default: true

Access: public

Aggregation: composite

namestring0..11.0Observation

name of the DataItem associated with this Observation.

name MUST match the associated name defined in the MTConnectDevices Response Document.

Access: public

Modifier: static

qualityQualityEnum0..12.5Observation

indicates if the Observation is verifiable and is in accordance with the normative definitions within the MTConnect Standard.

Default: UNVERIFIABLE

Access: private

Aggregation: composite

resultstring0..11.0Observation

observation of the Observation entity.

The default value type for result is string.

Note 1 to entry: in XML the result is the CDATA of the Observation element.

<Execution dataItemId="..." ...>READY</Execution>

Note 2 to entry: in JSON the result is the member value of the Observation object.

"Execution" : [ { "dataItemId": "..." ..., "value": "READY" } ]

Access: public

Aggregation: composite

sequenceinteger11.0Observation

number representing the sequential position of an occurrence of an observation in the data buffer of an agent.

sequence MUST have a value represented as an unsigned 64-bit value from 1 to $$ 2^{64}-1 $$.

Access: public

subTypeDataItemSubTypeEnum0..11.2Observation

subtype of the DataItem associated with this Observation.

subType MUST match the associated subType defined in the MTConnectDevices Response Document.

Access: public

Modifier: static

timestampdateTime11.0Observation

most accurate time available to a piece of equipment that represents the point in time that the data reported was measured.

Access: public

typeDataItemTypeEnum11.0Observation

type of the DataItem associated with this Observation.

type MUST match the associated type defined in the MTConnectDevices Response Document.

Access: public

Modifier: static

Aggregation: composite

unitsUnitEnum0..11.0Observation

units of the DataItem associated with this Observation.

units MUST match the associated units defined in the MTConnectDevices Response Document.

Access: public

Modifier: static

Aggregation: composite

made byengineered system1Observation (inherited)

Access: private

Relationships

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

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
madeByComponentComponent1Observation

Association: Observations

Access: private

madeForDataItemDataItem1Observation

Association: Observations

Access: private

Part of

Source: MTConnect Institute model documentation, version 2.8.

MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser

An unhandled error has occurred. Reload ๐Ÿ—™