Questions tagged [okuma]

The Okuma tag is for THINC API development and machine programming questions.

Questions tagged with Okuma are related to either the THINC API or Okuma machine controls.
That includes coding questions in any programming language which uses the THINC API, and part programs written for the control (G-Code).

The THINC-OSP control has a growing community of developers targeting Okuma CNC Lathes, Machining Centers, and Grinders.

Visit these sites to learn more:


  • THINC-OSP : THe Intelligent Numerical Control - Okuma Sampling Path
40 questions
6
votes
1 answer

Access common (part program) variable using API

Hardware: Okuma OSP-P200L API Version: 1.15.0.0 How can I read and write the values of common variables? I found the example code in the help file, but it doesn't explain how to set the current sub system. Also I am confused about the difference…
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72
4
votes
1 answer

Which parameter do I set on a lathe to use Notepad.exe as the program editor?

I'm trying to disable the "Quick-Edit" function programmatically via the API. Using the COptionalParameter class I can set Parameter 70 bit 7 to 1 on a mill which causes the machine to use Notepad.exe as the default program editor. A handy side…
jweaver
  • 661
  • 5
  • 15
4
votes
2 answers

Get Cycle Time Using Okuma API

Control: Okuma OSP-P200L Machine: LB3000 API: 1.15.0.0 I need to get the cycle time for a part program in an Okuma Lathe using the THINC API. The help file mentions a cycle complete method: public bool CycleComplete( MachineSideEnum…
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72
3
votes
3 answers

Change Program Buffering Okuma OSP-300M

I'm currently running a small loop in g-code that has to wait for a common variable to change values. With Program Buffering ON, my g-code program does not see changes to the variables! What is the best way to turn Program Buffering OFF while I am…
3
votes
1 answer

How to access an API running on a remote machine via network

I want to connect to an OKUMA Windows based control from external PC (i.e. Other than OKUMA controller) and utilize the OKUMA Open API on that machine. Is it possible? (If yes then How?) Below is my code which I want to run from my laptop to check…
3
votes
1 answer

Do the error numbers in exceptions match between the Mill and Lathe API?

Are the error numbers that are in the exceptions thrown by the API consistent for methods with the same name and signature between Mills and Lathes? E01013002 is always the error code when an improper 'screen name' is passed to…
jweaver
  • 661
  • 5
  • 15
3
votes
1 answer

OSP Control Automatic Logon Feature Fail

I have an Okuma OSP Machine Controller running Windows XP. By default it attempts to automatically log on when the machine is turned on. We have changed the default administrator password and now the auto-log on fails every time. How can I turn…
user2761401
  • 108
  • 5
3
votes
2 answers

Best method for initializling the Okuma API if I want a program that works for both lathe and mills?

I am writing a program that will run on both lathe and machining centers. How best can I initialize the API without doing during loading. Should I call a class for each machine type or can I call each (and close them) within the same class? Added…
chris heeg
  • 67
  • 4
2
votes
1 answer

Is there a way to Cycle Start the Okuma OSP-300 programatically?

Is there a way to cycle start the CNC using the SDK? If I could programatically cyclestart the CNC that would save us some hardware rewiring.
2
votes
1 answer

SetUserAlarm Okuma THINC API C#

I am working on an app for an Okuma lathe. I would like to be able to put the lathe into an alarm state from the app. I am not getting any errors and the app runs on the machine, but it doesn't go into an NC alarm state. The line before it does…
MD1
  • 23
  • 3
2
votes
1 answer

determine minimum compatible API version

Given that the THINC API is written to be backwards compatible, and lower versions enable a greater number of potential machines to run a given application, everyone should strive to use the minimum version necessary. Does anyone know if there is an…
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72
2
votes
2 answers

Okuma - How to open the Windows start menu

I need to get into the Windows interface (XP). I have read that you can use Control-Cancel, However I don't see any Cancel button anywhere :) This is a P200LA with the typical panel. The purpose of this is to get to a file share that I understand…
Andrew
  • 437
  • 7
  • 18
2
votes
1 answer

How can access the remote 'TC' path on an Okuma P control

I need to be able to access the 'Remote Path' that is entered by the user in the 'DNC-T Device Setting' Utility program. Are these paths stored in a ini file or in the registry?
jweaver
  • 661
  • 5
  • 15
2
votes
2 answers

Change API Reference at runtime VB.NET 3.5

I'm writing an application for a device running Windows XP. There are 2 versions of the device and each version has its own API to communicate with the device's software. The application I'm writing needs to pull the same data from the API. My…
jweaver
  • 661
  • 5
  • 15
2
votes
1 answer

Source code for THINC API test application?

Every machine with the THINC API installed comes with a test program to test all of the API functionality (by default, located in Programs -> Okuma -> THINC-API -> THINC _ Test App) where _ is the machine type. This is useful, but the source code…
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72
1
2 3