看了一下,跟 Fanuc 的一样啊
EMC2 "G-Code" 快速参考 | ||
| Code | Parameters | Description |
| Motion | (X- Y- Z- A- B- C- apply to all motions) | |
| | 快速定位 | |
| | 直线插补 | |
| I- J- K- or R- | 顺时针圆弧插补、逆时针圆弧插补 | |
| | Straight Probe | |
| | Cancel motion mode | |
| R- L- P- | 钻孔循环 | |
| R- L- P- Q- | Other canned cycles | |
| K- | Spindle-synchronized motion | |
| 平面选择 (affects G2, G3, G81…G89) | ||
| | XY平面选择 | |
| | ZX平面选择(缺省) | |
| | YZ平面选择 | |
| 坐标模式 | ||
| | 绝对坐标编程 | |
| | 增量坐标编程 | |
| 进给量模式 | ||
| | 每分进给量 | |
| | 时间倒数进给速度 | |
| 单位 | ||
| | 英寸 | |
| | 毫米 | |
| 切割半径补尝 | ||
| | 刀具半径左,右补尝 | |
| | 刀具半径补尝取消 | |
| 刀具长度补尝 | ||
| H- | 刀具长度补尝 | |
| | 取消刀具长度补尝 | |
| Return Mode in Canned Cycles | ||
| | 退回至R点 | |
| | 退回至起始点 | |
| Path Control Mode | ||
| | 准确路径方式 | |
| | 准确停止方式 | |
| P- | 连续路径加工 | |
| Stopping | ||
| | 程序停止 | |
| | 程序结束 | |
| 程序选择停止 | ||
| Spindle Control | ||
| S- | 主轴顺时针,逆时针旋转 | |
| | 主轴停止 | |
| Coolant | ||
| | 1号冷却液开 | |
| | 2号冷却液开 | |
| | 冷却液全部关闭 | |
| Other Input Codes | ||
| | 进给率 | |
| | 设定主轴速度 | |
| | 选择刀具 | |
| | Enable/disable override switches | |
| 选择坐标系统 | ||
| Flow-control Codes | ||
| sub/endsub, while/endwhile, if/else/endif, do/while, call, break/continue/return | ||
| Non-modal Codes | ||
| T- | 换刀 | |
| P- | 暂停 | |
| L2 P- X- Y- Z- A- B- C- | 坐标系统原点设置 | |
| | 返回机床坐标原点 | |
| | 返回次机床坐标原点 | |
| | 机床坐标系设置 | |
| X- Y- Z- A- B- C- | 工件坐标原点设置 | |
| | Cancel offset coordinate systems and set parameters to zero | |
| | Cancel offset coordinate systems but do not reset parameters | |
| | Apply parameters to offset coordinate systems | |
| M101…M199 | P- Q- | 用户自定义M代码 |
| | 显示信息"…" | |