Error Code Details

Return Value

Description

Actions

0

Normality completion.

 

1

Failed in the acquisition of the resource.

Confirm whether the device is being registered in the device manager.

2

Failed in the registration of the interruption routine.

Confirm whether IRQ overlaps with other devices.

3

Failed in the allocation of the memory.

Increase the memory.

4

Failed in the access of registry.

The installation of the device is done over again.

 

 

 

10000

The device name which wasn't registered  was specified.

Specify the right device name.

10001

Invalid ID was specified.

Please use the ID retrieved from SmcWInit to specify the ID in function.

10002

SMC driver can't be called.

Confirm whether the SmcWInit has ended normally.

10003

Failed in the creation of the file.

Failed in creating file (open failed). Make sure whether the device driver is started by lsmod.

10004

Failed in the closing of the file.

There is a possibility of executing the termination for the device that has not been initialized.

10005

Failed in the creation of the thread.

Confirm the number of threads that starts by the application.

10051

Device not found.

Confirm whether the device is being registered in the device manager.

10100

Pointer to parameter is NULL.

Specify the address of the variable.

10101

Pointer to DeviceName is NULL.

Specify the address of the variable.

10102

Pointer to Id is NULL.

Specify the address of the variable.

10201

The value of parameter is outside the designated range of the function.

Confirm it within the range where the value set to the argument can be set.

10210

The axis that was not the interpolation control axis was specified.

Specify the interpolation control axis.  Specify axis number for SmcWSetBankReady.

10211

The setting of the axis for the interpolation that was not able to be specified was done.

Please confirm whether the interpolation control axis of the combination that cannot be specified is specified.

10212

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

Please confirm whether to contain and to specify the axis for the axis for the interpolation.

 

 

 

20001

The function not supported

Execute the supported function.

20200

The initial-setting is not set to axis.

Execute SmcWSetInitParam.

20202

Function is not allowed to be called during motor operation

Execute the function after confirming the motor is stopping by SmcWGetStopStatus.

20203

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

Execute the function after confirming the motor is working by SmcWGetMoveStatus.

20204

The motor cannot work by the limit.

The function cannot be executed because of the limit.

Execute SmcWGetLimitStatus

20205

This set value is a value that cannot be operated.

Confirm whether the value that the number of output pulses becomes "0" is set.

20206

An internal error of the driver occurred.

Please inquire of Information Center.

20207

A specified axis is not a synchronous object axis.

Please specify the axis including the synchronous object axis.

20208

The default is not set to the synchronous object axis.

Please confirm whether the specified synchronous object axis has executed SmcWSetInitParam.

20209

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

Please execute the function after confirming the specified synchronous object axis is to be stopping by SmcWGetStopStatus.

20210

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

Please confirm whether the axis for a specified interpolation has executed SmcWSetInitParam.

20211

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

execute it.

Please execute the function after confirming the axis for a specified interpolation is to be stopping by SmcWGetStopStatus.

20212

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

Disable the soft limit setting.