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

CNC coordinate shifting

samedctn
2022-11-23
2022-11-29
  • samedctn

    samedctn - 2022-11-23

    Hello Colleagues,

    I want to offset the x and y axes before I start processing the g code.

    Actually I need to do this operation with SMC_TRAFO_Gantry2. When I enter a small value like 5, it works with offset. The result is as I want, but when I enter a value higher than 5, for example, 20 or 10 axes try to advance too much and the following error occurs.

    I couldn't find why this is happening. The situation did not change even though I limited all velocity and acceleration values.

    I don't want to make shifting coordinate system with G54. Because every time G code processing is finished, I have to shift over and over again.

    I need your help.

     

    Last edit: samedctn 2022-11-23
  • bruno-roth

    bruno-roth - 2022-11-29

    If you are using offsets with SMC_trafo_xxx you have to know this values are direct added to the axisposition.
    To limit gaps and dynamics you need to limit in the axisconfiguration and with SMC_controlaxisbypos.

     

Log in to post a comment.