Page 1 of 1

RevPi + Codesys

Posted: 27 Apr 2021, 11:59
by mirko.comparetti
Hi,
We saw the news about the RevPi connect with codesys! Great!
We have been using this setup already in the past years by buying the two items separately, and it is good that now everything is integrated.
My question now is about something I saw in the flyer is the support for the expansion modules. So I have few generic questions:
  • How can we add them to the codesys project? Which hardware definition files do we need to use?
  • Is there a codesys support for the X2 input and outputs? How?
  • Is this officially released? Can this be used in setup that are not born as "feat codesys" but have the same hardware (or maybe better, like the 32GB) and license? Where can this be downloaded (there is no link in the webpage)?
Thanks!

Re: RevPi + Codesys

Posted: 28 Apr 2021, 09:35
by dirk
Hello Mirko The link to the page you sent contains a download to the Revolution Pi Library for CODESYS.
Together with the instructions on the page you can make a configuration for your expansion modules.
This way you can also access the X2 input. Have a look at the help file in Codesys after you have installed everything.
There you will find more interesting code examples that can support you during commissioning.

Re: RevPi + Codesys

Posted: 03 May 2021, 16:59
by vasco.ludovico
Hi,
Currently, we are not using the RevPi Core as a PLC, all the logic is written in python using the revpimodio2 package. Now we need to communicate with other field devices using Ethernet/IP. Does RevPi feat. Codesys allows you to do it under a python environment? Or is this release focused only on being a PLC replacement?
Thank you in advance.

Re: RevPi + Codesys

Posted: 11 May 2021, 09:11
by mirko.comparetti
dirk wrote: 28 Apr 2021, 09:35 Hello Mirko The link to the page you sent contains a download to the Revolution Pi Library for CODESYS.
Together with the instructions on the page you can make a configuration for your expansion modules.
This way you can also access the X2 input. Have a look at the help file in Codesys after you have installed everything.
There you will find more interesting code examples that can support you during commissioning.
Thanks Dirk! I was talking to Codesys support few months ago and we found that the library in the link was still beta and unofficial. If that is now official, we will start using it and we will check it out!
Thanks!
vasco.ludovico wrote: 03 May 2021, 16:59 Hi,
Currently, we are not using the RevPi Core as a PLC, all the logic is written in python using the revpimodio2 package. Now we need to communicate with other field devices using Ethernet/IP. Does RevPi feat. Codesys allows you to do it under a python environment? Or is this release focused only on being a PLC replacement?
Thank you in advance.
RevPi with codesys allows you to run codesys on the RevPi and enables the power of that specific softplc solution.