Quick Start
On this page
Connect your first MTConnect agent and see its data as Ignition tags.
What the module does
The module polls an MTConnect agent over HTTP and publishes what the agent reports as Ignition tags in the module’s own
tag provider MTConnect, one folder per connection. It reads only: it sends HTTP GET requests for /probe,
/current and, with asset support on, /assets, and never writes to a machine. The tag tree follows the agent’s probe:
MTConnect/<connection name>/<probe path>.
Before you start
- The module is installed and shows Running (Installation chapter). The Ignition OPC UA module must be installed too; it ships with Ignition.
- The agent is reachable from the gateway machine over HTTP or HTTPS, on the port the agent listens on (often 5000 or
5001). Open
http://<agent>:<port>/currentin a browser on the gateway machine; it must return MTConnect XML. - Without a licence the module runs 2 connections under Ignition’s standard 2-hour trial timer. Start in trial mode and enter the key after you have seen a connection work (Licensing chapter).
Create your first connection
-
Open the gateway web interface and go to Connections > MTConnect > Connections.
-
Click Create Connection +. The dialog has two steps: Connection Info and Advanced.
-
Enter a Name (it becomes the name of the tag folder), the agent’s IP / Host and the Port. The Refresh Time (ms) is how often the agent is polled.
-
Turn on Supports Assets only if the agent supports the asset protocol. Leave Enabled on so the connection starts when you save.
-
The step Advanced has Timeout, Retry and DataSet Size. The defaults work for most agents.
-
Save. The connection starts at once; no restart is needed. Check that the tag
_Status/StateshowsConnectedand that the tags of the machine appear underMTConnect/<connection name>.
Connection settings
| Setting | Default | Meaning |
|---|---|---|
| Name | none | Name of the connection. It is the name of its tag folder. |
| Description | none | Optional free text. |
| IP / Host | none | Host name or IP address of the agent, or a full address such as http://agent.example.com. |
| Port | none | TCP port of the agent. Common values: 5000, 7878, 8082, 8193, 683. |
| Refresh Time (ms) | 1000 | Time between two polls of the agent. |
| Supports Assets | Off | Turn on when the agent supports the asset protocol (/assets). |
| Enabled | On | Start the connection when it is saved. |
| Timeout | 5 | Seconds to wait for the agent to answer a request. |
| Retry | 3 | Number of attempts for a request before the poll counts as failed (LastError names the number of attempts). |
| DataSet Size | 5 | The number of records to pre-render for DataSet types. |
Editing a connection restarts it, so its state goes through Connecting again.
Tags
The module creates the tag provider MTConnect. The gateway lists the provider and its tag count under Services >
Tags; the tags themselves are in the Designer’s tag browser.
- Machine tags sit under
MTConnect/<connection name>/and follow the agent’s probe, so their names and paths come from the agent. - The connection’s own
Connectedtag is the connection’s own value, not the same as_Status/Connected. Keep using it if your screens are bound to it. - Every connection also has a
_Statusfolder with the status tags every Innorobix module offers:Connected,State,LastError,LastUpdate,ReconnectCount,LicenseStateandProtocolErrors. The Status Tags chapter explains each one.
Status and troubleshooting
| Symptom | What to check |
|---|---|
State stays Connecting or Reconnecting |
The agent address and port, from the gateway machine. LastError names the URL and the number of attempts; the gateway log (Status > Diagnostics > Logs, filter mtconnect) has the detail. |
State is Not licensed |
The 2-connection trial or the licence limit is used up, or the licence ended. LastError says why (Licensing chapter). |
State is Disabled |
You turned off Enabled for the connection. |
State is Standby |
This gateway is the backup node of a redundant pair; only the active node polls the agent. See the Compatibility chapter, Redundancy. |
State is Connected but values do not change |
Open http://<agent>:<port>/current in a browser: it must return MTConnect XML. A page that is not MTConnect (a login page, a proxy) is not reported as an error. Watch _Status/LastUpdate. |
When you ask for help, send the module version, your Ignition version, the agent product and version, the connection
settings and the gateway log lines that contain mtconnect. Never send licence keys or agent passwords; the module
replaces a user name and password in a URL with *** in LastError.
Generated from the module's documentation for version 8.14.0. Questions: contact us.
