错误代码列表

 

返回值

错误信息

原因及对策

0

Normality completion.

-

1

Failed in the acquisition of the resource.

・请确认指定的硬件设备是否在正常运转的状态。

 如果不是,请删除该设备的驱动程序,然后重新正确安装驱动程序。

2

Failed in the registration of the interruption routine.

・请确认IRQ是否与其他硬件设备有冲突。

3

Failed in the allocation of the memory.

・通常不会发生此错误。万一发生时,请尝试增加电脑的内存容量。

4

Failed in the access of registry.

・请卸载驱动程序后,重新正确安装驱动程序。

8

Initialization failed because csmc.sys is not found.

・请卸载驱动程序后,重新正确安装驱动程序。

9

Initialization failed because the file version of csmc.dll cannot be acquired.

・请卸载驱动程序后,重新正确安装驱动程序。

10

Initialization failed because the file version of csmc.sys cannot be acquired.

・请卸载驱动程序后,重新正确安装驱动程序。

11

Initialization failed because the file version of csmc.dll is not same as csmc.sys.

・请卸载驱动程序后,重新正确安装驱动程序。

 

 

 

10000

The devicename which wasn't registered by a device manager was specified.

・请在配置工具中确认正确的设备名称。

10001

Invalid ID was specified.

・请使用SmcWInit函数得到的硬件设备ID。

10002

SMC driver can't be called.

・请确认SmcWInit函数是否已正常实行完毕。

10003

Failed in the creation of the file.

・请使用lsmod确认设备驱动程序是否正常运行。

 如果不是,请删除该设备的驱动程序,然后重新正确安装设备的驱动程序。

10004

Failed in the closing of the file.

・对未初始化的硬件设备进行了结束处理。

 可忽略此错误。

10005

Failed in the creation of the thread.

・请确认应用程序中启动的线程数量是否过多。

10051

The device that can be used is not found.

・请在配置工具中确认该设备名称是否还正确显示。

 

 

 

10100

The pointer of the parameter is NULL.

・请检查指针变量。

10101

The pointer of the devicename is NULL.

・请检查设备名称的指针变量。

10102

The pointer of the device ID is NULL.

・请检查设备ID的指针变量。

 

 

 

10201

An out-of-range value was specified as a parameter.

・请确认参数中设置的值是否在可设置范围之内。

10210

The axis that it is an interpolation control axis, and is not the main axis is specified.

・请在SmcWSetBankReady函数使用插补控制轴的轴号。

10211

The axis that cannot be specified for the interpolation sets it.

・请确认是否指定了不可被组合的插补对象轴。

10212

The axis that is not the axis for the interpolation is specified.

・请确认插补对象轴中是否包括此轴。

 

 

 

20000

It failed in memory allocation for the object preparation.

・通常不会发生此错误。万一发生时,请尝试增加电脑的内存容量。

20001

This function can't be used by this device.

・请确认硬件设备支持的函数。

20002

Can not use while by another device works.

・请确认硬件设备不在运行状态后,再实行该函数。

20003

Can not use because another process is using the device.

・请确认不要在多进程中使用不对应多进程的函数。

20200

The initial-setting is not set to axis.

・请运行对应轴的SmcWSetInitParam函数。

20202

Function is not allowed to be called during motor operation.

・请用SmcWGetStopStatus函数确认电机状态为停止中,再运行该函数。

20203

Function is not allowed to be called while motor is stopped.

・请用SmcWGetMoveStatus函数确认电机为操作状态,再运行该函数。

20204

The function cannot be executed according to the limit etc.

・请用SmcWGetLimitStatus函数确认电机的各种限位信号状态。

20205

The value that was not able to be operated was set.

・请确认设置的数值是否超范围。例如是否把移动距离设置为了0。

20206

An internal error of the driver occurred.

・请咨询本公司技术支持中心。

20207

A specified axis is not a synchronous object axis.

・请指定同步对象轴。

20208

The default is not set to the synchronous object axis.

・确认指定的同步对象轴是否实行了SmcWSetInitParam函数。

20209

Because the synchronous object axis is operating, it is not possible to execute it.

・对于指定的同步对象轴,先用SmcWGetStopStatus函数确认电机处于停止中状态,再运行该函数。

20210

The default is not set to the axis for the interpolation.

・对于指定的插补对象轴,确认是否运行了SmcWSetInitParam函数。

20211

Because the axis for the interpolation is operating, it is not possible to execute it.

・对于指定的插补对象轴,先用SmcWGetStopStatus函数确认电机处于停止中状态,再运行该函数。

20212

For the soft limit has been set, the count match event can not be used.

・软限位和比较一致输出功能不能同时使用。