Hi,
I declared an E6POS array and there is no error.
But in .src file when I try to touch up a point which is in my array, Kuka shows me the default tool and base, not my point's FDAT_ACT value.
As I understood when you try to touch up a point ex: xExamplePoint the system try to fınd an FDAT which is called fExamplePoint. If can not find It uses the actual tool and base.
I Declared an FDAT array with same name of my array but it did not worked. System still try to touch up with actual tool and base.
Is there anyone who can touch up an array point with correct tool and base?
Code
;FOLD XCKMC1_COL1_APRO
DECL GLOBAL E6POS XEXAMPLEARR[3]
XEXAMPLEARR[1]={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0}
XEXAMPLEARR[2]={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0}
XEXAMPLEARR[3]={X 0.0,Y 0.0,Z 0.0,A 0.0,B 0.0,C 0.0}
DECL GLOBAL FDAT FEXAMPLEARR[3]
FEXAMPLEARR[1] ={TOOL_NO 14,BASE_NO 0,IPO_FRAME #BASE,POINT2[] " ",TQ_STATE FALSE}
FEXAMPLEARR[2] ={TOOL_NO 15,BASE_NO 0,IPO_FRAME #BASE,POINT2[] " ",TQ_STATE FALSE}
FEXAMPLEARR[3] ={TOOL_NO 16,BASE_NO 0,IPO_FRAME #BASE,POINT2[] " ",TQ_STATE FALSE}
;ENDFOLD
Display More
My .src file
Code
;FOLD LIN XEXAMPLEARR[1] CONT Vel=2 m/s mBlend10mm Tool[1]:TGRIP_WITHOUTLOAD Base[0];%{PE}%R 8.3.40,%MKUKATPBASIS,%CMOVE,%VLIN,%P 1:LIN, 2:XEXAMPLEARR[1], 3:C_DIS C_DIS, 5:2, 7:mBlend10mm
$BWDSTART=FALSE
LDAT_ACT=LmBlend10mm
FDAT_ACT=FEXAMPLEARR
BAS(#CP_PARAMS,2)
LIN XEXAMPLEARR[1] C_DIS C_DIS
;ENDFOLD
;FOLD LIN XEXAMPLEARR[2] CONT Vel=2 m/s mBlend10mm Tool[1]:TGRIP_WITHOUTLOAD Base[0];%{PE}%R 8.3.40,%MKUKATPBASIS,%CMOVE,%VLIN,%P 1:LIN, 2:XEXAMPLEARR[2], 3:C_DIS C_DIS, 5:2, 7:mBlend10mm
$BWDSTART=FALSE
LDAT_ACT=LmBlend10mm
FDAT_ACT=FEXAMPLEARR
BAS(#CP_PARAMS,2)
LIN XEXAMPLEARR[2] C_DIS C_DIS
;ENDFOLD
;FOLD LIN XEXAMPLEARR[3] CONT Vel=2 m/s mBlend10mm Tool[1]:TGRIP_WITHOUTLOAD Base[0];%{PE}%R 8.3.40,%MKUKATPBASIS,%CMOVE,%VLIN,%P 1:LIN, 2:XEXAMPLEARR[3], 3:C_DIS C_DIS, 5:2, 7:mBlend10mm
$BWDSTART=FALSE
LDAT_ACT=LmBlend10mm
FDAT_ACT=FEXAMPLEARR
BAS(#CP_PARAMS,2)
LIN XEXAMPLEARR[3] C_DIS C_DIS
;ENDFOLD
Display More
My Kernel System is V8.3.161