MTConnect Model Browser

Explore definitions from MTConnect 2.8, including classes, packages, enumerations, properties, parts, inheritance, and subclasses.

Browse the MTConnect term dictionary

Model packages

Asset Information Model

The MTConnect Standard supports a simple distributed storage mechanism that allows applications and equipment to share and exchange complex information models in a similar way to a distributed data store. The Asset Information Model associates each MTConnectAssets entity with a unique identifier and allows for some predefined mechanisms to find, create, request, update, and delete these electronic documents in a way that provides for consistency across multiple pieces of equipment.

The protocol provides a limited mechanism of accessing Assets using the following properties: assetId, asset type (element name of asset root), and the piece of equipment associated with the asset. These access strategies will provide the following services and answer the following questions: What assets are from a particular piece of equipment? What are the assets of a particular type? What asset is stored for a given assetId?

Although these mechanisms are provided, an agent should not be considered a data store or a system of reference. The agent is providing an ephemeral storage capability that will temporarily manage the data for applications wishing to communicate and manage data as needed by the various processes. An application cannot rely on an agent for long term persistence or durability since the agent is only required to temporarily store the asset data and may require another system to provide the source data upon initialization. An agent is always providing the best-known equipment centric view of the data given the limitations of that piece of equipment.

The MTConnect Standard has two data item types to support change notification when an Asset is added, updated or removed. AssetChanged states the assetId of the Asset that has been added or updated. AssetRemoved states the assetId of the Asset that has been removed. See Observation Information Model for more details.

Assets Appendix

XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

Assets Schema Diagrams

See Asset element in MTConnectAssets schema.

See Description element in MTConnectAssets schema.

CuttingTool Schema Diagrams

See CuttingTool element in MTConnectAssets schema.

See CuttingToolDefinition element in MTConnectAssets schema.

See CuttingToolArchetypeReference element in MTConnectAssets schema.

CuttingToolLifeCycle Schema Diagrams

See CuttingToolLifeCycle element in MTConnectAssets schema.

See CutterStatus element in MTConnectAssets schema.

See Location element in MTConnectAssets schema.

See Measurement element in MTConnectAssets schema.

See ProcessFeedRate element in MTConnectAssets schema.

See ProcessSpindleSpeed element in MTConnectAssets schema.

See ReconditionCount element in MTConnectAssets schema.

See ToolLife element in MTConnectAssets schema.

CuttingItem Schema Diagrams

See CuttingItems element in MTConnectAssets schema.

See CuttingItem element in MTConnectAssets schema.

See ItemLife element in MTConnectAssets schema.

ISO 13399 Diagrams

Measurement Diagrams

Cutting Tool Measurement 3

Cutting Tool Measurement 4

Cutting Tool Measurement 5

Cutting Tool Measurement 6

Cutting Tool Measurement 7

Cutting Tool Measurement 8

Cutting Tool Examples

Shell Mill

Shell Mill Side View

Indexable Insert Measurements

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets 
xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" 
  assetBufferSize="1024" sender="localhost"
  assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
  <CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240" 
  timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1" 
  manufacturers="KMT,Parlec">
    <CuttingToolLifeCycle>
    <CutterStatus><Status>NEW</Status></CutterStatus>
    <ProcessSpindleSpeed maximum="13300" 
    nominal="605">10000</ProcessSpindleSpeed>
    <ProcessFeedRate
    nominal="9.22">9.22</ProcessSpindleSpeed>
    <ConnectionCodeMachineSide>CV50
    </ConnectionCodeMachineSide>
    <Measurements>
      <BodyDiameterMax code="BDX">73.25
      </BodyDiameterMax>
      <OverallToolLength nominal="222.25" 
        minimum="221.996" maximum="222.504" 
        code="OAL">222.25</OverallToolLength>
      <UsableLengthMax code="LUX" nominal="82.55">82.55
      </UsableLengthMax>
      <CuttingDiameterMax code="DC" nominal="76.2" 
        maximum="76.213" minimum="76.187">76.2
      </CuttingDiameterMax>
      <BodyLengthMax code="LF" nominal="120.65" 
        maximum="120.904" minimum="120.404">120.65
      </BodyLengthMax>
      <DepthOfCutMax code="APMX" 
      nominal="60.96">60.95</DepthOfCutMax>
      <FlangeDiameterMax code="DF" 
        nominal="98.425">98.425</FlangeDiameterMax>
    </Measurements>
    <CuttingItems count="24">
      <CuttingItem indices="1-24" itemId="SDET43PDER8GB" 
        manufacturers="KMT" grade="KC725M">
        <Measurements>
          <CuttingEdgeLength code="L" nominal="12.7" 
            minimum="12.675" maximum="12.725">12.7
          </CuttingEdgeLength>
        <WiperEdgeLength code="BS" nominal=
          "2.56">2.56</WiperEdgeLength>
        <IncribedCircleDiameter code="IC"
          nominal="12.7">12.7
        </IncribedCircleDiameter>
        <CornerRadius code="RE" nominal="0.8">
          0.8</CornerRadius>
      </Measurements>
      </CuttingItem>
    </CuttingItems>
    </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Indexable Insert Measurements

Step Drill

Step Mill Side View

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-
  11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1 " toolId="B732A08500HP" 
    timestamp="2011-05-11T13:55:22" assetId="B732A08500HP " 
    manufacturers="KMT,Parlec">
      <Description>
        Step Drill - KMT, B732A08500HP Grade KC7315
        Adapter - Parlec, C50-M12SF300-6
      </Description>
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <ProcessSpindleSpeed nominal="5893">5893</ProcessSpindleSpeed>
        <ProcessFeedRate nominal="2.5">2.5</ProcessFeedRate>
        <ConnectionCodeMachineSide>CV50 Taper</ConnectionCodeMachineSide>
        <Measurements>
          <BodyDiameterMax code="BDX">31.8</BodyDiameterMax>
          <BodyLengthMax code="LBX" nominal="120.825" maximum="126.325" 
          minimum="115.325">120.825</BodyLengthMax>
          <ProtrudingLength code="LPR" nominal="155.75" maximum="161.25" 
          minimum="150.26">155.75</ProtrudingLength>
          <FlangeDiameterMax code="DF" 
          nominal="98.425">98.425</FlangeDiameterMax>
          <OverallToolLength nominal="257.35" minimum="251.85" 
          maximum="262.85" code="OAL">257.35</OverallToolLength>
        </Measurements>
        <CuttingItems count="2">
          <CuttingItem indices="1" manufacturers="KMT" grade="KC7315">>
            <Measurements>
              <CuttingDiameter code="DC1" nominal="8.5" maximum="8.521" 
              minimum="8.506">8.5135</CuttingDiameter>
              <StepIncludedAngle code="STA1" nominal="90" maximum="91" 
              minimum="89">90</StepIncludedAngle>
              <FunctionalLength code="LF1" nominal="154.286" 
              minimum="148.786" 
              maximum="159.786">154.286</FunctionalLength>
              <StepDiameterLength code="SDL1" 
              nominal="9">9</StepDiameterLength>
              <PointAngle code="SIG" nominal="135" minimum="133" 
              maximum="137">135</PointAngle>
            </Measurements>
          </CuttingItem>
          <CuttingItem indices="2" manufacturers="KMT" grade="KC7315">>
            <Measurements>
              <CuttingDiameter code="DC2" nominal="12" maximum="12.011" 
              minimum="12">12</CuttingDiameter>
              <FunctionalLength code="LF2" nominal="122.493" 
              maximum="127.993" 
              minimum="116.993">122.493</FunctionalLength>
              <StepDiameterLength code="SDL2" 
              nominal="9">9</StepDiameterLength>
            </Measurements>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Step Mill Side View

Shell Mill with Individual Loci

Shell Mill with Explicate Loci

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240" 
    timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1" 
    manufacturers="KMT,Parlec">
      <Description>Keyway: 55 degrees</Description>
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <Measurements>
          <UsableLengthMax code="LUX" 
          nominal="82.55">82.55</UsableLengthMax>
          <CuttingDiameterMax code="DC" nominal="76.2" maximum="76.213" 
          minimum="76.187">76.2</CuttingDiameterMax>
          <DepthOfCutMax code="APMX" nominal="60.96">60.95</DepthOfCutMax>
        </Measurements>
        <CuttingItems count="24">
          <CuttingItem indices="1" itemId="SDET43PDER8GB" 
          manufacturers="KMT">
            <Locus>FLUTE: 1, ROW: 1</Locus>
            <Measurements>
             <DriveAngle code="DRVA" nominal="55">55</DriveAngle>
           </Measurements>
          </CuttingItem>
          <CuttingItem indices="2-24" itemId="SDET43PDER8GB" 
          manufacturers="KMT">
            <Locus>FLUTE: 2-4, ROW: 1; FLUTE: 1-4, ROW 2-6</Locus>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Shell Mill with Explicate Loci

Drill with Individual Loci

Step Drill with Explicate Loci

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1" toolId="KSEM0781LD" 
    timestamp="2011-05-11T13:55:22" assetId="KSEM0781LD.1" manufacturers="KMT">
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <ConnectionCodeMachineSide>HSK63A</ConnectionCodeMachineSide>
        <Measurements>
          <BodyDiameterMax code="BDX">52.75</BodyDiameterMax>
          <OverallToolLength nominal="172.29" 
          code="OAL">172.29</OverallToolLength>
          <UsableLengthMax code="LUX" nominal="49">49</UsableLengthMax>
          <FlangeDiameterMax code="DF" 
          nominal="62.94">62.94</FlangeDiameterMax>
        </Measurements>
        <CuttingItems count="3">
          <CuttingItem indices="1" itemId="KSEM0781LD" manufacturers="KMT" 
          grade="KC7015">
            <Locus>FLUTE: 1, ROW: 1</Locus>
            <Measurements>
         <FunctionalLength code="LF1" nominal="154.42">154.42</FunctionalLength>
         <CuttingDiameter code="DC1" nominal="19.844">19.844</CuttingDiameter>
         <PointAngle code="SIG" nominal="140">140</PointAngle>
         <ToolCuttingEdgeAngle code="KAPR1" nominal="45">45</ToolCuttingEdgeAngle>
         <StepDiameterLength code="SLD1" nominal="39.8">39.8</StepDiameterLength>
            </Measurements>
          </CuttingItem>
          <CuttingItem indices="2-3" itemId="TPMT-21.52-FP" 
          manufacturers="KMT" grade="KCM15">
            <Locus>FLUTE: 1-2, ROW: 2</Locus>
            <Measurements>
         <FunctionalLength code="LF2" nominal="112.9">119.2</FunctionalLength>
         <CuttingDiameter code="DC2" nominal="31">31</CuttingDiameter>
            </Measurements>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Step Drill with Explicate Loci

Shell Mill with Different Inserts on First Row

Shell Mill with Different Inserts on First Row

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1" toolId="XXX" timestamp="2011-05-11T13:55:22" 
    assetId="XXX.1" manufacturers="KMT">
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <Measurements>
          <DepthOfCutMax code="APMX" nominal="47.8">47.8</DepthOfCutMax>
          <CuttingDiameterMax code="DC" 
          nominal="50.8">50.8</CuttingDiameterMax>
          <UsableLengthMax code="LUX" 
          nominal="78.74">78.74</UsableLengthMax>
        </Measurements>
        <CuttingItems count="9">
          <CuttingItem indices="1-3" itemId="EDPT180564PDER-LD" 
          manufacturers="KMT">
            <Locus>FLUTE: 1-3, ROW: 1</Locus>
            <Measurements>
              <CornerRadius code="RE" nominal="6.25">6.35</CornerRadius>
            </Measurements>
          </CuttingItem>
          <CuttingItem indices="4-9" itemId="EDPT180508PDER-LD" 
          manufacturers="KMT">
            <Locus>FLANGE: 1-4, ROW: 2-3</Locus>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Shell Mill with Different Inserts on First Row

File Schema Diagrams

See File element in MTConnectAssets schema.

RawMaterial Schema Diagrams

See RawMaterial element in MTConnectAssets schema.

QIFDocumentWrapper Schema Diagrams

See QIFDocumentWrapper element in MTConnectAssets schema.

DataTypes
Development Process

Review the MTConnect definition and model details for Development Process, an MTConnect package.

Device Information Model

The Device Information Model provides a representation of the physical and logical configuration for a piece of equipment used for a manufacturing process or for any other purpose. It also provides the definition of data that may be reported by that equipment.

Using information defined in the Device Information Model, a software application can determine the configuration and reporting capabilities of a piece of equipment. To do this, the software application issues a probe request (defined in Fundamentals) to an agent associated with a piece of equipment. An agent responds to the probe request with an MTConnectDevices Response Document that contains information describing both the physical and logical structure of the piece of equipment and a detailed description of each Observation that can be reported by the agent associated with the piece of equipment. This information allows the client software application to interpret the document and to extract the data with the same meaning, value, and context that it had at its original source.

The MTConnectDevices Response Document is comprised of two sections: Header and Devices.

The Header section contains protocol related information as defined in Fundamentals.

The Devices section of the MTConnectDevices Response Document contains a Device entity for each piece of equipment described in the document. Each Device is comprised of two primary types of entities - Components and DataItems.

Components organize information that represents the physical and logical parts and sub-parts of a piece of equipment (See Components for more details).

DataItems describe data that can be reported by a piece of equipment. In the Device Information Model, DataItems are defined as DataItem entities (See DataItem Types).

