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 - using M-codes

ph0010421
2021-11-24
2021-11-27
  • ph0010421 - 2021-11-24

    Hello
    I have CNC files with M-codes. I don't want to stop the path when I see an M-code, but I need to recognise the M-code.
    If I use 'PreAcknowledge', the path doesn't stop, but I don't see wM from the interpolator.
    Any ideas please?
    ph

     
  • Fless

    Fless - 2021-11-25

    Hi,

    not sure if it's possible to see M-codes when you suppress them with PreAcknowledge.
    Check if SMC_PreAcknowledgeMFunction removes the M-codes in the SMC_OutQueue.

    I would use switch points (H-functions) when I don't want to stop.

     
  • ph0010421 - 2021-11-27

    Great answer. Thank you

     

Log in to post a comment.