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.
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.
On a Lathe API >= 1.9.1 or on a mill API >= 1.12.1 (I think) you can use the
CMachine.GetNCStatus functionPass in the status you wish to check and this function will return to you a Boolean err I mean an On or Off from the OnOffStateEnum
The NCStatusEnum members:
In earlier versions of the API some of the same states could be tested by checking I/O bits.