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

IMPORTANT NOTE

deluxe79
2008-10-06
2008-10-08
  • deluxe79 - 2008-10-06

    Only tested with CoDeSys v.2.3.9.7.

    (Note: Be aware that the following are a totally wrong approach of programming in CoDeSys, but I think this is a serious bug that need some attention. This was discovered purely on an experimental level)


    Assume that you're working on a POU of type CFC.

    If declared e.g. an instance of a function block globally and you create a box of the same FB type it in your CFC POU, NEVER attempt to write ADR(FB instance) on top of this box! This will ruin your whole project, causing CoDeSys to crash every time you try to open the project.

    I tried to open the project file in a HexEditor, erasing everything that had got to do with both the function block and the pointer to it. Did not help.

    Anyone else experienced this, or something familiar?

     
  • bschuster - 2008-10-06

    I tried your instructions, there is no crash,everything is ok.

    Please attach the projectarchive so that I'm able to check the problem.

     
  • deluxe79 - 2008-10-07

    I've attached an example project file.

    CrashTest.pro [9.19 KiB]

     
  • bschuster - 2008-10-07

    There is no problem opening the project.

    Where did you get your version of CoDeSys ?

    Please try the plain CoDeSys.

     
  • deluxe79 - 2008-10-07

    For unknown causes, the project indeed opens (not the case with my original project), but when compiling, it crashes.

    Downloaded from 3s-software, clean install.

    By the way, I'm running Vista.

    Thanks for your quick replies

     
  • bschuster - 2008-10-08

    ok, it crashes, but the project can still be opened.

    I'll add the error to our error tracking system.

     

Log in to post a comment.