I'm trying to set my codesys runtime to real time using this guide here: http://www.comfilewiki.co.kr/en/doku.php?id=comfilepi:improving_real-time_performance:index on a raspberry pi (comfile)
but CodesysControl is still not set as RT:
Interestingly, when I used top command, I got this:
Is it because of the PID mismatch? How do I remedy this issue?
you just need to apply on your Linux Kernel a realtime rt_preemt patch. (google for it - there are so many advices how to do this in the net)
for testing purpose you could try:
That's it basically. If you want to have more control what of your iec code (whoch task) is running on which cpu core then additional using Raspberry PI MC (multicore) will improve it.
Log in to post a comment.