CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Dec 17, 2018 10:43 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu May 24, 2018 11:12 am 
Offline

Joined: Wed May 23, 2018 11:01 am
Posts: 5
Good morning,

I am currently developing an application on codesys V3.5 SP12 Patch 3 with a BeagleBone Black as a target.

After having programmed and tested on simulation, where the program works nicely, I do program the BeagleBone, that is supporting OPC-UA connections as well, but as soon as I run the program, the BeagleBone crashes after 4-5 seconds with an "program loaded - exception error" error on the dialog. I have tried the "no exception handling" compilation define that you suggest in some other forum topics but still doesn't work.

Log capture is attached.

It only crashes once the program is being executed, I mean, "doing something" not just standing on RUN mode.

Every time this happens, if I stop the runtime on the target device and re-run it, starts working wonderfully for another 4-5 seconds after the program is started.

I am currently using the Demo Mode, so I must reboot the target every 2 hours, might it be due to this?

I have also exported the project, reinstalled the software and still hasn't been solved.

Any input will be highly appreciated.

Thanks in advance.


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Thu May 24, 2018 11:27 am 
Offline

Joined: Wed Oct 12, 2016 12:28 pm
Posts: 14
Dear aagueda,

the problem is that you work with an "endless" while loop.


The difference to the "simulation mode" are the attached entries in the etc/CODESYSControl.cfg.

You can disable this monitoring, but that is not something we recommend.
=> I am sure that you will get other problems with increasing code.

So think about of an redisgn of your application (a own task with an short cycle time).


Regards

ThK


You do not have the required permissions to view the files attached to this post.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited