No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
#Scroll down to "MTConnect Agent", right-click it, and click Restart.[[File:MTConnect Agent service.png|none|frame]] | #Scroll down to "MTConnect Agent", right-click it, and click Restart.[[File:MTConnect Agent service.png|none|frame]] | ||
===Step | ===Step 2: 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. | 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. | ||
Revision as of 16:42, 19 December 2023
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
- 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 button to show the taskbar. If it is not listed, you may need to tap the « button.
- The Okuma MTConnect Adapter configuration window opens:
- Make sure you are in the "Configurations" tab and then tap "Tags Configuration" or press the "TAGS CONFIG." softkey.
- The window switches to the tag configuration view:
- 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:
estop
pprogram
pexecution
pFovr
ppartcount
p1CommonVariable
system
- Press the "SAVE & CLOSE" softkey to return to the configuration list.
- 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:
- Open the Windows run dialog by pressing Ctrl + + R.
- Run
services.msc
. - Scroll down to "MTConnect Agent", right-click it, and click Restart.
Step 2: 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 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".
To fix this, restart the MTConnect adapter by following these steps:
- 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 button to show the taskbar. If it is not listed, you may need to tap the « button.
- Open Task Manager by pressing Ctrl + Shift + .
- In the "Applications" tab, select "Okuma MTConnect Adapter" and then click "End Task". If a login screen appears, it is okay to close it.
- Open the Windows Start menu by pressing Ctrl + .
- Navigate to Programs > Okuma > MTConnect Adapter and launch MTConnect Adapter.