|
%_N_L9851_SPF
2 s2 ?' i4 R0 Y, G. vPROC L9851(INT TOOLNO)8 T2 J U. @+ }2 Q1 D0 I( A) `0 {
DEF INT ACT_TOOLNO8 M! L5 `3 g# ^- U5 N2 H
DEF REAL ACT_TOOL_LENGTH,W_POS,V_POS) s4 v7 d. c. e9 ]+ r) [6 f7 Z" R
IF $P_SUBPAR[1]==TRUE
1 S; x. u) J( JACT_TOOLNO=TOOLNO7 ?) f' ~9 N+ `: c& W W4 E
ELSE) j5 w8 Q$ N. E4 [# G2 S* H4 h
ACT_TOOLNO=$P_TOOLNO4 X% ^% b1 n. g" j
ENDIF
2 O$ O2 ]& B( Q5 f/ P$ C: j0 ?1 u0 ^ACT_TOOL_LENGTH=$TC_DP3[ACT_TOOLNO,1]+$TC_DP12[ACT_TOOLNO,1]
J2 O/ O# ~9 m2 K$ D9 U% M9 NW_POS=$AA_IM[W]
: G5 e4 `: ^/ {, N3 r0 JV_POS=$AA_IM[V]/ h3 B" Z+ ]# B9 S1 \/ D2 D
$P_CHBFR[0]=CTRANS(Z,ACT_TOOL_LENGTH-W_POS-V_POS)
* t7 w7 M; ~+ {3 U6 UR0=$P_GG[8]
( H& H6 Z2 _+ E% U3 {& [# `G[8]=R09 ^4 X2 P! ^( @9 M3 ^9 }! l
M17 |
|