What are COR errors?
The COR (Program Execution Error Check) section contains errors that occur while checking and executing a CNC program. These errors are generated by the SYNTEC CNC system when the machining program contains incorrect commands, invalid parameters, macro programming errors, or uses functions that cannot be executed in the current system configuration.
How CNC detects COR errors
Before the machine starts moving, the CNC controller analyzes the machining program. The system checks the program structure, command parameters, and whether the requested operations can be executed.
The main checks are performed at the following levels:
- Program syntax check
The controller checks the correct use of G codes, M codes, program numbers, parameters, and the structure of program blocks. - Macro program check
Variables, arrays, calculations, macro calls, subprogram calls, and logical operations are checked. - Motion path check
The controller checks whether arcs, tool compensation, coordinate transformations, and interpolation can be executed. - CNC function check
The controller checks whether the functions used by the program are supported by the specific machine model and installed system configuration.
CNC Program
↓
Program Check
↓
Syntax / Function Verification
↓
COR AlarmID
↓
Program Stop
↓
NC Code Correction
What does COR AlarmID mean?
Each error has a unique AlarmID. This number can be used to identify the type of error and determine where to look for its cause.
COR errors are different from PLC alarms and electrical machine faults. They are usually not related to sensors, motors, or wiring, but rather to the contents of the CNC program and the parameters used during its execution.
COR Alarm
↓
Find AlarmID
↓
Find the program block
↓
Check G / M / Macro command
↓
Correct the NC program
COR Error Table
| AlarmID | Original Description (Chinese) | English Translation | Diagnostic Meaning / Notes |
|---|---|---|---|
001 | 数组指数不能是浮点或空的 | Array index cannot be floating-point or empty | Array subscript error in macro program. Check variable index value. |
002 | 档案不存在 | File does not exist | CNC cannot find the required program file. Check filename and path. |
003 | 除零错误 | Division by zero error | Mathematical operation with a divisor of 0 in macro program. |
004 | 运算域错误 | Domain error | Calculation result exceeds the valid CNC range. |
005 | 程序加载失败 | Program loading failed | Controller failed to load the program for execution. |
006 | 圆弧不在工作平面上 | Arc not on the working plane | Circular interpolation G02/G03 error. Check G17/G18/G19. |
007 | 圆弧半径太短 | Arc radius too small | Specified arc parameters create impossible geometry. |
008 | 圆弧终点不在圆弧上 | Arc end point not on the arc | Check end point coordinates and I/J/K/R parameters. |
009 | 宏呼叫层次太深 | Macro call nesting level too deep | Macro nesting exceeds the allowed limit. |
010 | 固定形式宏呼叫层次太深 | Fixed-form macro call nesting level too deep | Standard macro/cycle nesting error. |
011 | 子程序呼叫层次太深 | Subprogram call nesting level too deep | Subprogram call chain exceeds limit. Check M98/M99. |
012 | 太多模块取消指令,G67 | Too many modal cancel commands (G67) | Check modal macro activation/deactivation sequence. |
013 | G65,G66必须是所有G码中最后一个G码 | G65 and G66 must be the last G-codes in the block | Command sequence error within the NC block. |
014 | 没有程序号码 | Program number missing | Missing program identifier Oxxxx. |
015 | M 码太多 | Too many M-codes | Exceeded allowed number of M-commands in a single block. |
016 | 不合法的变数存取 | Illegal variable access | Check variable number and access permission/scope. |
017 | 找不到标签 | Label not found | Jump command references a non-existent label. |
018 | 找不到行数 | Line number not found | Check target Nxxxx jump address. |
019 | 子程序无M99 | Subprogram missing M99 | Subprogram lacks a proper return command. |
020 | G 码太多 | Too many G-codes | Exceeded allowed number of G-commands in a single block. |
021 | 太多IJK参数 | Too many IJK parameters | Error in circular interpolation parameters definition. |
022 | 没有定义的工作平面坐标 | Working plane coordinates not defined | Working plane not defined for the operation. Check G17/G18/G19. |
023 | 语义错误 | Semantic error | Command format is correct, but usage violates CNC rules. |
024 | 圆弧半径错误 | Arc radius error | G02/G03 arc parameters do not match geometry. Check R or I/J/K. |
025 | 加工形状凹凸太多,Macro Stack Overflow, or invalid STKTOP() argument. | Machining shape convexity/concavity error (Macro Stack Overflow, or invalid STKTOP() argument) | Macro stack depth exceeded or invalid STKTOP() argument used. |
026 | 系统程序错误,Macro Stack Underflow. | System program error (Macro Stack Underflow) | Attempted to access an empty macro stack. Check call sequence. |
027 | 宏程序发出警告 | Macro program issued a warning | Macro triggered a warning. Check user macro logic. |
028 | 系统程序错误,导致无法正常加工 | System program error, preventing normal machining | Critical CNC execution error. Check functions and parameters. |
029 | 在圆弧时变更刀长补偿 | Tool length compensation changed during arc | Tool length offset cannot be modified during circular interpolation. |
030 | 切削速度命令为零 | Cutting speed command is zero | Feedrate or cutting speed set incorrectly. Check F/S. |
031 | 在圆弧时取消半径补偿 | Tool radius compensation canceled during arc | G40 called during arc execution. Change program sequence. |
032 | 在圆弧时启动半径补偿 | Tool radius compensation started during arc | G41/G42 activated inside circular interpolation. |
033 | ,A,R或,C命令用法不当 | Improper usage of ,A, ,R, or ,C commands | Angle, radius, or chamfer parameters set incorrectly. |
034 | 命令语意相冲突 | Command semantics conflict | Incompatible functions used in the same block. |
035 | 角隅太小无法插入圆角或倒角 | Corner too small to insert rounding or chamfer | Insufficient space between path blocks to perform R/C. |
036 | 不适当的,A角度命令 | Inappropriate ,A angle command | Check angle parameter value. |
037 | 倒角值超过前后单节长度 | Chamfer value exceeds the length of preceding or succeeding block | Chamfer size is larger than available movement distance. |
038 | 不正确的单节跳跃开关号码 | Incorrect block skip switch number | Check Block Skip function number. |
039 | 使用量测功能不可以启动刀具半径补偿 | Tool radius compensation cannot be started while using measurement function | Conflict between measuring function and G41/G42. |
040 | 单节终点超过软件行程极限 | Block end point exceeds software travel limit | Coordinates exceed set Soft Limit. |
041 | Goto标签必须是整数 | Goto label must be an integer | Macro jump format error. |
042 | 逻辑操作数必须是整数或空的 | Logical operands must be integers or empty | Check variables in IF/WHILE and logical expressions. |
043 | ASIN()/ACOS()操作数必须介于-1.0和1.0 | ASIN()/ACOS() operands must be between -1.0 and 1.0 | Trigonometric function math error. |
044 | SQRT()操作数不可为负数 | SQRT() operand cannot be negative | Attempting to calculate square root of a negative number. |
045 | L码必须是整数 | L-code must be an integer | Check cycle repetition count. |
046 | O码必须是整数 | O-code must be an integer | Check program number format. |
047 | M码必须是整数 | M-code must be an integer | Check M-command format. |
048 | 主轴速度,S,必须是整数 | Spindle speed (S) must be an integer | Check spindle RPM value. |
049 | 刀长补正号码,H,必须是整数 | Tool length offset number (H) must be an integer | Check tool H-offset. |
050 | 刀径补正号码,D,必须是整数 | Tool radius offset number (D) must be an integer | Check tool diameter compensation table. |
051 | 刀号,T,必须是整数 | Tool number (T) must be an integer | Check tool change and T-code format. |
052 | 子程序号码,P,必须是整数 | Subprogram number (P) must be an integer | Subprogram call format error. |
053 | 重复次数,L,必须是整数 | Repetition count (L) must be an integer | Check parameter L in machining cycles. |
054 | 数据型别不兼容 | Incompatible data types | Check assignment operator and data types. |
055 | 刀长补正号码,H,超出范围 | Tool length offset number (H) out of range | H value exceeds system allowed limits. |
056 | G10数据表地址,P,超出范围 | G10 data table address (P) out of range | Error in G10 parameter setting. |
057 | 刀径补正号码,D,超出范围 | Tool radius offset number (D) out of range | D value exceeds allowed limit. |
058 | 刀鼻补偿号码超出范围 | Tool nose radius compensation number out of range | Check tool tip compensation parameters (TNRC). |
059 | 子程序呼叫序号,H,必须是整数 | Subprogram call sequence number (H) must be an integer | Check call parameters. |
060 | M99返回序号,P,必须是整数 | M99 return sequence number (P) must be an integer | Check subprogram return structure. |
061 | 工件坐标号码超出范围 | Work coordinate system number out of range | Check G54–G59 and extended coordinate systems. |
062 | 暂停跳跃来源,Q,必须是整数 | Pause skip source (Q) must be an integer | Check function syntax. |
063 | 暂停跳跃来源,Q,超出范围 | Pause skip source (Q) out of range | Check Q parameter value. |
064 | P码必须是整数 | P-code must be an integer | Check integer format of parameter P. |
065 | ,A命令与轴位移命令相冲 | ,A command conflicts with axis motion command | Conflicting motion/angle parameter assignment. |
066 | 增量命令与绝对命令相冲 | Incremental command conflicts with absolute command | Conflicting G90/G91 modes in the same block. |
067 | 圆弧圆心向量与圆半径相冲 | Arc center vector conflicts with arc radius | Mismatch between R and I/J/K in arc definition. |
068 | 公英制转换不可以在Quiet模式下使用 | Metric/Imperial conversion cannot be used in Quiet mode | Change controller mode before unit conversion. |
069 | 倒角与圆角命令相冲 | Chamfer and rounding commands conflict | Invalid simultaneous specification of chamfer and rounding. |
070 | 不合法G码指令 | Illegal G-code instruction | G-code used is not supported by the system. |
071 | 未指定主程序名称 | Main program name not specified | Missing required main program header or name. |
072 | 车牙超出最高切削速度 | Thread cutting exceeds maximum cutting speed | Check spindle RPM and feed rate for threading. |
073 | 攻牙超出最高切削速度 | Rigid tapping exceeds maximum cutting speed | Check G84/G74 cycle parameters. |
074 | 刀具半径太大造成补偿路径过切 | Tool radius too large causing overcut during compensation | Geometry and cutter size cause path intersection (overcut). |
075 | 准确停止(Exact Stop)等待过久 | Exact Stop waiting time too long | Check exact stop (G09/G61) configuration parameters. |
076 | G04暂停时间不可为负数 | G04 dwell time cannot be negative | Check X / P / U address value for dwell command. |
077 | Nurbs曲线格式错误 | NURBS curve format error | Check NURBS control points and parameters. |
078 | Nurbs系统内存不足 | Insufficient system memory for NURBS | NURBS data volume exceeds buffer capacity. |
079 | Nurbs曲线控制点数超过上限值 | Number of NURBS curve control points exceeds upper limit | Reduce number of points in curve description. |
080 | 车牙牙距不可为负数 | Thread lead/pitch cannot be negative | Check pitch value (E / F address) during threading. |
081 | 在G45~G48下,G02/G03只能是90度或270度 | Under G45–G48, G02/G03 can only be 90 or 270 degrees | Geometry restriction when using offset trajectories. |
082 | G41/G42不能与G45~G48同时使用 | G41/G42 cannot be used simultaneously with G45–G48 | Tool compensation function conflict. |
083 | 刀具拉回暂停点时, 又手动带开轴向位置 | Manual axis position offset occurred while retracting tool to dwell point | Position mismatch after interrupt. |
084 | 使用快钻没有下P自变量 | No P argument specified when using high-speed drilling cycle | Missing required P dwell/return parameter in cycle. |
085 | 在 G93 模式下 F 自变量不对 | F argument incorrect in G93 mode | Check inverse time feedrate (G93) calculation. |
086 | 在G10 L1501模式下,自变量R和自变量I不可单独存在 | Under G10 L1501 mode, arguments R and I cannot exist independently | Simultaneous setting of parameters required. |
087 | 在 G10 L1501模式下,自变量P和自变量Q不能为相同值 | Under G10 L1501 mode, arguments P and Q cannot be the same value | Table parameter setting error. |
088 | 在 G10 L1501模式,下了自变量I后加工程序不能有时间轴指令 | Under G10 L1501 mode, program cannot have time-axis commands after argument I | Control parameter conflict. |
089 | 在 G10 L1501模式,主轴必须是增量指令 | Under G10 L1501 mode, spindle must be an incremental command | Check spindle command format. |
090 | 开启极坐标插值时,C轴零速检查失败 | C-axis zero speed check failed when polar coordinate interpolation is enabled | Check C-axis status and braking. |
091 | 主轴同步, 基础主轴号码错误 | Spindle synchronization: Master spindle number error | Check axis/spindle synchronization parameters. |
092 | 主轴同步, 同步主轴号码错误 | Spindle synchronization: Slave spindle number error | Check synchronization configuration. |
093 | 主轴同步, 主轴型态错误 | Spindle synchronization: Spindle type error | Incompatible spindle types for synchronization. |
094 | 主轴承载后刚性攻牙转速超过主轴最高转速 | Rigid tapping speed with spindle load exceeds maximum spindle speed | Reduce specified speed or check spindle limits. |
095 | 主轴同步, 基础主轴转速比率错误 | Spindle synchronization: Master spindle speed ratio error | Check transmission ratios. |
096 | 主轴同步, 同步主轴转速比率错误 | Spindle synchronization: Slave spindle speed ratio error | Check transmission ratios. |
097 | 轴偶合功能启用或解除失败 | Axis coupling function enable or disable failed | Check axis status before enabling link. |
098 | 参数学习自变量错误 | Parameter learning argument error | Check setting command syntax. |
099 | 学习条件不符合 | Learning conditions not met | System requirements for learning function not fulfilled. |
100 | 控制器机型不支持此G码指令 | Controller model does not support this G-code instruction | Function unavailable for this CNC model/version. |
101 | 主轴同步, 基础主轴与同步主轴螺距(Pitch)设定不一致 | Spindle synchronization: Pitch setting mismatch between master and slave spindles | Check thread pitch/synchronization parameters. |
102 | 主轴同步, 重复的G51.2或G114.1指令 | Spindle synchronization: Duplicate G51.2 or G114.1 command | Remove duplicate synchronization activation commands. |
103 | 多组高速高精参数未设定 | Multiple high-speed high-precision parameters not set | Check HIC system setting tables. |
104 | 虚拟轴功能启用失败 | Virtual axis function enable failed | Check virtual axis configuration and mapping. |
105 | 轴耦合功能设定错误 | Axis coupling function setting error | Check axis linking parameters. |
106 | 在G61或G63模式下禁止使用G5.1路径平滑 | G5.1 path smoothing prohibited under G61 or G63 mode | Conflict between precision and smoothing modal functions. |
107 | G5.1/G05指令格式错误 | G5.1/G05 instruction format error | Check High-Speed mode activation syntax. |
108 | G10 L1501/L1502指令格式错误 | G10 L1501/L1502 instruction format error | Check parameter writing syntax. |
109 | G22指令错误, 启动失败 | G22 instruction error, startup failed (stored stroke limit area) | Check protected machining zone parameters. |
110 | 加工档对于弹簧机动程而言过大 | Machining file too large for spring machine stroke | Exceeded travel limit of the actuating mechanism. |
111 | 轴交换功能, 轴向设定错误 | Axis swap function: Axis setting error | Check axis switching parameters (Axis Swap). |
112 | 轴交换功能, 直径轴、半径轴设定错误 | Axis swap function: Diameter axis / radius axis setting error | Check lathe diameter/radius configuration. |
113 | MSG=轴交换功能, 启用或解除时机错误 | MSG=Axis swap function: Incorrect timing to enable or disable | Adjust function call timing in the program. |
114 | MSG=轴交换功能, 轴群设定错误 | MSG=Axis swap function: Axis group setting error | Check axis assignment in the group. |
115 | G92.1功能轴向参数设定错误 | G92.1 function axial parameter setting error | Check local coordinate system reset. |
116 | 绝对坐标同步失败 | Absolute coordinate synchronization failed | Check position encoders and axis status. |
117 | 中断型子程序未下M97 | Interrupt subprogram missing M97 | Check interrupt program structure. |
118 | G43.4模式下不可使用G53指令 | G53 command cannot be used under G43.4 mode (TCP) | Conflict between tool center management and system coordinates. |
119 | G10 L16指令格式错误 | G10 L16 instruction format error | Check tool parameter input syntax. |
120 | 超过最大切削同动轴数错误 | Exceeded maximum cutting simultaneous axes error | CNC controller kinematics limitation. |
121 | LN()操作数必须为正数 | LN() operand must be a positive number | Natural logarithm cannot be calculated for zero or negative numbers. |
122 | POW(,)第一个操作数不可为负数 | POW(,) first operand cannot be negative | Exponentiation math error. |
123 | STR2INT()不合法的输入或字符串长度太长 | STR2INT() illegal input or string length too long | Macro string-to-integer conversion error. |
124 | 控制器机型不支持此S码指令 | Controller model does not support this S-code instruction | Spindle command unavailable for current configuration. |
125 | 控制器机型不支持此T码指令 | Controller model does not support this T-code instruction | Tool change command unavailable for this system. |
126 | 控制器机型不支持此H码指令 | Controller model does not support this H-code instruction | Tool length compensation unsupported by system. |
127 | 控制器机型不支持此D码指令 | Controller model does not support this D-code instruction | Tool radius compensation unsupported by system. |
131 | M/T 码子程序和宏太多 | Too many M/T code subprograms and macros | Exceeded limit of custom macros bound to functions. |
132 | 程序名称含有不合法字符 | Program name contains illegal characters | Check filename/program name (only letters, numbers, O allowed). |
133 | G02.4/G03.4插补模式下不支持此命令 | This command is not supported under G02.4/G03.4 interpolation mode | Special interpolation mode conflict. |
134 | G02.4/G03.4指令格式错误 | G02.4/G03.4 instruction format error | Check special interpolation cycle syntax. |
136 | 轴向调机失败后,请先重启控制器再进行CycleStart | After axis tuning failure, please reboot controller before Cycle Start | Hardware reset required after tuning error. |
137 | G04.1 P自变量的顺序错误 | G04.1 P argument sequence error | Check syntax and parameter sequence. |
151 | 第一旋转轴进入不合法范围 | First rotary axis entered illegal range | Rotary axis movement limits (e.g., A/B axis). |
152 | 第二旋转轴进入不合法范围 | Second rotary axis entered illegal range | Second rotary axis movement limits (e.g., C axis). |
153 | 此刀具方向无解 | No solution for this tool direction (Singularity) | Multi-axis machining kinematics error. |
154 | 无五轴功能 | No 5-axis function available | Activate corresponding license/option in CNC. |
155 | 五轴刀具方向未设定 | 5-axis tool direction not set | Check tool orientation vector. |
156 | 五轴轴向设定错误 | 5-axis axial setting error | Check machine kinematic parameters. |
157 | 五轴刀具方向与旋转轴方向不相容 | 5-axis tool direction incompatible with rotary axis direction | Check relative orientation of axes and tool. |
201 | 程序不存在 | Program does not exist | Specified NC program file not found in memory. |
202 | 传文件通讯线路错误 | File transfer communication line error | Check cable, network connection, or RS232/Ethernet settings. |
203 | 工作页大小太小 | Working page size too small | Allocated buffer memory insufficient for display/processing. |
204 | 档案太大 | File too large | Transferred program size exceeds buffer or memory capacity. |
205 | 档案是空的 | File is empty | Program contains no NC code lines. |
206 | 工作页无法取得写入权利 | Working page cannot obtain write rights | File locked by another task or write-protected. |
207 | 指定序号不存在 | Specified sequence number does not exist | Error searching for specific block or element in memory. |
208 | 顺序文件不可使用跳跃指令 | Sequential file cannot use jump/skip command | Streaming file processing format does not support Skip function. |