MTConnect 2.8 class

Agent

agent.

An agent MUST perform the following tasks:

  • Collect data from manufacturing equipment.
  • Generate response documents.
  • Provide a REST interface using HTTP.

In addition to XML and HTTP, An agent MAY provide additional protocols and representations. Some representations MAY have companion specifications.

Introduced in MTConnect 1.0.

Properties

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

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
assetCountnonNegativeInteger1.2Agent

current number of Assets that are currently stored in the agent as of the creationTime that the agent published the response document.

Access: public

Aggregation: composite

bufferSizenonNegativeInteger1.0Agent

maximum number of Observations that MAY be retained in the agent that published the response document at any point in time.

Access: public

Aggregation: composite

instanceIdnonNegativeInteger1.0Agent

identifier for an instance of the agent.

instanceId MUST be changed to a different unique number each time the buffer is cleared and a new set of data begins to be collected.

Access: public

Aggregation: composite

maxAssetsnonNegativeInteger1.2Agent

maximum number of Assets that MAY be retained in the agent that published the response document at any point in time.

Access: public

Aggregation: composite

sequenceNumbernonNegativeInteger1.0Agent

Access: public

Aggregation: composite

Parts

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

NameTypeMultiplicityIntroducedDeprecatedDefined byDefinition
hasAssetAsset0..*Agent

Association: assetBuffer

Access: public

Aggregation: composite

hasObservationObservation0..*Agent

Association: buffer

Access: public

Aggregation: composite

Constraints

  • val:SufficientObservationSpace a sh:NodeShape ; sh:message "Observation buffer length MUST be strictly less than Agent's buffer size." ; sh:targetClass mt:Agent ; sh:sparql [ a sh:SPARQLConstraint ; sh:select """ SELECT $this WHERE { $this mt:observationBuffer ?buffer . $this mt:bufferSize ?maxSize . ?buffer mt:length ?bufferLen . FILTER (xsd:integer(?bufferLen) >= xsd:integer(?maxSize)) } """ ; ] .

  • val:SufficientAssetSpace a sh:NodeShape ; sh:message "Asset buffer length MUST be less than Agent's max assets." ; sh:targetClass mt:Agent ; sh:sparql [ a sh:SPARQLConstraint ; sh:select """ SELECT $this WHERE { $this mt:assetBuffer ?buffer . $this mt:maxAssets ?maxAssets . ?buffer mt:length ?bufferLen . FILTER (xsd:integer(?bufferLen) >= xsd:integer(?maxAssets)) } """ ; ] .

Source: MTConnect Institute model documentation, version 2.8.

MTConnect term dictionary ยท TAMS Model-Aware MTConnect Browser

An unhandled error has occurred. Reload ๐Ÿ—™