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

3 axis interpolation

fahansen
2014-10-17
2014-10-31
  • fahansen - 2014-10-17

    Hi,

    I need to interpolate 3-axis with continuous path.
    The application looks like a SCARA robot and all the points are calculated by the PLC.
    The interpolation already works using a G-code with the SMC_NDecoder + SMC_Interopolator + SMC_ControlAxisbyPos, but after each point (G01) the drivers stop and I need to keep running until the last point.
    Its not necessary to use the G-code.

    Any idea how to interpolate without stop?
    thks

     
  • eschwellinger

    eschwellinger - 2014-10-18

    Hi,

    you need to adjust this with dAngleTol on SMC_CheckVelocities ...
    This input describes the tolerance angle up to which at a sharp bend of the path no stop shall be executed.

    BR
    Edwin

     
  • fahansen - 2014-10-22

    Thanks Edwin!!
    It works when I use a CNC program with fixed coordinate.

    In the program, the PLC calculate all points in a table x, y, z and when use those points to write in variables of g-code (N20 G01 X$p1$ Y$p2$ Z$P3$ F$V1$) still keeping the delay. Believe because the interpolation didnt get the next position before finished the work.
    Is there a way to use a table directly on the SMC_Interpolator or need to use a g-code?

    BR.

     
  • eschwellinger

    eschwellinger - 2014-10-31

    Hi,

    yes think you need a little more 'look ahead'... so more lines of
    N20 G01 X$p1$ Y$p2$ Z$P3$ F$V1$
    should solve this.

    BR
    Edwin

     

Log in to post a comment.