How-To Guides
DeviceHub Guides
Use the Mazak MTConnect Demo Agent to Connect a Device
2min
mtconnect is a read only protocol commonly used by cnc machines mazak provides a publicly accessible tool that can be used to test your device setup see mazak mtconnect demo agents for more information step 1 add mtconnect device to add the mtconnect device in manufacturing connect edge, navigate to devicehub > devices click add new device the connect device dialog box appears in the device type drop down list, select mtconnect in the driver name drop down list, select mtconnect ethernet (gen1) configure the following parameters name enter a name for the device description enter a description for the device network address enter the device ip address to get the ip address, you can use the command prompt to ping the device at mazak with the following command c \users\\\<your username> ping mtconnect mazakcorp com copy and paste the ip address in the response the network address is the ip address of the device running the mtconnect protocol for manufacturing connect edge only, the ip is used without "http //" even if it is an http based protocol the mtconnect connection can also be accessed from a browser see http //mtconnect mazakcorp com 5717 http //mtconnect mazakcorp com 5717/ to view the xml document tree network port enter 5717 the network port is the port for which the mtconnect server is listening it is the same port used by the url the above link for the xml document tree uses the same port as your device device name enter the device name the device name is unique to mtconnect but crucial mtconnect operates using an xml based schema to be able to locate which tags to read you must provide the name of the device as the schema can potentially hold the data for multiple devices to find the device name, you can run the probe url see http //mtconnect mazakcorp com 5717/probe http //mtconnect mazakcorp com 5717/probe to view the xml schema you can locate the name for the device to be connect under a \<device id> tag the value to be used is for the name key enable alias topics select the check box enable data store select the check box click add device mtconnect is a browsing based driver and requires at least one tag to be added before showing as connected step 2 browse for tags to browse for tags navigate to devicehub > tags click the add new tag and select browse tags the browse tags dialog box appears select the mtconnect device the tags list drops down it may be necessary to manually refresh the tag browser if it does not show the expected result this can happen if the device was created with the wrong ip address, port, or device name in this case, the first browsing will return no results, but a dummy browsing list is created when refreshed you can edit the device and correct the mistake, and then try to browse tags again if the dummy browsing list appears again, refresh the browse list select the tags to add click add navigate to devices the mtconnect device shows as connected in the devices pane