Collect MTConnect PROBE, CURRENT, and SAMPLE responses
Save three XML responses from the same MTConnect agent so you can check what the machine exposes and what it actually reports.
What each response tells you
| Request | Response | Look for |
|---|---|---|
/probe | MTConnectDevices | The equipment, components, and data items supported by the agent. |
/current | MTConnectStreams | The most recent observation for each data item in the request. |
/sample | MTConnectStreams | A sequence of observations held in the agent's buffer. |
Capture the files
- Ask your equipment or IT team for the agent URL and permission to collect and upload its responses. Use a workstation that can reach the agent.
- Replace
http://agent.example:5000with your agent's base URL. Open the three endpoints and save the original XML, or run these commands withcurl(curl.exein Windows PowerShell). - Check the root element against the table. If you received
MTConnectErroror an HTML sign-in page, fix the agent URL or access first. - Record the machine, capture time in UTC, and the agent build or configuration. If the agent is shared, record which device and data items the downstream system uses.
curl --fail --show-error --silent --max-time 20 "http://agent.example:5000/probe" -o probe.xml
curl --fail --show-error --silent --max-time 20 "http://agent.example:5000/current" -o current.xml
curl --fail --show-error --silent --max-time 20 "http://agent.example:5000/sample?count=100" -o sample.xml
The sample command limits the result to 100 observations. On a busy machine, that slice may not contain the cycle you care about. Ask your integrator to capture the relevant sequence range while the machine runs a normal cycle.
Upload the files one at a time in the MTConnect Validator, then review the results against your production needs.
Protocol reference: MTConnect Part 1.0: Fundamentals.
