广州数控GSK980MDa钻铣床数控系统使用说明书(2010年4月第2版)
目 录
4.7 旋转轴的回零方式D.................................................................................................................................94
4.8 Cs轴功能....................................................................................................................................................95
第五章 宏程序....................................................................................................................................................99
5.1 宏程序调用...................................................................................................................................................99
5.2 变量.............................................................................................................................................................103
5.2.1 空变量Null......................................................................................................................................105
5.2.2 局部变量..........................................................................................................................................106
5.2.3 公共变量..........................................................................................................................................106
5.2.4 系统变量..........................................................................................................................................107
5.3 算术与逻辑运算.........................................................................................................................................109
5.3.1 传统格式宏指令...............................................................................................................................110
5.3.2 语句式宏指令...................................................................................................................................113
5.3.3 运算次序(优先级).......................................................................................................................115
5.3.4 括号嵌套...........................................................................................................................................115
5.4 转移和循环..................................................................................................................................................115
5.4.1 无条件转移(GOTO语句)...........................................................................................................115
5.4.2 条件转移(IF语句)......................................................................................................................115
5.4.3 条件表达式.......................................................................................................................................116
5.4.4 循环(WHILE语句).....................................................................................................................116
5.5 宏程序语句和NC语句..............................................................................................................................117
5.5.1 宏程序体的编制与存储...................................................................................................................117
5.5.2 限制...................................................................................................................................................117
第六章 刀具半径补偿.......................................................................................................................................119
6.1 刀具半径补偿的应用................................................................................................................................119
6.1.1 概述.................................................................................................................................................119
6.1.2 补偿值的设置.................................................................................................................................119
6.1.3 指令格式.........................................................................................................................................119
6.1.4 补偿方向........................................................................................................................................120
6.1.5 注意事项........................................................................................................................................120
6.1.6 应用示例..........................................................................................................................................121
6.2 刀具半径补偿偏移轨迹说明...................................................................................................................122
6.2.1 内侧、外侧概念............................................................................................................................122
6.2.2 起刀时的刀具移动........................................................................................................................122
6.2.3 偏置方式中的刀具移动................................................................................................................123
6.2.4 偏置取消方式中的刀具移动........................................................................................................128
6.2.5 刀具干涉检查................................................................................................................................129
6.2.6 暂时取消补偿向量的指令............................................................................................................130
6.2.7 特殊情况........................................................................................................................................131
第二篇 操作说明
第一章 操作方式和显示界面..........................................................................................................................137
1.1 面板划分...................................................................................................................................................137
1.1.1 状态指示........................................................................................................................................137
1.1.2 编辑键盘........................................................................................................................................138
1.1.3 显示菜单........................................................................................................................................139
1.1.4 机床面板........................................................................................................................................139
IX