很有挑战性的程序,谁能帮解答下?西门子数控镗铣床里
%_N_L9852_SPFPROC L9852 (INT ROTATED_WKS_NO, INT KNOWN_WKS_NO, REAL RT_ANG)
DEF REAL TAB_RT_CEN_X, TAB_RT_CEN_Z, ROTATED_WKS_X0, ROTATED_WKS_Z0
G0G53Z0W0V0
G90B=RT_ANG
TAB_RT_CEN_X=1479.44 TAB_RT_CEN_Z=-3053.22
ROTATED_WKS_X0=TAB_RT_CEN_X-(TAB_RT_CEN_X-$P_UIFR)*COS(-RT_ANG)-(TAB_RT_CEN_Z-$P_UIFR)*SIN(-RT_ANG)
ROTATED_WKS_Z0=TAB_RT_CEN_Z-(TAB_RT_CEN_Z-$P_UIFR)*COS(-RT_ANG)+(TAB_RT_CEN_X-$P_UIFR)*SIN(-RT_ANG)
$P_UIFR=CTRANS(X,ROTATED_WKS_X0,Y,$P_UIFR,Z,ROTATED_WKS_Z0)
M17
特别是ROTATED_WKS_NO, INT KNOWN_WKS_NO, REAL RT_ANGTAB_RT_CEN_X, TAB_RT_CEN_Z, ROTATED_WKS_X0, ROTATED_WKS_Z0,这么定义变量是么意思?哪位高手能为我解答下,小弟真诚的拜谢了,很急!! 持续关注,看看那位大侠解释一下
页:
[1]