I am currently working on Raspberry Pi using CODESYS to get data from Beckhoff I/Os. I created a visualization using webvisu to visulaize and to contol using a display but now i need to view and control the I/Os in another way through Raspberry Pi, i.e. maybe using c++ or python on Raspberry pi where the data is visualized and can be saved for data logging purposes. Does anyone know how i achieve this?
check out https://revpimodio.org/
Thank you very much! This is what i need but i wanted to know if there's is any possible way to achieve the same using Raspberry PI, i meant without buying RevPi.
Thank you again
You have everything you need in Codesys. Not sure I understand your question. Are you trying to not use Codesys? If so, it might not be the right place to ask how to get rid of Codesys. lol
Yes Codesys works fine. I programmed the RPI using codesys and created a visualization and disconnected PC and check the values/ control through display connected to RPI. But now theres another requirement i.e. another board is connected to RPI, whose values are also needed to be read. Instead of checking the values of Codesys in browser and the values from board in another window, i want a method such that both the values are show in the same window. The values of the board can be read through Python/c++ GUI, so it would be easy if there was a way such that the value of Codesys can be retrieved by Python/C. So that both the values can be seen in same GUI/Window.
One easy solution would be to expose the Codesys values in modbus (modbus slave) and use pymodbus to read them from your Python application (modbus master).
If you want to do it the other way around, showing the python app values in the Codesys Visu, you could use the Linux SL Extension that comes with the raspberry pi runtime.
Thank you for the idea. I will try it out.
Log in to post a comment.