use_gear : 0 #输出齿轮选择代码,0 =不,1 =是的 min_speed : 50 #set_by_md最低转速
nobrk$ : no$ #CD_VAR 省略了×,和快速移动
progname$ : 1 #使用大写字母的程序名(sprogname)
prog_stop : 1 #在换刀停机程序:0 =无,1 = 2 = M00 M01,
tool_info : 2 #输出tooltable信息? #0 = Off 不输出任何工具或toolpable评论
#1 =工具注释
# 2 = tooltable在头-在T / C没有工具评论 # 3 = tooltable在头与工具的评论在T / C
tlchg_home : no$ #零返回×和轴之前 换刀?
# --------------------------------------------------------------------------
# 启用屏蔽钻循环开关# -------------------------------------------------------------------------- usecandrill$ : yes$ #CD_VAR 使用周期为钻
usecanpeck$ : yes$ #CD_VAR Use canned cycle for Peck usecanchip$ : yes$ #CD_VAR Use canned cycle for 断屑 usecantap$ : yes$ #CD_VAR Use canned cycle for Tap usecanbore1$ : yes$ #CD_VAR Use canned cycle for Bore1 usecanbore2$ : yes$ #CD_VAR Use canned cycle for Bore2 usecanmisc1$ : yes$ #CD_VAR Use canned cycle for Misc1 usecanmisc2$ : yes$ #CD_VAR Use canned cycle for Misc2
# --------------------------------------------------------------------------
# 通用用户定义变量初始化 (不开关!)
# -------------------------------------------------------------------------- xia : 0 #用于增量计算的格式化绝对值
yia : 0 #Formatted absolute value for Y incremental calculations zia : 0 #Formatted 绝对的 value for Z incremental calculations
bld : 0 #Block delete active
result : 0 #Return value for functions sav_spc : 0 #Save spaces sav_gcode : 0 #显示保存
sav_absinc : 0 #绝对/增量保存值 sav_coolant : 0 #冷却液 saved
sav_frc_wcs : 0 #强制工作偏移标志保存 toolchng : 1 #On a toolchange flag
spdir2 : 1 #安全主轴方向复制 计算
#Drill variables
drlgsel : -1 #钻头选择初始化 drillref : 0 #选择钻头参考
peckacel$ : 0 #CD_VAR分数百分比减少peck2时
usecan.. : no
drlgcode : 0 #Save Gcode in drill sav_dgcode : 0 #Drill gcode saved
#子程序变量
mr_rt_actv : 0 #标志如果G51 / G68活跃 #0=Off, 1=Toolchange, 2=子程序调用/开始, G68 #3=Absolute start, both
rt_csav : 0 #C 保存值
end_sub_mny : 0 #在变换子端捕获的许多工具设置
comp_type : 0 #Cutter compensation type - 0=computer, 1=control, 2=wear, 3=reverse wear, 4=off
#Coolant variables for X style coolant
cant_pos : 0 #从目前的罐头文本阅读(cant_pos1 - cant_pos20) coolant_bin : 0 #当前冷却液命令的二进制值
coolant_on : 0 #Binary value holding the sum of all coolants currently on coolantx : 0 #Selector variable for coolant string selector
local_int : 0 #Local variable for output of coolant off commands result2 : 0 #Return value for functions
suppress : 0 #Flag used to suppress redundant coolant on commands all_cool_off : 0 #First coolant off command shuts off ALL coolant options
#Variables to capture parameter values - use to set post switches in pset_mach
rotaxerror : 0 #Error flag - Output error message if rotary axis is detected in active axis combination
rot_ax_cnt : 0 #Rotary axis counter component_type : 0 #组件类型:(查看完整列表文件)# 0 =机 # 1 = stock_component
# 2 = misc_component
# 3 = machine_base_component
# 4 = linear_axis_component
# 5 = rotary_axis_component
# 6 = rect_table_component
# 12 = chuck_component
# 24 = tool_spindle_component
# 23 = atc_component
ra_error : 0 #Flag for aggregate operation
# --------------------------------------------------------------------------
#用于数控输出的字符串和字符串选择器定义-------------------------------------------------------------------------- #Address string definitions strm \strn \stro \strp \srad \srminus \sblank
#Cantext string definitions (spaces must be padded here) sm00 \sm01 \strtextno strcantext
#Transform mirror and rotate codes
strns_mir_on \
strns_mir_off \strns_rot_on \ #Coordinate System Rotation
strns_rot_off \ #Coordinate System Rotation Cancel
#Misc. string definitions
sopen_prn \ #开括号字符串“(” sclose_prn \ #闭括号”字符串)” sdelimiter \ #字符串分隔符 sg94 \ #单位每分钟 sg95 \ #每次旋转进给
sm29 \ #刚性攻丝技术支持功能 sg80 \ #取消钻井周期 sg43 \ #刀具长度补偿 sg49 \ #刀具长度补偿 sg92 \ #设置工件坐标系 sm06 \ #Toolchange
# -------------------------------------------------------------------------- # 错误信;
# --------------------------------------------------------------------------
shomeserror \sprgnerror \
#
sra_error \
srotaxerror \SUPPORT ROTARY AXIS
OUTPUT\
# -------------------------------------------------------------------------- # General G and M Code String select tables
# -------------------------------------------------------------------------- # Motion G code selection
sg00 G0 #快速
sg01 G1 #线性feed
sg02 G2 #圆弧插补 CW sg03 G3 #圆弧插补 CCW sg04 G4 #Dwell
sgcode #目标字符串
fstrsel sg00 gcode$ sgcode 5 -1
# -------------------------------------------------------------------------- # Select work plane G code
sg17 G17 #Xy平面代码 sg19 G19 #Yz平面代码 sg18 G18 #XZ平面编码 sgplane #目标字符串
fstrsel sg17 plane$ sgplane 3 -1
# -------------------------------------------------------------------------- #Select english/metric code sg20 G20 #英寸的代码
sg21 G21 #度量代码
smetric #Target string
fstrsel sg20 met_tool$ smetric 2 -1
# -------------------------------------------------------------------------- #Select reference return code sg28 G28 #第一参考点返回
sg30 G30 #二回参考点
sg28ref #Target string
fstrsel sg28 mi3$ sg28ref 2 -1
# -------------------------------------------------------------------------- # Cutter compensation G code selection
# scc0 G40取消刀具补偿
# SCC1 G41刀具补偿左
G42刀具补偿权# Scc2
sccomp #Target for string
fstrsel scc0 cc_pos$ sccomp 3 -1
# -------------------------------------------------------------------------- # Canned drill cycle string select # SG81 G81钻不住
sg81d G82钻孔#停留
sg83 G83 #啄钻不住
随着居住sg83d G83 #啄钻
sg73 G73 #断屑不住
sg73d G73 #芯片休息停留
sg84 g84 #水龙头的右手
sg84d G74 #水龙头的左手
Sg85 G85 #孔# 1没有停留
sg85d G89 #孔# 1停留
sg86 G86 #孔# 2没有停留
sg86d G86 #孔# 2停留
sgm1 G76 #细口径不停留
sgm1d G76 #细钻与停留
sgm2 g84 #刚性攻丝右手
sgm2d G74 #刚性攻丝-左手sgdrill #Target for string
fstrsel sg81 drlgsel sgdrill 16 -1
# --------------------------------------------------------------------------