hi all,
my company makes a handheld measuring device, but it can also be attached to robots for automative purposes. we use a Kawasaki robot to do the calibration of this. the process is that the robot moves the device into position, start the robot "shaking", take a measurement, stop the "shaking", and move to the next position.
the shaking a just basically moving the device suedo-randomly in the cartesian x/y axes around the main position using relative offset movements.
we have aquired a Fanuc CRX-10iA and have written a Tablet plugin to measure with the device - which works fine BUT without the shaking bit.
I've been reading that the robot can't be moved using KAREL code but was suggested that a KAREL program could start a TP program to "shake".
would this be something like:
RUN_TASK "looping shake TP prog" -> measure code -> ABORT_TASK "looping shake TP prog" ?
but this of course bring me to TP programs which i have very little experience with. how would i go about doing the shake in the TP program? i can't seem to find anything about moving the robot relatively using offsets in an easy way.
the "shaking" offsets just needs to be something like:
X,Y,Z,Rx,Ry,Rz
1,0,0,0,0,0 -- 1mm X axis
0,1,0,0,0,0 -- 1mm Y axis
-1,0,0,0,0,0 -- -1mm X axis
0,-1,0,0,0,0 -- 1mm Y axis - back to the start position
this is simplified a bit but to give a idea of what i need to achieve
thanks in advance for any help you can give me.
regards,
Chris