-
Notifications
You must be signed in to change notification settings - Fork 4
Home
MTConnect is an XML-based standard for data interchange between machine tools and other systems within a machine shop. The standard runs over HTTP based on REST principles.
For more information, see the MTConnect Institute website.
MTConnect-Node implements an MTConnect Agent using Node.js. It accepts data pushed to it by an adapter, and exposes that data in compliance with the MTConnect standard. This project is currently based on version 1.2 of the standard.
When run, the agent will load device settings from a file named probe.xml, and then listen for requests on port 8080. These are default values that may be changed through command-line arguments.
The agent will serve an MTConnectStreams
document in response to a current
or sample
request. All other requests will receive an MTConnectErrors
document. None of the XML documents contain proper xmlns namespace attributes.
Some parameters are not implemented. A probe
request will not recognize a device-specific probe, such as http://example.com/devicename/probe
. A current
request will not recognize path
or interval
parameters. A sample
request will not recognize path
or interval
parameters.
Assets are not implemented at all. Requests for assets will receive an MTConnectErrors
document.
Test cases are not yet created.