The Components and DataItems in the MTConnectDevices Response Document provide information representing the physical and logical structure for a piece of equipment and the types of data that the piece of equipment can report relative to that structure. The MTConnectDevices Response Document does not contain values for the data types reported by the piece of equipment. The MTConnectStreams Response Document defined in Observation Information Model provides the data values that are reported by the piece of equipment.

Note: The MTConnect Standard also defines the information model for assets. An asset is something that is used in the manufacturing process, but is not permanently associated with a single piece of equipment, can be removed from the piece of equipment without compromising its function, and can be associated with other pieces of equipment during its lifecycle. See Asset Information Model for more details on assets.

Devices Appendix

XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

Components Schema Diagrams

See Components element in MTConnectDevices schema.

See Description element in MTConnectDevices schema.

DataItems Schema Diagrams

See DataItems element in MTConnectDevices schema.

See Source element in MTConnectDevices schema.

See Constraints element in MTConnectDevices schema.

See Filter element in MTConnectDevices schema.

See Definition element in MTConnectDevices schema.

References Schema Diagrams

See References element in MTConnectDevices schema.

See ComponentRef element in MTConnectDevices schema.

See DataItemRef element in MTConnectDevices schema.

Configuration Schema Diagrams

See Configuration element in MTConnectDevices schema.

See CoordinateSystem element in MTConnectDevices schema.

See Motion element in MTConnectDevices schema.

See Relationships element in MTConnectDevices schema.

See ComponentRelationship element in MTConnectDevices schema.

See DeviceRelationship element in MTConnectDevices schema.

See SensorConfiguration element in MTConnectDevices schema.

See SolidModel element in MTConnectDevices schema.

See Specifications element in MTConnectDevices schema.

See ProcessSpecification element in MTConnectDevices schema.

XML Examples

Device Entity Hierarchy Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Components>
    <Axes id="a" name="base">
    <Components>
      <Linear id="x" name="X"/>
      <Linear id="y" name="Y"/>
      <Linear id="z" name="Z"/>
      <Rotary id="ar" name="B"/>
      <Linear id="w" name="Z3" nativeName="W"/>
      <Rotary id="c" name="C"/>
    </Components>
    </Axes>
    <Controller id="cont" name="controller">
    <Components>
      <Path id="path1" name="path"/>
    </Components>
    </Controller>
    <Door id="door1" name="door"/>
    <Systems id="systems" name="systems">
    <Components>
      <WorkEnvelope id="we1" name="workenv">
      <Compositions>
        <Composition type="WORKPIECE" id="wp"/>
        <Composition type="TABLE" id="tbl"/>
      </Compositions>
      </WorkEnvelope>
      <Electric id="elec" name="electric"/>
      <Hydraulic id="hydraulic" name="hydraulic"/>
      <Coolant id="coolant" name="coolant"/>
      <Pneumatic id="pneumatic" name="pneumatic"/>
      <Lubrication id="lubrication" name="lubrication"/>
    </Components>
    </Systems>
    <Auxiliaries id="Aux" name="auxiliaries">
    <Components>
      <Environmental id="room" name="environmental"/>
    </Components>
    </Auxiliaries>
    <Resources id="resources" name="resources">
    <Components>
      <Personnel id="personnel" name="personnel"/>
      <Materials id="materials" name="materials">
      <Components>
        <Stock id="procstock" name="stock"/>
      </Components>
      <Materials/>
    </Components> 
    </Resources>
    </Components>
  </Device>
</Devices>

Device Entity Hierarchy Example

Component Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
  <DataItems>
    <DataItem category="EVENT" id="avail" name="avail" type="AVAILABILITY"/>
    <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
    <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
  </DataItems>
    <Components>
    <Controller id="cont" name="controller">
      <DataItems>
      <DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
      <DataItem category="CONDITION" id="logic_cond" type="LOGIC_PROGRAM"/>
      <DataItem category="CONDITION" id="cont_system" type="SYSTEM"/>
      <DataItem category="SAMPLE" id="cut_time" type="ACCUMULATED_TIME" units="SECOND"/>
    </DataItems>
    <Components>
      <Path id="path1" name="path">
        <DataItems>
        <DataItem category="EVENT" id="execution" name="execution" type="EXECUTION"/>
        <DataItem category="SAMPLE" id="cspeed" subType="ACTUAL" type="CUTTING_SPEED" units="MILLIMETER/SECOND"/>
        <DataItem category="CONDITION" id="path_system" type="SYSTEM"/>
        <DataItem category="EVENT" id="cvars" representation="DATA_SET" type="VARIABLE"/>
        <DataItem category="EVENT" id="woffset" representation="TABLE" type="WORK_OFFSET"/>
      </DataItems>
      </Path>
    </Components>
    </Controller>
  </Components>
  </Device>
</Devices>

Component Example

Component with Compositions Example

In XML, Composition types are represented differently than Component types. For Component types, the element name is Pascal Case of the Component type name. Whereas, the element name for all Compositiontypes is Composition and the type is defined by the type attribute of the element (see example below).

<WorkEnvelope id="we1" name="workenv">
  <DataItems>
    <DataItem category="CONDITION" id="hardware1" name="hardware1" type="HARDWARE"/>
  </DataItems>
  <Compositions>
  <Composition type="WORKPIECE" id="wp"/>
  <Composition type="TABLE" id="tbl"/>
  </Compositions>
</WorkEnvelope>

Component with Compositions Example

CoordinateSystem Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
    <DataItems>
      <DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
      <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
      <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
    </DataItems>
    <Configuration>
      <CoordinateSystems>
        <CoordinateSystem id="base" type="BASE">
          <Origin>0 0 0</Origin>
        </CoordinateSystem>
        <CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
          <Transformation>
            <Translation>210 275 1430</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
        <CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
          <Transformation>
            <Translation>0 0 0</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
      </CoordinateSystems>
    </Configuration>
  </Device>
</Devices>

CoordinateSystem Example

Motion Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
    <DataItems>
      <DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
      <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
      <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
    </DataItems>
    <Configuration>
      <CoordinateSystems>
        <CoordinateSystem id="base" type="BASE">
          <Origin>0 0 0</Origin>
        </CoordinateSystem>
        <CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
          <Transformation>
            <Translation>210 275 1430</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
        <CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
          <Transformation>
            <Translation>0 0 0</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
      </CoordinateSystems>
    </Configuration>
    <Components>
      <Axes id="a" name="base">
        <Components>
          <Linear id="x" name="X">
            <Configuration>
              <Motion id="xmotion" coordinateSystemIdRef="machcoord" type="PRISMATIC" actuation="DIRECT">
                <Transformation>
                  <Translaton>300 915 590</Translaton>
                  <Rotation>0 0 0</Rotation>
                </Transformation>
                <Axis>1.0 0 0</Axis>
              </Motion>
            </Configuration>
          </Linear>
          <DataItems>
            <DataItem id="xtravel" type="SYSTEM" category="CONDITION">
          </DataItems>
        </Components>
      </Axes>
    </Components>
  </Device>
</Devices>

Motion Example

Relationship Example

<Components>
  <Axes id="a" name="base">
    <Components>
      <Linear id="x" name="X">
        <Configuration>        
          <Relationships>
            <ComponentRelationship id="xpar" type="PARENT" idRef="we1"/>
          </Relationships>
        </Configuration>
      </Linear>
      <DataItems>
        <DataItem id="xtravel" type="SYSTEM" category="CONDITION">
      </DataItems>
    </Components>
  </Axes>
  <Systems id="systems" name="systems">
    <Components>
      <WorkEnvelope id="we1" name="workenv">
        <Compositions>
          <Composition type="WORKPIECE" id="wp"/>
          <Composition type="TABLE" id="tbl"/>
        </Compositions>
        <DataItems>
          <DataItem id="we1cond" type="SYSTEM" category="CONDITION">
        </DataItems>
      </WorkEnvelope>
    </Components>
  </Systems>
</Components>

Relationship Example

SolidModel Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
    <DataItems>
      <DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
      <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
      <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
    </DataItems>
    <Configuration>
      <CoordinateSystems>
        <CoordinateSystem id="base" type="BASE">
          <Origin>0 0 0</Origin>
        </CoordinateSystem>
        <CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
          <Transformation>
            <Translation>210 275 1430</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
        <CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
          <Transformation>
            <Translation>0 0 0</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
      </CoordinateSystems>
    </Configuration>
    <Components>
      <Structures id="struct">
        <Configuration>
          <SolidModel id="model" mediaType="OBJ" href="/objs/mazak.obj" coordinateSystemIdRef="base">
            <Transformation>
              <Translation>0 860 0</Translation>
              <Rotation>-90 0 0</Rotation>
            </Transformation>
            <Scale>0.001 0.001 0.001</Scale>
          </SolidModel>
        </Configuration>
        <Components>
          <Structure id="xaxis" name="X_AXIS">
            <Configuration>
              <SolidModel id="x_model" mediaType="OBJ" itemRef="xaxis" solidModelIdRef="model" coordinateSystemIdRef="base"/>
            </Configuration>
            <DataItems>
              <DataItem type="SYSTEM" category="CONDITION" id="struct_cond"/>
            </DataItems>
          </Structure>
        </Components>
      </Structures>
    </Components>
  </Device>
</Devices>

SolidModel Example

Specification Example

<Components>
  <Axes id="a" name="base">
    <Components>
      <Linear id="x" name="X">
        <Configuration>
          <Specifications>
            <Specification id="spec001" type="LENGTH" units="MILLIMETER">
              <Nominal>650</Nominal>
            </Specification>
            <Specification id="spec002" type="LINEAR_FORCE" units="NEWTON">
              <Maximum>5200</Maximum>
              <Minimum>0</Minimum>
            </Specification>
          </Specifications>
        </Configuration>
        <DataItems>
          <DataItem id="xtravel" type="SYSTEM" category="CONDITION">
        </DataItems>
      </Linear>
    </Components>
  </Axes>
</Components>

Specification Example

Example of sensing element provided as data item associated with a Component

<Components>
  <Axes id="a" name="base"
    <Components>
      <Rotary id="c" name="C">
        <DataItems>
          <DataItem type="TEMPERATURE" id="servotemp4"
            category="SAMPLE" nativeUnits="CELSIUS"
            compositionId="Bmotor" units="CELSIUS"/>
          </DataItems>
      </Rotary>
    </Components>
  </Axes>
</Components>

Example of sensing element provided as data item associated with a Component

Example of Sensor for rotary axis

<Components>
  <Axes id="a" name="base"
    <Components>
      <Rotary id="ar" name="B">
        <Components>
          <Sensor id="spdlm" name="Spindlemonitor">
            <DataItems>
              <DataItem type="DISPLACEMENT" id="cvib"
                category="SAMPLE" name="Svib" 
                units="MILLIMETER"/>
            </DataItems>
          </Sensor >
        <Components>
      </Rotary>
    </Components>
  </Axes>
</Components>

Example of Sensor for rotary axis

Example of sensor unit with sensing element

<Axes id="a" name="base"
  <Components>
  <Sensor id="sens1" name="Sensorunit">
    <DataItems>
    <DataItem type="TEMPERATURE" id="sentemp"
      category="SAMPLE" name="Sensortemp" 
      units="CELSIUS"/> 
    </DataItems>
  </Sensor >
  <Linear id="x" name="X">
    <DataItems>
    <DataItem type="DISPLACEMENT" id="xvib"
      category="SAMPLE" name="xvib" 
      units="MILLIMETER">
      <Source componentId="sens1"/>
    </DataItem>
    </DataItems>
  </Rotary>
  <Linear id="y" name="Y">
    <DataItems>
    <DataItem type="DISPLACEMENT" id="yvib" 
      category="SAMPLE" name="yvib" 
      units="MILLIMETER">
      <Source componentId="sens1"/>
    </DataItem>
    </DataItems>
  </Linear>
  <Components>
</Axes>

Example of sensor unit with sensing element

Example of configuration data for Sensor

<Sensor id="sensor" name="sensor">
  <Configuration>
    <SensorConfiguration>
      <FirmwareVersion>2.02</FirmwareVersion>
      <CalibrationDate>2010-05-16</CalibrationDate>
      <NextCalibrationDate>2010-05-16</NextCalibrationDate>
      <CalibrationInitials>WS</CalibrationInitials>
      <Channels>
        <Channel number="1" name="A/D:1">
          <Description>A/D With Thermister</Description>
        </Channel>
      </Channels>
    </SensorConfiguration>
  </Configuration>
  <DataItems>
    <DataItem category="CONDITION" id="sensorc" 
      name="sensorc" type="SYSTEM" />
    <DataItem category="SAMPLE" id="senv" name="sensorc"
      type="VOLTAGE_DC" units="VOLT" subType="ACTUAL" />
  </DataItems>
</Sensor>

Example of configuration data for Sensor

Fundamentals

The MTConnect Standard defines the normative information model and protocol for retrieving information from manufacturing equipment. This document specifies the agent behavior and protocol.

Agent

The MTConnect Standard specifies the minimum functionality of the agent. The functionality is as follows:

  • Provides store and forward messaging middleware service.
  • Provides key-value information storage and asset retrieval service.
  • Implements the REST API for the MTConnect Standard (See REST Protocol).
    • Device metadata.
    • observations collected by the agent.
    • assets collected by the agent.

There are three types of information stored by an agent that MAY be published in a response document. These are as follows:

Agent Instance ID

The agent MUST set the instanceId to a unique value whenever the sequence number in the agent is initialized to 1. (see Sequence Numbers and Persistence and Recovery below).

