概述
NETDMIS5.0脱机编程功能,用户将测量机,数模,都导入软件中。
在使用导入 CAD 模型进行脱机或联机编程时, 使用虚拟找正功能, 将模型虚拟放置
在机器的某一位置, 方便脱机模拟运行程序。
1、硬件配置 HW_Config 登录,机器设置,选择测量机类型, “插入”—“硬件定义”—“测量机”,出现虚拟测量机。
硬件配置 HW_Config 登录,登录密码:admin
该界面包括机器模型的的定义与设置, 是否激活机器模型。 机器修正, 温度补偿菜单是否显示和其高级设置。
软件启动后在“ CAD 工具条” 中点击“ 显示机器模型”, 软件的 CAD 窗口显示相应的机器模型,选择测针后, 虚拟机器就可正常使用了。
如下图所示, 图形显示窗口中出现图示测量机
导入数模,使用“虚拟找正”,在“平移和旋转”选项卡中单击“自动定位”,
软件会自动计算“X偏置, Y偏置, Z偏置”将数模自动偏置到测量机平台上,接下来用户
就可以进行脱机编程。
在使用导入 CAD 模型进行脱机或联机编程时, 使用虚拟找正功能, 将模型虚拟放置
在机器的某一位置, 方便脱机模拟运行程序。
路径:【 坐标系】——【 虚拟找正】
平移: 不显示机器模型时, 可在平移下方的框中输入平移量, 将测头零点平移到设置的位置, 显示机器模型时, 可手动输入平移量也可点击默认位置按钮, 软件将根据硬件配置中设置的机器模型大小, 自动计算一个默认位置使模型显示在机器模型的工作台面正中心位置。 如下图所示( 机器模型为 Daisy121510):勾选“ 激活” , 点击【 应用】 CAD 模型显示到设置的位置。
旋转: 设置 CAD 坐标系轴向参考于机器的轴向, 勾选“ 激活” , 点击【 应用】 CAD 模型在机器模型工作台上按照设置的轴向放置。也可旋转到某一角度, 或直接利用元素的矢量方向进行旋转, 操作与模型转换类似, 不做赘述。
N
E
T
D
M
I
S
2
0160720
NET_DMIS_20160720
NETDMIS20160720 MADE IN DE 2023-2-10 14:10:20
INCLUD/DMIS,‘NET_DMIS_DEFINES.DMI’
INCLUD/DMIS,‘VARDEFINE’
DMESW/COMAND,‘PROBE_VAL/INIT’
UNITS/MM,ANGDEC
D(MACHINE)=DATSET/MCS
DMESW/COMAND,‘COORDSYS/ALIGN’
WKPLAN/XYPLAN
PRCOMP/ON
PRCOMP/ON
FEDRAT/POSVEL,MMPS,300.0000
ACLRAT/POSACL,MMPSS,100.0000
FEDRAT/MESVEL,MMPS,20.0000
ACLRAT/MESACL,MMPSS,100.0000
SNSET/RETRCT,2.0000
SNSET/SEARCH,5.0000
SNSET/APPRCH,2.0000
DMESW/COMAND,‘SNSET/MANRETRCT,2.0000’
DMESW/COMAND,‘REPORT/CLEAR’
MODE/MAN
DID(D2L40)=DEVICE/STOR,‘D2L40’
OPEN/DID(D2L40),SNS
S(A0B0)=SNSDEF/PROBE,INDEX,POL,0.0,0.0,0.0000,0.0000,1.0000,189.6500,2.0000
SNSLCT/SA(A0B0)
GEOALG/PLANE,LSTSQR
F(平面1)=FEAT/PLANE,CART,22.5266,23.7059,0,0,0,1.00000000
MEAS/PLANE,F(平面1),3
PTMEAS/CART,4.0794,57.6999,0,0,0,1.00000000
PTMEAS/CART,5.8532,6.5685,0,0,0,1.00000000
PTMEAS/CART,57.6471,6.8493,0,0,0,1.00000000
ENDMES
SNSET/DEPTH,0
DMESW/COMAND,‘CONST/SET_PROJ_VEC,FA(平面1),1’
F(直线1)=FEAT/LINE,UNBND,CART,5.1593,0,-1.3806,0.99988717,0,-0.01502159,0,-1.00000000,0
MEAS/LINE,F(直线1),2
PTMEAS/CART,5.1593,0,-1.7985,0,-1.00000000,0
PTMEAS/CART,60.7994,0,-1.7985,0,-1.00000000,0
ENDMES
F(点1)=FEAT/POINT,CART,0,3.9350,-1.8788,-1.00000000,0,0
MEAS/POINT,COMP,DME,F(点1),1
PTMEAS/CART,0,3.9350,-1.8788,-1.00000000,0,0
ENDMES
DATDEF/F(平面1),DAT(A_平面1)
D(坐标系1_S)=DATSET/DAT(A_平面1),ZDIR
D(坐标系1_R)=ROTATE/ZAXIS,FA(直线1),XDIR
D(坐标系1_T)=TRANS/ZORIG,FA(平面1)
D(坐标系1_T)=TRANS/YORIG,FA(直线1)
D(坐标系1_T)=TRANS/XORIG,FA(点1)
DMESW/COMAND,‘COORDSYS/CAD=PART’
SAVE/DA(坐标系1)
MODE/AUTO,PROG,MAN
SNSET/RETRCT,1.0000
SNSET/APPRCH,1.0000
DMESW/COMAND,‘SNSET/MANRETRCT,1.0000’
DMESW/COMAND,‘CLEARP/ZDIR,10.0000,ZDIR,10.0000,ON’
F(平面2)=FEAT/PLANE,CART,33.9355,55.8219,0,0,0,1.00000000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_PLANEPOINTS_1006),AUTOFIGURE,F(平面2),PLANE,CART,LSTSQR,33.9355,55.8219,$
0,0,0,1.00000000,FALSE,FALSE,FALSE,10.0000,“CUR”,TRUE,FALSE,POINTS,‘6,2.4780,8.9903,0,0,0,1.00000000,$
1.7664,59.2987,0,0,0,1.00000000,22.1108,94.7779,0,0,0,1.00000000,57.1146,96.6342,0,0,0,1.00000000,60.8528,$
69.4028,0,0,0,1.00000000,59.2901,5.8277,0,0,0,1.00000000’,TOUCH,0.3000,XYPLAN
F(直线2)=FEAT/LINE,BND,CART,4.0000,0,-2.0000,64.0000,0,-2.0000,0,-1.00000000,0
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_LINE_1007),AUTOFIGURE,F(直线2),LINE_BND,CART,4.0000,0,-2.0000,1.00000000,$
0,0,60.0000,FALSE,FALSE,FALSE,10.0000,“CUR”,TRUE,FALSE,0,-1.00000000,0,4,0,0,0,TOUCH,0.3000,XYPLAN,0,$
0,LINE,“”,“”,“EXT1”,“EXT2”,“EXT3”,ENDCAL
F(直线3)=FEAT/LINE,BND,CART,0,4.0000,-2.0000,0,59.0000,-2.0000,-1.00000000,0,0
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_LINE_1007),AUTOFIGURE,F(直线3),LINE_BND,CART,0,4.0000,-2.0000,0,1.00000000,$
0,55.0000,FALSE,FALSE,FALSE,10.0000,“CUR”,TRUE,FALSE,-1.00000000,0,0,4,0,0,0,TOUCH,0.3000,XYPLAN,0,0,$
LINE,“”,“”,“EXT1”,“EXT2”,“EXT3”,ENDCAL
F(点2)=FEAT/POINT,CART,0,0,-2.0000,0,0,-1.00000000
CONST/POINT,F(点2),INTOF,FA(直线2),FA(直线3)
DATDEF/F(平面2),DAT(A_平面2)
D(坐标系2_S)=DATSET/DAT(A_平面2),ZDIR
D(坐标系2_R)=ROTATE/ZAXIS,FA(直线2),XDIR
D(坐标系2_T)=TRANS/XORIG,FA(点2),YORIG,FA(点2)
D(坐标系2_T)=TRANS/ZORIG,FA(平面2)
SAVE/DA(坐标系2)
F(圆1)=FEAT/CIRCLE,INNER,CART,31.5000,31.5000,0,0,0,1.00000000,20.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆1),CIRCLE,INNER,CART,LSTSQR,31.5000,31.5000,$
0,0,0,1.00000000,20.0000,-1.00000000,0,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,10.0000,“CUR”,TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,$
5.0000’,“EXT3”,ENDCAL
F(圆2)=FEAT/CIRCLE,INNER,CART,31.5000,49.5000,0,0,0,1.00000000,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆2),CIRCLE,INNER,CART,LSTSQR,31.5000,49.5000,$
0,0,0,1.00000000,10.0000,-1.00000000,0,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,$
FALSE,10.0000,“CUR”,TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,$
5.0000’,“EXT3”,ENDCAL
F(圆3)=FEAT/CIRCLE,INNER,CART,15.9115,40.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆3),CIRCLE,INNER,CART,LSTSQR,15.9115,40.5000,$
0,0,0,1,10.0000,-0.5,-0.8660254,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,$
10.0000,“CUR”,TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,5.0000’,$
“EXT3”,ENDCAL
F(圆4)=FEAT/CIRCLE,INNER,CART,15.9115,22.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆4),CIRCLE,INNER,CART,LSTSQR,15.9115,22.5000,$
0,0,0,1,10.0000,0.5,-0.8660254,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,10.0000,$
“CUR”,TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,5.0000’,“EXT3”,$
ENDCAL
F(圆5)=FEAT/CIRCLE,INNER,CART,31.5000,13.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆5),CIRCLE,INNER,CART,LSTSQR,31.5000,13.5000,$
0,0,0,1,10.0000,1,0,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,10.0000,“CUR”,$
TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,5.0000’,“EXT3”,ENDCAL
F(圆6)=FEAT/CIRCLE,INNER,CART,47.0885,22.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆6),CIRCLE,INNER,CART,LSTSQR,47.0885,22.5000,$
0,0,0,1,10.0000,0.5,0.8660254,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,10.0000,$
“CUR”,TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,5.0000’,“EXT3”,$
ENDCAL
F(圆7)=FEAT/CIRCLE,INNER,CART,47.0885,40.5000,0,0,0,1,10.0000
CALL/EXTERN,DMIS,M(NETDMIS_AUTO_CIRCLE_1007),AUTOFIGURE,F(圆7),CIRCLE,INNER,CART,LSTSQR,47.0885,40.5000,$
0,0,0,1,10.0000,-0.5,0.8660254,0,5,-3.0000,0,0,0,0,360.0000,TOUCH,CIRCLE,0.3000,0,FALSE,FALSE,FALSE,10.0000,$
“CUR”,TRUE,FALSE,0,FA(VECBLD),10.0000,2.5000,3,XYPLAN,“”,‘7,0,0,0,0,3.0000,0,10’,‘0,1,0,5.0000’,“EXT3”,$
ENDCAL
最后
以上就是冷静咖啡为你收集整理的NETDMIS5.0脱机编程2023的全部内容,希望文章能够帮你解决NETDMIS5.0脱机编程2023所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复