Hey There,
my problem is that I have no idea how to change the distance from my tool to the workobjekt online. The reason for this is that I have to do spaying experiments with the same workobjekt and the same path on it, but diffrent Tool offsets from the surface.
Is there a way to change this online in the flexpant? This would be faster and more user friendly than creating alot of diffrent offline programs.
My Idea was to change the calibrationdata of the toolframe.
When I change the first number (221.966) my toolframe changed the position in the direction of my worobjekt and so the distance changed to the Workpiece in the simulation
PERS tooldata LiBo_Z110:=[TRUE,[[221.966,-7.793,145.418],[0.476458668616664,-0.503060213902787,0.523515207602204,-0.495832013586596]],[16,[0,0,1],[1,0,0,0],0,0,0]];
That works fine in Robotstudio, but I am not able to change the tooldate in the Flexpant, don’t know why.
My second Idea was to declare a variable for the 221.966 and change the value of the variable on the Flexpant. But it is not possible to declare variables out of a routine.
Any Ideas how I can’s solve my problem?
Thanks guys