Storage of Equipment Metadata

An agent MUST be capable of publishing equipment metadata for the agent as specified in Device Information Model.

Storage of Streaming Data

The agent MAY implement a buffer with a fixed number of observations. If the bufferSize is fixed, the agent MUST store observations using a first-in-first-out pattern. The agent will remove the oldest observation when the buffer is full and a new observation arrives.

Data Storage in Buffer

In first-in-first-out-buffer-management, the maximum number of observations that can be stored in the buffer of the agent is 8. The bufferSize in the header reports the maximum number of observations. This example illustrates that when the buffer fills up, the oldest piece of data falls out the other end.

First In First Out Buffer Management

Note: As an implementation suggestion, the buffer should be sized large enough to provide a continuous stream of observations. The implementer should also consider the impact of a temporary loss of communications when determining the size for the buffer. A larger buffer will allow more time to reconnect to an agent without losing data.

Sequence Numbers

In an agent, each occurrence of an observation in the buffer will be assigned a monotonically increasing unsigned 64-bit integer (sequence number) when it arrives. The first sequence number MUST be 1.

The sequence number for each observation MUST be unique for an instance of an agent identified by an instanceId.

instanceid-and-sequence illustrates the changing of the instanceId when an agent resets the sequence number to 1.

instanceId sequence
5 234556 234
235
236
237
238
2 Agent Stops and Restarts
5 234557 1
2
3
4
5

identifying-the-range-of-data-with-firstsequence-and-lastsequence shows two additional pieces of information defined for an agent:

  • firstSequence -- the oldest observation in the buffer. The agent removes this observation when it receives the next observation

  • lastSequence -- the newest observation in the buffer

firstSequence and lastSequence provide the range of values for the REST API requests.

Indentifying the range of data with firstSequence and lastSequence

The agent MUST begin evaluating observations with sample request's from parameter. Also, the agent MUST include a maximum number of observations given by the count parameter in the response document.

In identifying-the-range-of-data-with-from-and-count, the request specifies the observations start at sequence number 15 (from) and includes a total of three items (count).

Identifying the range of data with from and count

nextSequence header property has the sequence number of the next observation in the buffer for subsequent sample requests providing a contiguous set of observations. In the example in identifying-the-range-of-data-with-from-and-count, the next sequence number (nextSequence) will be 18.

As shown in identifying-the-range-of-data-with-nextsequence-and-lastsequence, the combination of from and count defined by the request indicates a sequence number for data that is beyond that which is currently in the buffer. In this case, nextSequence is set to a value of $$ lastSequence + 1 $$.

Indentifying the range of data with nextSequence and lastSequence

Observation Buffer

An observation has four pieces of information as follows:

  1. sequence number associated with each observation - sequence.
  2. The timestamp the observation was made. .
  3. A reference to the dataitemid from the Device Information Model.
  4. The value of the observation.

data-storage-concept is an example demonstrating the concept of how data may be stored in an agent:

sequence timestamp dataItemId result
101 2016-12-13T09:44:00.2221Z AVAIL-28277 UNAVAILABLE
102 2016-12-13T09:54:00.3839Z AVAIL-28277 AVAILABLE
103 2016-12-13T10:00:00.0594Z POS-Y-28277 25.348
104 2016-12-13T10:00:00.0594Z POS-Z-28277 13.23
105 2016-12-13T10:00:03.2839Z SS-28277 0
106 2016-12-13T10:00:03.2839Z POS-X-28277 11.195
107 2016-12-13T10:00:03.2839Z POS-Y-28277 24.938
108 2016-12-13T10:01:37.8594Z POS-Z-28277 1.143
109 2016-12-13T10:02:03.2617Z SS-28277 1002

Timestamp

observations MUST have a timestamp giving the most accurate time that the observation occurred.

The timezone of the timestamp MUST be UTC (Coordinated Universal Time) and represented using ISO 8601 format: e.g., "2010-04-01T21:22:43Z".

Applications SHOULD use the observation's timestamp for ordering as opposed to sequence number.

All observations occurring at the same time MUST have the same timestamp.

Recording Occurrences of Streaming Data

The agent MUST only place observations in the buffer if the data has changed from the previous observation for the same DataItem.

The agent MUST place every observation in the buffer, without checking for changes, in the following cases:

  • The discrete is true.
  • The representation is DISCRETE.
  • The representation is TIME_SERIES.

Maintaining Last Value for Data Entities

An agent MUST retain the most recent observation associated with each DataItem, even if the observation is no longer in the buffer. This function supports the current request functionality.

Unavailability of Data

An observation with the value of UNAVAILABLE indicates the value is indeterminate.

The agent MUST initialize every DataItem, unless it has a constant value (see below), with an observation with the value of UNAVAILABLE. Aditionally, whenever the data source is unreachable, every DataItem associated with the data source must have an observation with the value of UNAVAILABLE and timestamp when the connection was lost.

An DataItem that is constrained to a constant value, as defined in Device Information Model, MUST only have an observation with the constant value and MUST NOT be set to UNAVAILABLE.

Persistence and Recovery

The agent MAY have a fixed size buffer and the buffer MAY be ephemeral.

If the buffer is recoverable, the agent MUST NOT change the instanceId and MUST NOT set the sequence number to 1. The sequence number MUST be one greater than the maximum value of the recovered observations. $$ max(sequence) + 1 $$

Storage of MTConnect Assets

An agent MAY only retain a limited number of Assets in the asset buffer. The Assets are stored in first-in-first-out method where the oldest Asset is removed when the asset buffer is full and a new Asset arrives.

first-in-first-out-asset-buffer-management illustrates the oldest Asset being removed from the asset buffer when a new Asset is added and the asset buffer is full:

First In First Out Asset Buffer Management

Assets are indexed by assetId. In the case of Assets, relationship-between-assetid-and-stored-asset-documents demonstrates the relationship between the key (assetId) and the stored Asset:

Relationship between assetId and stored Asset documents

Note: The key (assetId) is independent of the order of the Asset stored in the asset buffer.

When the agent receives a new Asset, one of the following rules MUST apply:

The number of Asset that may be stored in an agent is defined by the value for assetBufferSize. An assetBufferSize of 4,294,967,296 or $$ 2^{32 } $$ MUST indicate unlimited storage.

The asset buffer MAY be ephemeral and the Asset entities will be lost if the agent clears the asset buffer. They must be recovered from the data source.

Asset Information Model provides additional information on asset management.

Response Documents

response documents are electronic documents generated by an agent in response to a request for data.

The response documents defined in the MTConnect Standard are:

Request/Response Information Exchange

The transfer of information between an agent and a client software application is based on a request and response REST protocol. A client application requests specific information from an agent and an agent responds with a response document.

There are four types of MTConnect Requests. These requests are as follows:

If an agent is unable to respond to the request for information or the request includes invalid information, the agent will publish an MTConnectErrors Response Document. See MTConnectErrors.

See REST Protocol for the details on the normative requirements of the agent.

Fundamentals Appendix

Fundamentals of Using XML to Encode Response Documents

The MTConnect Standard specifies the structures and constructs that are used to encode response documents. When these response documents are encoded using XML, there are additional rules defined by the XML standard that apply for creating an XML compliant document. An implementer should refer to the W3C website for additional information on XML documentation and implementation details - http://www.w3.org/XML.

The following provides specific terms and guidelines referenced in the MTConnect Standard for forming response documents with XML:

  • tag: A tag is an XML construct that forms the foundation for an XML expression. It defines the scope (beginning and end) of an XML expression. The main types of tags are:

  • start-tag: Designates the beginning on an XML element; e.g., <element name>

  • end-tag: Designates the end on an XML element; e.g., </element name>.

Note: If an element has no child elements or CDATA, the end-tag may be shortened to />.

  • Element: An element is an XML statement that is the primary building block for a document encoded using XML. An element begins with a start-tag and ends with a matching end-tag. The characters between the start-tag and the end-tag are the element's content. The content may contain attributes, CDATA, and/or other elements. If the content contains additional elements, these elements are called child elements.

