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 Fri Dec 06, 2019 9:02 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sun Sep 01, 2019 6:50 pm 
Offline

Joined: Sat Apr 23, 2016 2:03 pm
Posts: 4
The Run-time package seems to install fine, no errors in the messages section to indicate errors just that the system installed.

If you click on the System info button of the RaspberryPI tab in the Codesys application it will give you information in 3 of the 4 pane section of the popup, CPU Info, Network Info, Package Info, and nothing the Runtime Info section, it is completely blank.

It seems that the run-time is not being installed properly or at all. I am not really sure how to check the status of this. Has anyone experienced this?

Rapberry Pi 3, with fresh install of Stretch, and up to date
Codesys Installed on Windows 10, 1903

T


Top
   
PostPosted: Sun Sep 01, 2019 7:20 pm 
Offline
Site Admin

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

you could login by ssh client ( putty for example)
and excute a
top
or
cat /tmp/codesyscontol.log

Keep in mind that predictable network interface names need to be disabled ( sudo raspi-config)
then paste the output of the two comands here.
BR
Edwin


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


Top
   
PostPosted: Sun Sep 01, 2019 10:05 pm 
Offline

Joined: Sat Apr 23, 2016 2:03 pm
Posts: 4
There is no codesyscontrol.log in /tmp and there is no codesyscontrol service running when you look at top.


Top
   
PostPosted: Mon Sep 02, 2019 8:49 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3559
Hi,
what happens on doing:

sudo /etc/init.d/codesyscontrol stop
followed by a
sudo /etc/init.d/codesyscontrol start

BR
Edwin


Top
   
PostPosted: Mon Sep 02, 2019 4:06 pm 
Offline

Joined: Sat Apr 23, 2016 2:03 pm
Posts: 4
OK, so I have it up and running now. It seems that when I initially setup the pi I configured the interfaces to all be on (i.e. i2c, remote GPIO, One Wire, SPI, Camera).

Searching for a solution, I decided to shut them all off. From that point forward I was able to install down on the Pi, as well as scan, select, download, and run programs. I am not sure which one or group should not be enabled that caused this. Any info on this would be great.

Since getting this to work, I have tested this on the latest version of Stretch (Raspbian 9) and the latest version of Buster (Raspbian 10).

I am a very experienced Controls Engineer, not very familiar with Codesys, and not a linux expert. So much of this is platform is new me, any recommendations on the "Getting Started with Raspberry Pi and Codesys" document. I have seen the few user provided helpful tutorials.


Tracy


Top
   
PostPosted: Tue Sep 03, 2019 7:31 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3559
Hi,
see the online help:
https://help.codesys.com/webapp/_rbp_f_ ... n=3.5.15.0

Additional attached the first steps documetnation which should be integrated in the online help if you prefer pdf's.

BR
Edwin


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


Top
   
PostPosted: Tue Sep 03, 2019 2:40 pm 
Offline

Joined: Sat Apr 23, 2016 2:03 pm
Posts: 4
Thanks Edwin! All this was very helpful.

Also I have narrowed the problems getting the Controlsys to start up on my raspbeerypi's both the stretch and the buster versions of the pi will not startup if "dtparam=i2c_arm=on" is in the boot config, or you have used Raspi-Config and enabled the i2c in the interface setup on the raspberrypi.

Tracy


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 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