I updated my RP with the following commands which were completed without error. sudo apt autoremove sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo rpi-update sudo reboot Now, the Codesys runtime only runs for around 40 seconds and then stops. I'm using Codesys V3.5 SP18 Patch 4 (64 bit) V3.5.18.40, RP Package V4.6.0.0 and I have a RP4 8GB with a multicore licence. Attached to this post is a copy of the Codesys log as the runtime is stated. How do I get the runtime to function...
Yes this fixed the problem and running smoothly ever since.
I'm having great difficulty getting Codesys to run following the execution of the following RP update commands: sudo apt-get update sudo apt-get upgrade -y sudo apt-get dist-upgrade sudo rpi-update sudo reboot The update process was completed without error and I've always used these commands to update/upgrade. When I execute the command "sudo /etc/init.d/codesyscontrol stop" I get the following response: codesyscontrol not running When I execute the command "sudo /etc/init.d/codesyscontrol start"...
Thanks for the feedback and glad to hear it will be fixed within the next revision. In the short term as you suggested, I unchecked option "Support client animations and overlay of native elements" within the Visualization Manager which fixed the issue.
Attached is a test project I made to demonstrate the issue. This is a very simple application which allows the user to move an image to the left or right via the visualization buttons. I made this from project scratch and left everything as default where possible. When executed and the image is moved at least one time, the image should only exist in either the left or right position, not both. For me, when I move the image via the web browser, the existing image remains and I see 2 images. This is...
I have written an application which includes visualization elements image which changes in runtime as required. Been using this application for around 18 months now without issue. So I upgraded Codesys from version V3.5.17.0 to V3.5.17.10 and now the visualization images don't update in runtime unless the webpage is refreshed. This issue exists for browsers Chrome, Firefox and Edge. I'm using a RP with version 4.0.1.0 and a MC runtime license. Things I've tried already: Changing settings within VisulizationManager...
Here's a screen shot of the sense hat under run time, just after I did a RP reboot. As indicated in the diagram, the HTS221 sensor is not functional. Is there anything else within these parameters I should look at? Ideally, I would like to get the HTS221 functional without a RP power cycle as a work around.
Also, when I power cycle my RP, I have to manually start Codesys every time.
I recently added a sense hat to my RP and currently experiencing intermittent failures with the HTS221 temperature and humidity sensor. To rectify the issue, I've tried to stop/start the codesys and also a reboot, but still doesn't come good. The only way I've found so far is to manually power cycle the RP, which is not desirable at all, but does fix the issue with the HTS221 sensor. On the sense hat, I'm also using the LPS25H (temperature and barometer sensor) and the LED display where they remain...
I have up to 10 people connecting to my RP application via individual visualizations and visualization managers. Is there a way to determine if a particular visualization manager has a client connection so I can implement an indication on a visualization which shows the status of others connected/disconnected at any given time?
I'm using SL version. Using this method of fault finding was invaluable and helped identify errors in my code which was really difficult to find otherwise, the main issue I found that my application was crashing because is was under very rare conditions entering into an infinite loop. Thanks for showing me this and I'll definitely use this in the future.
I get an error "command not found" when I execute the following. sudo /opt/codesys/bin/codesyscontrol.bin -d /etc/CODESYSControl.cfg Please confirm that it's correct.
My application requires up to 10 simultaneous remote users connecting via visualizations and I need my application running at all times, hence the attempt to use the redundancy configuration. I'm experiencing ad-hoc crashing of my application, most likely as a result of my programming but the root cause seems hard to find. When it does crash, I need to manually load up Codesys and stop/start the via menu "Tools - Update Raspberry Pi". I've tried to determine by looking through the "Runtime Info"...
Thanks for your response. I would like to make my application more reliable, I have a 3rd RP which is a Raspberry Pi Model 3B V1.2. If I purchase a MC licence, would this improve reliability?
I'm trying to configure my 2 RPs with redundancy and I get the following errors. These 2 RPs are both Raspberry Pi Model 2B V1.1, both running Codesys V3.5.15.40 and both have a runtime licence. What do these errors mean and how do I fix this issue? [ERROR] Study Pi V2: Redundancy Configuration [CODESYS_Control_for_Raspberry_Pi_SL: PLC Logic: Application]: C0035: Program name, function or function block instance expected instead of 'RDCY.UnregisterAreas' [ERROR] Study Pi V2: Redundancy Configuration...
I so fixed this issue by creating a new clean project and exporting/importing objects from the old to the new project which seemed to work. I think my original project was corrupted which produced this error.
I have tried this already and I just tried again but the problem still remains.
here's more funny things going on within my project and I'll do my best to explain the situation. I have 2 x Visualizations i.e. Visualization1 and Visualization2. I have 2 Webservers i.e. webserver1.htm and webserver2.htm. Webserver1.htm points to Visualization1 and webserver2.htm points to Visualization2. Now, 2 very strange things are happening. Firstly when I download and run my project on my RP, in my web browser i can successfully load servers webvisu.htm, webserver1.htm and webserver2.htm....
Marcel Here's the CODESYSControl.cfg file. Is there any other information you need? [SysFile] FilePath.1=/etc/, 3S.dat PlcLogicPrefix=1 [CmpLog] Logger.0.Name=/tmp/codesyscontrol.log Logger.0.Filter=0x0000000F Logger.0.Enable=1 Logger.0.MaxEntries=1000 Logger.0.MaxFileSize=1000000 Logger.0.MaxFiles=1 Logger.0.Backend.0.ClassId=0x00000104 ;writes logger messages in a file Logger.0.Type=0x314 ;Set the timestamp to RTC [CmpSettings] FileReference.0=SysFileMap.cfg, SysFileMap FileReference.1=/etc/CODESYSControl_User.cfg...
I'm using V3.5.15.40 and within my VisualisationManager, I changed the name of the htm file from "webvisu" to "test', then did a full download and run my application. I previously downloaded and tested "webvisu.htm" which worked fine in my web browser. However, after changing to "test.htm", the visualisation will not load, but "webvisu.htm" still works within the web browser. So I tried deleting the application from my RP and also deleting all files from the RP, re-generated the code and downloaded,...