Run codesys program and python

Topics about the Software of Revolution Pi
Post Reply
Purecade
Posts: 63
Joined: 07 Sep 2021, 03:39
Answers: 0

Run codesys program and python

Post 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
Amar
KUNBUS
Posts: 157
Joined: 15 Jul 2019, 12:58
Answers: 4

Re: Run codesys program and python

Post 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.
KUNBUS
Purecade
Posts: 63
Joined: 07 Sep 2021, 03:39
Answers: 0

Re: Run codesys program and python

Post 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
Post Reply