Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

manually generating the coordinates instead of interpolator

codecholic
2011-06-06
2011-06-23
  • codecholic - 2011-06-06

    Hello,

    I've the g-codes of a 2d shape in x-y plane.

    but i also have a set of functions in x-z plane {f(x) = z}

    so, is that solution suitable for softmotion control?

    ReadNC ---> interpolator --(x,y)---->(1)
    (1)--(x,y)----> checkvelocities --(x,y)---->(2)
    (2)--(x,y)----> smoothpath --(x,y)---->(3)
    (3)----(x,y)--> controlaxis_bypos --> axis_x, axis_y
    up to here, x and y axis are controlled. below, z to be controlled.
    (3)----(x)----> f function ---(z)---> control_axis_by_pos ----> z axis

    So with this solution, no z coordinate velocity is controlled... Is that a problem?

    Regards

     
  • shooter - 2011-06-23

    the real speed is not controlled anyway, so if max x and maxy then speed is 1.4 times higher.
    I would control speed by adding all speeds and then divide by max speed, then each speed will be 0.x times its setting speed.
    this way the speed in any direction will be always max.

     

Log in to post a comment.