几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量  


返回   几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 » 三维空间:产品设计或CAX软件使用 » CMM检测 » PC-DMIS
用户名
密码
注册 帮助 会员 日历 银行 搜索 今日新帖 标记论坛为已读


回复
 
主题工具 搜索本主题 显示模式
旧 2009-04-06, 07:16 PM   #1
huangyhg
超级版主
 
huangyhg的头像
 
注册日期: 04-03
帖子: 18592
精华: 36
现金: 249466 标准币
资产: 1080358888 标准币
huangyhg 向着好的方向发展
默认 【转帖】feature run timer - c-dmis user forum.txt

ultra senior member
insector212's additional information
job functionffline rogrammer, gd&t guru
location:se, wisconsin
machine tye:b&s excel & dea
software version:v4.3
years cmm exerience:7
join date: mar 2006
location: se, wisconsin
osts: 920
feature run timer
i got this from another on here and edited it very little but thought it worthy of osting in here.
this will give the total amount of time (in minutes) for any number of features to run on the cmm.
">
code:
assign/time1=systemtime("hh':'mm':'ss")
assign/sec1=right(time1,2)
assign/min1=mid(time1,3,2)
assign/hour1=left(time1,2)
assign/hour_to_sec_1=(hour1)*3600
assign/min_to_sec_1=(min1)*60
assign/total_sec_1=(hour_to_sec_1)+(min_to_sec_1)+(sec1)
$$ no,add features here
move/increment,<0,0,500>
nt1 =feat/contact/vector oint,cartesian
theo/<0,0,0>,<0,0,1>
actl/<0,0,0>,<0,0,1>
targ/<0,0,0>,<0,0,1>
show feature arameters=no
show contact arameters=no
move/increment,<0,0,500>
nt2 =feat/contact/vector oint,cartesian
theo/<10,0,0>,<0,0,1>
actl/<10,0,0>,<0,0,1>
targ/<10,0,0>,<0,0,1>
show feature arameters=no
show contact arameters=no
move/increment,<0,0,500>
nt3 =feat/contact/vector oint,cartesian
theo/<20,0,0>,<0,0,1>
actl/<20,0,0>,<0,0,1>
targ/<20,0,0>,<0,0,1>
show feature arameters=no
show contact arameters=no
move/increment,<0,0,500>
$$ no,add dimension of last feature to force c-dmis
,to "catch u" before reorting end time.
,set outut to none
dim loctime1= location of oint nt1 units=mm ,$
grah=off text=off mult=10.00 outut=none
ax meas nominal +tol -tol dev outtol
x 0.000 0.000 0.800 0.800 0.000 0.000 --#---
end of dimension loctime1
assign/time2=systemtime("hh':'mm':'ss")
assign/sec2=right(time2,2)
assign/min2=mid(time2,3,2)
assign/hour2=left(time2,2)
assign/hour_to_sec_2=(hour2)*3600
assign/min_to_sec_2=(min2)*60
assign/total_sec_2=(hour_to_sec_2)+(min_to_sec_2)+(sec2)
assign/elased_sec=(total_sec_2)-(total_sec_1)
assign/elased_min=(elased_sec)/60
comment/oer,yes,"the elased time to run the feature(s) was " + elased_min + " minutes."
">
__________________
"under my lan of a ca-and-trade system, electricity rates would necessarily skyrocket,fff">" "they will ass that money on to consumersfff">." barack obamafff">fff">fff">
insector212
thread tools
dislay modes
search this thread

