Hi! I'm 99% sure I'm running CoDeSys on a raspberry pi 4b. just be aware that there is a separate license for running it on multiple cores. https://store.codesys.com/en/codesys-control-for-raspberry-pi-mc-sl.html
Do I need to do something more to enable the logging? I've done as you said but I can't see any file named PlcLog.csv in the folder. [CmpLog] Logger.0.Name=PlcLog ;Logger.0.Filter=0xFFFFFFFF Logger.0.Enable=1 Logger.0.MaxEntries=10000 Logger.0.MaxFileSize=50000 Logger.0.MaxFiles=10 ;Logger.0.Backend.0.ClassId=0x0000010B ;sends logger messages to SysOut Logger.0.Backend.1.ClassId=0x00000104 ;writes logger messages in a file ;Logger.0.Backend.2.ClassId=0x00000135 ;sends logger messages as UDP syslog...
My PLC had stopped some time during the last few days. When I went to check in my PLC log it was full of these errors in the attached picture. I'm guessing they had overwritten the actual exception that stopped my PLC. I'm not sure what these log entries are. I'm guessing that they are a bi product of the PLC being stopped but I don't know. Does anyone have any more information about the errors? Thanks in advance!
Problem solved! I had to remove the codesys installation and some files via command line on the pi. Then when I installed it again I got the prompt to set new user and password. Now I can log in!
Any ideas? I can't log into the device at all because of this. I don't know what to do since the device is in a different country so it's not that easy to replace the image on the SD card.
Hi! I can't log into one of my CoDeSys controllers running on Raspberry Pi 3 Model B Plus Rev 1.3 After I install the runtime(4.2.0.0) I try to log into the controller to download the program. I then get the prompt to login as the screenshot shows. It doesn't matter what username and password I write here the next window say "No device is responding to the scan request." I can't get past this point. I've tried to disable device user management via SSH to the target. It doesn't help and the device...
Hi! The issue was resolved with your help! Thank you very much! I tried deleting the folder via the codesys file interface. But that didn't work. Thanks to the FAQ I saw that you should use the sudo rm /var/opt/codesys/.cmact_licenses/** command. After doing that and rebooting the raspberry the license was gone. After that I could restore it from the file. I checked the log file now and it says license found. Thanks again Edwin for your help!
This log did not get all the entries since startup either. I got copied the log entries after startup and that showed what my problem is. It doesn't recognize the license and runs in demo mode. How do I fix this? this is the new log ;**************************************************************** ;<loggername>/tmp/codesyscontrol.log</loggername> ;<logoptions> ; <enable>1</enable> ; <type>normal</type> ; <timestamp>rtc</timestamp> ; <deactivatable>0</deactivatable> ; <dump>always</dump> ; <filter>0x0000000f<filter>...