THINC-API-规格无效 [英] THINC-API - SPEC NOT ACTIVE

查看:198
本文介绍了THINC-API-规格无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能帮我解决THINC-API的问题吗?
我使用 SCOUT 检查了CNC,并获得了以下信息:

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 =真
ApiInstallType =基本
ThincApiCheckResult =版本已识别
ThincApiVersion = 1.12.1.0-SPEC_NOT_ACTIVE

ApiSpec=False
ThincApiInstalled=True
ApiInstallType=Basic
ThincApiCheckResult=VersionRecognized
ThincApiVersion=1.12.1.0-SPEC_NOT_ACTIVE

我应该怎么做才能访问数据?

What should i do to get access to data?

推荐答案

您的计算机没有正确的规范.

Your machine does not have the proper specification.

自定义API(CAPI)

车床和多功能机床: NC-B规格4,位0
加工中心: NC规范32号第2位

Custom API (CAPI)

Lathe and Multi-Tasking Machines: NC-B Spec No. 4, Bit 0
Machining Center: NC Spec No. 32, Bit 2

您可以在程序中确认计算机是否已通过

You can confirm in your program if a machine has this spec code enabled by using SCOUT:

  bool HasCustomAPI = false;  
    if (Okuma.Scout.Platform.BaseMachineType == Okuma.Scout.Enums.MachineType.L)  
    {  
        if (Okuma.Scout.SpecCode.NCB.MachineSpecCodeFileExists)  
        {  
            if (Okuma.Scout.SpecCode.NCB.SpecFileIsValid)  
            {  
                HasCustomAPI = Okuma.Scout.SpecCode.NCB.Bit(
                    Okuma.Scout.Enums.NCBSpecGroup.NCB1MG, 4, 0);  
            }  
        }  
    }  
    else if (Okuma.Scout.Platform.BaseMachineType == Okuma.Scout.Enums.MachineType.M)  
    {  
        if (Okuma.Scout.SpecCode.NC.MachineSpecCodeFileExists)  
        {  
            if (Okuma.Scout.SpecCode.NC.SpecFileIsValid)  
            {  
                HasCustomAPI = Okuma.Scout.SpecCode.NC.Bit(
                    Okuma.Scout.Enums.NCSpecGroup.NC1MG, 32, 2);  
            }  
        }  
    }  
    if (HasCustomAPI)  
    {  
        // ...  
    }  

Okuma Open API( THINC API )需要此规范代码才能起作用.
它是在美国销售的机器的标准配置.
对于其他县,这是您需要订购的选项.
请与您的Okuma代表联系.

The Okuma Open API (THINC API) requires this spec code to function.
It comes standard with machines sold in the USA.
For other counties, this is an option you will need to order.
Please contact your Okuma Representative.

这篇关于THINC-API-规格无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