故障码表
本表列出 SDK 发布头 ErrorCode.h 定义的全部故障码,供出现错误时快速查对。故障码为 API 返回的数值,故障为对应的枚举名;带 {0} 等占位符的说明为该错误在 SDK 中的原始消息模板。
| 故障码 | 故障 | 故障说明 |
|---|---|---|
| 0 | NoError | 无错误,表示成功。 |
| 1 | VersionMismatch | 检测到不兼容的版本: |
| 2 | FeatureLocked | 发生许可证错误:<位置> |
| 3 | UnsupportedHardware | 不支持连接的硬件类型: |
| 4 | NotInitialized | The operation could not be performed because the system is not initialized. |
| 6 | ResetTimeout | 等待控制器重置完成时发生超时。 |
| 9 | NotConnected | 指定的控制器句柄无效: |
| 10 | InvalidAxisIndex | 指定的轴索引无效。 |
| 13 | DriveCommandResponse | 等待驱动器响应时发生超时:<位置> |
| 14 | IsochronousCommunicationError | 等时通信发生错误:<位置> |
| 15 | AsynchronousCommunicationError | 异步通信期间发生错误:<位置> |
| 17 | CommunicationLost | 驱动器通信被中断。 |
| 18 | EthernetCommunicationLost | 以太网通信中断:<位置> |
| 19 | ServiceCommunicationLost | 通信服务通讯中断:<位置> |
| 23 | TaskMismatch | 启用的任务数量不足。 |
| 24 | InvalidCommandLine | 指定了无效的SMC命令行参数。 |
| 25 | MachineConfiguration | 访问机器配置时发生错误:<位置> |
| 28 | CommunicationsConfiguration | 在 EtherCAT 配置中检测到错误:<位置> |
| 29 | GantryConfiguration | 检测到龙门架配置错误:<位置> |
| 31 | CallbackTimeout | A timeout occurred while responding to a callback. |
| 32 | CallbackError | 执行回调时发生错误: |
| 33 | TooManyStatusItems | 状态项的最大数量已超出。 |
| 34 | ProgramError | 程序执行过程中发生错误:<位置> |
| 35 | StringOverflow | 超出了最大字符串长度。 |
| 36 | DivideByZero | 检测到除零错误。 |
| 37 | ProgramTimeout | 程序超时发生:<位置> |
| 38 | ProfileQueueError | 执行队列中发生错误:<位置> |
| 39 | InvalidArgument | 指定了无效的参数:<位置> |
| 40 | ParameterNotPassed | 未向子程序传递调用栈参数。 |
| 42 | NullProgramLine | 指定了一个空代码行指针。 |
| 43 | ProgramNumberOutOfBounds | 指定的程序编号超出了有效数值范围。 |
| 51 | AxisInFault | 发生了一个轴故障。 |
| 52 | AxisNotEnabled | 轴未启用。 |
| 53 | MotionError | 运动命令发生错误:<位置> |
| 54 | GantryMotionError | 执行龙门运动时发生错误:<位置> |
| 55 | CutterCompensationError | 执行刀具补偿时发生错误:<位置> |
| 56 | CircularMotionError | 执行圆周运动时发生错误:<位置> |
| 57 | CircularRadiusError | 发生了一个圆形半径错误:<位置> |
| 58 | NormalcyError | 执行正常性检查时发生错误:<位置> |
| 59 | MotionTypeMismatch | 执行此命令需要执行线性移动。 |
| 60 | SpindleNumberNotAssigned | 指定的主轴未分配给任何轴。 |
| 61 | EllipticalMotionError | An error occurred while performing elliptical motion: |
| 62 | MotionActive | 运动已激活:<位置> |
| 63 | AxisNotDependent | 此功能仅在从属轴上可用。 |
| 64 | AxisNotDominant | 此功能仅在主导轴上可用。 |
| 66 | TransformationError | 执行转换时发生错误: |
| 67 | CalibrationTableError | 校准表发生错误:<位置> |
| 68 | CamTableError | 发生了一个与凸轮表命令相关的错误:<位置> |
| 71 | CNCFiveError | 根据您的许可证密钥,五轴或更多轴的轮廓加工功能受到限制。 |
| 72 | MonitorError | 任务监控器发生错误:<位置> |
| 75 | InvalidNumberOfLines | 此任务无法执行,因为 ExecuteNumLines 参数被设置为零。 |
| 77 | AxisFaultError | 被指令的轴处于故障状态。 |
| 78 | RunningSynchronousMotion | 同步运动命令被中止。 |
| 79 | ServiceNotImplemented | 指定的操作码在通信服务级别未实现。 |
| 80 | AxisOccupiedByOtherTask | The axis is occupied by another task. |
| 81 | ServiceInvalidAxisIndex | 指定的轴超出范围。 |
| 82 | ServiceTransmissionError | 通信服务传输错误发生:<位置> |
| 83 | ServiceCallbackError | 通信服务回调发生错误:<位置> |
| 84 | ServiceInitializationError | 通信服务中发生初始化错误:<位置> |
| 85 | ServiceInitializationExitCode | 通信服务初始化退出代码: |
| 86 | CommunicationServiceError | 发生通信服务错误:<位置> |
| 88 | OutOfMemory | 发生内存不足错误。 |
| 90 | EventHandleError | 发生了一个事件处理器错误: |
| 93 | SmcRunning | 驱动器启用时无法运行固件加载器。 |
| 94 | FirmwareLoadError | 发生固件加载器错误:<位置> |
| 95 | LibraryCallbackError | 发生回调错误:<位置> |
| 96 | LibraryEventError | 发生了一个事件错误:<位置> |
| 97 | CallbackArgumentError | 发生了一个回调参数错误: |
| 98 | CallbackException | 在响应回调时发生错误: |
| 100 | UnknownError | 执行 EXE 命令时发生未知错误。 |
| 102 | CannotAbortCallingTask | 回调无法在发起回调的任务上加载或运行程序。 |
| 104 | ReturnValue | 指定了无效的回调返回变量: |
| 105 | FileError | 执行 FILE 命令时发生错误: |
| 106 | DataCollectError | 执行数据收集命令时发生错误: |
| 107 | InvalidCallbackArgument | 指定了无效的回调参数:<参数索引> |
| 109 | InvalidIOArgument | 指定了无效的I/O参数:<位置> |
| 110 | TooManyIO | 一次可检索的I/O点最大数量已超出。 |
| 111 | ParameterNotFound | 指定的参数无法找到。 |
| 112 | ParameterTypeInvalid | 指定的参数类型无效。 |
| 113 | ParameterFileNotFound | 参数文件无法定位。 |
| 114 | InvalidParameterFileFormat | 参数文件的格式无效: |
| 115 | EndOfFileFound | 遇到了文件结束。 |
| 116 | FileAccessDenied | 访问文件被拒绝:<位置> |
| 117 | CalibrationFileError | 处理校准文件时发生错误:<位置> |
| 118 | CamFileError | 处理 cam 文件时发生错误: |
| 119 | RegistryError | 访问注册表时发生错误:<位置> |
| 120 | InvalidProductID | Coretech 产品密钥无效。 |
| 122 | InvalidOperation | 此操作与指定的I/O类型不兼容。 |
| 123 | VmeError | 发生了一个VME错误:<位置> |
| 124 | GalvoConfiguration | 发生Galvo配置错误:<位置> |
| 125 | GalvoCalibration | 发生Galvo校准错误:<位置> |
| 127 | WindowsError | 发生了一个Windows错误: |
| 128 | WinsockError | 发生了一个Winsock错误: |
| 129 | CompilerError | 编译器错误:<位置> |
| 130 | CutterRadiusTooLargeForShape | 刀具半径相对于零件形状过大。程序行: |
| 133 | CamRolloverJerk | 在主卷绕翻转时遇到了凸轮数据的不连续性。 |
| 134 | CalRolloverJerk | 在翻转点处遇到了轴校准的不连续性。 |
| 135 | TooManySubIntervalMoves | 遇到了过多的子区间移动。程序行: |
| 136 | JoystickInterlockOpen | 操纵杆互锁输入处于断开状态。 |
| 141 | NoSelfIDSeen | 网络上未检测到任何自识别ID。请检查EtherCAT电缆连接。 |
| 145 | DrvCommTestFailed | The drive communications test failed. |
| 146 | CannotOpenShutdownHandler | The SMC shutdown handler cannot be opened. |
| 147 | InvalidOpcode | The specified opcode is not implemented at the SMC level. |
| 151 | InitializationError | An initialization error occurred: |
| 152 | GetStatusBad | The AerStatusGetItems test failed. |
| 154 | ProfileError | A profile error occurred: |
| 155 | RestartLogicException | An exception occurred while starting the SMC. |
| 157 | DrvCommandNotComplete | The Communication Service is not finished processing a command. |
| 158 | CommandNotComplete | The previous command is not complete. |
| 162 | ResourceError | An error occurred while loading a resource: |
| 164 | NoAxesSpecified | 需要一个或多个轴,但未指定任何轴。 |
| 168 | MasterSlaveConfiguration | 发生主/从配置错误:<位置> |
| 169 | DataCollection | 数据收集中发生错误:<位置> |
| 170 | DataCollectionConfiguration | 发生数据收集配置错误:<位置> |
| 171 | ParameterValueOutOfRange | 指定的参数值超出范围。 |
| 173 | TrajectoryFilterConfiguration | 发生轨迹过滤器配置错误:<位置> |
| 174 | PTInterpolationMode | PT命令不支持所选的插补模式。 |
| 175 | EnableAlignmentMove | 启用对齐移动无法完成。 |
| 176 | MoveTargetViolatesSoftwareLimit | 运动指令超出了软件限制范围:<位置> |
| 177 | CommunicationsFailure | 发生了一个 EtherCAT 通信错误:<位置> |
| 178 | LibraryCommunicationsError | 发生了一个库通信错误:<位置> |
| 179 | MathError | 发生数学错误: |
| 180 | UserDefinedError | 发生了一个用户定义的错误:<位置> |
| 181 | UserDefinedWarning | 发生用户自定义警告:<位置> |
| 182 | UnexpectedFailure | 发生意外错误:<位置> |
| 187 | ControllerShuttingDown | The controller is shutting down. |
| 188 | ResetInProgress | 当另一个重置操作正在进行时,无法执行重置。 |
| 189 | AnalogOutputLocked | 模拟输出由另一任务控制。 |
| 192 | SignalLogError | 信号日志发生错误:<位置> |
| 197 | FiberError | 光纤搜索过程中发生错误:<位置> |
| 204 | ResetFailed | 重置 SMC 时发生错误。 |
| 207 | BezierInternalError | An internal error occurred while computing the Bezier curve: |
| 208 | BezierCompilationError | A compiler error occurred while computing the Bezier curve: |
| 214 | ImmediateCommandCannotExecuteWhileProfiling | 当轴处于轮廓运动时,立即命令无法执行。 |
| 215 | NetworkSocketError | 执行网络套接字操作时发生错误:<位置> |
| 216 | BuildResult | 构建结果: |
| 217 | ProgramControlRestricted | 您请求的操作受到限制,已被忽略。 |
| 218 | AuxiliaryDeviceError | 辅助设备发生错误:<位置> |
| 221 | CutterRadiusTooLargeForCurve | 刀具半径对于该曲线来说过大。程序行: |
| 222 | CutterOvercutNoArcIntersection | 刀具半径补偿完成后,圆弧未相交。 |
| 223 | ParameterSettingHasNoEffect | 从OneScript程序中设置此参数不会对控制器产生影响。程序行: |
| 224 | CannotChangeAnalogAxes | 您无法更改一个或多个配置设置,因为模拟矢量跟踪模式已开启。 |
| 225 | ControllerNotReset | 由于控制器正在重置或重置未完成,无法执行此操作。 |
| 227 | DistanceLoggingError | 发生距离记录错误:<位置> |
| 228 | ProgramQueueNotActive | 当任务未在队列模式下运行时,您尝试将命令下载到程序队列。 |
| 231 | LicensingError | 发生许可错误:<位置> |
| 232 | ProgramLoadingError | 加载程序时发生错误:<位置> |
| 233 | MoveDelayMotionRate | MOVEDELAY 命令只能在轨迹速率为 1kHz 或更高时使用。 |
| 234 | ControllerStarvation | 控制器因发生资源匮乏而停止响应。 |
| 235 | AutofocusNotEnabled | 此操作无法执行,因为自动对焦功能已被禁用。 |
| 240 | RequiredStageSerialMismatch | 所连接平台的序列号与预期序列号不符。 |
| 241 | OscillateCommandArgumentIncorrect | OSCILLATE 参数不正确:<位置> |
| 243 | ThermoCompError | 使用 ThermoComp 功能时发生错误:<位置> |
| 248 | LibraryCommandTimeout | 尝试执行库命令时发生超时。 |
| 249 | PulseCommandError | 发生了一个PULSE命令错误:<位置> |
| 250 | InvalidParameter | An invalid parameter was specified. |
| 251 | NetworkError | A network error occurred. |
| 252 | CommandNotFound | The requested command was not found. |
| 253 | HomeTimeout | A timeout occurred while homing the axis. |
| 254 | EnableTimeout | A timeout occurred while enabling the axis. |
| 255 | DisableTimeout | A timeout occurred while disabling the axis. |
| 256 | PcoError | PCO 指令执行错误。 |
| 1000 | ClientNotFound | The specified client was not found. |
| 1001 | ClientAlreadyExists | The client already exists. |
| 1002 | ClientNotConnected | The client is not connected. |
| 1003 | ClientAlreadyConnected | The client is already connected. |
| 1005 | FirmwareUpdateNotFound | The firmware update package was not found. |
| 1006 | FirmwareChecksumError | The firmware checksum verification failed. |