几何尺寸与公差论坛

 找回密码
 注册
查看: 1269|回复: 0

i have written a small code on pc-dmis for the ten dimensions. i run the code

[复制链接]
发表于 2009-4-6 21:05:04 | 显示全部楼层 |阅读模式
pc-dmis i'm new to pc-dmis.
i have written a small code on pc-dmis for the ten dimensions. i run the code in dcc mode. it is working right.
now, once i close pc-dmis and open it back u. it is forgetting the alignments and coordinates so the robe is running into the art right from dimension 1. somewhere it is not transferring the alignments right. the alignment by themselves are right because since start alignment statement the x,y,z are moving right.
post the code from the beginning of the rogram to after the alignments.
art name : sri_rogram1
rev number :
ser number :
stats count : 1
startu =alignment/start,recall:, list= yes
alignment/end
loadrobe/robe1
ti/t1a0b0, shankijk=0, 0, 1, angle=0
format/text,otions, ,headings,symbols, ;nom,tol,meas,dev,outtol, ,
mode/dcc
move/oint,normal,12.0061,13.466,-17.4088
move/oint,normal,11.8534,9.4321,-21.9078
move/oint,normal,11.8534,9.4321,-22.3842
ln1 =feat/lane,rect,triangle
theo/11.9155,9.5017,-22.8297,-0.0002961,-0.5949097,0.8037925
actl/11.9156,9.4534,-22.8439,0,0,1
meas/lane,3
hit/basic,normal,11.5293,9.5019,-22.8297,-0.0002961,-0.5949097,0.8037925,11.529,9.4528,-22.8439,use theo = yes
hit/basic,normal,11.897,9.5017,-22.8297,-0.0002961,-0.5949097,0.8037925,11.8973,9.455,-22.8439,use theo = yes
move/oint,normal,11.8931,9.4321,-22.3661
move/oint,normal,12.3056,9.4321,-22.3661
hit/basic,normal,12.3203,9.5015,-22.8297,-0.0002961,-0.5949097,0.8037925,12.3206,9.4523,-22.8439,use theo = yes
move/oint,normal,12.3056,9.432,-22.1174
move/oint,normal,11.4986,10.4223,-20.6621
endmeas/
move/oint,normal,12.0159,13.1906,-20.4184
move/oint,normal,11.9874,13.1409,-22.6791
move/oint,normal,11.859,13.2874,-22.737
cir1 =feat/circle,rect,in,least_sqr
theo/11.9588,13.2253,-22.7268,0,0,1,1.3144
actl/11.958,13.2283,-22.7269,0,0,1,1.3132
meas/circle,4,worklane
hit/basic,normal,11.8582,13.8766,-22.7268,0.1525412,-0.9882971,0,11.8594,13.8792,-22.7267,use theo = yes
move/oint,normal,11.859,13.2507,-22.737
hit/basic,normal,11.3056,13.2774,-22.7268,0.9968344,-0.0795059,0,11.3051,13.2766,-22.7269,use theo = yes
move/oint,normal,11.837,13.2507,-22.7371
hit/basic,normal,11.8319,12.5788,-22.7269,0.1925901,0.9812793,0,11.8352,12.5818,-22.7271,use theo = yes
move/oint,normal,11.8365,13.2873,-22.737
hit/basic,normal,12.6108,13.2954,-22.7268,-0.994261,-0.1069818,0,12.61,13.2934,-22.7269,use theo = yes
move/oint,normal,11.9336,13.2874,-22.737
endmeas/
move/oint,normal,11.9032,13.1646,-21.4499
move/oint,normal,11.9032,13.1646,-21.1276
move/oint,normal,12.6072,14.6663,-21.1278
move/oint,normal,12.6072,14.6663,-22.2925
move/oint,normal,12.484,14.767,-22.1858
lin1 =feat/line,rect,unbnd
theo/13.1329,14.7725,-22.1752,-0.0037666,-0.9999929,0
actl/13.1387,14.7725,-22.1751,-0.007562,-0.9999714,0
meas/line,2,worklane
hit/basic,normal,13.1329,14.7725,-22.1752,-0.9999929,0.0037666,0,13.1387,14.7725,-22.1751,use theo = yes
move/oint,normal,12.5985,14.7675,-22.1858
move/oint,normal,12.5985,14.7675,-21.2282
move/oint,normal,12.5985,12.0657,-21.2283
move/oint,normal,12.5985,12.0657,-22.0899
hit/basic,normal,13.1227,12.0654,-22.0826,-0.9999929,0.0037666,0,13.1182,12.0653,-22.0828,use theo = yes
move/oint,normal,12.5573,12.0657,-22.0899
move/oint,normal,12.5573,12.0657,-20.6515
endmeas/
a0 =alignment/start,recall:startu, list= yes
alignment/level,zlus,ln1
alignment/rotate,ylus,to,lin1,about,zlus
alignment/trans,xaxis,cir1
alignment/trans,yaxis,cir1
alignment/trans,zaxis,ln1
alignment/end
thanks for your hel.
there are a coule of things that looks a little strange.
first off...you not recalling any alignment. your using the startu alignment which is the machine coordinates. second, your z locations are in the minus location. usually, the to of the table is zero which would exlain why it's driving into the table.
your using pc-dmis's coining function.
email me if your interested in some training.
tim
recision measurement solutions
recisionmeas@yahoo.com
edited by - recisionmeas on 9/11/2007 12:14:45 m
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 09:17 , Processed in 0.035062 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

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