Page 1 of 1
Run codesys program and python
Posted: 17 Feb 2022, 02:17
by Purecade
Hello,
I would like to know if RevPi can run both codesys and python, or can it only run one?
Thank you,
Cade
Re: Run codesys program and python
Posted: 17 Feb 2022, 09:27
by Amar
You can run a Python Application along with codesys. The RevPi process image IOs are cyclically read and updated by Codesys.So Python App could only have read access to RevPi Process image.
We would be releasing a new RevPiCodesys Library in coming weeks which has a provision for RevPi Virtual devices in Codesys.With that feature exchanging data between codesys and external application in RevPi process image is possible.
Re: Run codesys program and python
Posted: 29 Jan 2023, 02:51
by Purecade
Amar wrote: ↑17 Feb 2022, 09:27
You can run a Python Application along with codesys. The RevPi process image IOs are cyclically read and updated by Codesys.So Python App could only have read access to RevPi Process image.
We would be releasing a new RevPiCodesys Library in coming weeks which has a provision for RevPi Virtual devices in Codesys.With that feature exchanging data between codesys and external application in RevPi process image is possible.
Hello,
If I want to use CODESYS to control IO, and at the same time use Python to do algorithmic operations based on the data from the IO interface, and feed the results to CODESYS, is this possible?
Best regards,
Cade