Skip to main content

Okuma OSP-P500

Protocol: OPC-UA · Default port: 4840 · Endpoint: opc.tcp://<machine_ip>:4840 · Cable: the Ethernet port on the control panel or inside the cabinet.

Set a static IP on the control, on the same subnet as the Edge device. For where the cable goes, see Physical Connection in the OPC-UA overview.

The OPC UA for Machine Tools option is required

This is a separate Okuma option from MTConnect and must be licensed and enabled on the machine. Confirm with your Okuma dealer before starting. If you want MTConnect on this control instead, see MTConnect Connectivity.

Key Points​

  • Requires OPC UA for Machine Tools option (separate from MTConnect license)
  • Port: 4840 (standard OPC-UA)
  • Access via Admin Launcher → Item #11 (OPC UA) → System → Open
  • Must enable OPC Function (set from Disable → Enable)
  • Click Apply to save changes, then restart the control for OPC-UA to become active
  • Configure user credentials in User Settings — these go into the MachineMetrics adapter script
  • Security mode and policy must match the MachineMetrics adapter configuration
  • Use SignAndEncrypt / Basic256Sha256 for production environments

CNC screen → Puzzle Icon → Gear → Admin Launcher → Item #11 OPC UA → System → Open

Enabling OPC-UA on the Control​

Protocol: OPC-UA | Default Port: 4840 | Endpoint: opc.tcp://<machine_ip>:4840

OPC-UA Option Required

The OPC UA for Machine Tools option must be licensed and enabled on the machine. This is a separate Okuma option from MTConnect — confirm with your Okuma dealer before starting.

Prerequisites:

  • Ethernet cable connected from the machine control to the customer's network
  • Network IP address or DHCP information from the customer's IT team
  • OPC UA for Machine Tools option licensed on the control

Step 1: Access the CNC Screen​

From the machine homepage (OSP Suite), press CNC in the lower-left Operation panel to open the conventional CNC operation screen.


Step 2: Open Admin Launcher​

  1. On the CNC screen, locate the puzzle piece icon in the lower-right sidebar
  2. Tap it to open the utility menu
  3. Tap the gear icon (⚙) to open settings
  4. Select Admin Launcher

Step 3: Configure the Network / IP Address​

note

If you have already configured the IP address for MTConnect or another protocol, skip this step.

  1. In the Admin Launcher, select Network Options (item 4)
  2. Select the Network Interface
  3. Configure the IP address in the Windows TCP/IP Settings page:
    • DHCP: Select "Obtain an IP address automatically"
    • Static IP: Enter the IP address, subnet mask, and default gateway from the customer's IT team
  4. Click OK and close the network settings

Step 4: Verify Firewall Settings​

The OSP-P500 has a built-in firewall (OSP-FIREWALL) that must have OPC UA enabled before the connection will work.

  1. In the Admin Launcher, select Firewall Settings (item 6)
  2. The OSP-FIREWALL screen will open showing the protocol rules list
  3. Confirm OPC UA (TCP, port 4840) is checked/enabled
  4. If it is not enabled, check the box and press Apply
  5. Press Quit to close

Okuma OSP-P500 OSP-FIREWALL screen showing OPC UA port 4840 and MTConnect-Agent rules

note

The firewall screen also shows MTConnect-Agent as a separate rule. If you are setting up MTConnect on the same machine, ensure that rule is also enabled.


Step 5: Open OPC-UA Configuration​

  1. In the Admin Launcher, scroll to item #11 — OPC UA
  2. Select System
  3. Press Open

The OPC-UA configuration interface will launch with four sections in the left sidebar: Application, User Settings, Certif. Settings, and Security Settings.

Okuma OSP-P500 OPC UA server setting screen — System, Machine Tools, OSP-API options


Step 6: Enable the OPC-UA Function​

  1. Select Application in the left sidebar
  2. Locate the OPC UA Server Function dropdown
  3. Change the value from Disabled to Enabled
  4. Press Apply

Okuma OSP-P500 OPC UA Application tab — OPC UA Server Function dropdown initially set to Disabled before enabling


Step 7: Configure User Settings​

  1. Select User Settings in the left sidebar
  2. In the User Management tab, click Add to create a new user
  3. Assign the appropriate role (Observer, Operator, Engineer, Supervisor, Configure, Admin, or Security)
  4. Set the username and password for the OPC-UA client

Okuma OSP-P500 OPC UA User Settings — User Management table with role columns

note

These credentials are entered in the MachineMetrics adapter script under the username and password fields, for example:

username: OpcUaClient
password: YourSecurePassword

Step 8: Configure Certificate Settings​

  1. Navigate to Certificate Settings
  2. Authorize (trust) the certificate for this machine
    • When an OPC-UA client connects for the first time, its certificate must be trusted here
    • For initial testing, you may configure automatic certificate acceptance
    • For production, manually trust specific client certificates

Step 9: Configure Security Settings​

  1. Navigate to Security Settings
  2. Set the Security Mode:
ModeUse Case
NoneTesting only — not recommended for production
SignMessages signed but not encrypted
SignAndEncryptRecommended for production
  1. Set the Security Policy (e.g., Basic256Sha256)
note

The security mode and policy set here must match what is configured in the MachineMetrics OPC-UA adapter script.


Step 10: Apply and Restart​

  1. Click Apply to save all configuration changes
  2. Restart the control for OPC-UA to become active

Verification

  1. From a PC on the same network, open an OPC-UA client (e.g., UaExpert, Prosys OPC UA Browser)
  2. Connect to: opc.tcp://<machine_ip>:4840
  3. Enter the username and password configured in Step 7 (User Settings)
  4. If prompted to trust the server certificate, accept it
  5. Browse the address space — you should see CNC data nodes

If connection fails:

  • Confirm OPC-UA was enabled, Apply was clicked, and the control was restarted
  • Check that Windows Firewall allows inbound traffic on port 4840
  • Verify the security mode/policy in your client matches the machine configuration
  • Confirm network connectivity between the client and the machine

Quick Reference — OSP-P500 OPC-UA

ItemValue
ProtocolOPC-UA
Default Port4840
Endpoint Formatopc.tcp://<ip>:4840
Admin Launcher PathCNC → Puzzle Icon → Gear → Admin Launcher
OPC-UA Config PathAdmin Launcher → Item #11 (OPC UA) → System → Open
Critical StepsEnable OPC Function → Configure Users → Apply → Restart Control
Security RecommendationSignAndEncrypt / Basic256Sha256