An example would be: <element name>Content of the Element</element name>.

  • child element: An XML element that is contained within a higher-level parent element. A child element is also known as a sub-element. XML allows an unlimited hierarchy of parent element-child element relationships that establishes the structure that defines how the various pieces of information in the document relate to each other. A parent element may have multiple associated child elements.

  • element name: A descriptive identifier contained in both the start-tag and end-tag that provides the name of an XML element.

  • Attribute: A construct consisting of a name–value pair that provides additional information about that XML element. The format for an attribute is `name="value"; where the value for the attribute is enclosed in a set of quotation (“) marks. An XML attribute MUST only have a single value and each attribute can appear at most once in each element. Also, each attribute MUST be defined in a schema to either be required or optional.

  • An example of attributes for an XML element is example-of-attributes-for-an-element:

<DataItem category="SAMPLE" id="S1load"
  nativeUnits="PERCENT"  type="LOAD"
  units="PERCENT"/>

Example of attributes for an element

In this example, DataItem is the element name. category, id, nativeUnits, type, and units are the names of the attributes. “SAMPLE", “S1load", “PERCENT", “LOAD", and “PERCENT" are the values for each of the respective attributes.

  • CDATA: CDATA is an XML term representing Character Data. Character Data contains a value(s) or text that is associated with an XML element. CDATA can be restricted to certain formats, patterns, or words.

An example of CDATA associated with an XML element would be example-of-cdata-associated-with-element:

<Message id="M1">This is some text</Message>

Example of cdata associated with element

In this example, Message is the element name and This is some text is the CDATA.

  • namespace: An XML namespace defines a unique vocabulary for named elements and attributes in an XML document. An XML document may contain content that is associated with multiple namespaces. Each namespace has its own unique identifier.

Elements and attributes are associated with a specific namespace by placing a prefix on the name of the element or attribute that associates that name to a specific namespace; e.g., x:MyTarget associates the element name MyTarget with the namespace designated by x: (the prefix).

namespaces are used to avoid naming conflicts within an XML document. The naming convention used for elements and attributes may be associated with either the default namespace specified in the header of an XML document or they may be associated with one or more alternate namespaces. All elements or attributes associated with a namespace that is not the default namespace, must include a prefix (e.g., x:) as part of the name of the element or attribute to associate it with the proper namespace. See Schema and Namespace Declaration Information for details on the structure for XML headers.

The names of the elements and attributes declared in a namespace may be identified with a different prefix than the prefix that signifies that specific namespace. These prefixes are called namespace aliases. As an example, MTConnect Standard specific namespaces are designated as m: and the names of the elements and attributes defined in that namespace have an alias prefix of mt: which designates these names as MTConnect Standard specific vocabulary; e.g., mt:MTConnectDevices.

XML documents are encoded with a hierarchy of elements. In general, XML elements may contain child elements, CDATA, or both. However, in the MTConnect Standard, an element MUST NOT contain mixed content; meaning it cannot contain both child elements and CDATA.

The semantic data model defined for each response document specifies the elements and child elements that may appear in a document. The semantic data model also defines the number of times each element and child element may appear in the document.

example-of-hierarchy-of-xml-elements demonstrates the hierarchy of XML elements and child elements used to form an XML document:

<Root Level>    (Parent Element)
  <First Level>  (Child Element to Root Level and 
  Parent Element to Second Level)
    <Second Level>  (Child Element to First Level
    and Parent Element to Third Level)
      <Third Level name="N1"></Third Level>  
      (Child Element to Second Level)
      <Third Level name="N2"></Third Level>  
      (Child Element to Second Level)
      <Third Level name="N3"></Third Level>  
      (Child Element to Second Level)
    </Second Level>   (end-tag for Second Level)
  </First Level>   (end-tag for First Level)
</Root Level>   (end-tag for Root Level)

Example of hierarchy of XML elements

In the example-of-hierarchy-of-xml-elements, Root Level and First Level have one child element (sub-elements) each and Second Level has three child elements; each called Third Level. Each Third Level element has a different name attribute. Each level in the structure is an element and each lower level element is a child element.

Schema and Namespace Declaration Information

There are four pseudo-attributes typically included in the header of a response document that declare the schema and namespace for the document. Each of these pseudo-attributes provides specific information for a client software application to properly interpret the content of the response document.

The pseudo-attributes include:

  • xmlns:xsi – The xsi portion of this attribute name stands for XML Schema instance. An XML Schema instance provides information that may be used by a software application to interpret XML specific information within a document. See the W3C website for more details on xmlns:xsi.

  • xmlns – Declares the default namespace associated with the content of the response document. The default namespace is considered to apply to all elements and attributes whenever the name of the element or attribute does not contain a prefix identifying an alternate namespace.

The value of this attribute is an URN identifying the name of the file that defines the details of the namespace content. This URN provides a unique identify for the namespace.

  • xmlns:m – Declares the MTConnect specific namespace associated with the content of the response document. There may be multiple namespaces declared for an XML document. Each may be associated to the default namespace or it may be totally independent. The :m designates that this is a specific MTConnect namespace which is directly associated with the default namespace.

Note: See Extensibility for details regarding extended namespaces.

The value associated with this attribute is an URN identifying the name of the file that defines the details of the namespace content.

  • xsi:schemaLocation - Declares the name for the schema associated with the response document and the location of the file that contains the details of the schema for that document.

The value associated with this attribute has two parts:

  • A URN identifying the name of the specific XML Schema instance associated with the response document.

  • The path to the location where the file describing the specific XML Schema instance is located. If the file is located in the same root directory where the agent is installed, then the local path MAY be declared. Otherwise, a fully qualified URL must be declared to identify the location of the file.

Note: In the format of the value associated with xsi:schemaLocation, the URN and the path to the schema file MUST be separated by a “space”.

In example-of-schema-and-namespace-declaration, the first line is the XML declaration. The second line is a root element called MTConnectDevices. The remaining four lines are the pseudo-attributes of MTCconnectDevices that declare the XML schema and namespace associated with an MTConnectDevices Response Document.

<?xml version="1.0" encoding="UTF-8"?>
  <MTConnectDevices
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
   xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
   xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
   xsi:schemaLocation="urn:mtconnect.org:
    MTConnectDevices:1.3 /schemas/MTConnectDevices\\_1.3.xsd">

Example of schema and namespace declaration

The format for the values provided for each of the pseudo-attributes MUST reference the semantic data model (e.g., MTConnectDevices, MTConnectStreams, MTConnectAssets, or MTConnectError) and the version (i.e.; 1.1, 1.2, 1.3, etc.) of the MTConnect Standard that depict the schema and namespace(s) associated with a specific response document.

When an implementer chooses to extend an MTConnect data model by adding custom data types or additional structural elements, the schema and namespace for that data model should be updated to reflect the additional content. When this is done, the namespace and schema information in the header should be updated to reflect the URI for the extended namespace and schema.

Extensibility

MTConnect is an extensible standard, which means that implementers MAY extend the data models defined in the various sections of the MTConnect Standard to include information required for a specific implementation. When these data models are encoded using XML, the methods for extending these data models are defined by the rules established for extending any XML schema (see the W3C website for more details on extending XML data models).

The following are typical extensions that MAY be considered in the MTConnect data models:

  • Additional type and subtype values for DataItems.

  • Additional structural elements as containers.

  • Additional Composition elements.

  • New Asset types that are sub-typed from the abstract Asset type.

  • child elements that may be added to specific XML elements contained within the MTConnect Information Models. These extended elements MUST be identified in a separate namespace.

When extending an MTConnect data model, there are some basic rules restricting changes to the MTConnect data models.

When extending an MTConnect data model, an implementer:

  • MUST NOT add new value for category for DataItems,

  • MUST NOT add new root elements,

  • SHOULD NOT add new top level Components, and

  • MUST NOT add any new attributes or include any sub-elements to Composition.

Note: Throughout the documents additional information is provided where extensibility may be acceptable or unacceptable to maintain compliance with the MTConnect Standard.

When a schema representing a data model is extended, the schema and namespace declaration at the beginning of the corresponding response document MUST be updated to reflect the new schema and namespace so that a client software application can properly validate the response document.

An XML example of a schema and namespace declaration, including an extended schema and namespace, is shown in example-of-extended-schema-and-namespace-in-declaration:

<?xml version="1.0" encoding="UTF-8"?>
  <MTConnectDevices
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
   xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
   xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
   xmlns:x="urn:MyLocation:MyFile:MyVersion"
   xsi:schemaLocation="urn:MyLocation:MyFile:MyVersion
     /schemas/MyFileName.xsd" />

Example of extended schema and namespace in declaration

In this example:

Note: The "x" prefix MAY be replaced with any prefix that the implementer chooses for identifying the extended schema and namespace.

  • xsi:schemaLocation is modified in Line 7 to associate the namespace URN with the URL specifying the location of schema file.

  • MyLocation, MyFile, MyVersion, and MyFileName in Lines 6 and 7 MUST be replaced by the actual name, version, and location of the extended schema.

When an extended schema is implemented, each structural element, DataItem, and asset defined in the extended schema MUST be identified in each respective response document by adding a prefix to the XML element name associated with that structural element, DataItem, or asset. The prefix identifies the schema and namespace where that XML Element is defined.

Glossary

Review the MTConnect definition and model details for Glossary, an MTConnect package.

Imports

Review the MTConnect definition and model details for Imports, an MTConnect package.

Interface Interaction Model

In many manufacturing processes, multiple pieces of equipment must work together to perform a task. The traditional method for coordinating the activities between individual pieces of equipment is to connect them using a series of wires to communicate equipment states and demands for action. These interactions use simple binary ON/OFF signals to accomplished their intention.

In the MTConnect Standard, interfaces provides a means to replace this traditional method for interconnecting pieces of equipment with a structured interaction model that provides a rich set of information used to coordinate the actions between pieces of equipment. Implementers may utilize the information provided by this data model to (1) realize the interaction between pieces of equipment and (2) to extend the functionality of the equipment to improve the overall performance of the manufacturing process.

The interaction model used to implement interfaces provides a lightweight and efficient protocol, simplifies failure recovery scenarios, and defines a structure for implementing a Plug-And-Play relationship between pieces of equipment. By standardizing the information exchange using this higher-level semantic information model, an implementer may more readily replace a piece of equipment in a manufacturing system with any other piece of equipment capable of providing similar interaction model functions.

Two primary functions are required to implement the interaction model for an interfaces and manage the flow of information between pieces of equipment. Each piece of equipment needs to have the following:

  • An agent which provides:
  • The data required to implement the interaction model.

  • Any other data from a piece of equipment needed to implement the interface – operating states of the equipment, position information, execution modes, process information, etc.

  • A client software application that enables the piece of equipment to acquire and interpret information from another piece of equipment.

Interfaces Architecture

MTConnect Standard is based on a communications method that provides no direct way for one piece of equipment to change the state of or cause an action to occur in another piece of equipment. The interaction model used to implement interfaces is based on a publish and subscribe type of communications as described in Fundamentals and utilizes a request and response information exchange mechanism. For interfaces, pieces of equipment must perform both the publish (agent) and subscribe (client) functions.

Note: The current definition of interfaces addresses the interaction between two pieces of equipment. Future releases of the MTConnect Standard may address the interaction between multiple (more than two) pieces of equipment.

Data Flow Architecture for Interfaces

Note: The data flow architecture illustrated in Data Flow Architecture for Interfaces was historically referred to in the MTConnect Standard as a read-read concept.

In the implementation of the interaction model for interfaces, two pieces of equipment can exchange information in the following manner. One piece of equipment indicates a request for service by publishing a type of request using a data item provided through an agent as defined in DataItem Types for Interface. The client associated with the second piece of equipment, which is subscribing to data from the first machine, detects and interprets that request. If the second machine chooses to take any action to fulfill this request, it can indicate its acceptance by publishing a response using a data item provided through its agent. The client on the first piece of equipment continues to monitor information from the second piece of equipment until it detects an indication that the response to the request has been completed or has failed.

An example of this type of interaction between pieces of equipment can be represented by a machine tool that wants the material to be loaded by a robot. In this example, the machine tool is the requester, and the robot is the responder. On the other hand, if the robot wants the machine tool to open a door, the robot becomes the requester and the machine tool the responder.

Request and Response Information Exchange

The DataItem elements defined by the interaction model each have a REQUEST and RESPONSE subtype. These subtypes identify if the data item represents a request or a response. Using these data items, a piece of equipment changes the state of its request or response to indicate information that can be read by the other piece of equipment. To aid in understanding how the interaction model functions, one can view this interaction model as a simple state machine.

The interaction between two pieces of equipment can be described as follows. When the requester wants an activity to be performed, it transitions its request state from a READY state to an ACTIVE state. In turn, when the client on the responder reads this information and interprets the request, the responder announces that it is performing the requested task by changing its response state to ACTIVE. When the action is finished, the responder changes its response state to COMPLETE. This pattern of request and response provides the basis for the coordination of actions between pieces of equipment. These actions are implemented using EVENT category data items. (See DataItem Types for Interface for details on the Event type data items defined for interfaces.)

Note: The implementation details of how the responder piece of equipment reacts to the request and then completes the requested task are up to the implementer.

Request and Response Overview

The initial condition of both the request and response states on both pieces of equipment is READY. The dotted lines indicate the on-going communications that occur to monitor the progress of the interactions between the pieces of equipment.

The interaction between the pieces of equipment as illustrated in Request and Response Overview progresses through the sequence listed below.

  • The request transitions from READY to ACTIVE signaling that a service is needed.

  • The response detects the transition of the request.

  • The response transitions from READY to ACTIVE indicating that it is performing the action.

  • Once the action has been performed, the response transitions to COMPLETE.

  • The request detects the action is COMPLETE.

  • The request transitions back to READY acknowledging that the service has been performed.

  • The response detects the request has returned to READY.

  • In recognition of this acknowledgement, the response transitions back to READY.

After the final action has been completed, both pieces of equipment are back in the READY state indicating that they are able to perform another action.

MTConnect Device Validation Suite

Review the MTConnect definition and model details for MTConnect Device Validation Suite, an MTConnect package.

Observation Information Model

The Observation Information Model provides a representation of the data reported by a piece of equipment used for a manufacturing process, or used for any other purpose. Additional descriptive information associated with the reported data is defined by the MTConnectDevices entity, which is described in Device Information Model.

Information defined in the Observation Information Model allows a software application to (1) determine the Observations for DataItems returned from a piece of equipment and (2) interpret the data associated with those Observations with the same meaning, value, and context that it had at its original source. To do this, the software application issues one of two HTTP requests to an agent associated with a piece of equipment. They are:

  • sample: Returns a designated number of time stamped Observations from an agent associated with a piece of equipment; subject to any HTTP filtering associated with the request. See Agent in Fundamentals for details on the sample HTTP request.

  • current: Returns a snapshot of either the most recent values or the values at a given sequence number for all Observations associated with a piece of equipment from an agent; subject to any HTTP filtering associated with the request. See Agent in Fundamentals for details on the current HTTP request.

An agent responds to either the sample or current HTTP request with an MTConnectStreams Response Document. This document contains information describing Observations reported by an agent associated with a piece of equipment. A client software application may correlate the information provided in the MTConnectStreams Response Document with the physical and logical structure for that piece of equipment defined in the MTConnectDevices entity to form a clear and unambiguous understanding of the information provided. (See details on the structure for a piece of equipment described in Device Information Model).

Streams for an MTConnectStreams entity contains a DeviceStream entity for each piece of equipment represented in the document. Each DeviceStream is comprised of two primary types of entities – Components and Observations. The contents of the DeviceStream container are described in detail in this document, Observation Information Model of the MTConnect Standard.

Components are defined for both the MTConnectDevices and the MTConnectStreams entities. These Components are used to provide a logical organization of the information provided in each entity.

DeviceStream and ComponentStream entities have a direct correlation to each of the Component defined in the MTConnectDevices entity.

Within each ComponentStream entity in the MTConnectStreams entity, Observations are modeled as Observation entities. The three types of Observation entity are Sample, Event, and Condition. (See Observation Types for more information on these entities.)

Observations Appendix

XML Schema Diagrams

Observations Schema Diagrams

See Streams element in MTConnectStreams schema.

See DeviceStream element in MTConnectStreams schema.

See ComponentStream element in MTConnectStreams schema.

See Sample element in MTConnectStreams schema.

See Event element in MTConnectStreams schema.

See Condition element in MTConnectStreams schema.

Representation Schema Diagrams

See AbsTimeSeries element in MTConnectStreams schema.

See PartCountDiscrete element in MTConnectStreams schema.

See VariableDataSet element in MTConnectStreams schema.

See Entry element in MTConnectStreams schema.

See WorkOffsetTable element in MTConnectStreams schema.

XML Examples

DeviceStream Example

<Streams>
  <DeviceStream name="M12346" uuid="M8010W4194N">
    <ComponentStream component="Device" name="M12346" componentId="d1">
      <Events>
        <Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
        <AssetChanged assetType="CuttingTool" dataItemId="d1_asset_chg" sequence="75570" timestamp="2021-10-07T05:08:53.870206Z">M8010W4194N1.120</AssetChanged>
        <AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
      </Events>
    </ComponentStream>
    <ComponentStream component="Controller" name="controller" componentId="cont">
      <Events>
        <EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
      </Events>
      <Samples>
        <AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
      </Samples>
      <Condition>
        <Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
        <Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
      </Condition>
    </ComponentStream>
    <ComponentStream component="Path" name="path" componentId="path1">
      <Events>
        <Execution dataItemId="execution" name="execution" sequence="222623" timestamp="2021-10-12T06:04:32.761198Z">INTERRUPTED</Execution>
        <VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
          <Entry key="100">66.3314</Entry>
          <Entry key="101">167.2</Entry>
        </VariableDataSet>
        <WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
          <Entry key="G53.1">
            <Cell key="X">1</Cell>
            <Cell key="Y">2</Cell>
            <Cell key="Z">3</Cell>
          </Entry>
          <Entry key="G53.2">
            <Cell key="X">4</Cell>
            <Cell key="Y">5</Cell>
            <Cell key="Z">6</Cell>
          </Entry>
        </WorkOffsetTable>
      </Events>
      <Samples>
        <CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
      </Samples>
      <Condition>
        <Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
      </Condition>
    </ComponentStream>
  </DeviceStream>
</Streams>

DeviceStream Example

Observations made for DataItem Example

<Components>
  <Controller id="cont" name="controller">
      <DataItems>
      <DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
    </DataItems>
  </Controller>
</Components>

MTConnectDevices Response Document

<ComponentStream component="Controller" name="controller" componentId="cont">
  <Events>
    <EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
  </Events>
</ComponentStream>

MTConnectStreams Response Document

Sample Example

<Samples>
  <AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
  <CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
</Samples>

Sample Example

Event Example

<Events>
  <Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
  <AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
</Events>

Event Example

Condition Example

Condition types are represented differently in XML when compared to Sample and Event types. The element name is the condition state of the Condition type in Pascal Case. The name of the Condition type is represented by the attribute type.

If the condition state is unavailable then the element name is represented by Unavailable.

<Condition>
  <Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
  <Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
  <Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
</Condition>

Condition Example

DataSet Example

<Events>
  <VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
    <Entry key="100">66.3314</Entry>
    <Entry key="101">167.2</Entry>
  </VariableDataSet>
</Events>

DataSet Example

Table Example

<Events>
  <WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
    <Entry key="G53.1">
      <Cell key="X">1</Cell>
      <Cell key="Y">2</Cell>
      <Cell key="Z">3</Cell>
    </Entry>
    <Entry key="G53.2">
      <Cell key="X">4</Cell>
      <Cell key="Y">5</Cell>
      <Cell key="Z">6</Cell>
    </Entry>
  </WorkOffsetTable>
</Events>

Table Example

Reference Agent Architecture

Review the MTConnect definition and model details for Reference Agent Architecture, an MTConnect package.

Stereotypes

Review the MTConnect definition and model details for Stereotypes, an MTConnect package.

Supporting Documents

Assets Appendix

XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

Assets Schema Diagrams

See Asset element in MTConnectAssets schema.

See Description element in MTConnectAssets schema.

CuttingTool Schema Diagrams

See CuttingTool element in MTConnectAssets schema.

See CuttingToolDefinition element in MTConnectAssets schema.

See CuttingToolArchetypeReference element in MTConnectAssets schema.

CuttingToolLifeCycle Schema Diagrams

See CuttingToolLifeCycle element in MTConnectAssets schema.

See CutterStatus element in MTConnectAssets schema.

See Location element in MTConnectAssets schema.

See Measurement element in MTConnectAssets schema.

See ProcessFeedRate element in MTConnectAssets schema.

See ProcessSpindleSpeed element in MTConnectAssets schema.

See ReconditionCount element in MTConnectAssets schema.

See ToolLife element in MTConnectAssets schema.

CuttingItem Schema Diagrams

See CuttingItems element in MTConnectAssets schema.

See CuttingItem element in MTConnectAssets schema.

See ItemLife element in MTConnectAssets schema.

ISO 13399 Diagrams

Measurement Diagrams

Cutting Tool Measurement 3

Cutting Tool Measurement 4

Cutting Tool Measurement 5

Cutting Tool Measurement 6

Cutting Tool Measurement 7

Cutting Tool Measurement 8

Cutting Tool Examples

Shell Mill

Shell Mill Side View

Indexable Insert Measurements

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets 
xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" 
  assetBufferSize="1024" sender="localhost"
  assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
  <CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240" 
  timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1" 
  manufacturers="KMT,Parlec">
    <CuttingToolLifeCycle>
    <CutterStatus><Status>NEW</Status></CutterStatus>
    <ProcessSpindleSpeed maximum="13300" 
    nominal="605">10000</ProcessSpindleSpeed>
    <ProcessFeedRate
    nominal="9.22">9.22</ProcessSpindleSpeed>
    <ConnectionCodeMachineSide>CV50
    </ConnectionCodeMachineSide>
    <Measurements>
      <BodyDiameterMax code="BDX">73.25
      </BodyDiameterMax>
      <OverallToolLength nominal="222.25" 
        minimum="221.996" maximum="222.504" 
        code="OAL">222.25</OverallToolLength>
      <UsableLengthMax code="LUX" nominal="82.55">82.55
      </UsableLengthMax>
      <CuttingDiameterMax code="DC" nominal="76.2" 
        maximum="76.213" minimum="76.187">76.2
      </CuttingDiameterMax>
      <BodyLengthMax code="LF" nominal="120.65" 
        maximum="120.904" minimum="120.404">120.65
      </BodyLengthMax>
      <DepthOfCutMax code="APMX" 
      nominal="60.96">60.95</DepthOfCutMax>
      <FlangeDiameterMax code="DF" 
        nominal="98.425">98.425</FlangeDiameterMax>
    </Measurements>
    <CuttingItems count="24">
      <CuttingItem indices="1-24" itemId="SDET43PDER8GB" 
        manufacturers="KMT" grade="KC725M">
        <Measurements>
          <CuttingEdgeLength code="L" nominal="12.7" 
            minimum="12.675" maximum="12.725">12.7
          </CuttingEdgeLength>
        <WiperEdgeLength code="BS" nominal=
          "2.56">2.56</WiperEdgeLength>
        <IncribedCircleDiameter code="IC"
          nominal="12.7">12.7
        </IncribedCircleDiameter>
        <CornerRadius code="RE" nominal="0.8">
          0.8</CornerRadius>
      </Measurements>
      </CuttingItem>
    </CuttingItems>
    </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Indexable Insert Measurements

Step Drill

Step Mill Side View

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-
  11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1 " toolId="B732A08500HP" 
    timestamp="2011-05-11T13:55:22" assetId="B732A08500HP " 
    manufacturers="KMT,Parlec">
      <Description>
        Step Drill - KMT, B732A08500HP Grade KC7315
        Adapter - Parlec, C50-M12SF300-6
      </Description>
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <ProcessSpindleSpeed nominal="5893">5893</ProcessSpindleSpeed>
        <ProcessFeedRate nominal="2.5">2.5</ProcessFeedRate>
        <ConnectionCodeMachineSide>CV50 Taper</ConnectionCodeMachineSide>
        <Measurements>
          <BodyDiameterMax code="BDX">31.8</BodyDiameterMax>
          <BodyLengthMax code="LBX" nominal="120.825" maximum="126.325" 
          minimum="115.325">120.825</BodyLengthMax>
          <ProtrudingLength code="LPR" nominal="155.75" maximum="161.25" 
          minimum="150.26">155.75</ProtrudingLength>
          <FlangeDiameterMax code="DF" 
          nominal="98.425">98.425</FlangeDiameterMax>
          <OverallToolLength nominal="257.35" minimum="251.85" 
          maximum="262.85" code="OAL">257.35</OverallToolLength>
        </Measurements>
        <CuttingItems count="2">
          <CuttingItem indices="1" manufacturers="KMT" grade="KC7315">>
            <Measurements>
              <CuttingDiameter code="DC1" nominal="8.5" maximum="8.521" 
              minimum="8.506">8.5135</CuttingDiameter>
              <StepIncludedAngle code="STA1" nominal="90" maximum="91" 
              minimum="89">90</StepIncludedAngle>
              <FunctionalLength code="LF1" nominal="154.286" 
              minimum="148.786" 
              maximum="159.786">154.286</FunctionalLength>
              <StepDiameterLength code="SDL1" 
              nominal="9">9</StepDiameterLength>
              <PointAngle code="SIG" nominal="135" minimum="133" 
              maximum="137">135</PointAngle>
            </Measurements>
          </CuttingItem>
          <CuttingItem indices="2" manufacturers="KMT" grade="KC7315">>
            <Measurements>
              <CuttingDiameter code="DC2" nominal="12" maximum="12.011" 
              minimum="12">12</CuttingDiameter>
              <FunctionalLength code="LF2" nominal="122.493" 
              maximum="127.993" 
              minimum="116.993">122.493</FunctionalLength>
              <StepDiameterLength code="SDL2" 
              nominal="9">9</StepDiameterLength>
            </Measurements>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Step Mill Side View

Shell Mill with Individual Loci

Shell Mill with Explicate Loci

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1" toolId="KSSP300R4SD43L240" 
    timestamp="2011-05-11T13:55:22" assetId="KSSP300R4SD43L240.1" 
    manufacturers="KMT,Parlec">
      <Description>Keyway: 55 degrees</Description>
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <Measurements>
          <UsableLengthMax code="LUX" 
          nominal="82.55">82.55</UsableLengthMax>
          <CuttingDiameterMax code="DC" nominal="76.2" maximum="76.213" 
          minimum="76.187">76.2</CuttingDiameterMax>
          <DepthOfCutMax code="APMX" nominal="60.96">60.95</DepthOfCutMax>
        </Measurements>
        <CuttingItems count="24">
          <CuttingItem indices="1" itemId="SDET43PDER8GB" 
          manufacturers="KMT">
            <Locus>FLUTE: 1, ROW: 1</Locus>
            <Measurements>
             <DriveAngle code="DRVA" nominal="55">55</DriveAngle>
           </Measurements>
          </CuttingItem>
          <CuttingItem indices="2-24" itemId="SDET43PDER8GB" 
          manufacturers="KMT">
            <Locus>FLUTE: 2-4, ROW: 1; FLUTE: 1-4, ROW 2-6</Locus>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Shell Mill with Explicate Loci

Drill with Individual Loci

Step Drill with Explicate Loci

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1" toolId="KSEM0781LD" 
    timestamp="2011-05-11T13:55:22" assetId="KSEM0781LD.1" manufacturers="KMT">
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <ConnectionCodeMachineSide>HSK63A</ConnectionCodeMachineSide>
        <Measurements>
          <BodyDiameterMax code="BDX">52.75</BodyDiameterMax>
          <OverallToolLength nominal="172.29" 
          code="OAL">172.29</OverallToolLength>
          <UsableLengthMax code="LUX" nominal="49">49</UsableLengthMax>
          <FlangeDiameterMax code="DF" 
          nominal="62.94">62.94</FlangeDiameterMax>
        </Measurements>
        <CuttingItems count="3">
          <CuttingItem indices="1" itemId="KSEM0781LD" manufacturers="KMT" 
          grade="KC7015">
            <Locus>FLUTE: 1, ROW: 1</Locus>
            <Measurements>
         <FunctionalLength code="LF1" nominal="154.42">154.42</FunctionalLength>
         <CuttingDiameter code="DC1" nominal="19.844">19.844</CuttingDiameter>
         <PointAngle code="SIG" nominal="140">140</PointAngle>
         <ToolCuttingEdgeAngle code="KAPR1" nominal="45">45</ToolCuttingEdgeAngle>
         <StepDiameterLength code="SLD1" nominal="39.8">39.8</StepDiameterLength>
            </Measurements>
          </CuttingItem>
          <CuttingItem indices="2-3" itemId="TPMT-21.52-FP" 
          manufacturers="KMT" grade="KCM15">
            <Locus>FLUTE: 1-2, ROW: 2</Locus>
            <Measurements>
         <FunctionalLength code="LF2" nominal="112.9">119.2</FunctionalLength>
         <CuttingDiameter code="DC2" nominal="31">31</CuttingDiameter>
            </Measurements>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Step Drill with Explicate Loci

Shell Mill with Different Inserts on First Row

Shell Mill with Different Inserts on First Row

<?xml version="1.0" encoding="UTF-8"?>
<MTConnectAssets xmlns:m="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns="urn:mtconnect.org:MTConnectAssets:1.2" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="urn:mtconnect.org:MTConnectAssets:1.2 
http://mtconnect.org/schemas/MTConnectAssets\\_1.2.xsd">
  <Header creationTime="2011-05-11T13:55:22" assetBufferSize="1024" 
  sender="localhost" assetCount="2" version="1.2" instanceId="1234"/>
  <Assets>
    <CuttingTool serialNumber="1" toolId="XXX" timestamp="2011-05-11T13:55:22" 
    assetId="XXX.1" manufacturers="KMT">
      <CuttingToolLifeCycle>
        <CutterStatus><Status>NEW</Status></CutterStatus>
        <Measurements>
          <DepthOfCutMax code="APMX" nominal="47.8">47.8</DepthOfCutMax>
          <CuttingDiameterMax code="DC" 
          nominal="50.8">50.8</CuttingDiameterMax>
          <UsableLengthMax code="LUX" 
          nominal="78.74">78.74</UsableLengthMax>
        </Measurements>
        <CuttingItems count="9">
          <CuttingItem indices="1-3" itemId="EDPT180564PDER-LD" 
          manufacturers="KMT">
            <Locus>FLUTE: 1-3, ROW: 1</Locus>
            <Measurements>
              <CornerRadius code="RE" nominal="6.25">6.35</CornerRadius>
            </Measurements>
          </CuttingItem>
          <CuttingItem indices="4-9" itemId="EDPT180508PDER-LD" 
          manufacturers="KMT">
            <Locus>FLANGE: 1-4, ROW: 2-3</Locus>
          </CuttingItem>
        </CuttingItems>
      </CuttingToolLifeCycle>
    </CuttingTool>
  </Assets>
</MTConnectAssets>

Example for Shell Mill with Different Inserts on First Row

File Schema Diagrams

See File element in MTConnectAssets schema.

RawMaterial Schema Diagrams

See RawMaterial element in MTConnectAssets schema.

QIFDocumentWrapper Schema Diagrams

See QIFDocumentWrapper element in MTConnectAssets schema.

Assets Introduction

Purpose of This Document

This document, Asset Information Model of the MTConnect Standard, details information that is common to all types of Assets. Part 4.0 of the MTConnect Standard provide semantic models for entities that are used in the manufacturing process, but are not considered to be a piece of equipment. These entities are defined as Assets. These assets may be removed from a piece of equipment without detriment to the function of the equipment and can be associated with other pieces of equipment during their lifecycle. The data associated with these assets may be retrieved from multiple sources that are each responsible for providing their knowledge of the asset.

Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossarytitle=General Terms, type=general}} {{printglossarytitle=Information Model Terms, type=informationmodel}} {{printglossarytitle=Protocol Terms, type=protocol}} {{printglossarytitle=HTTP Terms, type=http}} {{printglossarytitle=XML Terms, type=xml}} {{printglossarytitle=MTConnect Terms, type=conceptmodel}}

{{printbibliographytitle=MTConnect References,keyword=MTC}}

{{printbibliographytitle=Other References,notkeyword=MTC}}

Devices Introduction

Purpose of This Document

This document, Device Information Model of the MTConnect Standard, establishes the rules and terminology to be used by designers to describe the function and operation of a piece of equipment and to define the data that is provided by an agent from the equipment. The Device Information Model also defines the structure for the response document that is returned from an agent in response to a probe request.

In the MTConnect Standard, equipment represents any tangible property that is used in the operations of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders.

Note: See Observation Information Model of the MTConnect Standard for details on the response document that are returned from an agent in response to a sample request or current request.

Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossarytitle=General Terms, type=general}} {{printglossarytitle=Information Model Terms, type=informationmodel}} {{printglossarytitle=Protocol Terms, type=protocol}} {{printglossarytitle=HTTP Terms, type=http}} {{printglossarytitle=XML Terms, type=xml}} {{printglossarytitle=MTConnect Terms, type=conceptmodel}}

{{printbibliographytitle=MTConnect References,keyword=MTC}}

{{printbibliographytitle=Other References,notkeyword=MTC}}

Devices Appendix

XML Schema Diagrams

See XML schemas for the MTConnect standard here: https://schemas.mtconnect.org/.

Components Schema Diagrams

See Components element in MTConnectDevices schema.

See Description element in MTConnectDevices schema.

DataItems Schema Diagrams

See DataItems element in MTConnectDevices schema.

See Source element in MTConnectDevices schema.

See Constraints element in MTConnectDevices schema.

See Filter element in MTConnectDevices schema.

See Definition element in MTConnectDevices schema.

References Schema Diagrams

See References element in MTConnectDevices schema.

See ComponentRef element in MTConnectDevices schema.

See DataItemRef element in MTConnectDevices schema.

Configuration Schema Diagrams

See Configuration element in MTConnectDevices schema.

See CoordinateSystem element in MTConnectDevices schema.

See Motion element in MTConnectDevices schema.

See Relationships element in MTConnectDevices schema.

See ComponentRelationship element in MTConnectDevices schema.

See DeviceRelationship element in MTConnectDevices schema.

See SensorConfiguration element in MTConnectDevices schema.

See SolidModel element in MTConnectDevices schema.

See Specifications element in MTConnectDevices schema.

See ProcessSpecification element in MTConnectDevices schema.

XML Examples

Device Entity Hierarchy Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Components>
    <Axes id="a" name="base">
    <Components>
      <Linear id="x" name="X"/>
      <Linear id="y" name="Y"/>
      <Linear id="z" name="Z"/>
      <Rotary id="ar" name="B"/>
      <Linear id="w" name="Z3" nativeName="W"/>
      <Rotary id="c" name="C"/>
    </Components>
    </Axes>
    <Controller id="cont" name="controller">
    <Components>
      <Path id="path1" name="path"/>
    </Components>
    </Controller>
    <Door id="door1" name="door"/>
    <Systems id="systems" name="systems">
    <Components>
      <WorkEnvelope id="we1" name="workenv">
      <Compositions>
        <Composition type="WORKPIECE" id="wp"/>
        <Composition type="TABLE" id="tbl"/>
      </Compositions>
      </WorkEnvelope>
      <Electric id="elec" name="electric"/>
      <Hydraulic id="hydraulic" name="hydraulic"/>
      <Coolant id="coolant" name="coolant"/>
      <Pneumatic id="pneumatic" name="pneumatic"/>
      <Lubrication id="lubrication" name="lubrication"/>
    </Components>
    </Systems>
    <Auxiliaries id="Aux" name="auxiliaries">
    <Components>
      <Environmental id="room" name="environmental"/>
    </Components>
    </Auxiliaries>
    <Resources id="resources" name="resources">
    <Components>
      <Personnel id="personnel" name="personnel"/>
      <Materials id="materials" name="materials">
      <Components>
        <Stock id="procstock" name="stock"/>
      </Components>
      <Materials/>
    </Components> 
    </Resources>
    </Components>
  </Device>
</Devices>

Device Entity Hierarchy Example

Component Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
  <DataItems>
    <DataItem category="EVENT" id="avail" name="avail" type="AVAILABILITY"/>
    <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
    <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
  </DataItems>
    <Components>
    <Controller id="cont" name="controller">
      <DataItems>
      <DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
      <DataItem category="CONDITION" id="logic_cond" type="LOGIC_PROGRAM"/>
      <DataItem category="CONDITION" id="cont_system" type="SYSTEM"/>
      <DataItem category="SAMPLE" id="cut_time" type="ACCUMULATED_TIME" units="SECOND"/>
    </DataItems>
    <Components>
      <Path id="path1" name="path">
        <DataItems>
        <DataItem category="EVENT" id="execution" name="execution" type="EXECUTION"/>
        <DataItem category="SAMPLE" id="cspeed" subType="ACTUAL" type="CUTTING_SPEED" units="MILLIMETER/SECOND"/>
        <DataItem category="CONDITION" id="path_system" type="SYSTEM"/>
        <DataItem category="EVENT" id="cvars" representation="DATA_SET" type="VARIABLE"/>
        <DataItem category="EVENT" id="woffset" representation="TABLE" type="WORK_OFFSET"/>
      </DataItems>
      </Path>
    </Components>
    </Controller>
  </Components>
  </Device>
</Devices>

Component Example

Component with Compositions Example

In XML, Composition types are represented differently than Component types. For Component types, the element name is Pascal Case of the Component type name. Whereas, the element name for all Compositiontypes is Composition and the type is defined by the type attribute of the element (see example below).

<WorkEnvelope id="we1" name="workenv">
  <DataItems>
    <DataItem category="CONDITION" id="hardware1" name="hardware1" type="HARDWARE"/>
  </DataItems>
  <Compositions>
  <Composition type="WORKPIECE" id="wp"/>
  <Composition type="TABLE" id="tbl"/>
  </Compositions>
</WorkEnvelope>

Component with Compositions Example

CoordinateSystem Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
    <DataItems>
      <DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
      <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
      <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
    </DataItems>
    <Configuration>
      <CoordinateSystems>
        <CoordinateSystem id="base" type="BASE">
          <Origin>0 0 0</Origin>
        </CoordinateSystem>
        <CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
          <Transformation>
            <Translation>210 275 1430</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
        <CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
          <Transformation>
            <Translation>0 0 0</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
      </CoordinateSystems>
    </Configuration>
  </Device>
</Devices>

CoordinateSystem Example

Motion Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
    <DataItems>
      <DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
      <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
      <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
    </DataItems>
    <Configuration>
      <CoordinateSystems>
        <CoordinateSystem id="base" type="BASE">
          <Origin>0 0 0</Origin>
        </CoordinateSystem>
        <CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
          <Transformation>
            <Translation>210 275 1430</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
        <CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
          <Transformation>
            <Translation>0 0 0</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
      </CoordinateSystems>
    </Configuration>
    <Components>
      <Axes id="a" name="base">
        <Components>
          <Linear id="x" name="X">
            <Configuration>
              <Motion id="xmotion" coordinateSystemIdRef="machcoord" type="PRISMATIC" actuation="DIRECT">
                <Transformation>
                  <Translaton>300 915 590</Translaton>
                  <Rotation>0 0 0</Rotation>
                </Transformation>
                <Axis>1.0 0 0</Axis>
              </Motion>
            </Configuration>
          </Linear>
          <DataItems>
            <DataItem id="xtravel" type="SYSTEM" category="CONDITION">
          </DataItems>
        </Components>
      </Axes>
    </Components>
  </Device>
</Devices>

Motion Example

Relationship Example

<Components>
  <Axes id="a" name="base">
    <Components>
      <Linear id="x" name="X">
        <Configuration>        
          <Relationships>
            <ComponentRelationship id="xpar" type="PARENT" idRef="we1"/>
          </Relationships>
        </Configuration>
      </Linear>
      <DataItems>
        <DataItem id="xtravel" type="SYSTEM" category="CONDITION">
      </DataItems>
    </Components>
  </Axes>
  <Systems id="systems" name="systems">
    <Components>
      <WorkEnvelope id="we1" name="workenv">
        <Compositions>
          <Composition type="WORKPIECE" id="wp"/>
          <Composition type="TABLE" id="tbl"/>
        </Compositions>
        <DataItems>
          <DataItem id="we1cond" type="SYSTEM" category="CONDITION">
        </DataItems>
      </WorkEnvelope>
    </Components>
  </Systems>
</Components>

Relationship Example

SolidModel Example

<Devices>
  <Device id="d1" name="M12346" uuid="M80104K162N">
    <Description manufacturer="Example_Corporation" 
      serialNumber="272237"> Mill w/SMooth-G
    </Description>
    <DataItems>
      <DataItem id="avail" type="AVAILABILITY" category="EVENT"/>
      <DataItem category="EVENT" id="d1_asset_chg" name="asset_chg" type="ASSET_CHANGED"/>
      <DataItem category="EVENT" id="d1_asset_rem" name="asset_rem" type="ASSET_REMOVED"/>
    </DataItems>
    <Configuration>
      <CoordinateSystems>
        <CoordinateSystem id="base" type="BASE">
          <Origin>0 0 0</Origin>
        </CoordinateSystem>
        <CoordinateSystem id="machcoord" type="MACHINE" parentIdRef="base">
          <Transformation>
            <Translation>210 275 1430</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
        <CoordinateSystem id="workcoord" type="OBJECT" parentIdRef="machcoord">
          <Transformation>
            <Translation>0 0 0</Translation>
            <Rotation>0 0 0</Rotation>
          </Transformation>
        </CoordinateSystem>
      </CoordinateSystems>
    </Configuration>
    <Components>
      <Structures id="struct">
        <Configuration>
          <SolidModel id="model" mediaType="OBJ" href="/objs/mazak.obj" coordinateSystemIdRef="base">
            <Transformation>
              <Translation>0 860 0</Translation>
              <Rotation>-90 0 0</Rotation>
            </Transformation>
            <Scale>0.001 0.001 0.001</Scale>
          </SolidModel>
        </Configuration>
        <Components>
          <Structure id="xaxis" name="X_AXIS">
            <Configuration>
              <SolidModel id="x_model" mediaType="OBJ" itemRef="xaxis" solidModelIdRef="model" coordinateSystemIdRef="base"/>
            </Configuration>
            <DataItems>
              <DataItem type="SYSTEM" category="CONDITION" id="struct_cond"/>
            </DataItems>
          </Structure>
        </Components>
      </Structures>
    </Components>
  </Device>
</Devices>

SolidModel Example

Specification Example

<Components>
  <Axes id="a" name="base">
    <Components>
      <Linear id="x" name="X">
        <Configuration>
          <Specifications>
            <Specification id="spec001" type="LENGTH" units="MILLIMETER">
              <Nominal>650</Nominal>
            </Specification>
            <Specification id="spec002" type="LINEAR_FORCE" units="NEWTON">
              <Maximum>5200</Maximum>
              <Minimum>0</Minimum>
            </Specification>
          </Specifications>
        </Configuration>
        <DataItems>
          <DataItem id="xtravel" type="SYSTEM" category="CONDITION">
        </DataItems>
      </Linear>
    </Components>
  </Axes>
</Components>

Specification Example

Example of sensing element provided as data item associated with a Component

<Components>
  <Axes id="a" name="base"
    <Components>
      <Rotary id="c" name="C">
        <DataItems>
          <DataItem type="TEMPERATURE" id="servotemp4"
            category="SAMPLE" nativeUnits="CELSIUS"
            compositionId="Bmotor" units="CELSIUS"/>
          </DataItems>
      </Rotary>
    </Components>
  </Axes>
</Components>

Example of sensing element provided as data item associated with a Component

Example of Sensor for rotary axis

<Components>
  <Axes id="a" name="base"
    <Components>
      <Rotary id="ar" name="B">
        <Components>
          <Sensor id="spdlm" name="Spindlemonitor">
            <DataItems>
              <DataItem type="DISPLACEMENT" id="cvib"
                category="SAMPLE" name="Svib" 
                units="MILLIMETER"/>
            </DataItems>
          </Sensor >
        <Components>
      </Rotary>
    </Components>
  </Axes>
</Components>

Example of Sensor for rotary axis

Example of sensor unit with sensing element

<Axes id="a" name="base"
  <Components>
  <Sensor id="sens1" name="Sensorunit">
    <DataItems>
    <DataItem type="TEMPERATURE" id="sentemp"
      category="SAMPLE" name="Sensortemp" 
      units="CELSIUS"/> 
    </DataItems>
  </Sensor >
  <Linear id="x" name="X">
    <DataItems>
    <DataItem type="DISPLACEMENT" id="xvib"
      category="SAMPLE" name="xvib" 
      units="MILLIMETER">
      <Source componentId="sens1"/>
    </DataItem>
    </DataItems>
  </Rotary>
  <Linear id="y" name="Y">
    <DataItems>
    <DataItem type="DISPLACEMENT" id="yvib" 
      category="SAMPLE" name="yvib" 
      units="MILLIMETER">
      <Source componentId="sens1"/>
    </DataItem>
    </DataItems>
  </Linear>
  <Components>
</Axes>

Example of sensor unit with sensing element

Example of configuration data for Sensor

<Sensor id="sensor" name="sensor">
  <Configuration>
    <SensorConfiguration>
      <FirmwareVersion>2.02</FirmwareVersion>
      <CalibrationDate>2010-05-16</CalibrationDate>
      <NextCalibrationDate>2010-05-16</NextCalibrationDate>
      <CalibrationInitials>WS</CalibrationInitials>
      <Channels>
        <Channel number="1" name="A/D:1">
          <Description>A/D With Thermister</Description>
        </Channel>
      </Channels>
    </SensorConfiguration>
  </Configuration>
  <DataItems>
    <DataItem category="CONDITION" id="sensorc" 
      name="sensorc" type="SYSTEM" />
    <DataItem category="SAMPLE" id="senv" name="sensorc"
      type="VOLTAGE_DC" units="VOLT" subType="ACTUAL" />
  </DataItems>
</Sensor>

Example of configuration data for Sensor

Observations Introduction

Purpose of This Document

This document, Observation Information Model of the MTConnect Standard, establishes the rules and terminology that describes the information returned by an MTConnect Agent from a piece of equipment. The Observation Information Model}} also defines, in {{package(Observation Information Model, the structure for the response documents that are returned from an agent in response to a sample request or current request.

Observation Information Model is not a stand-alone document. This document is used in conjunction with Fundamentals which defines the fundamentals of the operation of the MTConnect Standard and Device Information Model that defines the semantic model representing the information that may be returned from a piece of equipment.

Note: Interface Interaction Model provides details on extensions to the Observation Information Model required to describe the interactions between pieces of equipment.

In the MTConnect Standard, equipment represents any tangible property that is used in the operation of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders.

Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossarytitle=General Terms, type=general}} {{printglossarytitle=Information Model Terms, type=informationmodel}} {{printglossarytitle=Protocol Terms, type=protocol}} {{printglossarytitle=HTTP Terms, type=http}} {{printglossarytitle=XML Terms, type=xml}} {{printglossarytitle=MTConnect Terms, type=conceptmodel}}

{{printbibliographytitle=MTConnect References,keyword=MTC}}

{{printbibliographytitle=Other References,notkeyword=MTC}}

Observations Appendix

XML Schema Diagrams

Observations Schema Diagrams

See Streams element in MTConnectStreams schema.

See DeviceStream element in MTConnectStreams schema.

See ComponentStream element in MTConnectStreams schema.

See Sample element in MTConnectStreams schema.

See Event element in MTConnectStreams schema.

See Condition element in MTConnectStreams schema.

Representation Schema Diagrams

See AbsTimeSeries element in MTConnectStreams schema.

See PartCountDiscrete element in MTConnectStreams schema.

See VariableDataSet element in MTConnectStreams schema.

See Entry element in MTConnectStreams schema.

See WorkOffsetTable element in MTConnectStreams schema.

XML Examples

DeviceStream Example

<Streams>
  <DeviceStream name="M12346" uuid="M8010W4194N">
    <ComponentStream component="Device" name="M12346" componentId="d1">
      <Events>
        <Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
        <AssetChanged assetType="CuttingTool" dataItemId="d1_asset_chg" sequence="75570" timestamp="2021-10-07T05:08:53.870206Z">M8010W4194N1.120</AssetChanged>
        <AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
      </Events>
    </ComponentStream>
    <ComponentStream component="Controller" name="controller" componentId="cont">
      <Events>
        <EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
      </Events>
      <Samples>
        <AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
      </Samples>
      <Condition>
        <Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
        <Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
      </Condition>
    </ComponentStream>
    <ComponentStream component="Path" name="path" componentId="path1">
      <Events>
        <Execution dataItemId="execution" name="execution" sequence="222623" timestamp="2021-10-12T06:04:32.761198Z">INTERRUPTED</Execution>
        <VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
          <Entry key="100">66.3314</Entry>
          <Entry key="101">167.2</Entry>
        </VariableDataSet>
        <WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
          <Entry key="G53.1">
            <Cell key="X">1</Cell>
            <Cell key="Y">2</Cell>
            <Cell key="Z">3</Cell>
          </Entry>
          <Entry key="G53.2">
            <Cell key="X">4</Cell>
            <Cell key="Y">5</Cell>
            <Cell key="Z">6</Cell>
          </Entry>
        </WorkOffsetTable>
      </Events>
      <Samples>
        <CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
      </Samples>
      <Condition>
        <Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
      </Condition>
    </ComponentStream>
  </DeviceStream>
</Streams>

DeviceStream Example

Observations made for DataItem Example

<Components>
  <Controller id="cont" name="controller">
      <DataItems>
      <DataItem category="EVENT" id="estop" name="estop" type="EMERGENCY_STOP"/>
    </DataItems>
  </Controller>
</Components>

MTConnectDevices Response Document

<ComponentStream component="Controller" name="controller" componentId="cont">
  <Events>
    <EmergencyStop dataItemId="estop" sequence="159" timestamp="2021-10-01T14:26:38.66869Z">ARMED</EmergencyStop>
  </Events>
</ComponentStream>

MTConnectStreams Response Document

Sample Example

<Samples>
  <AccumulatedTime dataItemId="cut_time" sequence="75437" timestamp="2021-10-07T05:08:28.221704Z">1763070.0</AccumulatedTime>
  <CuttingSpeed dataItemId="cspeed" sequence="112" timestamp="2021-10-07T05:08:28.221704Z" subType="ACTUAL">UNAVAILABLE</CuttingSpeed>
</Samples>

Sample Example

Event Example

<Events>
  <Availability dataItemId="avail" sequence="156" timestamp="2021-10-01T14:26:38.668505Z">AVAILABLE</Availability>
  <AssetRemoved assetType="CuttingTool" dataItemId="d1_asset_rem" sequence="140" timestamp="2021-10-01T11:40:08.101461Z">UNAVAILABLE</AssetRemoved>
</Events>

Event Example

Condition Example

Condition types are represented differently in XML when compared to Sample and Event types. The element name is the condition state of the Condition type in Pascal Case. The name of the Condition type is represented by the attribute type.

If the condition state is unavailable then the element name is represented by Unavailable.

<Condition>
  <Unavailable dataItemId="cont_system" sequence="72" timestamp="2021-10-11T21:04:03.251999Z" type="SYSTEM"/>
  <Normal dataItemId="path_system" sequence="153" timestamp="2021-10-11T21:04:03.262845Z" type="SYSTEM"/>
  <Warning dataItemId="cont_system" nativecode="313" nativeSeverity="50" sequence="75573" timestamp="2021-10-07T05:08:58.518317Z" type="LOGIC_PROGRAM">PALLET ARM DOWN RS. MALF.</Warning>
</Condition>

Condition Example

DataSet Example

<Events>
  <VariableDataSet count="2" dataItemId="cvars" sequence="126513" timestamp="2021-10-12T03:57:31.106559Z">
    <Entry key="100">66.3314</Entry>
    <Entry key="101">167.2</Entry>
  </VariableDataSet>
</Events>

DataSet Example

Table Example

<Events>
  <WorkOffsetTable count="2" dataItemId="woffset" sequence="222101" timestamp="2021-10-12T06:04:11.990531Z">
    <Entry key="G53.1">
      <Cell key="X">1</Cell>
      <Cell key="Y">2</Cell>
      <Cell key="Z">3</Cell>
    </Entry>
    <Entry key="G53.2">
      <Cell key="X">4</Cell>
      <Cell key="Y">5</Cell>
      <Cell key="Z">6</Cell>
    </Entry>
  </WorkOffsetTable>
</Events>

Table Example

Interfaces Introduction

Purpose of This Document

This document, Interface Interaction Model of the MTConnect Standard, defines a structured data model used to organize information required to coordinate inter-operations between pieces of equipment.

This data model is based on an interaction model that defines the exchange of information between pieces of equipment and is organized in the MTConnect Standard by Interfaces.

Interfaces is modeled as an extension to the Device Information Model and Observation Information Model. Interfaces leverages similar rules and terminology as those used to describe a component in the Device Information Model. Interfaces also uses similar methods for reporting data to those used in the MTConnectStreams Response Document.

As defined in Device Information Model, Interfaces organizes the Interface types (see Interfaces in Entity Hierarchy). Each individual Interface contains data associated with the corresponding interface.

Note: See Device Information Model and Observation Information Model of the MTConnect Standard for information on how Interfaces is structured in the response documents which are returned from an agent in response to a probe request, sample request, or current request.

Terminology and Conventions

Refer to Fundamentals for a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossarytitle=General Terms, type=general}} {{printglossarytitle=Information Model Terms, type=informationmodel}} {{printglossarytitle=Protocol Terms, type=protocol}} {{printglossarytitle=HTTP Terms, type=http}} {{printglossarytitle=XML Terms, type=xml}} {{printglossarytitle=MTConnect Terms, type=conceptmodel}}

{{printbibliographytitle=MTConnect References,keyword=MTC}}

{{printbibliographytitle=Other References,notkeyword=MTC}}

Fundamentals Appendix

Fundamentals of Using XML to Encode Response Documents

The MTConnect Standard specifies the structures and constructs that are used to encode response documents. When these response documents are encoded using XML, there are additional rules defined by the XML standard that apply for creating an XML compliant document. An implementer should refer to the W3C website for additional information on XML documentation and implementation details - http://www.w3.org/XML.

The following provides specific terms and guidelines referenced in the MTConnect Standard for forming response documents with XML:

  • tag: A tag is an XML construct that forms the foundation for an XML expression. It defines the scope (beginning and end) of an XML expression. The main types of tags are:

  • start-tag: Designates the beginning on an XML element; e.g., <element name>

  • end-tag: Designates the end on an XML element; e.g., </element name>.

Note: If an element has no child elements or CDATA, the end-tag may be shortened to />.

  • Element: An element is an XML statement that is the primary building block for a document encoded using XML. An element begins with a start-tag and ends with a matching end-tag. The characters between the start-tag and the end-tag are the element's content. The content may contain attributes, CDATA, and/or other elements. If the content contains additional elements, these elements are called child elements.

An example would be: <element name>Content of the Element</element name>.

  • child element: An XML element that is contained within a higher-level parent element. A child element is also known as a sub-element. XML allows an unlimited hierarchy of parent element-child element relationships that establishes the structure that defines how the various pieces of information in the document relate to each other. A parent element may have multiple associated child elements.

  • element name: A descriptive identifier contained in both the start-tag and end-tag that provides the name of an XML element.

  • Attribute: A construct consisting of a name–value pair that provides additional information about that XML element. The format for an attribute is `name="value"; where the value for the attribute is enclosed in a set of quotation (“) marks. An XML attribute MUST only have a single value and each attribute can appear at most once in each element. Also, each attribute MUST be defined in a schema to either be required or optional.

  • An example of attributes for an XML element is example-of-attributes-for-an-element:

<DataItem category="SAMPLE" id="S1load"
  nativeUnits="PERCENT"  type="LOAD"
  units="PERCENT"/>

Example of attributes for an element

In this example, DataItem is the element name. category, id, nativeUnits, type, and units are the names of the attributes. “SAMPLE", “S1load", “PERCENT", “LOAD", and “PERCENT" are the values for each of the respective attributes.

  • CDATA: CDATA is an XML term representing Character Data. Character Data contains a value(s) or text that is associated with an XML element. CDATA can be restricted to certain formats, patterns, or words.

An example of CDATA associated with an XML element would be example-of-cdata-associated-with-element:

<Message id="M1">This is some text</Message>

Example of cdata associated with element

In this example, Message is the element name and This is some text is the CDATA.

  • namespace: An XML namespace defines a unique vocabulary for named elements and attributes in an XML document. An XML document may contain content that is associated with multiple namespaces. Each namespace has its own unique identifier.

Elements and attributes are associated with a specific namespace by placing a prefix on the name of the element or attribute that associates that name to a specific namespace; e.g., x:MyTarget associates the element name MyTarget with the namespace designated by x: (the prefix).

namespaces are used to avoid naming conflicts within an XML document. The naming convention used for elements and attributes may be associated with either the default namespace specified in the header of an XML document or they may be associated with one or more alternate namespaces. All elements or attributes associated with a namespace that is not the default namespace, must include a prefix (e.g., x:) as part of the name of the element or attribute to associate it with the proper namespace. See Schema and Namespace Declaration Information for details on the structure for XML headers.

