MTConnect 2.8 class

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.

Introduced in MTConnect 1.0.

Inheritance

Base classes, from the immediate parent to the root:

  1. Observation
  2. Observation
  3. Thing

Subclasses

Acceleration

ACCELERATION

AccumulatedTime

ACCUMULATED_TIME

Amperage

AMPERAGE

AmperageAC

AMPERAGE_AC

AmperageDC

AMPERAGE_DC

Angle

ANGLE

AngularAcceleration

ANGULAR_ACCELERATION

AngularDeceleration

ANGULAR_DECELERATION

AngularVelocity

ANGULAR_VELOCITY

AssetUpdateRate

ASSET_UPDATE_RATE

AxisFeedrate

AXIS_FEEDRATE

BatteryCapacity

BATTERY_CAPACITY

BatteryCharge

BATTERY_CHARGE

CapacityFluid

CAPACITY_FLUID

CapacitySpatial

CAPACITY_SPATIAL

ChargeRate

CHARGE_RATE

Concentration

CONCENTRATION

Conductivity

CONDUCTIVITY

CuttingSpeed

CUTTING_SPEED

Deceleration

DECELERATION

Density

DENSITY

DepositionAccelerationVolumetric

DEPOSITION_ACCELERATION_VOLUMETRIC

DepositionDensity

DEPOSITION_DENSITY

DepositionMass

DEPOSITION_MASS

DepositionRateVolumetric

DEPOSITION_RATE_VOLUMETRIC

DepositionVolume

DEPOSITION_VOLUME

DewPoint

DEW_POINT

Diameter

DIAMETER

DischargeRate

DISCHARGE_RATE

Displacement

DISPLACEMENT

DisplacementAngular

DISPLACEMENT_ANGULAR

Note: The displacement vector MAY be defined by the motion of the owning Component.

DisplacementLinear

DISPLACEMENT_LINEAR

Note: The displacement vector MAY be defined by the motion of the owning Component.

ElectricalEnergy

ELECTRICAL_ENERGY

Elevation

ELEVATION

EquipmentTimer

EQUIPMENT_TIMER

FillHeight

FILL_HEIGHT

FillLevel

FILL_LEVEL

Flow

FLOW

FollowingError

FOLLOWING_ERROR

FollowingErrorAngular

FOLLOWING_ERROR_ANGULAR

FollowingErrorLinear

FOLLOWING_ERROR_LINEAR

Frequency

FREQUENCY

GlobalPosition

GLOBAL_POSITION

GravitationalAcceleration

GRAVITATIONAL_ACCELERATION

GravitationalForce

GRAVITATIONAL_FORCE

Note: $$Mass\times GravitationalAcceleration$$

HumidityAbsolute

HUMIDITY_ABSOLUTE

HumidityRelative

HUMIDITY_RELATIVE

HumiditySpecific

HUMIDITY_SPECIFIC

Length

LENGTH

Level

LEVEL

LinearForce

LINEAR_FORCE

Load

LOAD

Mass

MASS

ObservationUpdateRate

OBSERVATION_UPDATE_RATE

Openness

OPENNESS

Orientation

ORIENTATION

PH

PH

ParticleCount

PARTICLE_COUNT

ParticleSize

PARTICLE_SIZE

PathFeedrate

PATH_FEEDRATE

PathFeedratePerRevolution

PATH_FEEDRATE_PER_REVOLUTION

PathPosition

PATH_POSITION

Example

<DataItem type='PATH_POSITION' id='pathposit1' units="MILLIMETER_3D"/>

XML Device Model Example for `PathPosition` using `MILLIMETER_3D` unit

<PathPosition>10.0 0.0 20.0</PathPosition>

XML Streams Response Example for `PathPosition` using `MILLIMETER_3D` unit

<DataItem type='PATH_POSITION' id='pathposit1' representation="DATA_SET">
  <Definition>
    <EntryDefinition key='X' units='MILLIMETER'>
    <EntryDefinition key='Y' units='MILLIMETER'>
    <EntryDefinition key='Z' units='MILLIMETER'>
  </Definition>
</DataItem>

