{"id":1615,"date":"2026-10-02T00:30:56","date_gmt":"2026-10-02T00:30:56","guid":{"rendered":"https:\/\/mestric.com\/mtconnect-integracija\/"},"modified":"2026-10-02T00:30:58","modified_gmt":"2026-10-02T00:30:58","slug":"mtconnect-integracija","status":"publish","type":"post","link":"https:\/\/mestric.com\/hu\/mtconnect-integracija\/","title":{"rendered":"Pilot MTConnect Integration Right: 4 Checks Engineers Must Run"},"content":{"rendered":"<\/p>\n<p>MTConnect integration means connecting an adapter, an agent and a validated Devices XML so machine data becomes readable over HTTP. Before writing any code, check whether your machine controller already ships a vendor adapter or supports SHDR. Once that is confirmed, use the \/probe request to discover what the device exposes, then move to \/current or \/sample to start pulling live values.<\/p>\n<hr>\n<blockquote>\n<p><strong>TL;DR:<\/strong><\/p>\n<ul>\n<li>Most integration issues stem from mismatched dataItemIds or poorly validated Devices XML, which can cause data loss or confusion in downstream systems.<\/li>\n<li>Deploying one agent per machine is the simplest approach but can become difficult to scale across large plants, whereas hybrid patterns reduce risk with multiple data sources.<\/li>\n<li>Ensuring that the Devices XML is validated with sample telemetry before connecting live machines prevents costly rework and delays.<\/li>\n<li>Converting MTConnect streams into KPIs requires reliable data capture, timestamp preservation, and proper mapping to production metrics within an MES like Mestric\u2122.<\/li>\n<li>Security best practices include segmenting machine networks, restricting agent access with firewalls, and running agents as managed services to ensure operational stability.<\/li>\n<\/ul>\n<\/blockquote>\n<hr>\n<div data-blg-cta=\"after_tldr\" data-blg-cta-layout=\"banner\" style=\"margin:28px 0;font-family:-apple-system, BlinkMacSystemFont, &apos;Segoe UI&apos;, Roboto, Helvetica, Arial, sans-serif\">\n<div style=\"border-radius:26px;padding:min(22px,3.2vw);background:radial-gradient(circle at 100% 0%,#e3eeec 0 150px,rgba(255,255,255,0) 151px),radial-gradient(circle at 0% 100%,#e3eeec 0 130px,rgba(255,255,255,0) 131px),linear-gradient(180deg,#edf3f2 0%,#f6f9f9 100%)\">\n<div style=\"background:#ffffff;border-radius:18px;overflow:hidden\">\n<div style=\"padding:34px 30px;text-align:center\">\n<div style=\"margin:0 0 18px\"><span style=\"display:inline-block;max-width:100%;border-radius:999px;padding:6px 13px;font-size:12px;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;line-height:1.3;background:#669f94;color:#ffffff\">Mestric<\/span><\/div>\n<div style=\"font-size:26px;font-weight:800;line-height:1.2;letter-spacing:-0.01em;color:#1f2937;margin:0\">Turn Machine Data Into Useful KPIs<\/div>\n<div style=\"width:56px;height:6px;border-radius:3px;background:#669f94;margin:12px 0 14px;margin-left:auto;margin-right:auto\"><\/div>\n<div style=\"font-size:15px;line-height:1.55;color:#64748b;margin:0 0 24px;max-width:44em;margin-left:auto;margin-right:auto\">Mestric connects with manufacturing equipment to track performance, downtime, quality parameters, and costs in real time.<\/div>\n<p><a href=\"https:\/\/mestric.com\/hu\/\" style=\"display:inline-flex;align-items:center;gap:9px;border-radius:10px;font-weight:700;font-size:15px;text-decoration:none;padding:13px 22px 13px 26px;background:#669f94;color:#ffffff\">See how Mestric works<\/a><\/div>\n<\/div>\n<\/div>\n<\/div>\n<h2 id=\"table-of-contents\" tabindex=\"-1\">Table of Contents<\/h2>\n<ul>\n<li><a href=\"#quick-checklist-steps-and-prerequisites-before-you-start-an-mtconnect-integration\">Quick checklist: steps and prerequisites before you start an MTConnect integration<\/a><\/li>\n<li><a href=\"#mtconnect-architecture-and-core-concepts\">MTConnect architecture and core concepts<\/a><\/li>\n<li><a href=\"#step-by-step-implementation-building-an-adapter-configuring-an-agent-and-creating-the-devices-xml\">Step-by-step implementation: building an adapter, configuring an agent and creating the Devices XML<\/a><\/li>\n<li><a href=\"#integration-patterns-connecting-mtconnect-data-to-mes-erp-opc-ua-and-cloud-platforms\">Integration patterns: connecting MTConnect data to MES, ERP, OPC-UA and cloud platforms<\/a><\/li>\n<li><a href=\"#tools-reference-implementations-and-examples-to-speed-development\">Tools, reference implementations and examples to speed development<\/a><\/li>\n<li><a href=\"#deployment-and-scaling-patterns-one-agent-per-machine-aggregators-and-hybrid-designs\">Deployment and scaling patterns: one agent per machine, aggregators and hybrid designs<\/a><\/li>\n<li><a href=\"#validation-testing-and-verification-how-to-prove-your-mtconnect-integration-works\">Validation, testing and verification: how to prove your MTConnect integration works<\/a><\/li>\n<li><a href=\"#troubleshooting-and-security-best-practices-for-mtconnect-deployments\">Troubleshooting and security best practices for MTConnect deployments<\/a><\/li>\n<li><a href=\"#how-mestric-consumes-mtconnect-data-practical-example-of-turning-streams-into-kpis\">How Mestric\u2122 consumes MTConnect data: practical example of turning streams into KPIs<\/a><\/li>\n<li><a href=\"#editorial-take-on-building-a-pilot-first-mtconnect-integration\">Editorial take on building a pilot-first MTConnect integration<\/a><\/li>\n<li><a href=\"#how-mestric-can-help-pilot-integration-services-and-demo\">How Mestric\u2122 can help: pilot, integration services and demo<\/a><\/li>\n<li><a href=\"#sources\">Sources<\/a><\/li>\n<li><a href=\"#faq\">GYIK<\/a><\/li>\n<\/ul>\n<h2 id=\"quick-checklist-steps-and-prerequisites-before-you-start-an-mtconnect-integration\" tabindex=\"-1\">Quick checklist: steps and prerequisites before you start an MTConnect integration<\/h2>\n<p>A successful MTConnect integration begins with an honest inventory of what you already have, not with writing code. Before touching an adapter or agent, you need to know what each machine on your floor can actually talk to.<\/p>\n<ul>\n<li>Inventory every machine and controller interface, noting Ethernet, serial or API availability and firmware versions.<\/li>\n<li>Decide where the agent will live: at the edge, on a machine PC, or on a central host, and open the network ports it needs.<\/li>\n<li>Check whether the machine builder already supplies an adapter; if not, plan for SHDR or a custom adapter.<\/li>\n<li>Draft a Devices XML file for each machine and gather sample telemetry to validate it against.<\/li>\n<li>Identify downstream endpoints, whether that is an MES, an OPC-UA gateway, an MQTT broker or a time-series database, and note their security requirements.<\/li>\n<li>Set a pilot timeline: prove the concept on one or two machines before scaling to the rest of the plant.<\/li>\n<\/ul>\n<p>This list looks simple, but skipping any item tends to surface as a painful rework later. A Devices XML written without real telemetry samples in hand almost always needs revision once the agent goes live.<\/p>\n<p><strong>Profi tipp:<\/strong> <em>Run the pilot on your oldest and newest machine at the same time. It exposes interface gaps early rather than one at a time.<\/em><\/p>\n<h2 id=\"mtconnect-architecture-and-core-concepts\" tabindex=\"-1\">MTConnect architecture and core concepts<\/h2>\n<p>MTConnect organises data around three roles: the adapter, which sits closest to the machine and reads its native signals; the agent, which collects that data and serves it in a standard format; and the client, which requests information over HTTP. The agent responds with three document types: Devices, which describes the machine\u2019s structure and capabilities, Streams, which carries live and historical observations, and Assets, which covers things like cutting tools or work offsets.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/mestric.com\/wp-content\/uploads\/2026\/10\/1790766826753_MTConnect-adapter-agent-client-architecture.jpeg\" alt=\"MTConnect adapter agent client architecture\"><\/p>\n<p>The <a href=\"https:\/\/docs.mtconnect.org\/MBSD_MTConnect_Part_1_2-5-0.pdf\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">MTConnect Part 1 fundamentals document<\/a> sets out the semantic domain model behind this: a shared vocabulary of components and dataItems so that any compliant client can interpret data from any compliant machine without custom parsing logic. Getting the Devices XML right is not a formality. It is the definition that everything downstream depends on.<\/p>\n<p>MTConnect is deliberately read-only. A client can request data but cannot send commands back to the machine, which removes an entire category of safety and cybersecurity risk that write-capable protocols carry.<\/p>\n<p>Within the Streams document, dataItems fall into a handful of common categories. SAMPLE items report continuous or numeric values such as LOAD or TEMPERATURE. EVENT items report discrete states such as a program name or an alarm code. CONDITION items report machine health states. STATE-type values, such as whether an axis is running or idle, typically appear as events tied to a controller component. Knowing which category a signal belongs to determines how you model it in the Devices XML and how a client should interpret changes over time.<\/p>\n<h2 id=\"step-by-step-implementation-building-an-adapter-configuring-an-agent-and-creating-the-devices-xml\" tabindex=\"-1\">Step-by-step implementation: building an adapter, configuring an agent and creating the Devices XML<\/h2>\n<p>Start by deciding your adapter approach. Some controllers, such as certain LinuxCNC configurations, offer native MTConnect support. Others ship a vendor adapter from the machine builder. When neither exists, you write a custom adapter, commonly in Python or C++, that reads native signals and reformats them as SHDR (Simple Hierarchical Data Representation).<\/p>\n<ol>\n<li>Map each machine signal to a dataItemId defined in your Devices XML, matching names exactly since the agent uses these ids to route incoming data.<\/li>\n<li>Format each SHDR line as a timestamp followed by one or more key-value pairs, and send it over a TCP socket to the agent\u2019s configured port.<\/li>\n<li>Set a polling or push cadence appropriate to the signal. Spindle load might update every few hundred milliseconds, while a program name might only change a few times an hour.<\/li>\n<li>Buffer values locally in the adapter if the network connection to the agent is unreliable, so short outages do not lose data.<\/li>\n<li>Configure the agent, choosing between the open-source reference agent (cppagent) or another compliant implementation, and set its transport options, whether that is HTTP, SHDR or MQTT.<\/li>\n<li>Point the agent at your Devices XML file and confirm it loads without schema errors before connecting any adapter.<\/li>\n<li>Test with <code>curl<\/code> against the agent\u2019s <code>\/probe<\/code> endpoint to confirm the device model matches what you expect.<\/li>\n<li>Check <code>\/current<\/code> for a snapshot of the latest values and <code>\/sample<\/code> for a time-bounded history, watching for correct sequence numbers and timestamps.<\/li>\n<\/ol>\n<p>The MTConnect adapter tutorial walks through a simple Python SHDR server: open a TCP socket, accept the agent\u2019s connection, then send formatted SHDR lines on an interval. It is a reasonable starting template even if your production adapter ends up considerably more involved.<\/p>\n<p>Devices XML mistakes are the most common source of failed pilots. A mismatched dataItemId between the adapter and the XML means the agent simply drops the value with no obvious error. Missing units on a SAMPLE item, or an incorrect component hierarchy that nests an axis under the wrong controller, will pass basic validation but produce a device model that confuses any client trying to interpret it.<\/p>\n<p><strong>Profi tipp:<\/strong> <em>Validate your Devices XML against a sample SHDR feed before connecting a real machine. Catching a naming mismatch on a test bench costs minutes; catching it on a live spindle costs a shift.<\/em><\/p>\n<p>Before calling a pilot complete, confirm four things: the device model validates cleanly, the adapter connects and stays connected, the agent serves current data without gaps, and a client, whether a browser, a script or your MES, can read and interpret the stream correctly.<\/p>\n<h2 id=\"integration-patterns-connecting-mtconnect-data-to-mes-erp-opc-ua-and-cloud-platforms\" tabindex=\"-1\">Integration patterns: connecting MTConnect data to MES, ERP, OPC-UA and cloud platforms<\/h2>\n<p>Once an agent is serving reliable data, the next decision is how that data reaches the systems that use it. The <a href=\"https:\/\/mtcup.org\/MTConnect_Device_File\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">MTConnect Knowledge base<\/a> notes that integration to MES, ERP or cloud platforms is typically handled through middleware or edge gateways rather than by writing a bespoke XML parser inside every consuming application. That middleware translates MTConnect streams into OPC-UA, MQTT topics or rows in a SQL or time-series database.<\/p>\n<p>The choice between edge and cloud processing depends on what you need immediately versus later. Calculating machine state changes or flagging an alarm condition benefits from edge processing, since it needs low latency and doesn\u2019t require historical context. Trend analysis, quality correlation across shifts and long-term OEE reporting are usually better handled by forwarding raw or lightly transformed streams to a central store.<\/p>\n<p>For OPC-UA specifically, NIST has <a href=\"https:\/\/www.nist.gov\/publications\/testing-mtconnect-opc-ua-companion-specification\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">tested a companion specification<\/a> that maps MTConnect\u2019s XML structures directly into OPC-UA, giving clients that already speak OPC-UA a defined path in rather than a custom translation layer.<\/p>\n<p>Whichever path you choose, preserve the original MTConnect timestamps and sequence numbers through every translation step. An <a href=\"https:\/\/mestric.com\/hu\/how-to-improve-manufacturing-efficiency-mes-tools\/\" target=\"_blank\" rel=\"noopener\">MES<\/a> calculating OEE or cycle time distributions depends on that timing data being intact; losing it at a translation boundary quietly corrupts every downstream metric.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/mestric.com\/wp-content\/uploads\/2026\/10\/1790766902025_Integration-patterns-connecting-MTConnect-data-to-MES-ERP-OPC-UA-and-cloud-platforms-overview-diagram.jpeg\" alt=\"Integration patterns: connecting MTConnect data to MES, ERP, OPC-UA and cloud platforms \u2014 overview diagram\"><\/p>\n<h2 id=\"tools-reference-implementations-and-examples-to-speed-development\" tabindex=\"-1\">Tools, reference implementations and examples to speed development<\/h2>\n<p>You rarely need to build an MTConnect agent from scratch. Several reference implementations and examples already cover the common cases.<\/p>\n<ul>\n<li>The reference agent (cppagent) is an open-source C++ implementation maintained alongside the standard and is a reasonable default for new deployments.<\/li>\n<li>LinuxCNC\u2019s mtconnect-agent maps HAL pins directly to MTConnect data items and supports HTTP, SHDR and MQTT transport, configured through keys such as ENABLE, DEVICE_NAME and HTTP_PORT.<\/li>\n<li>The adapter tutorial provides a working Python SHDR server you can adapt for a custom controller interface.<\/li>\n<li>Simulation and replay tools let you exercise an agent against recorded SHDR logs, which is useful for testing without tying up a live machine.<\/li>\n<\/ul>\n<p>Open-source tools are the right starting point for most pilots since they let you validate the architecture before committing to a vendor\u2019s implementation. Reach for a vendor adapter when the machine builder already supports MTConnect natively, since it typically saves weeks of mapping work over a custom build.<\/p>\n<h2 id=\"deployment-and-scaling-patterns-one-agent-per-machine-aggregators-and-hybrid-designs\" tabindex=\"-1\">Deployment and scaling patterns: one agent per machine, aggregators and hybrid designs<\/h2>\n<p>The simplest deployment runs one agent per machine, which keeps commissioning straightforward since each agent has a single, well-defined device model. It scales awkwardly, though, once you are managing dozens of agents across a plant.<\/p>\n<p>A central agent design, where one agent process serves multiple machines, reduces the number of moving parts a client needs to query but concentrates risk: one agent failure affects every machine behind it. The <a href=\"https:\/\/nvlpubs.nist.gov\/nistpubs\/ams\/NIST.AMS.200-2.pdf\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">NIST Smart Manufacturing Systems Test Bed report<\/a> documents a hybrid aggregator pattern that sits between these extremes, combining data from several source agents and supporting a replay capability that simplifies maintenance without taking every machine offline at once. NIST\u2019s report treats the adapter, agent and Devices XML as the non-negotiable minimum regardless of which deployment pattern you choose.<\/p>\n<p>Network resilience matters as deployments grow. Firewalls and NAT between machine networks and your integration layer need explicit rules for agent ports, and MQTT deployments benefit from retained topics on the Probe response so new subscribers can discover device capabilities immediately rather than waiting for the next full update.<\/p>\n<p>A sensible rollout follows pilot, then cluster, then plant-wide, with monitoring in place at each stage and every Devices XML change tracked in version control.<\/p>\n<h2 id=\"validation-testing-and-verification-how-to-prove-your-mtconnect-integration-works\" tabindex=\"-1\">Validation, testing and verification: how to prove your MTConnect integration works<\/h2>\n<p>Verification does not require guesswork. A handful of concrete checks confirm whether an integration is production-ready.<\/p>\n<ol>\n<li>Query <code>\/probe<\/code> and confirm the returned device model matches your Devices XML exactly, component by component.<\/li>\n<li>Query <code>\/current<\/code> and <code>\/sample<\/code> over a realistic period, checking that sequence numbers increment without gaps and timestamps stay consistent with wall-clock time.<\/li>\n<li>Replay recorded SHDR logs through the adapter and agent to exercise edge cases without needing a live machine running.<\/li>\n<li>Confirm units, asset associations and data types on every SAMPLE item match what the source signal actually represents.<\/li>\n<\/ol>\n<p>For ongoing monitoring, track lastSequence lag between what the adapter sends and what the agent has processed, watch poll latency on client requests, and alert on missing data rather than waiting for someone on the floor to notice a stale dashboard.<\/p>\n<h2 id=\"troubleshooting-and-security-best-practices-for-mtconnect-deployments\" tabindex=\"-1\">Troubleshooting and security best practices for MTConnect deployments<\/h2>\n<p>Most MTConnect faults trace back to a small set of causes. Malformed Devices XML, a mismatched dataItemId between adapter and agent, clock skew between machine and server, and adapters that silently disconnect under network load account for the majority of pilot issues.<\/p>\n<p>Start any diagnosis with a <code>curl<\/code> request against <code>\/probe<\/code>, comparing the returned model against your XML file line by line. If the model looks correct but values are not updating, capture the raw SHDR stream from the adapter and check that timestamps and dataItemIds match what the agent expects.<\/p>\n<p>Because MTConnect is read-only, it removes the risk of a compromised client issuing commands to a machine. That does not remove every risk. Segment machine networks from general IT traffic, apply firewall rules that restrict which hosts can reach agent ports, use TLS where your agent implementation supports it, and apply role-based access control on any downstream system, such as an MES, that consumes the data.<\/p>\n<p>Operationally, run the agent as a managed service rather than a manual process so it restarts automatically after a reboot, back up your Devices XML files, and keep every device model under version control so a bad change can be rolled back quickly.<\/p>\n<h2 id=\"how-mestric-consumes-mtconnect-data-practical-example-of-turning-streams-into-kpis\" tabindex=\"-1\">How Mestric\u2122 consumes MTConnect data: practical example of turning streams into KPIs<\/h2>\n<p>Once an agent is serving validated streams, an MES sits on top as the integration layer, pulling current and sample data, mapping it to production KPIs, and presenting it on a dashboard a plant manager can act on. Mestric\u2122 works this way: it connects to the agent, ingests the stream, and turns raw observations into figures like <a href=\"https:\/\/mestric.com\/hu\/the-role-of-oee-in-manufacturing-a-plant-managers-guide\/\" target=\"_blank\" rel=\"noopener\">OEE<\/a>, downtime duration, cycle time distribution and quality event correlation.<\/p>\n<p>A typical pilot follows the same shape as the integration checklist above: discover the device model, confirm tag mapping against real telemetry, configure the dashboard around the KPIs that matter to that floor, and track early results over a short window before deciding whether to scale. The pricing and scope of a specific pilot with Mestric\u2122 is available on request rather than published, since it depends on the number of machines and the KPIs a plant wants to track first.<\/p>\n<h2 id=\"editorial-take-on-building-a-pilot-first-mtconnect-integration\" tabindex=\"-1\">Editorial take on building a pilot-first MTConnect integration<\/h2>\n<p>The standard itself is not the hard part. Reading the MTConnect fundamentals document and setting up a reference agent against a test machine is a weekend\u2019s work for a competent engineer. The part that actually determines whether a project succeeds is the Devices XML, and it is the part most guides rush past.<\/p>\n<p>Conventional advice treats device modelling as a checkbox between \u201cinstall the agent\u201d and \u201cconnect the MES\u201d. In practice, an inaccurate device model is why pilots stall: dashboards show gaps, KPIs look wrong, and nobody can tell whether the machine or the mapping is at fault. Fix the model first, on one or two machines, before writing a single line of downstream integration code.<\/p>\n<p>If you take one thing from this guide, prioritise a validated device model over broad coverage. A plant with three machines correctly modelled beats twenty with a rough one.<\/p>\n<h2 id=\"how-mestric-can-help-pilot-integration-services-and-demo\" tabindex=\"-1\">How Mestric\u2122 can help: pilot, integration services and demo<\/h2>\n<p>Building an MTConnect pipeline from scratch takes engineering time most plants would rather spend on production. Some MES providers offer onsite demonstrations and pilot services that connect existing MTConnect agents, or help stand up new ones, directly into the MES so you can see live KPIs on real machines rather than a slideshow.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/mestric.com\/wp-content\/uploads\/2026\/09\/1771068359718_mestric.jpg\" alt=\"Mestric\"><\/p>\n<p>A typical MES pilot covers:<\/p>\n<ul>\n<li>One to a few machines to start, chosen to represent a range of equipment.<\/li>\n<li>Validation of each machine\u2019s device model against live telemetry before any dashboard goes live.<\/li>\n<li>A working dashboard showing core KPIs such as OEE, downtime and cycle time, so teams can judge results directly.<\/li>\n<\/ul>\n<p>If you already have an MTConnect stream running, or you are still deciding on an adapter approach, the <a href=\"https:\/\/mestric.com\/hu\/megoldasunk\/\" target=\"_blank\" rel=\"noopener\">Mestric\u2122 MES solution page<\/a> outlines how the platform connects to machine data and turns it into the <a href=\"https:\/\/mestric.com\/hu\/real-time-production-monitoring-manufacturing\/\" target=\"_blank\" rel=\"noopener\">KPI tracking manufacturers rely on<\/a>. Reach out through the site to scope a pilot for your floor.<\/p>\n<h2 id=\"sources\" tabindex=\"-1\">Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/mtcup.org\/MTConnect_Device_File\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">MTConnect Knowledge base \u2014 Device file and integration notes<\/a><\/li>\n<li><a href=\"https:\/\/nvlpubs.nist.gov\/nistpubs\/ams\/NIST.AMS.200-2.pdf\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">NIST \u2014 Connecting, deploying, and using the Smart Manufacturing Systems Test Bed<\/a><\/li>\n<li><a href=\"https:\/\/docs.mtconnect.org\/MBSD_MTConnect_Part_1_2-5-0.pdf\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">MTConnect Part 1.0: Fundamentals (version 2.5.0)<\/a><\/li>\n<\/ul>\n<p>For readers working in precision machining environments, <a href=\"https:\/\/blog.flyingchipfactory.com\/blog\/tight-tolerance-machining\" target=\"_blank\" rel=\"noopener\">tight tolerance machining guidance<\/a> offers useful context on the processes MTConnect telemetry often monitors.<\/p>\n<h2 id=\"faq\" tabindex=\"-1\">GYIK<\/h2>\n<h3 id=\"what-is-the-difference-between-an-adapter-and-an-agent-in-mtconnect\" tabindex=\"-1\">What is the difference between an adapter and an agent in MTConnect?<\/h3>\n<p>The adapter reads native signals directly from a machine controller and reformats them, typically as SHDR, while the agent collects that data and serves it over HTTP in the standard\u2019s XML documents. A client only ever talks to the agent, never directly to the adapter.<\/p>\n<h3 id=\"can-mtconnect-send-commands-to-a-machine\" tabindex=\"-1\">Can MTConnect send commands to a machine?<\/h3>\n<p>No. MTConnect is a read-only standard, so a client can request or subscribe to data but cannot issue control commands back to the equipment, which removes an entire category of write-access security risk compared with control protocols as explained in the <a href=\"https:\/\/model.mtconnect.org\/Version2.1\/Fundamentals\/MTConnectProtocol\/RESTProtocol\/Agent\/\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">MTConnect model documentation<\/a>.<\/p>\n<h3 id=\"what-is-the-difference-between-current-and-sample\" tabindex=\"-1\">What is the difference between \/current and \/sample?<\/h3>\n<p><code>\/current<\/code> returns a snapshot of the most recent value for every data item, useful for a live dashboard. <code>\/sample<\/code> returns a time-bounded history of observations with sequence numbers, according to RTAutomation\u2019s overview of MTConnect, which is what you use to analyse trends or reconstruct events after the fact.<\/p>\n<h3 id=\"do-i-need-a-vendor-adapter-to-use-mtconnect\" tabindex=\"-1\">Do I need a vendor adapter to use MTConnect?<\/h3>\n<p>Not necessarily. Some controllers, such as certain LinuxCNC setups, include native MTConnect support, and you can also write a custom SHDR adapter in Python or C++ when no vendor option exists. Checking for an existing adapter first, however, usually saves considerable development time.<\/p>\n<h3 id=\"how-does-an-mes-like-mestric-use-mtconnect-data\" tabindex=\"-1\">How does an MES like Mestric\u2122 use MTConnect data?<\/h3>\n<p>An MES connects to the MTConnect agent\u2019s stream and maps the incoming data items to production KPIs such as OEE, downtime and cycle time. Mestric\u2122 follows this pattern, ingesting validated MTConnect streams and turning them into dashboards a plant manager can use for day-to-day decisions.<\/p>\n<h2 id=\"recommended\" tabindex=\"-1\">Aj\u00e1nlott<\/h2>\n<ul>\n<li><a href=\"https:\/\/mestric.com\/hu\/regi-gepek-osszekotese\/\" target=\"_blank\" rel=\"noopener\">1\u20133 G\u00e9pkezel\u0151 igazolja a r\u00e9gebbi MES-rendszerek csatlakoztathat\u00f3s\u00e1g\u00e1t a gy\u00e1ri m\u00e9rn\u00f6k\u00f6k sz\u00e1m\u00e1ra<\/a><\/li>\n<li><a href=\"https:\/\/mestric.com\/hu\/sledenje-zivljenjske-dobe-orodja\/\" target=\"_blank\" rel=\"noopener\">Plant Managers &amp; Engineers: 4\u201312 Week MES Pilot to Track Tool Life<\/a><\/li>\n<li><a href=\"https:\/\/mestric.com\/hu\/uvajanje-mes\/\" target=\"_blank\" rel=\"noopener\">9\u201312 Months to a Secure MES Rollout for Plant Managers: Pilot, Readiness, Hyper Care<\/a><\/li>\n<li><a href=\"https:\/\/mestric.com\/hu\/how-to-improve-manufacturing-efficiency-mes-tools\/\" target=\"_blank\" rel=\"noopener\">How to Improve Manufacturing Efficiency with MES Tools<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Pilot first MTConnect playbook for engineers. Build adapters, validate Devices XML, set up agents, link streams to MES and prove KPIs on one or two machines.<\/p>","protected":false},"author":1,"featured_media":1616,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1615","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-learn"],"acf":[],"_links":{"self":[{"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/posts\/1615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/comments?post=1615"}],"version-history":[{"count":1,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/posts\/1615\/revisions"}],"predecessor-version":[{"id":1619,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/posts\/1615\/revisions\/1619"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/media\/1616"}],"wp:attachment":[{"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/media?parent=1615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/categories?post=1615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mestric.com\/hu\/wp-json\/wp\/v2\/tags?post=1615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}