The names of the elements and attributes declared in a namespace may be identified with a different prefix than the prefix that signifies that specific namespace. These prefixes are called namespace aliases. As an example, MTConnect Standard specific namespaces are designated as m: and the names of the elements and attributes defined in that namespace have an alias prefix of mt: which designates these names as MTConnect Standard specific vocabulary; e.g., mt:MTConnectDevices.

XML documents are encoded with a hierarchy of elements. In general, XML elements may contain child elements, CDATA, or both. However, in the MTConnect Standard, an element MUST NOT contain mixed content; meaning it cannot contain both child elements and CDATA.

The semantic data model defined for each response document specifies the elements and child elements that may appear in a document. The semantic data model also defines the number of times each element and child element may appear in the document.

example-of-hierarchy-of-xml-elements demonstrates the hierarchy of XML elements and child elements used to form an XML document:

<Root Level>    (Parent Element)
  <First Level>  (Child Element to Root Level and 
  Parent Element to Second Level)
    <Second Level>  (Child Element to First Level
    and Parent Element to Third Level)
      <Third Level name="N1"></Third Level>  
      (Child Element to Second Level)
      <Third Level name="N2"></Third Level>  
      (Child Element to Second Level)
      <Third Level name="N3"></Third Level>  
      (Child Element to Second Level)
    </Second Level>   (end-tag for Second Level)
  </First Level>   (end-tag for First Level)
