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

Simple Frame Causing Exception on Download

rickj
2022-03-21
2022-04-05
  • rickj - 2022-03-21

    I have been having a problem with failed downloads for the past several days. I thought I had resiolved tyhe problem and attributed it to some corrupted data in a visu frame. However, 2 days later the symptom has not returned as follows.

    1) I created a visu screen with a VAR_INPUT section consisting of two BOOLS, In and Blink. The Visu contains two circle elements having radial gradient colors. The In input is used to make one of the circles invisible. The Blink input selwects Normal/Alarm colors of the other circle.

    2) Create another Visu with a VAR section consisting of the same two variables. A frame element is used to call up the 1st visu into the second. The In and Blink variables are passed to the frame.

    3) Compile is successful but download fails at the 99% complete mark. A popup message appears indicating that the download has failed and instructing to see log file for more details. The logfile is empty. The popup has a details button that displays another popup containing the following information:

    Logmessage: Exception [CodeINit] code:=[App],Exception=[AccessViolation]
    Codeposition: IMPLICIT__DEFINITIONS

    How can I track down this problem and solve it?

    I suspect the problem may not be with the actual components being added but elswhere in the project. But I am at a loss as to how to proceed. Any advice or insight would be greatly appreciated.

    I'm currently using 17.1 editor and the project is using 16.4 library/compiler versions. A couple of screen shots of the visu screens described are attacherd below.

     
  • m.prestel - 2022-03-21

    Please attach a project for us to have a look at it.

    Best regards,
    Marcel

     
  • rickj - 2022-03-28

    Thanks for the offer Marcel. My client and I have been working with the vendor, IFM, on this problem for the past week. We eliminated several potential causes of this problem (i.e. exceeding the 21 frame limit, initialization slot usage, etc) but the problem still persists. My client has missed his shipping date and it's important to make progress on this problem.

    The client has given me permission to send you a project to look at. Because the problem seems to only occur after some number of visualization objects are exceeded we need to send you the entire project. My colleague/client Luke will be joining gthe thread and he or I will be able to provide any additional information you may require.

    I'll send you a downloadable link to the project via PM rasther than posting publicly here. I will also be happy to put you in direct contact with the client if that would be helpful. Please sheck you PMs.

    Thanks Marcel

    Rick

     
  • rickj - 2022-03-28

    Ok, I see that I can't send a PM to you. Unfortunately I don't have permission to post the project in a public forum. I believe my client is going to open a support ticket and proceed that way. I appreciate all your help on the forum very much. Unfortunately I am unable to recreate this problem with a stipped down project.

    Feel free to let me know if there is a more private method of sending the project to you.

    Best Regards
    Rick

     
  • m.prestel - 2022-03-29

    Hey,

    well if he is sending a support ticket I may get my hands on it anyway ;)

    Best regards,
    Marcel

     
  • rickj - 2022-04-04

    Hi Marcel,
    We are still working this problem. We have been working with Scott (Codes Tech Support) and now have a clean and stable project but we can still reproduce the download failure. It seems to be releated to exceeding some number of frames or frame references. We have sent example projects back to Scott and will be working with him tomorrow. However, I was wondering, if you know if there is a liomit of the number of frames or frame references within a project. We know about the 21 Frame limit for a given frame element and the current project does not exceeded this limit.

    Thanks.

     
  • m.prestel - 2022-04-05

    Hey,
    If you are in contact with Scott, I see no reason why questions should be answered twice.

    Best regards,
    Marcel

     

Log in to post a comment.