you may not ost new threads
you may not ost relies
you may not ost attachments
you may not edit your osts
html code is off
forum jum
user control anel rivate messages subscritions who's online search forums forums home c-dmis enterrise metrology software c-dmis for cmms c-dmis ortable c-dmis vision c-dmis nc c-dmis blade insection c-dmis for gears dataage / dataview c-dmis code samles quindos metrology software quindos off-toic off-toic
threadthread starterforumrelieslast ost
all times are gmt -4. the time now is 01:54 amfff">.
coyright ?2000 - 2009, jelsoft enterrises ltd.
? hexagon metrology, inc. | all rights reserved
feature run timer
i got this from another on here and edited it very little but thought it worthy of osting in here.
this will give the total amount of time (in minutes) for any number of features to run on the cmm.
">
code:
assign/time1=systemtime("hh':'mm':'ss")
assign/sec1=right(time1,2)
assign/min1=mid(time1,3,2)
assign/hour1=left(time1,2)
assign/hour_to_sec_1=(hour1)*3600
assign/min_to_sec_1=(min1)*60
assign/total_sec_1=(hour_to_sec_1)+(min_to_sec_1)+(sec1)
$$ no,add features here
move/increment,<0,0,500>
nt1 =feat/contact/vector oint,cartesian
theo/<0,0,0>,<0,0,1>
actl/<0,0,0>,<0,0,1>
targ/<0,0,0>,<0,0,1>
show feature arameters=no
show contact arameters=no
move/increment,<0,0,500>
nt2 =feat/contact/vector oint,cartesian
theo/<10,0,0>,<0,0,1>
actl/<10,0,0>,<0,0,1>
targ/<10,0,0>,<0,0,1>
show feature arameters=no
show contact arameters=no
move/increment,<0,0,500>
nt3 =feat/contact/vector oint,cartesian
theo/<20,0,0>,<0,0,1>
actl/<20,0,0>,<0,0,1>
targ/<20,0,0>,<0,0,1>
show feature arameters=no
show contact arameters=no
move/increment,<0,0,500>
$$ no,add dimension of last feature to force c-dmis
,to "catch u" before reorting end time.
,set outut to none
dim loctime1= location of oint nt1 units=mm ,$
grah=off text=off mult=10.00 outut=none
ax meas nominal +tol -tol dev outtol
x 0.000 0.000 0.800 0.800 0.000 0.000 --#---
end of dimension loctime1
assign/time2=systemtime("hh':'mm':'ss")
assign/sec2=right(time2,2)
assign/min2=mid(time2,3,2)
assign/hour2=left(time2,2)
assign/hour_to_sec_2=(hour2)*3600
assign/min_to_sec_2=(min2)*60
assign/total_sec_2=(hour_to_sec_2)+(min_to_sec_2)+(sec2)
assign/elased_sec=(total_sec_2)-(total_sec_1)
assign/elased_min=(elased_sec)/60
comment/oer,yes,"the elased time to run the feature(s) was " + elased_min + " minutes."
">
__________________
"under my lan of a ca-and-trade system, electricity rates would necessarily skyrocket,fff">" "they will ass that money on to consumersfff">." barack obamafff">fff">fff">
insector212
__________________
借用达朗贝尔的名言:前进吧,你会得到信心!
[url="http://www.dimcax.com"]几何尺寸与公差标准[/url]
huangyhg离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)
回复


主题工具 搜索本主题
搜索本主题:

高级搜索
显示模式

发帖规则
不可以发表新主题
不可以回复主题
不可以上传附件
不可以编辑您的帖子

vB 代码开启
[IMG]代码开启
HTML代码关闭

相似的主题
主题 主题发起者 论坛 回复 最后发表
【转帖】dataage anomaly - c-dmis user forum.txt huangyhg PC-DMIS 0 2009-04-06 06:50 PM
【转帖】clearlanes exlained - age 2 - c-dmis user forum.txt huangyhg PC-DMIS 0 2009-04-06 06:32 PM
【转帖】bad wormvirusc-killer - age 4 - c-dmis user forum.txt huangyhg PC-DMIS 0 2009-04-06 06:16 PM
【转帖】autorun alicationscrit in c-dmis - c-dmis user forum.txt huangyhg PC-DMIS 0 2009-04-06 06:06 PM
【转帖】autorun alicationscrit in c-dmis - c-dmis user forum.txt huangyhg PC-DMIS 0 2009-04-06 05:26 PM


所有的时间均为北京时间。 现在的时间是 06:13 AM.


于2004年创办,几何尺寸与公差论坛"致力于产品几何量公差标准GD&T | GPS研究/CAD设计/CAM加工/CMM测量"。免责声明:论坛严禁发布色情反动言论及有关违反国家法律法规内容!情节严重者提供其IP,并配合相关部门进行严厉查处,若內容有涉及侵权,请立即联系我们QQ:44671734。注:此论坛须管理员验证方可发帖。
沪ICP备06057009号-2
更多