</Root Level>   (end-tag for Root Level)

Example of hierarchy of XML elements

In the example-of-hierarchy-of-xml-elements, Root Level and First Level have one child element (sub-elements) each and Second Level has three child elements; each called Third Level. Each Third Level element has a different name attribute. Each level in the structure is an element and each lower level element is a child element.

Schema and Namespace Declaration Information

There are four pseudo-attributes typically included in the header of a response document that declare the schema and namespace for the document. Each of these pseudo-attributes provides specific information for a client software application to properly interpret the content of the response document.

The pseudo-attributes include:

  • xmlns:xsi – The xsi portion of this attribute name stands for XML Schema instance. An XML Schema instance provides information that may be used by a software application to interpret XML specific information within a document. See the W3C website for more details on xmlns:xsi.

  • xmlns – Declares the default namespace associated with the content of the response document. The default namespace is considered to apply to all elements and attributes whenever the name of the element or attribute does not contain a prefix identifying an alternate namespace.

The value of this attribute is an URN identifying the name of the file that defines the details of the namespace content. This URN provides a unique identify for the namespace.

  • xmlns:m – Declares the MTConnect specific namespace associated with the content of the response document. There may be multiple namespaces declared for an XML document. Each may be associated to the default namespace or it may be totally independent. The :m designates that this is a specific MTConnect namespace which is directly associated with the default namespace.

