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

Error 1501 on SMC_Interpolator

syncro
2011-05-12
2011-05-24
  • syncro - 2011-05-12

    Hi to all,

    I was trying to operate the CNC examples under the directory ...\3S Software\CoDeSys V2.3\Projects\Motion\Tutorial\

    on the CNC direct example, when I execute the SMC_Interpolator block, I get an error 1501 which is stating that outqueue has a problem. When I reset the execute input, the error code turns into a wErrorId=1006

    I have a direct pointer to the CNC program name as an input to poqDataIn input of the block, goes something like> Interpolator.poqDataIn:=ADR(CNC_ProgramName);

    I can't figure out the source of the problem, the project builds without errors or warnings. I try to do this using a Schneider Electric LMC20 controler.

    has anybody experienced problems like this? Can you help me?

     
  • ZeRon - 2011-05-20

    Hello Syncro
    try to use a MC_ncdecoder followed by MC_checkvelocities and feed the MC_checkvelocities.poqdataout to SMC_Interpolator.poqdatain
    see attached pic

    IMG: cnc.JPG

     
  • syncro - 2011-05-24

    Thanks, ZeRon. It works fine,

    I was just not able to operate it without using the SMC_NCDecoder block.

     

Log in to post a comment.