⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rs274ngc_errors.cc

📁 数控系统中的解释器源代码
💻 CC
📖 第 1 页 / 共 2 页
字号:
char * _rs274ngc_errors[] = {
/*   0 */ " ",  //No error
/*   1 */ " ",	//No error
/*   2 */ " ",	//No error
/*   3 */ " ",   //No error
/*   4 */ "文件已经打开", // rs274ngc_open
/*   5 */ "使用G92无轴参数", // enhance_block
/*   6 */ "使用运动代码无轴参数", // enhance_block
/*   7 */ "圆弧半径太小不能到达端点", // arc_data_r
/*   8 */ "ACOS参数超出范围", // execute_unary
/*   9 */ "ASIN参数超出范围", // execute_unary
/*  10 */ "0不能当除数", // execute_binary1
/*  11 */ "负数不能开非整数次方", // execute_binary1
/*  12 */ "非法字符在程序中使用", // read_one_item
/*  13 */ "无符号格式错误", // read_integer_unsigned
/*  14 */ "数值格式错误", // read_real_number
/*  15 */ "模式组0G代码错误", // check_g_codes
/*  16 */ "错误代码,不是G0和G1", // convert_straight, convert_straight_comp1, convert_straight_comp2
/*  17 */ "代码错误,非 G17 G18 或 G19", // convert_set_plane
/*  18 */ "代码错误,非 G20 或 G21", // convert_length_units
/*  19 */ "代码错误,非 G28 或 G30", // convert_home
/*  20 */ "代码错误,非 G2 或 G3", // arc_data_comp_ijk, arc_data_ijk
/*  21 */ "代码错误, 非 G40 G41 或 G42", // convert_cutter_compensation
/*  22 */ "代码错误, 非 G43 或 G49", // convert_tool_length_offset
/*  23 */ "代码错误, 非 G4 G10 G28 G30 G53 或 G92 series", // convert_modal_0
/*  24 */ "代码错误, 非 G61 G61.1 或 G64", // convert_control_mode
/*  25 */ "代码错误, 非 G90 或 G91", // convert_distance_mode
/*  26 */ "代码错误, 非 G93 或 G94", // convert_feed_mode
/*  27 */ "代码错误, 非 G98 或 G99", // convert_retract_mode
/*  28 */ "代码错误, 不是G92系列", // convert_axis_offsets
/*  29 */ "代码错误, 不在G54到G59.3的范围内", // convert_coordinate_system
/*  30 */ "代码错误, 非 m0 m1 m2 m30 m60", // convert_stop
/*  31 */ "距离模式不是G90或G91之一", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  32 */ "函数不因该别调用", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx, read_a, read_b, read_c, read_comment, read_d, read_f, read_g, read_h, read_i, read_j, read_k, read_l, read_line_number, read_m, read_p, read_parameter, read_parameter_setting, read_q, read_r, read_real_expression, read_s, read_t, read_x, read_y, read_z
/*  33 */ "刀具半径补偿错误", // arc_data_comp_r
/*  34 */ "操作平面应为xy yz或xz之一", // convert_arc, convert_cycle
/*  35 */ "刀具半径补偿不是在左侧也不在右侧", // convert_straight_comp1, convert_straight_comp2
/*  36 */ "未知的运动代码", // convert_motion
/*  37 */ "未知操作", // execute_binary1, execute_binary2, execute_unary
/*  38 */ "在刀具半径补偿打开的时候,不能改变轴偏移", // convert_axis_offsets
/*  39 */ "在刀具半径补偿打开的时候,不能改变单位", // convert_length_units
/*  40 */ "不能创建参数备份文件", // rs274ngc_save_parameters
/*  41 */ "进给率为0时,不能做G1直线运动", // convert_straight
/*  42 */ "循环次数不能为0", // convert_cycle
/*  43 */ "进给率为0时,不能做圆弧运动", // convert_arc
/*  44 */ "使用探头时,不能做旋转轴运动", // convert_probe
/*  45 */ "不能打开参数备份文件", // rs274ngc_save_parameters
/*  46 */ "不能打开参数文件", // rs274ngc_save_parameters
/*  47 */ "使用探头时,不能使用时间倒数进给率", // convert_probe
/*  48 */ "使用探头时,不能打开刀具半径补偿", // convert_probe
/*  49 */ "使用探头时,不能使用0进给率", // convert_probe
/*  50 */ "在固定循环中不能使用B参数", // check_other_codes
/*  51 */ "在固定循环中不能使用才C参数", // check_other_codes
/*  52 */ "在固定循环中不能使用A参数", // check_other_codes
/*  53 */ "不能在XY平面外打开刀具半径补偿", // convert_cutter_compensation_on
/*  54 */ "在刀具半径补偿打开时,不能再次打开", // convert_cutter_compensation_on
/*  55 */ "不能使用A参数", // read_a
/*  56 */ "使用G80时不能使用轴参数", // enhance_block
/*  57 */ "无G代码时不能使用轴参数", // enhance_block
/*  58 */ "不能使用B参数", // read_b
/*  59 */ "不能使用C参数", // read_c
/*  60 */ "刀具半径打开的时候不能使用G28或G30", // convert_home
/*  61 */ "G53不能使用增量方式", // check_g_codes
/*  62 */ "刀具半径补偿打开时不能使用G53", // convert_straight
/*  63 */ "不能同时使用两个都使用轴参数的G代码", // enhance_block
/*  64 */ "不能再在XZ平面内使用刀具半径补偿", // convert_set_plane
/*  65 */ "不能再在YZ平面内使用刀具半径补偿", // convert_set_plane
/*  66 */ "程序段太长", // read_text, rs274ngc_open
/*  67 */ "刀具半径补偿打开时不能加工凹[钝]角", // convert_arc_comp2, convert_straight_comp2
/*  68 */ "坐标系选择错误(#5220)", // rs274ngc_init
/*  69 */ "圆弧终点和起点相同", // arc_data_r
/*  70 */ "刀具半径补偿打开时刀具半径错误", // convert_arc_comp1, convert_straight_comp1
/*  71 */ "无G41和G42时非法使用D参数", // check_other_codes
/*  72 */ "使用G4时无停留时间", // check_g_codes
/*  73 */ "使用G82时无停留时间P", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  74 */ "使用G86时无停留时间P", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  75 */ "使用G88时无停留时间P", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  76 */ "使用G89时无停留时间P", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  77 */ "参数设置中无等号", // read_parameter_setting
/*  78 */ "在时间倒数圆弧运动中无F参数", // convert_arc
/*  79 */ "在时间倒数直线运动中无F参数", // convert_straight
/*  80 */ "文件结束没有%", // read_text, rs274ngc_open
/*  81 */ "文件结束没有%或程序结束", // read_text
/*  82 */ "加工程序文件名太长", // rs274ngc_open
/*  83 */ "加工程序文件不能打开", // rs274ngc_read
/*  84 */ "G代码超出范围", // read_g
/*  85 */ "无G43时非法使用H参数", // check_other_codes
/*  86 */ "在YZ平面的圆弧中使用I参数", // convert_arc
/*  87 */ "使用G87时无I参数", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  88 */ "无G2或G3或G87时使用I参数", // check_other_codes
/*  89 */ "在XZ平面的圆弧中使用J参数", // convert_arc
/*  90 */ "使用G87时无J参数", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  91 */ "J参数使用错误", // check_other_codes
/*  92 */ "在XY平面的圆弧中使用K参数", // convert_arc
/*  93 */ "使用G87时无K参数", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/*  94 */ "K参数使用错误", // check_other_codes
/*  95 */ "L参数使用错误", // check_other_codes
/*  96 */ "ATAN的/后缺少左括号", // read_atan
/*  97 */ "一元操作符后面缺少(", // read_unary
/*  98 */ "行号不能大于99999", // read_line_number
/*  99 */ "有G10的行中没有l2", // check_g_codes
/* 100 */ "M代码不能超过99", // read_m
/* 101 */ "圆弧编程半径格式和IJK格式混合", // convert_arc
/* 102 */ "一行中多个A参数", // read_a
/* 103 */ "一行中多个B参数", // read_b
/* 104 */ "一行中多个C参数", // read_c
/* 105 */ "一行中多个D参数", // read_d
/* 106 */ "一行中多个F参数", // read_f
/* 107 */ "一行中多个H参数", // read_h
/* 108 */ "一行中多个I参数", // read_i
/* 109 */ "一行中多个J参数", // read_j
/* 110 */ "一行中多个K参数", // read_k
/* 111 */ "一行中多个L参数", // read_l
/* 112 */ "一行中多个P参数", // read_p
/* 113 */ "一行中多个Q参数", // read_q
/* 114 */ "一行中多个R参数", // read_r
/* 115 */ "一行中多个S参数", // read_s
/* 116 */ "一行中多个T参数", // read_t
/* 117 */ "一行中多个x参数", // read_x
/* 118 */ "一行中多个y参数", // read_y
/* 119 */ "一行中多个z参数", // read_z
/* 120 */ "使用G53必须有G0或者G1", // check_g_codes
/* 121 */ "负数不能开平方", // execute_unary
/* 122 */ "刀具半径补偿索引D参数不能为负", // read_d
/* 123 */ "F参数不能为负", // read_f
/* 124 */ "G参数不能为负", // read_g
/* 125 */ "刀具长度偏移补偿索引H参数不能为负", // read_h
/* 126 */ "L参数不能为负", // read_l
/* 127 */ "M参数不能为负", // read_m
/* 128 */ "Q参数不能为小于等于零", // read_q
/* 129 */ "P参数不能为负", // read_p
/* 130 */ "主轴转速不能为负", // read_s
/* 131 */ "刀具ID不能为负", // read_t
/* 132 */ "注释不能嵌套", // close_and_downcase
/* 133 */ "读实数时无字符", // read_real_value
/* 134 */ "读数值时无数字", // read_real_number
/* 135 */ "整数使用错误", // read_integer_value
/* 136 */ "新行无结束符", // close_and_downcase
/* 137 */ "无刀具偏置索引号", // convert_tool_length_offset
/* 138 */ "使用 G10 l2时P参数因该为整数", // check_g_codes
/* 139 */ "使用 G10 l2时P参数超出范围", // check_g_codes
/* 140 */ "无G4 G10 G82 G86 G88 G89时不能使用P参数", // check_other_codes
/* 141 */ "参数文件次序颠倒", // rs274ngc_restore_parameters, rs274ngc_save_parameters
/* 142 */ "参数号超出范围", // read_parameter, read_parameter_setting, rs274ngc_restore_parameters, rs274ngc_save_parameters
/* 143 */ "Q word missing 使用G83无Q参数", // convert_cycle_xy, convert_cycle_yz, convert_cycle_zx
/* 144 */ "没使用G83时非法使用Q参数Q", // check_other_codes

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -