Connecting to a Haas CNC Controller with MTConnect and DPRNT
Step by Step guide to connect the Haas CNC Controller using MTConnect with Litmus Edge MTConnect Ethernet driver
Step | Description |
---|---|
1 | For Haas controllers, the MTConnect HTTP request endpoint is http://:8082. Port 8082 is the fixed port for MTConnect. |
2 | To find the device name, go to the URL in a web browser. It will provide the XML schema. The device name is unique to MTConnect and it helps to locate and browse for each device's tags, as the schema can potentially hold data for multiple devices. |
3 | On the XML schema page, locate the name of the device, which will be under device > name. |
4 | In Litmus Edge, go to DeviceHub and add a device with MTConnect Ethernet (Gen1) driver. |
5 | Enter the IP address of Haas CNC Controller with port 8082. In Device name, enter the name of the device located from the XML schema. After adding the device, the status will show Disconnected until you add a valid tag. |
6 | Go to the Tags tab and press Add > Browse Tags. Litmus Edge will show the available tags. Select at least one tag and add it. The device status will show Connected. |
Step by Step guide to connect the Haas CNC Controller using DPRNT with Litmus Edge Generic CSV Stream driver
Step | Description |
---|---|
1 | Make sure that the program for DPRNT statements is configured and saved in the CNC Controller. |
2 | In the HAAS CNC Controller, go to Settings > Group - Program > 261 DPRNT Store Location > Select Port to ensure that the TCP connection is selected for DPRNT. |
3 | In Setting 262, make sure the DPRNT Destination File Path is set. If the path is not set, go to List Program > Program File of DPRNT > press F3 > Setting 262 DPRNT > press Enter. The path of the file should be set in 262. |
4 | In Setting 263 DPRNT port, set the port that will be used to receive data. |
5 | In Litmus Edge, go to DeviceHub. Add a device with the Generic CSV Stream driver. Enter the IP address of the Haas CNC Controller and enter the port configured in Setting 263. |
6 | Go to the Tags tab. Add a tag. If you subscribe to the tag topic's messages, all of the DPRNT statements should be displayed. |