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 Wed Jan 29, 2020 10:25 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Fri Mar 11, 2016 2:08 pm 
Offline

Joined: Fri Mar 11, 2016 12:54 pm
Posts: 6
Hej.
Im running a small experiment with raspberry/webvisu. Im having a problem that webvisu is interrupted every minute with "an error occurred, reloading", tried several different settings but no luck. Running raspberry Jessie, epiphany browser.
//P


Top
   
PostPosted: Fri Mar 11, 2016 2:23 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3605
Hallo,

which versions are you using and which Pi type?
PiB+, Pi2, Pi3?

Till now I have seen this only on PiB/PiB+ this is more a perfomance Issue.
All others work preatty well.


BR
Edwin


Top
   
PostPosted: Fri Mar 11, 2016 2:33 pm 
Offline

Joined: Fri Mar 11, 2016 12:54 pm
Posts: 6
Dear Edwin.
Im running pi 2, model B, purchased a month ago. I have to correct myself in first post, the exact error message is : "an error happened will automatically restart"
//P


Top
   
PostPosted: Fri Mar 11, 2016 3:26 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3605
Hi,

this should work with Pi2!
please check the plc logger for more information.
If this does not give more Information, remove item by item from visu until you see which graphic or item is responsible
for the non working webvisu.
I had some cases where a svg in a specific Format does cause such problems.

BR
Edwin


Top
   
PostPosted: Fri Mar 11, 2016 3:29 pm 
Offline

Joined: Fri Mar 11, 2016 12:54 pm
Posts: 6
ok, will do. The visu is minimalistic, couple of rocker switches and a bar graph. Ill be back =0) .


Top
   
PostPosted: Fri Mar 11, 2016 3:51 pm 
Offline

Joined: Fri Mar 11, 2016 12:54 pm
Posts: 6
Hej.
Im confused, I removed everything in my visu so only visu remaining now is a grey rectangle but still same error. Looking at log I cant figure out what is happening. I have as of yet not purchased the license so running on the 120 minute test window, when I get it all working and verified performance of raspi is ok I will buy the license. PLC log shows no errors, only info, below log is looped over and over again, I can see client is removed and created :

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:31:07" infoId="0"
VisuFctCheckForUnusedClients: Successfully Removed Client at Address: 3063131664, IEC-ID was: 3

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:31:07" infoId="0">VisuFctCheckForUnusedClients: Removing Client at Address: 3063131664

"debug" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:31:07" infoId="0">Visu_PRG: Address of client with IEC-ID 2 : 3063074764

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:31:07" infoId="0">Visu_PRG: Creating Client successful for Extern-ID: 28083 Returned IEC-ID: 2

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:31:07" infoId="0">Visu_PRG: Creating Client for Extern-ID: 28083

"information" component="CmpWebServer" user="nobody" timestamp="2016-02-26 06:31:06" infoId="0">State: successful

"information" component="CmpWebServer" user="nobody" timestamp="2016-02-26 06:31:06" infoId="0">File <file>/application.imagepoolcollection.csv</file> requested ...

"information" component="CmpWebServer" user="nobody" timestamp="2016-02-26 06:31:06" infoId="0">State: successful

"information" component="CmpWebServer" user="nobody" timestamp="2016-02-26 06:31:06" infoId="0">File <file>/webvisu.cfg.json</file> requested ...

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:30:57" infoId="0">VisuFctCheckForUnusedClients: Successfully Removed Client at Address: 3063074764, IEC-ID was: 2

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:30:57" infoId="0">VisuFctCheckForUnusedClients: Removing Client at Address: 3063074764

"debug" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:30:57" infoId="0">Visu_PRG: Address of client with IEC-ID 1 : 3063017864

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:30:57" infoId="0">Visu_PRG: Creating Client successful for Extern-ID: 28081 Returned IEC-ID: 1

"information" component="IECVisualization" user="nobody" timestamp="2016-02-26 06:30:57" infoId="0">Visu_PRG: Creating Client for Extern-ID: 28081

"information" component="CmpWebServer" user="nobody" timestamp="2016-02-26 06:30:56" infoId="0">State: successful


Top
   
PostPosted: Sun Mar 13, 2016 6:51 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3605
Hi,

are you sure that everything is in current Version?
-CODESYS 3.5.8.10
-Raspberry Pi plc runtime in 3.5.8.10
-in your project compilerversion and visuprofile in 3.5.8.10?

I'm sure then this should not happen.
If so then please give us a cat /tmp/codesyscontrol.log done by ssh to the pi (by for example putty)

BR
Edwin


Top
   
PostPosted: Mon Mar 14, 2016 10:20 am 
Offline

Joined: Fri Mar 11, 2016 12:54 pm
Posts: 6
Hej.
downloaded and installed latest codesys this morning, no change, same problem persisting. In codesys/help/about/version info Iam now running ver 3.5.8.10 on most instances, some still at 3.5.8.0. I opened my old project in new codesys, did a clean all, rebuild, create boot project and download. Made some other testing and fiddling this morning but still no success.

Kindly P.


Top
   
PostPosted: Mon Mar 14, 2016 5:21 pm 
Offline

Joined: Fri Mar 11, 2016 12:54 pm
Posts: 6
Problem solved. Error was 500mm in front of keyboard (me). I was running a pi B+, not a PI2 as I thought. Pi B+ is now replaced with PI3. Thank you for your patience Edwin.


Top
   
PostPosted: Tue Mar 15, 2016 11:01 pm 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
Excuse me I don't understand! What is the problem?
BR


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


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