spindle = S —————— 定义主轴指令
tool number = T —————— 定义刀具指令
cycle dwell not used
dwell = X ————— 定义暂停时间键值
tool length = H —————— 定义刀具长度补偿指令
tool radius = D —————— 定义刀具半径补偿指令
drill peck depth = Q1 —————— 钻孔的啄钻深度
drill hole depth = Z2 —————— 定义钻孔深度
clearplane = R2 ————— 定义安全平面高度
message start = MS ————— 定义注释的开始符
message end = EM ———— 定义注释的结束符
opskip = OP ———— 定义跳段符号
radius = R ————— 定义半径R键
program id = ID ————— 定义程序号
azimuth axis = B ————— 在多轴加工中,定义方位轴
elevation axis = C ————— 在多轴加工中,定义仰角轴
3rd rotation axis = null ————— 在多轴加工中,定义第三旋转轴
leader not used
x vector not used
y vector not used
z vector not used
error not used
end define
========================== 定义指令值 ========================================
define codes
rapid = G1 0 ========== 快速点定位
linear = G1 1 =========== 直线插补
circle cw = G1 2 =========== 顺圆插补
circle ccw = G1 3 ========== 逆圆插补
dwell = G6 4 ========= 暂停、准确停止
xy plane = G3 17 ========= XY平面
zy plane = G3 19 ========= YZ平面
xz plane = G3 18 ========= ZX平面
compensation off = G2 40 ========== 取消刀具半径补偿
compensation on left = G2 41 =========== 刀具半径左补偿
compensation on right = G2 42 =========== 刀具半径右补偿
imperial data = G4 20 ============ 英寸输入
metric data = G4 21 ============ 毫米输入
absolute data = G5 90 ============ 指定绝对坐标编程
incremental data = G5 91 ============ 指定增量坐标编程
from = G3 54 ========== 制定工作坐标系
feedrate per minute not used ================ 每分钟进给
feedrate per revolution not used ================= 每转进给
spindle rpm not used
constant surface speed not used
drill  