Note: See Extensibility for details regarding extended namespaces.

The value associated with this attribute is an URN identifying the name of the file that defines the details of the namespace content.

  • xsi:schemaLocation - Declares the name for the schema associated with the response document and the location of the file that contains the details of the schema for that document.

The value associated with this attribute has two parts:

  • A URN identifying the name of the specific XML Schema instance associated with the response document.

  • The path to the location where the file describing the specific XML Schema instance is located. If the file is located in the same root directory where the agent is installed, then the local path MAY be declared. Otherwise, a fully qualified URL must be declared to identify the location of the file.

Note: In the format of the value associated with xsi:schemaLocation, the URN and the path to the schema file MUST be separated by a “space”.

In example-of-schema-and-namespace-declaration, the first line is the XML declaration. The second line is a root element called MTConnectDevices. The remaining four lines are the pseudo-attributes of MTCconnectDevices that declare the XML schema and namespace associated with an MTConnectDevices Response Document.

<?xml version="1.0" encoding="UTF-8"?>
  <MTConnectDevices
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
   xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
   xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
   xsi:schemaLocation="urn:mtconnect.org:
    MTConnectDevices:1.3 /schemas/MTConnectDevices\\_1.3.xsd">

Example of schema and namespace declaration

The format for the values provided for each of the pseudo-attributes MUST reference the semantic data model (e.g., MTConnectDevices, MTConnectStreams, MTConnectAssets, or MTConnectError) and the version (i.e.; 1.1, 1.2, 1.3, etc.) of the MTConnect Standard that depict the schema and namespace(s) associated with a specific response document.

When an implementer chooses to extend an MTConnect data model by adding custom data types or additional structural elements, the schema and namespace for that data model should be updated to reflect the additional content. When this is done, the namespace and schema information in the header should be updated to reflect the URI for the extended namespace and schema.

Extensibility

MTConnect is an extensible standard, which means that implementers MAY extend the data models defined in the various sections of the MTConnect Standard to include information required for a specific implementation. When these data models are encoded using XML, the methods for extending these data models are defined by the rules established for extending any XML schema (see the W3C website for more details on extending XML data models).

The following are typical extensions that MAY be considered in the MTConnect data models:

  • Additional type and subtype values for DataItems.

  • Additional structural elements as containers.

  • Additional Composition elements.

  • New Asset types that are sub-typed from the abstract Asset type.

  • child elements that may be added to specific XML elements contained within the MTConnect Information Models. These extended elements MUST be identified in a separate namespace.

When extending an MTConnect data model, there are some basic rules restricting changes to the MTConnect data models.

When extending an MTConnect data model, an implementer:

  • MUST NOT add new value for category for DataItems,

  • MUST NOT add new root elements,

  • SHOULD NOT add new top level Components, and

  • MUST NOT add any new attributes or include any sub-elements to Composition.

Note: Throughout the documents additional information is provided where extensibility may be acceptable or unacceptable to maintain compliance with the MTConnect Standard.

When a schema representing a data model is extended, the schema and namespace declaration at the beginning of the corresponding response document MUST be updated to reflect the new schema and namespace so that a client software application can properly validate the response document.

An XML example of a schema and namespace declaration, including an extended schema and namespace, is shown in example-of-extended-schema-and-namespace-in-declaration:

<?xml version="1.0" encoding="UTF-8"?>
  <MTConnectDevices
   xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance
   xmlns="urn:mtconnect.org:MTConnectDevices:1.3"
   xmlns:m="urn:mtconnect.org:MTConnectDevices:1.3"
   xmlns:x="urn:MyLocation:MyFile:MyVersion"
   xsi:schemaLocation="urn:MyLocation:MyFile:MyVersion
     /schemas/MyFileName.xsd" />

Example of extended schema and namespace in declaration

In this example:

Note: The "x" prefix MAY be replaced with any prefix that the implementer chooses for identifying the extended schema and namespace.

  • xsi:schemaLocation is modified in Line 7 to associate the namespace URN with the URL specifying the location of schema file.

  • MyLocation, MyFile, MyVersion, and MyFileName in Lines 6 and 7 MUST be replaced by the actual name, version, and location of the extended schema.

When an extended schema is implemented, each structural element, DataItem, and asset defined in the extended schema MUST be identified in each respective response document by adding a prefix to the XML element name associated with that structural element, DataItem, or asset. The prefix identifies the schema and namespace where that XML Element is defined.

Fundamentals Introduction

Overview of MTConnect

MTConnect is a data and information exchange standard that is based on a data dictionary of terms describing information associated with manufacturing operations. The standard also defines a series of semantic data model that provide a clear and unambiguous representation of how that information relates to a manufacturing operation. The MTConnect Standard has been designed to enhance the data acquisition capabilities from equipment in manufacturing facilities, to expand the use of data driven decision making in manufacturing operations, and to enable software applications and manufacturing equipment to move toward a plug-and-play environment to reduce the cost of integration of manufacturing software systems.

The MTConnect standard supports two primary communications methods - request and response and publish and subscribe type of communications. The request and response communications structure is used throughout this document to describe the functionality provided by MTConnect. See Streaming Data for details describing the functionality of the publish and subscribe communications structure available from an agent.

Although the MTConnect Standard has been defined to specifically meet the requirements of the manufacturing industry, it can also be readily applied to other application areas as well.

The MTConnect Standard is an open, royalty free standard – meaning that it is available for anyone to download, implement, and utilize in software systems at no cost to the implementer.

The semantic data models defined in the MTConnect Standard provide the information required to fully characterize data with both a clear and unambiguous meaning and a mechanism to directly relate that data to the manufacturing operation where the data originated. Without a semantic data model, client software applications must apply an additional layer of logic to raw data to convey this same level of meaning and relationship to manufacturing operations. The approach provided in the MTConnect Standard for modeling and organizing data allows software applications to easily interpret data from a wide variety of data sources which reduces the complexity and effort to develop applications.

The data and information from a broad range of manufacturing equipment and systems are addressed by the MTConnect Standard. Where the data dictionary and semantic data models are insufficient to define some information within an implementation, an implementer may extend the data dictionary and semantic data model to address their specific requirements. See Extensibility for guidelines related to extensibility of the MTConnect Standard.

To assist in implementation, the MTConnect Standard is built upon the most prevalent standards in the manufacturing and software industries. This maximizes the number of software tools available for implementation and provides the highest level of interoperability with other standards, software applications, and equipment used throughout manufacturing operations.

Current MTConnect implementations are based on HTTP as a transport protocol and XML as a language for encoding each of the semantic data models into electronic documents. All software examples provided in the various MTConnect Standard documents are based on these two core technologies.

The base functionality defined in the MTConnect Standard is the data dictionary describing manufacturing information and the semantic data model. The transport protocol and the programming language used to represent or transfer the information provided by the semantic data models are not restricted in the standard to HTTP and XML. Therefore, other protocols and programming languages may be used to represent the semantic models and/or transport the information provided by these data models between an agent (server) and a client software application as may be required by a specific implementation.

Note: The term "document" is used with different meanings in the MTConnect Standard:

  • Meaning 1: The MTConnect Standard itself is comprised of multiple documents each addressing different aspects of the Standard. Each document is referred to as a Part of the Standard.

  • Meaning 2: In an MTConnect implementation, the electronic documents that are published from a data source and stored by an agent.

  • Meaning 3: In an MTConnect implementation, the electronic documents generated by an agent for transmission to a client software application.

The following will be used throughout the MTConnect Standard to distinguish between these different meanings for the term "document":

  • MTConnect Document(s) or Document(s) shall be used to refer to printed or electronic document(s) that represent a Part(s) of the MTConnect Standard.

  • All reference to electronic documents that are received from a data source and stored in an agent shall be referred to as document(s) and are typically provided with a prefix identifier; e.g. asset document.

  • All references to electronic documents generated by an agent and sent to a client software application shall be referred to as a response document.

When used with no additional descriptor, the form "document" shall be used to refer to any printed or electronic document.

Manufacturing software systems implemented utilizing MTConnect can be represented by a very simple structure as shown in Basic MTConnect Implementation Structure.

Basic MTConnect Implementation Structure

The three basic modules that comprise a software system implemented using MTConnect are:

  • Equipment: Any data source. In the MTConnect Standard, equipment is defined as any tangible property that is used to equip the operations of a manufacturing facility. Examples of equipment are machine tools, ovens, sensor units, workstations, software applications, and bar feeders.

  • Agent: Software that collects data published from one or more piece(s) of equipment, organizes that data in a structured manner, and responds to requests for data from client software systems by providing a structured response in the form of a response document that is constructed using the semantic data models defined in the Standard.

    Note: The agent may be fully integrated into the piece of equipment or the agent may be independent of the piece of equipment. Implementation of an agent is the responsibility of the supplier of the piece of equipment and/or the implementer of the agent.

  • Client Software Application: Software that requests data from agents and processes that data in support of manufacturing operations.

Based on Basic MTConnect Implementation Structure, it is important to understand that the MTConnect Standard only addresses the following functionality and behavior of an agent:

  • the method used by a client software application to request information from an agent.

  • the response that an agent provides to a client software application.

  • a data dictionary used to provide consistency in understanding the meaning of data reported by a data source.

  • the description of the semantic data models used to structure response documents provided by an agent to a client software application.

These functions are the primary building blocks that define the base functional structure of the MTConnect Standard.

There are a wide variety of data sources (equipment) and data consumption systems (client software systems) used in manufacturing operations. There are also many different uses for the data associated with a manufacturing operation. No single approach to implementing a data communication system can address all data exchange and data management functions typically required in the data driven manufacturing environment. MTConnect has been uniquely designed to address this diversity of data types and data usages by providing different semantic data models for different data application requirements:

  • Data Collection: The most common use of data in manufacturing is the collection of data associated with the production of products and the operation of equipment that produces those products. The MTConnect Standard provides comprehensive semantic data models that represent data collected from manufacturing operations. These semantic data models are detailed in Device Information Model and Observation Information Model of the MTConnect Standard.

  • Inter-operations Between Pieces of Equipment: The MTConnect Standard provides an interaction model that structures the information required to allow multiple pieces of equipment to coordinate actions required to implement manufacturing activities. This interaction model is an implementation of a request and response messaging structure. This interaction model is called Interfaces which is detailed in Interface Interaction Model of the MTConnect Standard.

  • Shared Data: Certain information used in a manufacturing operation is commonly shared amongst multiple pieces of equipment and/or software applications. This information is not typically "owned" by any one manufacturing resource. The MTConnect Standard represents this information through a series of semantic data models – each describing different types of information used in the manufacturing environment. Each type of information is called an Asset. Assets are detailed in Asset Information Model, and its sub-Parts, of the MTConnect Standard.

Purpose of This Document

This document, Fundamentals of the MTConnect Standard, addresses two major topics relating to the MTConnect Standard. The first sections of the document define the organization of the documents used to describe the MTConnect Standard; including the terms and terminology used throughout the Standard. The balance of the document defines the following:

  • Operational concepts describing how an agent should organize and structure data that has been collected from a data source.

  • Definition and structure of the response documents supplied by an agent.

  • The protocol used by a client software application to communicate with an agent.

Terminology and Conventions

This section provides a dictionary of terms, reserved language, and document conventions used in the MTConnect Standard.

{{printglossarytitle=General Terms, type=general}} {{printglossarytitle=Information Model Terms, type=informationmodel}} {{printglossarytitle=Protocol Terms, type=protocol}} {{printglossarytitle=HTTP Terms, type=http}} {{printglossarytitle=XML Terms, type=xml}} {{printglossarytitle=MTConnect Terms, type=conceptmodel}}

{{printbibliographytitle=MTConnect References,keyword=MTC}}

{{printbibliographytitle=Other References,notkeyword=MTC}}

WIP: Device Examples

Review the MTConnect definition and model details for WIP: Device Examples, an MTConnect package.

WIP: Use Cases

Review the MTConnect definition and model details for WIP: Use Cases, an MTConnect package.

An unhandled error has occurred. Reload 🗙