MTConnect (Okuma OSP): Difference between revisions

From Knowledge Base
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 2: Line 2:


Okuma machines are fully supported by OnTakt using MTConnect. The free [https://www.myokuma.com/mtconnect-agent-adapter MTConnect Agent & Adapter] app from Okuma may need to be installed if it is not already included on the control.
Okuma machines are fully supported by OnTakt using MTConnect. The free [https://www.myokuma.com/mtconnect-agent-adapter MTConnect Agent & Adapter] app from Okuma may need to be installed if it is not already included on the control.
For full functionality, OnTakt requires '''Okuma MTConnect Adapter version 2.5.0.0 or later''', which requires '''THINC API version 1.18 or later'''.


To connect to an Okuma OSP machine via MTConnect, the URL should look like: <code><nowiki>http://10.0.0.8:5000</nowiki></code>
To connect to an Okuma OSP machine via MTConnect, the URL should look like: <code><nowiki>http://10.0.0.8:5000</nowiki></code>
Line 15: Line 17:
#The window switches to the tag configuration view: [[File:Tag_Configuration.png|none|thumb|600x600px]]
#The window switches to the tag configuration view: [[File:Tag_Configuration.png|none|thumb|600x600px]]
#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).
#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).
#In the "Monitoring Tags" table, ensure that at least the following tags are checked:
#For newer MTConnect adapter versions, there may be checkbox at the top labelled "Enable Monitoring Tags". This should be enabled.
#In the "Monitoring Tags" table, ensure that at least the following tags are checked. If you have just installed the MTConnect adapter, it is safe to press the "UNCHECK ALL" softkey and then check these tags, as there will not be any applications using other tags.
#*<code>estop</code>
#*<code>estop</code>
#*<code>pprogram</code>
#*<code>pprogram</code>
Line 22: Line 25:
#*<code>ppartcount</code>
#*<code>ppartcount</code>
#*<code>p1CommonVariable</code>
#*<code>p1CommonVariable</code>
#*<code>p1CurrentTool</code>
#*<code>system</code>
#*<code>system</code>
#Press the "SAVE & CLOSE" softkey to return to the configuration list.
#Press the "SAVE & CLOSE" softkey to return to the configuration list.
Line 27: Line 31:


==Troubleshooting==
==Troubleshooting==
If any part of the MTConnect stack on the machine control fails, OnTakt will report a "Communication problems" alert.
=== Step 1: Check the Firewall ===
If you still can't access the NC URL in a browser, there may be a firewall issue blocking access to the MTConnect Agent on the machine.
Try to visit <code><nowiki>http://localhost:5000</nowiki></code> from a browser on the machine control.
*If the page loads, there is a firewall or networking issue. You may need to add a rule allowing inbound traffic on port 5000 to Windows Services.
* If the page does not load, the agent is not running correctly. Consult the [https://www.myokuma.com/stuff/contentmgr/files/0/403998be6317bc067ab0153e057ad58e/documents/mtconnect_installation_manual_v3.1.pdf Okuma MTConnect software user manual] for more information.
=== Step 2: 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:
#Open the Windows run dialog by pressing Ctrl + [[File:ISO 7000 - Ref-No 1028.svg|Cancel/Escape|20x20px]] + R.
#Run <code>services.msc</code>.[[File:Run services.msc.png|none|frame]]
#Scroll down to "MTConnect Agent", right-click it, and click Restart.[[File:MTConnect Agent service.png|none|frame]]
===Step 3: 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.


==="Communication problems" alert in OnTakt===
Sometimes the Okuma MTConnect adapter will stop sending data to the Okuma MTConnect agent, which will cause all values to report as "UNAVAILABLE".
Sometimes the Okuma MTConnect adapter will stop sending data to the Okuma MTConnect agent, which will cause all values to report as "UNAVAILABLE":
[[File:Unavailable.png|none|frame]]
[[File:Unavailable.png|none|frame]]


Line 40: Line 68:
#Navigate to Programs > Okuma > MTConnect Adapter and launch MTConnect Adapter.
#Navigate to Programs > Okuma > MTConnect Adapter and launch MTConnect Adapter.


=== Step 4: Restart the control ===
There are several other components that can cause communication problems between the MTConnect Adapter and MTConnect Agent applications. The easiest way to stop them all and ensure they all restart in the correct sequence is to restart the control normally. If communication problems persist after a restart, contact Wolfram Manufacturing Technologies for further troubleshooting assistance.
[[Category:OnTakt User Guide]]
[[Category:OnTakt User Guide]]
[[Category:OnTakt]]
[[Category:OnTakt]]
__FORCETOC__

Latest revision as of 12:22, 5 August 2024


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.

For full functionality, OnTakt requires Okuma MTConnect Adapter version 2.5.0.0 or later, which requires THINC API version 1.18 or later.

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. For newer MTConnect adapter versions, there may be checkbox at the top labelled "Enable Monitoring Tags". This should be enabled.
  7. In the "Monitoring Tags" table, ensure that at least the following tags are checked. If you have just installed the MTConnect adapter, it is safe to press the "UNCHECK ALL" softkey and then check these tags, as there will not be any applications using other tags.
    • estop
    • pprogram
    • pexecution
    • pFovr
    • ppartcount
    • p1CommonVariable
    • p1CurrentTool
    • system
  8. Press the "SAVE & CLOSE" softkey to return to the configuration list.
  9. 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 Firewall

If you still can't access the NC URL in a browser, there may be a firewall issue blocking access to the MTConnect Agent on the machine.

Try to visit http://localhost:5000 from a browser on the machine control.

  • If the page loads, there is a firewall or networking issue. You may need to add a rule allowing inbound traffic on port 5000 to Windows Services.
  • If the page does not load, the agent is not running correctly. Consult the Okuma MTConnect software user manual for more information.

Step 2: 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:

  1. Open the Windows run dialog by pressing Ctrl + Cancel/Escape + R.
  2. Run services.msc.
    Run services.msc.png
  3. Scroll down to "MTConnect Agent", right-click it, and click Restart.
    MTConnect Agent service.png

Step 3: 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.

Step 4: Restart the control

There are several other components that can cause communication problems between the MTConnect Adapter and MTConnect Agent applications. The easiest way to stop them all and ensure they all restart in the correct sequence is to restart the control normally. If communication problems persist after a restart, contact Wolfram Manufacturing Technologies for further troubleshooting assistance.