Hello All.
I am Working with a Fanuc R2000ib/150U with R30iA Controller.
I have a unique problem where I would like to square up a part based off of distance sensor data. I have tried to draw my scenario in paint so you can see what I am trying to do. so I have been able to calculate the required angle offset to square the part to the sensors, using trig. The problem is I would like to now make the angle correction by rotating around the "Ideal Axis of rotation" as marked on my drawing, instead of based on the current TCP point. The TCP point is way off to the left and further back then the ideal position. I can easily calculate the XYZ position of the "Ideal Axis of rotation" inside user frame 2. But how would I go about rotating around that point? I need to calculate this live, because the sensors can move and also the part size varies.
any help is much appreciated. thanks.