广州数控GSK980MDa钻铣床数控系统使用说明书(2010年4月第2版)
目 录
第一篇 编程说明
第一章 编程基础................................................................................................................................................3
1.1 GSK980MDa简介...........................................................................................................................................3
1.2 程序的运行.....................................................................................................................................................6
1.2.1 程序运行的顺序................................................................................................................................6
1.2.2 程序段内指令字的执行顺序............................................................................................................7
1.3 基本轴增量系统.............................................................................................................................................7
1.3.1 基本轴各增量系统的速度..................................................................................................................7
1.3.2 基本轴各增量系统的单位..................................................................................................................7
1.3.3 基本轴各增量系统的数据范围..........................................................................................................8
1.3.4 基本轴各增量系统的数据范围及单位..............................................................................................8
1.3.5 基本轴各增量系统的程序地址值的单位与范围............................................................................10
1.4 附加轴增量系统...........................................................................................................................................10
1.4.1 附加轴为当前增量系统....................................................................................................................10
1.4.2 附加轴为IS-A增量系统..................................................................................................................10
第二章 MSTF代码.............................................................................................................................................11
2.1 M代码(辅助功能).................................................................................................................................11
2.1.1 程序结束M02..................................................................................................................................11
2.1.2 刚性攻丝指定M29..........................................................................................................................11
2.1.3 程序运行结束M30..........................................................................................................................11
2.1.4 子程序调用M98.............................................................................................................................12
2.1.5 从子程序返回M99.........................................................................................................................12
2.1.6 宏程序调用M9000~M9999..........................................................................................................13
2.1.7 程序暂停M00.................................................................................................................................13
2.2 主轴功能.....................................................................................................................................................13
2.2.1 主轴转速开关量控制......................................................................................................................13
2.2.2 主轴转速模拟电压控制..................................................................................................................14
2.2.3 主轴倍率..........................................................................................................................................14
2.3 刀具功能.....................................................................................................................................................14
2.4 进给功能.....................................................................................................................................................14
2.4.1 切削进给(G94/G95、F指令)....................................................................................................14
2.4.2 手动进给..........................................................................................................................................16
2.4.3 手脉/单步进给.................................................................................................................................17
2.4.4 自动加减速......................................................................................................................................17
第三章 G代码....................................................................................................................................................19
3.1 G代码概述....................................................................................................................................................19
3.1.1 模态、非模态及初态......................................................................................................................21
3.1.2 示例..................................................................................................................................................21
3.1.3 相关定义..........................................................................................................................................22
3.1.4 地址定义..........................................................................................................................................22
3.2 快速定位G00...............................................................................................................................................23
3.3 直线插补G01...............................................................................................................................................24
3.4 圆弧及螺旋线插补G02、G03....................................................................................................................25
3.5 暂停代码G04...............................................................................................................................................29
3.6 圆柱插补G07.1............................................................................................................................................29
VII