咖迷社区(CAXA数码大方)

 找回密码
 立即注册

QQ登录

只需一步,快速开始

12
返回列表 发新帖
楼主: zhang_112

制造工程师2013r1测试版的问题,请贾工帮忙!!!

[复制链接]

10

主题

104

帖子

359

积分

注册会员

Rank: 2

积分
359
 楼主| 发表于 2012-3-18 18:26:00 | 显示全部楼层
2011有按文件大小分割选项,2013需然没有此选项,但文件大小是可改的,为啥我改后就是不行?高手们请你们张张嘴谢谢!!!!!
回复 支持 反对

使用道具 举报

10

主题

104

帖子

359

积分

注册会员

Rank: 2

积分
359
 楼主| 发表于 2012-3-20 00:15:00 | 显示全部楼层
非常感谢!!!!!!!1
回复 支持 反对

使用道具 举报

10

主题

104

帖子

359

积分

注册会员

Rank: 2

积分
359
 楼主| 发表于 2012-3-20 00:47:00 | 显示全部楼层

回复 10# jxc 的帖子

贾工你好!我连夜按照你所说的更改但是还是不行,请继续指教,谢谢!!!!!!!
回复 支持 反对

使用道具 举报

10

主题

104

帖子

359

积分

注册会员

Rank: 2

积分
359
 楼主| 发表于 2012-3-20 14:38:00 | 显示全部楼层

回复 13# jxc 的帖子

