We are developing a project to send G Code programs from a server to an OKUMA CNC. We will need to do a Program Select on the OKUMA CNC for these files.
I couldn't find an example of this. Kindly help me.
We are developing a project to send G Code programs from a server to an OKUMA CNC. We will need to do a Program Select on the OKUMA CNC for these files.
I couldn't find an example of this. Kindly help me.
File Transfer can be accomplished any number of ways.
Typically people will enable Windows File Sharing and use the System.IO classes for automation.
And example of how to perform Part Program Select can be found in the example program's "Program" tab with the Button labeled "Select Program". Looking at the THINC API 1.21.1.0 Lathe Sample Application, this leads you to Line 18495 in the frmMain.vb file.
Please find additional information in the API Help file under the Command API - CProgram class.