Programming

  • 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 :smiling_face:

  • 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.

Advertising from our partners