<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<P align=left>#------------------------------------------------------------------------------ # Machine Control File: mcf 1.0 # CAXA CAXPost 1.0 #------------------------------------------------------------------------------ # 后置系统:Fanuc # 描 述:适用于三轴铣床 # 说 明:该文件为后置系统CAXPOST所使用,控制G代码输出。以下划线开头 # 的字符串请不要改变,否则会导致该文件不可使用。 # # 2005-09-27 Created by CAXA #------------------------------------------------------------------------------ # 机床配置文件的设定 #------------------------------------------------------------------------------ _begin mcfdlg_set abs_code = G90 #绝对编程指令 absinc = 0 #0:绝对编程方式,1:相对编程方式 arc3dmode = 0 #0:不输出空间圆弧,1:所有圆弧按空间圆弧输出,2:坐标平面外的圆弧按空间圆弧输出 arc_max = 360.000000 #圆弧最大角度 arc_tol = 0.001000 #圆弧离散成直线时精度 arcmode = 0 #0:圆心相对起点,1:起点相对圆心,2:绝对坐标,3:圆心相对终点,4:圆弧半径为负,当圆心角大于180度时,5:圆弧半径为正,当圆心角大于180度时,6:圆弧离散成直线 caxis_g00_return_zero = 0 cool_off = M09 #关冷却液指令 cool_on = M07 #开冷却液指令 deli_user = #用户自定义字符,只有delimode = 3时起作用 delimode = 1 #分隔符模式0:无,1:空格,2:Tab,3:自定义字符 drill_modal = 1 end_char = % #结束符 eob = #行结束符 feed_code = F #速度指令 file_max = 180 #文件最大长度,单位kb file_maxline = 1000 #文件最大行数 firstaxis = 2 firstaxis_stangle = 0.000 fmax_mode = 0 file_limit_on = 1 #0:文件最大长度,1:文件最大行数 g00 = G0 #快速移动指令 g00feed = #快速移动速度 g01 = G1 #直线插补指令 g02 = G2 #顺时针圆弧插补指令 g03 = G3 #逆时针圆弧插补指令 g17 = G17 #XY平面指令 g18 = G18 #ZX平面指令 g19 = G19 #YZ平面指令 g3darc = #空间圆弧指令 g40 = G40 #取消刀具补偿指令 g41 = G41 #刀具左补偿指令 g42 = G42 #刀具右补偿指令 g43 = G43 #刀具长度补偿指令 inc_code = G91 #相对编程指令 machineaxis = 3 machinetype = 0 prog0_to_caxis_x = 0.000000 prog0_to_caxis_y = 0.000000 prog0_to_caxis_z = 0.000000 prog_no = 1200 #程序号 prog_stop = M30 #程序停止指令 rot1max = 99999.000000 rot1min = -99999.000000 rot2_from_rotc_offset_x = 0.000000 rot2_from_rotc_offset_y = 0.000000 rot2_from_rotc_offset_z = 0.000000 rot2max = 99999.000000 rot2min = -99999.000000 secondaxis = 0 secondaxis_stangle = 0.000000 seq_code = N #行号地址 seq_inc = 5 #行号增量,即每两个行号之间的间隔 seq_max = 99999 #最大行号 seq_num = 4 #行号位数,只有seq_zero=1时才起作用 seq_out = 1 #是否输出行号1:是,0:否 seq_start = 5 #起始行号 seq_zero = 0 #行号位数是否填满,1:是,0:否 spn_ccw = M04 #主轴反转指令 spn_code = S #主轴转速指令 spn_cw = M03 #主轴正转指令 spn_stop = M05 #主轴停止指令 start_char = % #起始符 submode = 1 tilt_axis_vx = 0.000000 tilt_axis_vy = 0.000000 tilt_axis_vz = 0.000000 toolcmp_follow = 1 #G41或G42后面是否加D,等于1时才加,其它就不加。 toolrotlength = 0.000000 _end #------------------------------------------------------------------------------ # 系统变量默认的指令地址符 system variable and register format #------------------------------------------------------------------------------ # 后面还有若干 _begin sysvar_register app_h = Z appfeed = F ci = I cj = J ck = K clearance = Z_CLEAR cr = R cx = X cy = Y cz = Z drillfeed = F dwelltime = P_CYCL feed = F holedepth = Z_CYCL holedepth2 = Z_CYCL ntool_adjust_reg = H ntool_cutcom_reg = D ntool_num = T peckdepth = Q_CYCL prog_no = O rotatetable = B safe_h = Z safedis = R_CYCL speed = S startx = X starty = Y startz = Z tool_adjust_reg = H tool_cutcom_reg = D tool_num = T worksurface = Z_WORK _end #------------------------------------------------------------------------------ # 指令地址格式register format #------------------------------------------------------------------------------ #key,name,initvalue,int_num,dec_num,lead,trail,dec,sign,modal,zero,minimum,limit_min,maximum,litmi_max,before,after,formula _begin register_format A,A,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 B,B,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 C,C,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 D,D,0.000000,4,0,0,0,0,0,1,1,-10000.000000,0,10000.000000,0,,,1 DEFAULT,,0.000000,4,6,0,1,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 F,F,0.000000,6,0,0,0,0,0,1,1,0.000000,0,10000.000000,0,,,1 F_CYCL,F,0.000000,4,3,0,0,1,0,1,1,0.000000,0,10000.000000,0,,,1 G,G,0.000000,3,2,1,0,0,0,1,0,0.000000,0,99999.000000,0,,,1 H,H,0.000000,4,0,0,0,0,0,1,1,0.000000,0,10000.000000,0,,,1 I,I,0.000000,4,3,0,0,1,0,0,1,-10000.000000,0,10000.000000,0,,,1 J,J,0.000000,4,3,0,0,1,0,0,1,-10000.000000,0,10000.000000,0,,,1 K,K,0.000000,4,3,0,0,1,0,0,1,-10000.000000,0,10000.000000,0,,,1 M,M,0.000000,4,0,0,0,0,0,1,1,0.000000,0,10000.000000,0,,,1 N,N,10.000000,4,0,0,0,0,0,0,0,0.000000,0,99999.000000,1,,,1 O,O,1000.000000,4,0,0,0,0,0,0,0,0.000000,0,9999.000000,0,,,1 P,P,0.000000,4,0,0,0,0,0,1,1,-10000.000000,0,10000.000000,0,,,1 P_CYCL,P,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 Q_CYCL,Q,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 R,R,0.000000,4,3,0,0,1,0,0,1,-10000.000000,0,10000.000000,0,,,1 R_CYCL,R,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 S,S,0.000000,6,0,0,0,0,0,1,1,0.000000,0,10000.000000,0,,,1 T,T,0.000000,2,0,0,0,0,0,1,1,0.000000,0,10000.000000,0,,,1 TT,,0.000000,2,0,0,0,0,0,1,1,0.000000,0,10000.000000,0,,,1 U,U,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 V,V,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 W,W,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 X,X,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 Y,Y,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 Z,Z,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 Z_CLEAR,Z,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 Z_CYCL,Z,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 Z_WORK,Z,0.000000,4,3,0,0,1,0,1,1,-10000.000000,0,10000.000000,0,,,1 _end #------------------------------------------------------------------------------ # 程序输出控制 #------------------------------------------------------------------------------ _begin program # 输出空间圆弧 arc_3d { $seq,$sgplane,$sgcode,$sgabsinc, $cx,$cy,$cz,XI($ci),YJ($cj),ZK($ck),$feed,$eob,@ } # 圆弧输出格式# 圆弧输出圆心方式 arc_center { $seq,$sgabsinc,$sgplane,$sgcode, $cx,$cy,$cz,$ci,$cj,$ck,$feed,$eob,@ } # 圆弧输出半径方式 arc_radius { $seq,$sgabsinc,$sgplane,$sgcode, $cx,$cy,$cz,$cr,$feed,$eob,@ } # 高速深孔加工循环 cycle_g73 { $seq,"G99 G73 ",$cx,$cy,$holedepth2,$safedis,$peckdepth, $drillfeed,$eob,@ } # 反攻丝循环 cycle_g74 { $seq,"G99 G74 ",$cx,$cy,$holedepth2,$safedis,$dwelltime, $drillfeed,$eob,@ } # 精镗循环 cycle_g76 { $seq,"G99 G76 ",$cx,$cy,$holedepth2,$safedis,$peckdepth, $dwelltime,$drillfeed,$eob,@ } # 取消固定循环指令 cycle_g80 { $seq,"G80",$eob,@ $seq,$sgabsinc,$sgcode,$startz,$eob,@ $seq,$sgabsinc,$sgcode,$startx,$starty,$eob,@ $seq,$cool_off,$eob,@ $seq,$spn_stop,$eob,@ } # 钻孔循环(中心钻) cycle_g81 { $seq,"G99 G81 ",$cx,$cy,$holedepth2,$safedis,$drillfeed,$eob,@ } # 带停顿的钻孔循环 cycle_g82 { $seq,"G99 G82 ",$cx,$cy,$holedepth2,$safedis, $dwelltime,$drillfeed,$eob,@ } # 深孔加工循环 cycle_g83 { $seq,"G99 G83 ",$cx,$cy,$holedepth2,$safedis,$peckdepth, $drillfeed,$eob,@ } # 攻丝循环 cycle_g84 { $seq,"G99 G84 ",$cx,$cy,$holedepth2,$safedis,$dwelltime, $drillfeed,$eob,@ } # 镗孔循环 cycle_g85 { $seq,"G99 G85 ",$cx,$cy,$holedepth2,$safedis,$drillfeed,$eob,@ } # 镗孔循环(孔底主轴停止) cycle_g86 { $seq,"G99 G86 ",$cx,$cy,$holedepth2,$safedis,$drillfeed,$eob,@ } # 反镗循环 cycle_g87 { $seq,"G99 G87 ",$cx,$cy,$holedepth2,$safedis,$peckdepth, $drillfeed,$eob,@ } # 镗孔循环(暂停后主轴停止) cycle_g88 { $seq,"G99 G88",$cx,$cy,$holedepth2,$safedis, $dwelltime,$drillfeed,$eob,@ } # 镗孔循环(孔底有暂停) cycle_g89 { $seq,"G99 G89",$cx,$cy,$holedepth2,$safedis, $dwelltime,$drillfeed,$eob,@ } cycle_last_run { $seq,"G98 ",$cx,$cy,$eob,@ } # 钻孔循环执行,特别是在钻同样的孔且用同一把刀具时可以被多次调用 cycle_run { $seq,$cx,$cy,$eob,@
回复 支持 反对

使用道具 举报

10

主题

104

帖子

359

积分

注册会员

Rank: 2

积分
359
 楼主| 发表于 2012-3-20 14:53:00 | 显示全部楼层

回复 14# zhang_112 的帖子

显得有点杂乱,不知贾工能看清不,我分别在在文字说明前面和后面都加了试,都不行。麻烦你了,谢谢!!!!
回复 支持 反对

使用道具 举报

54

主题

679

帖子

2675

积分

高级会员

Rank: 4

积分
2675

咖迷论坛管理(CAXA)

发表于 2012-3-21 12:40:00 | 显示全部楼层
它需要单独一行的。
我试了是可以起作用的。
更改完后应该是这样的:

fmax_mode        = 0        #0:文件最大长度,1:文件最大行数
file_limit_on = 1
g00        = G0        #快速移动指令
回复 支持 反对

使用道具 举报

10

主题

104

帖子

359

积分

注册会员

Rank: 2

积分
359
 楼主| 发表于 2012-3-21 15:22:00 | 显示全部楼层

回复 16# jxc 的帖子

谢谢贾工!已搞定
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|咖迷社区(CAXA数码大方) ( 京ICP备05001831号-1 )

GMT+8, 2024-12-5 10:14 , Processed in 0.140455 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表