XML Device Model Example for `PathPosition` to demonstrate multi-dimensional representation using `DataSet` representation

<PathPositionDataSet id='pathposit1'>
  <Entry key='X'>10.0</Entry>
  <Entry key='Z'>20.0</Entry>
</PathPositionDataSet>

XML Streams Response Example for `PathPosition` to demonstrate multi-dimensional representation using `DataSet` representation

Position

POSITION

PositionCartesian

POSITION_CARTESIAN

PowerFactor

POWER_FACTOR

Pressure

PRESSURE

PressureAbsolute

The force per unit area measured relative to a vacuum.

PressurizationRate

PRESSURIZATION_RATE

ProcessTimer

PROCESS_TIMER

Resistance

RESISTANCE

Resistivity

RESISTIVITY

RotaryVelocity

ROTARY_VELOCITY

SettlingError

SETTLING_ERROR

SettlingErrorAngular

SETTLING_ERROR_ANGULAR

SettlingErrorLinear

SETTLING_ERROR_LINEAR

SoundLevel

SOUND_LEVEL

SpindleSpeed

SPINDLE_SPEED

Strain

STRAIN

Temperature

TEMPERATURE

Temperature

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

Tension

TENSION

Tilt

TILT

Torque

TORQUE

Velocity

VELOCITY

Viscosity

VISCOSITY

VoltAmpere

VOLT_AMPERE

VoltAmpereReactive

VOLT_AMPERE_REACTIVE

Voltage

VOLTAGE

VoltageAC

VOLTAGE_AC

VoltageDC

VOLTAGE_DC

VolumeFluid

VOLUME_FLUID

VolumeSpatial

VOLUME_SPATIAL

WaterHardness

WATER_HARDNESS

Wattage

WATTAGE

XDimension

X_DIMENSION

YDimension

Y_DIMENSION

ZDimension

Z_DIMENSION

Properties

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

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
durationfloat0..11.2Sample

time-period over which the data was collected.

duration MUST be provided when the statistic is defined in the MTConnectDevices Response Document.

Access: public

resetTriggeredResetTriggeredEnum0..11.4Sample

identifies when a reported value has been reset and what has caused that reset to occur for those DataItem entities that may be periodically reset to an initial value.

resetTriggered MUST only be provided for the specific occurrence of a DataItem reported in the MTConnectStreams Response Document when the reset occurred.

Access: public

resultfloat0..11.0Sample

Access: public

Aggregation: composite

sampleRatefloat0..11.2Sample

rate at which successive samples of the value are recorded.

Description

sampleRate is expressed in terms of samples per second.

If sampleRate is smaller than one, the number can be represented as a decimal type floating-point number. For example, a rate of 1 per 10 seconds would be 0.1 sampleRate MUST be provided when representation defined in the MTConnectDevices Response Document is TIME_SERIES.

When representation is not TIME_SERIES, it MUST be assumed that the data reported is represented by a single value and sampleRate MUST NOT be reported in the MTConnectStreams Response Document.

Access: public

statisticStatisticEnum0..11.2Sample

type of statistical calculation defined by the statistic defined in the MTConnectDevices Response Document.

Access: public

typeSampleEnum11.0Sample

Access: public

Modifier: static

Aggregation: composite

unitsUnitEnum11.0Sample

Access: public

Modifier: static

Aggregation: composite

compositionIdstring0..11.4Observation (inherited)

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 (inherited)

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 (inherited)

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 (inherited)

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 (inherited)

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

made byengineered system1Observation (inherited)

Access: private

namestring0..11.0Observation (inherited)

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 (inherited)

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

Default: UNVERIFIABLE

Access: private

Aggregation: composite

sequenceinteger11.0Observation (inherited)

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 (inherited)

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 (inherited)

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

Access: public

Relationships

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

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
organizedByComponentStreamComponentStreamSample

Association: Samples

Access: private

madeByComponentComponent1Observation (inherited)

Association: Observations

Access: private

madeForDataItemDataItem1Observation (inherited)

Association: Observations

Access: private

Source: MTConnect Institute model documentation, version 2.8.

MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser

An unhandled error has occurred. Reload ๐Ÿ—™