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
2
votes
1 answer

Clearing offset numbers

Is it better to clear RCompOffset and ToolLengthOffset with G40 and G53 respectively or is it better to clear them with G42D0 and G54H0? Would G41D0 clear an LComp too?
AppFzx
  • 1,445
  • 2
  • 14
  • 23
2
votes
1 answer

Getting the correct spindle load call from the Okuma API

I am trying to get the load for each spindle on a lathe. Getting the axis loads works fine, but am not having luck with the spindle loads. Before I work on subsystem calls want to make the first spindle work. Below is what I have tried. Axis load…
chris heeg
  • 67
  • 4
2
votes
1 answer

Initialization of the Okuma ThincAPI

I've installed the Okuma THINC_API. To use it in my program I know I need to put "Dim objMachine As Okuma.CMDATAPI.DataAPI.CMachine" somewhere. Does it go up at the top with the 'using' directives? Or does it need to be inside my namespace?
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72
1
vote
1 answer

Okuma OSP200M Switching screens by API

I am trying to add a feature to an Okuma application that can change the operating screens. I have cycled through the enumerations and I believe the panelgroup I need is 0. I would like to be able to put the machine into "Manual Mode" from what I…
1
vote
2 answers

Is there a way to validate that the CNC GCode program actually started running?

My current solution to ask the CNC (via ThincAPI) whether or not the program has Completed is not working. It doesn't care if I change programs, once it is successful it will always report true even after changing the loaded program. What I would…
1
vote
2 answers

Disable OSP System Beep (PC Speaker)

The control screen beeps when I type or touch anything. Every key stroke. How can I disable this? Is there a way to do this by command line interface?
stinkyjak
  • 304
  • 2
  • 8
1
vote
1 answer

Alter speed/feed by tool number

I need to use some new drills using unmodified original .MIN CNC programs for Okuma Thinc controller, MU6300V. I'm looking to use the Okuma API to detect when tool group 4 is loaded into the spindle and then alter the speed/feed when it drills. I am…
1
vote
1 answer

Open/Close Chuck (Clamp/unclamp) with ThincAPI

I need to control the clamp and unclamp of the lathe on an LB3000 using Thinc API. I've gone through the documentation and it looks like I can set a lot of chuck specific variables, but I don't see anything for clamping/unclamping the chuck itself.…
1
vote
1 answer

Okuma THINC API Dependency File Not Found Exception

I have to convert a very very simple program from Vb to C#. The Vb has those references From seeing here if I am not mistaken those should be managed dlls. I achieve the same result if I follow the procedure here with the dumpbin.exe program. So…
Patrick
  • 3,073
  • 2
  • 22
  • 60
1
vote
1 answer

THINC-API - SPEC NOT ACTIVE

Could you please help me to solve problem with thic THINC-API? I inspected my CNC with SCOUT and got following information: ApiSpec=False ThincApiInstalled=True ApiInstallType=Basic ThincApiCheckResult=VersionRecognized …
А. Б.
  • 11
  • 3
1
vote
1 answer

How can I determine if an Okuma lathe has live tooling on the A turret

I've looked through all of the spec code tables and can't find any way of detecting if the A turret has an M spindle.
jweaver
  • 661
  • 5
  • 15
1
vote
1 answer

Program status via Thinc API

How can I get program status such as interrupted, stopped, in progress, waiting, aborted and so on via Thinc API? There is nothing similar to it in CProgram of Okuma.CLDATAPI.DataAPI and Okuma.CMDATAPI.DataAPI.
1
vote
1 answer

System.BadImageFormatException on PC running PC Sim software

I'm getting this exception: System.BadImageFormatException was unhandled whenever I try to run a program compiled on my PC. I'm running the Okuma PC Sim software on my laptop. This happens even if I open and compile the API Test app that ships with…
jweaver
  • 661
  • 5
  • 15
1
vote
1 answer

Where to put settings in Windows 7 on Okuma control

I'm writing an application that will run on the Okuma control and have application settings. Since one of the conditions is that application's settings must be easily backed up, I'm keeping them in the application directory. It works on the control…
Still.Tony
  • 1,437
  • 12
  • 35
1
vote
2 answers

Invalid sub system

My application used to work fine until I updated the API version I was using in my references. Specifically I went from CLDATAPI.dll version 2.3.0.0 to 2.5.0.0 Now I am getting the following error: E01000261122 Failed to get program running state -…
Scott Solmer
  • 3,871
  • 6
  • 44
  • 72