Hi guys,
I have established a system where I can imput an integer on a HMI and the KRC2 recieves that integer. But the thing is that I want to use this integer to adjust a the FRAME of a position.
I have a toolsetter that can measure the length of a tool and the system is working perfectly. However I now have a set high from where it starts the measurment and when I have a short tool it takes a very long time to reach the toolsetter. I want use my HMI to adjust the hight that this movement starts from, All the systems are working perfectly together but I dont know how to adjust the starting point with the HMI.
How do I modify the Z VALUE in my DAT.fil of following position?
Code
DECL E6POS XP1={X 9796.91602, Y -36.7467499,Z 2246.72998,A -92.4459,B 59.854189,C -90.279007, S 22,T 26,E1 -7691.95996, E2 0.0, E3 0.0, E4 0.0, E5 0.0, E5 0.0, E6 0.0}
DECL BASIS_SUGG_T LAST_BASIS={POINT1[] "P19 ",POINT2[] "P19 ",CP_PARAMS[] "CPDAT13 ",PTP_PARAMS[] "PDAT8 ",CONT[] " ",CP_VEL[] "2 ",PTP_VEL[] "100 ",SYNC_PARAMS[] "SYNCDAT ",SPL_NAME[] "S0 "}
DECL FDAT FP1={TOOL_NO 2,BASE_NO 0,IPO_FRAME #BASE,POINT2[] " ",TQ_STATE FALSE}
DECL PDAT PPDAT1={VEL 100.0,ACC 20.0,APO_DIST 100.0}