MTConnect (Okuma OSP)

From Knowledge Base


Okuma machines are fully supported by OnTakt using MTConnect. The free MTConnect Agent & Adapter app from Okuma may need to be installed if it is not already included on the control.

To connect to an Okuma OSP machine via MTConnect, the URL should look like: http://10.0.0.8:5000


Screenshots on this page are from an OSP-200 control. The interface may look slightly different on newer controls, but the instructions should be the same.

Machine setup

  1. Locate the MTConnect icon in the system tray on the control and double-tap it to open the MTConnect configuration interface. You may need to hold Ctrl and press the Cancel/Escape button to show the taskbar. If it is not listed, you may need to tap the « button.
    MTConnect Tray (Arrow).png
  2. The Okuma MTConnect Adapter configuration window opens:
    MTConnect Adapter Configurations.png
  3. Make sure you are in the "Configurations" tab and then tap "Tags Configuration" or press the "TAGS CONFIG." softkey.
  4. The window switches to the tag configuration view:
    Tag Configuration.png
  5. Ensure the range set by "Common Variable Starting/Ending Index" contains all of the common variables your programs use (or at least the ones you want to read with OnTakt).
  6. In the "Monitoring Tags" table, ensure that at least the following tags are checked:
    • estop
    • pprogram
    • pexecution
    • pFovr
    • ppartcount
    • p1CommonVariable
    • system
  7. Press the "SAVE & CLOSE" softkey to return to the configuration list.
  8. Press the "MINIMIZE TO SYSTEM TRAY" softkey to close the MTConnect configuration window.

Troubleshooting

If any part of the MTConnect stack on the machine control fails, OnTakt will report a "Communication problems" alert.

Step 1: Check the MTConnect Agent

Screenshots and labels in this section are from a P300-L control.

Visit the machine's NC URL directly in your browser. If the page loads and displays information, the MTConnect Agent is running.

If the page fails to load, restart the MTConnect Agent on the control:

TK

Step 2: Check the MTConnect Adapter

Screenshots and labels in this section are from a P200-L control.

If the page loaded but all data items are "UNAVAILABLE", the MTConnect Agent is running but the MTConnect adapter is not reporting.

Sometimes the Okuma MTConnect adapter will stop sending data to the Okuma MTConnect agent, which will cause all values to report as "UNAVAILABLE".

Unavailable.png

To fix this, restart the MTConnect adapter by following these steps:

  1. Locate the MTConnect icon in the system tray on the control and double-tap it to open the MTConnect configuration interface. You may need to hold Ctrl and press the Cancel/Escape button to show the taskbar. If it is not listed, you may need to tap the « button.
    MTConnect Tray (Arrow).png
  2. Open Task Manager by pressing Ctrl + Shift + Cancel/Escape.
  3. In the "Applications" tab, select "Okuma MTConnect Adapter" and then click "End Task". If a login screen appears, it is okay to close it.
    Task Manager- MTConnect Adapter.png
  4. Open the Windows Start menu by pressing Ctrl + Cancel/Escape.
  5. Navigate to Programs > Okuma > MTConnect Adapter and launch MTConnect Adapter.