Hello, sorry. My problem is quite difficult. I don't know if my english is good enough to explain it clearly.
I'll try it but please be patient.
I use robot for dipping parts in special suspension.
The problem is that the suspenison level in tank varies.
Because of that there is laser instaled on the robot which measures level of suspension.
See attached picture. This is initial possition before dipping.
P is the point which has to touch the level of suspension.
I can set value for laser which represents distance between laser and suspension level.
This should guarantee that no matter how low the level is, P point will always touch the level.
Now I use LIN_REL (z-1) in loop. When laser reaches the set value there is input which stops the loop.
Problem is that during motion the angle A5 is increasing -> distance X is changing -> As suspension level decreases I need to change value for laser.
So I need to keep angle A5 constant which guarantee the dimension X will be kept constant too.
There is one external axis E1. Robot is on track and can be moved as shown at pic.
I'm quite new in robotics so if you need any more info please dont hesitate to ask me.
Thank you very much.
