Hello,
I may be doing something wrong during the install but I have followed https://revolution.kunbus.com/tutorials ... einbinden/ to the letter and still cannot get anywhere.
I can install the package onto the RevPi and can start the service, however, in system info from CodeSys I get this info (See first attachment) and on the Pi I can see the service going from running to exited after about 45 seconds after service start
I can make it run again for another 45-60 seconds by running a sudo /etc/init.d/codesyscontrol start but after that it will become exited again and disconnect me from being online with codesys (See second attachment)
Any help would be greatly appreciated.
Kind Regards,
Sam
CodeSys Service Exited
-
- Posts: 3
- Joined: 22 Jan 2019, 15:27
- Attachments
-
- CodeSysInfo.png (30.03 KiB) Viewed 7533 times
-
- RevPiShell.png (137.9 KiB) Viewed 7533 times
-
- Posts: 3
- Joined: 22 Jan 2019, 15:27
Any input on this issue? Disappointingly, it makes the RevPi useless to me.
Dear Cursedmilk, please excuse the long response delay. The Codesys runtime is a 3rd party software so we here have no deep knowledge what could be the root cause of the error.
First please make a backup of your system so that your license and other data is safe.
Then flash the RevPi Stretch Image
The Video tutorial Revolution Pi : Tutorial 01 EN - Creation of an image shows how this works.
After you have a fresh system again setup Codesys.
First please make a backup of your system so that your license and other data is safe.
Then flash the RevPi Stretch Image
The Video tutorial Revolution Pi : Tutorial 01 EN - Creation of an image shows how this works.
After you have a fresh system again setup Codesys.
-
- Posts: 3
- Joined: 22 Jan 2019, 15:27
Hi Dirk,
Very interestingly, the Stretch image seems to work correctly with the CodeSys package...
Very strange!
Thanks for your help
Kind Regards,
Sam Goldsmith
Very interestingly, the Stretch image seems to work correctly with the CodeSys package...
Very strange!
Thanks for your help
Kind Regards,
Sam Goldsmith
-
- Posts: 2
- Joined: 27 Mar 2019, 02:08
On the Codesys official site, it says that codesys combining raspberry PI can only achieve 50~400us task jitter, that is not tolerable for an industry application. How is your application with PI, can it achieve realtime task? could you let me know the result, thanks.
Dear nirvana_xun, have a look at this post which explains how to set RT priority for Codesys.