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

i2c communication - exception every minute

2015-11-11
2015-11-15
  • PhilipLykov - 2015-11-11

    I have written the library and description file for a new device with communication by i2c. It works perfectly except it invoke exceptions almost every minute. Exception log is attached. Always on the same place in memory.
    How to debug such problems?

    exception.xml [57.88 KiB]

     
  • eschwellinger

    eschwellinger - 2015-11-12

    Hi,

    is it possible by right clicking on the exception tn the plc logger to get the source code Position?

    BR
    Edwin

     
  • PhilipLykov - 2015-11-12

    The source code position is indicated in the last value of the error string at the log. What to do with it?

     
  • eschwellinger

    eschwellinger - 2015-11-12

    hi,
    rightclick to the line in the logger - >CODESYS should open the exact position happens in your source code.
    BR
    Edwin

     
  • PhilipLykov - 2015-11-12

    It return me the error:
    The source is not available for "IoConfigBeforeTask_0".

     
  • eschwellinger

    eschwellinger - 2015-11-12

    Hi,
    could you send a projectarchive?

    BR
    Edwin

     
  • PhilipLykov - 2015-11-15

    When I removed all functionality connected with RS232 communication it started works fine.

     

Log in to post a comment.