I am programming paint robots with logic instead of 500 points. I have good logic already but I think it could still be better. Every part we spray is round, so we use circular motion. If I wanted to use the same program and be able to enter the diameter of the part as a register, based off of the starting point....How would I calculate that to be able to translate for positioning?? I feel like there has to be a way!? Any suggestions would be greatly appreciated
Programming
-
ashleythomas8 -
December 14, 2021 at 4:50 PM -
Thread is Unresolved
-
-
Lets say the circle is on the X, Y plane and has a radius of 10 mm.
Point = (X, Y):
P1 = (0, 10)
P2 = (10, 0)
P3 = (0, -10)
P4 = (-10, 0)
Now if you want to change the starting point then just offset the points above by the starting point.
Again this assumes the circle is always in the same plane.
-
I think this post has what you're looking for: Re: Problem with simple circles, is there direct input method for programming them
-
I would place a UFrame in the center of the circle, and the use HawkME method,
So there is no problem even is the plan changes